auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] fontification question


From: François Patte
Subject: Re: [AUCTeX] fontification question
Date: Mon, 1 May 2017 14:51:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0

Le 17/04/2017 à 09:30, Tassilo Horn a écrit :
> François Patte <address@hidden> writes:
> 
> Bonjour François,
> 
>> I added to my .Xresources file:
>> "Emacs.font-latex-sedate-face.attributeForeground: indianred2" in
>> order to have all LaTeX commands in indianred.
>>
>> But when I use a command like \- for discretionnary hyphen, the whole
>> word after the \- command is turned into indian red, ie. the
>> fontification is not applied only to the command (which is actually in
>> red).
>>
>> For instance: anti\-constitutionnel: \- is in red and constitutionnel
>> in indian red.
>>
>> Is there a way to avoid this?
> 
> That's a bug.  I just taught font-latex that \-something is not a
> command and should not be highlighted as such.
> 
> I also made a new ELPA release but sadly just *before* I read your mail
> and fixed the bug, so it might take a while until the fix becomes
> available (through ELPA at least).

Thank you for the corrections in the last Auctex version, but openning
an old file, when I typed diacritical mark using TeX command for
accented characters, I can see that the problem remains for all these
commands; examples:

 m\^eme, \'etant, r\'eit\'er\'ee, S\=uryad\=asa and a lot of others...

So, nowadays, using xelatex and unicode we can avoid this... But for
people using a basic 7bits keyboard it could be nice to correct also
these commands...

Regards.

-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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