Am 27.07.26 um 19:08 schrieb [email protected]:
Assume the following text file `test.tex`:``` \def\ExplFileDate{2026-06-18} \starttext foo \stoptext ``` Using a recent version of ConTeXt (2026.07.06), compiling this file with the command `context --luatex test.tex` works OK and produces the expected PDF output. Compiling this file with the command `context test.tex` produces the warnings "latex expl stuff loaded, beware of side effects", "latex backend code loaded, this can badly interfere", and "quitting run, use --fragile" in the log and the resulting PDF is incomplete (only 21 bytes). Using the command `context --fragile test.tex` only silences the last two warnings but still produces an incomplete PDF; this seems to be a bug, since I assume that the purpose of the flag `--fragile` is precisely to allow the compilation even if expl3 use is suspected.
Just guessing into the blue: Did you try a different filename? "test.tex" might exist elsewhere. Otherwise I don’t see a reason why anything from LaTeX should get loaded.
Hraban ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
