I am using TeXnicCenter and I am trying to compile a file using as output profile "LuaLaTeX => PDF". However, the compilation stops almost immediately after a few lines (4 in total), the first of which is
lualatex: unrecognized option "-max-print-line=120"
and then it produces no file. Not even a log file.
Here's a mini-working example:
\documentclass{amsart}
\begin{document}
hello world
\end{document}
Any suggestion?
Is it possible to remove and reinstall formats on MiKTeX as we do with packages, to try to restore LuaLaTeX?
EDIT: I went to "build > Define output profiles > LuaLaTeX => PDF" and there was appearing -max-print-line=120 -interaction=nonstopmode "%wm
into the Command lines argument to pass to the compiler. I removed -max-print-line=120
, it seems that TeXnicCenter installed a lot of packages and now it is working. However, my question now is: why?
Every output profile has the -max-print-line=120
option and none of the is complaining. Could somebody try to explain me what's going on?