auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] TeX-add-local-engine


From: Arash Esbati
Subject: Re: [AUCTeX-devel] TeX-add-local-engine
Date: Fri, 11 Aug 2017 23:22:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2

Uwe Brauer <address@hidden> writes:

> Most of the time I use vanilla (latex) pdflatex, but for some documents
> I must run xelatex. I know I can switch the engine interactively to
> xelax, but I think it would be better to have it set in the list of
> local variables at the end of each file.
>
> It would be handy to have a new function, say TeX-add-local-engine,
> which does this job the same way TeX-add-local-master adds the master
> file to that list. It is trivial to create a new function using
> TeX-add-local-master, but is basically repeating 99 % of the code.
>
> Does somebody have a nicer more general idea?

Hi Uwe,

actually, AUCTeX does this job already and asks you if it should
remember your choice regarding engine.  Check the function
`TeX-check-engine'.  In practice, you should get what you're looking for
by adding \usepackage{fontspec} to a file of yours and hitting `C-c
C-c'.

Best, Arash



reply via email to

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