help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Trouble compiling latex sources in UTF-8 encodind


From: David Kastrup
Subject: Re: Trouble compiling latex sources in UTF-8 encodind
Date: Mon, 17 Jan 2005 17:10:35 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 17.01.2005 um 16:06 schrieb giglio robbo' d'acciaio:
>
>> I'didn't understood yet if it's a latex or emacs related problem,
>> anyway...
>> Latex aborts when compiling file with accented letters, like àèìòù etc.
>> I use utf-8 encoding in my ~/.emacs:
>>
>> (custom-set-variables
>>  '(current-language-environment "UTF-8"))
>
> I'd like to give all guilt to Emacs. GNU Emacs has a few options for a
> file-encoding. It could have chosen one that is incompatible with what
> Dominique Unruh thought would be UTF-8 content. Since you are
> obviously using Latin glyphs why don't you use for LaTeX
>
>       \usepackage[latin1]{inputenc}
>
> and
>
>        (set-default-coding-systems           'iso-latin-9-unix)
>        (set-keyboard-coding-system           'iso-latin-9)
>        (prefer-coding-system                 'iso-latin-9-unix)
>
> for GNU Emacs?

Because it would be really devastatingly stupid to specify _different_
encodings for LaTeX and Emacs?

Either use latin1 with both, or latin9 with both, or if you really
must, utf-8 with both (but then preview-latex will not work properly).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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