emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug] latex export ascii encoding


From: Jan-Mark Batke
Subject: Re: [O] [bug] latex export ascii encoding
Date: Wed, 31 Jul 2013 08:57:51 +0000

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 <address@hidden>
Hello,

Jan-Mark Batke <address@hidden> 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  address@hidden 
FON +49 511 33 64 800 
FAX +49 511 22 09 521

reply via email to

[Prev in Thread] Current Thread [Next in Thread]