On 8/15/23 17:35, Xavier B. wrote: > I have the document split in several files.
Hi Xavier, as someone already mentioned it, the way to check would be: mtxrun --scripts check your-document.tex But this doesnât parse \input, so you need to create a loop. In Unix, it would read something like: for i in *.conTeXt; do mtxrun --scripts check $i; done Windows might require something similar to (inspired by https://ss64.com/nt/for.html): for %%I (*.context) do mtxrun --scripts check %%I It might report the cause this way. When ConTeXt quits unexpectedly ("mtx-context | fatal error: return code: 1" is a error message from the console), it might be a started command not closed, such as in: \starttext \startitemize \item a \stoptext Just in case it might help, Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________