[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Check engines before running LaTeX
From: |
Mosè Giordano |
Subject: |
[AUCTeX-devel] Check engines before running LaTeX |
Date: |
Thu, 20 Aug 2015 17:21:57 +0200 |
Hi all,
I sometimes happen to try to compile documents with a wrong engine
(above all example documents found on the Internet and the culprits
are fontspec and polyglossia, which require LuaTeX or XeTeX). I'd
like to be warned by AUCTeX that I'm going to get an error, then I
wrote the attached patch.
Style authors should specify the engines required by the package (e.g.
LuaTeX and XeTeX for fontspec and polyglossia), then if the option
`TeX-check-engine' is non-nil the user will be warned before running
LaTeX command that a wrong engine has been selected, for example when
`TeX-engine' is set to `default'.
If you know other packages requiring a specific engine please tell us.
Comments?
Bye,
Mosè
check-engine.patch
Description: Text Data
- [AUCTeX-devel] Check engines before running LaTeX,
Mosè Giordano <=