unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "François Patte" <francois.patte@mi.parisdescartes.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: latex fontification [more]
Date: Tue, 01 Jul 2014 11:02:58 +0200	[thread overview]
Message-ID: <lottg3$2bqm$1@talisker.lacave.net> (raw)
In-Reply-To: <losm58$31ha$1@talisker.lacave.net>

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)

Why?


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	other threads:[~2014-07-01  9:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 21:51 latex fontification François Patte
2014-07-01  9:02 ` François Patte [this message]
2014-07-03 22:19   ` latex fontification [more] Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='lottg3$2bqm$1@talisker.lacave.net' \
    --to=francois.patte@mi.parisdescartes.fr \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).