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

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

Re: Plain TeX mode


From: Stefan Monnier
Subject: Re: Plain TeX mode
Date: Wed, 03 Dec 2003 16:14:35 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> Having successfully gotten an answer I will try to ask another
> question: I write a lot in danish where we have the letters æ, ø, å,
> Æ, Ø, Å (in Plain TeX: \ae, \o, \aa, etc.). I do known how to make TeX
> understand them directly, but I would also like Emacs to properly
> colour my macro names. Currently "\red" is coloured light blue; but
> with "\rød" the backslash and "r" are colored light blue but the "ø"
> and "d" are not. Is there some way I can tell Emacs to include these
> letters into its colour coding mechanism?

Change the font-lock-keywords patterns.
It's not very convenient, tho.

But I'm wondering: does TeX understand such a macro name (i.e. does it
consider ø to be a letter that can be used inside a macro name) ?
If it does, then your problem is not just a preference but a bug
which I should fix.


        Stefan


reply via email to

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