emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jan-Mark Batke <badkey@gmx.net>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: [bug] latex export ascii encoding
Date: Wed, 31 Jul 2013 08:57:51 +0000	[thread overview]
Message-ID: <CAHLa=T-AdVOaskAtnNb794ttubiO6=JTgJLj_CFCUwjtTZQ_Dg@mail.gmail.com> (raw)
In-Reply-To: <87r4f483mo.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3300 bytes --]

Hi Nicolas,

thanks for response and sorry for delayed answer, I was on vacation and
absent to my emacs :/

An ECM would be a file just containing some umlauts. In more detail:

using emacs GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2)
of 2013-06-25 on sochi, modified by Debian
I export a text =testumlaut1.org= just containing

: öäü ÖÄÜ

from a latin-1 buffer

: 1 -- iso-latin-1-unix (alias: iso-8859-1-unix latin-1-unix)
:
: ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1).
: Type: charset (charset)
: EOL type: LF
: This coding system encodes the following charsets:
:   iso-8859-1

with =C-c C-e l l= which results in

: % Created 2013-07-31 Mi 08:39
: \documentclass[11pt]{article}
: \usepackage[latin1]{inputenc}
: \usepackage[T1]{fontenc}
: \usepackage{fixltx2e}
: \usepackage{graphicx}
: \usepackage[normalem]{ulem}
: \usepackage{textcomp}
: \usepackage{latexsym}
: \usepackage{amssymb}
: \usepackage{amstext}
: \author{Jan-Mark Batke}
: \date{\today}
: \title{testumlaut1}
: \hypersetup{
:   pdfkeywords={},
:   pdfsubject={},
:   pdfcreator={Emacs 24.3.1 (Org mode 8.0.6)}}
: \begin{document}
:
: \maketitle
: \tableofcontents
:
: öäü ÖÄÜ
: % Emacs 24.3.1 (Org mode 8.0.6)
: \end{document}

The file is as well encoded in

: 1 -- iso-latin-1-unix (alias: iso-8859-1-unix latin-1-unix)
:
: ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1).
: Type: charset (charset)
: EOL type: LF
: This coding system encodes the following charsets:
:   iso-8859-1

Interestingly, exporting in a buffer using =C-c C-e l L= results in

: % Created 2013-07-31 Mi 08:45
: \documentclass[11pt]{article}
: \usepackage[latin1]{inputenc}
: \usepackage[T1]{fontenc}
: \usepackage{fixltx2e}
: \usepackage{graphicx}
: \usepackage[normalem]{ulem}
: \usepackage{textcomp}
: \usepackage{latexsym}
: \usepackage{amssymb}
: \usepackage{amstext}
: \author{Jan-Mark Batke}
: \date{\today}
: \title{testumlaut1}
: \hypersetup{
:   pdfkeywords={},
:   pdfsubject={},
:   pdfcreator={Emacs 24.3.1 (Org mode 8.0.6)}}
: \begin{document}
:
: \maketitle
: \tableofcontents
:
: öäü ÖÄÜ
: % Emacs 24.3.1 (Org mode 8.0.6)
: \end{document}

but the buffer is

: U -- utf-8-unix (alias: mule-utf-8-unix)
:
: UTF-8 (no signature (BOM))
: Type: utf-8 (UTF-8: Emacs internal multibyte form)
: EOL type: LF
: This coding system encodes the following charsets:
:   unicode

No problems occur using utf-8 encoding. On windows, it is vice versa,
latin-1 does work, utf-8  not.

I am not sure this problem depends more on emacs or org-mode.

Best regards

Jan-Mark


2013/7/12 Nicolas Goaziou <n.goaziou@gmail.com>

> Hello,
>
> Jan-Mark Batke <badkey@gmx.net> writes:
>
> > exporting latex causes some trouble here.
> >
> > - exporting utf-8 ascii does work
> > - exporting latin-1 ascii does not work,
> >   - the file format is set correctly (1 in mode-line displayed)
> >   - inputenc option is set to latin1
> >   - content is corrupted, e.g. üöä becomes üöä
>
> I cannot reproduce the problem. Could you post an ECM for that?
>
>
> Regards,
>
> --
> Nicolas Goaziou
>



-- 
Jan-Mark Batke  badkey@gmx.net
FON +49 511 33 64 800
FAX +49 511 22 09 521

[-- Attachment #2: Type: text/html, Size: 5111 bytes --]

  reply	other threads:[~2013-07-31  8:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-11  8:28 [bug] latex export ascii encoding Jan-Mark Batke
2013-07-12 10:38 ` Nicolas Goaziou
2013-07-31  8:57   ` Jan-Mark Batke [this message]
2013-07-31 12:46     ` Nicolas Goaziou
2013-07-31 14:59       ` Jan-Mark Batke
2013-07-31 15:03         ` Nicolas Goaziou
2013-07-31 21:44           ` Achim Gratz
2013-08-01  8:33             ` Jan-Mark Batke
2013-08-01 10:53               ` Nicolas Goaziou
2013-08-01 13:44                 ` Jan-Mark Batke
2013-08-07 14:15                   ` Nicolas Goaziou
2013-08-08 12:57                     ` Jan-Mark Batke
2013-08-08 12:59                       ` Nicolas Goaziou
2013-08-01 16:26                 ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHLa=T-AdVOaskAtnNb794ttubiO6=JTgJLj_CFCUwjtTZQ_Dg@mail.gmail.com' \
    --to=badkey@gmx.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).