minoki / cluttex

Process LaTeX documents without cluttering your working directory
GNU General Public License v3.0
45 stars 3 forks source link

Expected backends for expl3 are no longer correct for XeTeX, PDFTeX, LuaTeX #5

Closed gksato closed 2 years ago

gksato commented 2 years ago

I got a warning when I, with the latest TeX Live, ran

$ cluttex --engine=pdflatex

against a LaTeX file that has:

\usepackage{xparse}

The error message said

[DIAG] The driver option for expl3 is missing or wrong.
[DIAG] Consider setting 'driver=pdfmode' option when loading expl3.

However this warning is no longer valid since l3backend has received its updates and we have l3backend-pdftex.def, l3backend-luatex.def, and l3backend-xetex.def instead of l3backend-pdfmode.def and l3backend-xdvipdfmx.def. A pull request that will fix this will follow.

最新のTeX Live で expl3 を読み込む LaTex file を clpdflatex すると expl3 のドライバミスマッチエラーがでます.これは l3backend のドライバ名が pdfmode -> pdftex, luatex および xdvipdfmx -> xetex と変わったためだと思われます.PR投げて修正しますが,Luaは不慣れなのでお助けいただけるとありがたいです.