[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] have AUCTeX insert the encoding as local variable specifica
From: |
jfbu |
Subject: |
Re: [AUCTeX] have AUCTeX insert the encoding as local variable specification |
Date: |
Fri, 28 Nov 2014 22:30:25 +0100 |
Le 28 nov. 2014 à 21:18, Mosè Giordano <address@hidden> a écrit :
> Hi Jean-Francois,
>
> 2014-11-28 19:52 GMT+01:00 jfbu <address@hidden>:
>> So far, I don't know if there are TeX-devoted editors
>> which parse the file to look for the inputenc parameter
>> and adjust accordingly automatically the encoding.
>
> Me neither, with one notable exception, see below.
ah!
>
>> as far as I know, Emacs/AUCTeX does not do it.
>
> Wrong! latexenc package, shipped with GNU Emacs (don't know about
> XEmacs), does exactly that. Then, I don't see the need to store
> coding as a local variable, at least for GNU Emacs users, since Emacs
> already knows how to guess the correct one and other TeX editors use a
> different syntax to specify the encoding, so they wouldn't take
> advantage from us automatically storing the coding.
>
> Bye,
> Mosè
thanks! didn't know about latexenc, will try it out.
Indeed this changes the perspective on the matter then,
best wishes
Jean-François