[Top][All Lists]

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

[AUCTeX] Engine check

From: Joost Kremers
Subject: [AUCTeX] Engine check
Date: Mon, 09 May 2016 13:15:10 +0200
User-agent: mu4e 0.9.17; emacs

Hi all,

I just ran into the following issue: I have a LaTeX file that has the
following in the preamble:


\setmainfont[Mapping=tex-text]{Linux Biolinum O}
\setsansfont[Mapping=tex-text]{Linux Biolinum O}

The file also has a file-local variable declaration setting `TeX-engine`
to `default`. (The global value of `TeX-engine` is xetex in my

When I proceed to compile this file, I get a message saying "XeTeX,
LuaTeX are required to build this document. Do you want to select one of
these engines? (y or n)?" I assume this warning is triggered by the use
of fontspec and/or polyglossia, but since these are inside an \ifxetex
block, they don't really "count".

TBH I find it somewhat annoying to be given this warning each time I'm
trying to compile the document. Is it possible to turn this checking off
(either globally or, preferably, on a per-file basis)?

Also, in terms of refining this functionality, would it be possible to
make it a bit smarter, so that \ifxetex blocks are ignored? Or if that
becomes too error-prone, would it be possible to ask this question only
once per session and file? I can live with being asked once if I want to
use Xe/LuaTeX, but being asked every time I'm compiling a file is

Joost Kremers
Life has its moments

reply via email to

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