[Top][All Lists]

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

Re: latex fontification [more]

From: François Patte
Subject: Re: latex fontification [more]
Date: Tue, 01 Jul 2014 11:02:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Le 30/06/2014 23:51, François Patte a écrit :
> Bonjour,
> I would like to have a syntax colorisation for some TeX commands using
> Auctex.
> I found on the Internet this way: add to .emacs file:
> (setq font-latex-match-reference-keywords
>   '(
>     ("footnotea" "[{")
>     ("footnoteb" "[{")
>     ("footnotec" "[{")
>     ("edtext"    "[{")
>     ("Afootnote" "[{")
>     ("Bfootnote" "[{")
>     ("Cfootnote" "[{")
>     ("lemma"     "[{")))
> And the commands \footnotes, \footnoteb etc will be highlighted...
> This doesn't work for me.... Did I miss something?

I have to add this: it works for some buffer and not for some other!

I tried to force latex mode: M-x latex-mode but this does not work

symbol's function definition is void : make-local-hook

When I load a file with .tex extension, I have a similar message en the
buffer "messages":

File mode specification error: (void-function make-local-hook)

But for some file I have this in the lower bar:

(Latex/P Bcite Arev Fill)

And in some other:

(Fundamental Bcite Arev Fill)


Moreover, I found on the web that make-local-hook is now deprecated and
has disappeared from Emacs 24, but I am running Emacs 24.3.1

Can someone help me?

thank you

François Patte
Université Paris Descartes

reply via email to

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