Rik Kabel schrieb am 14.08.2023 um 18:42:
On 8/14/2023 11:41 AM, Xavier B. wrote:
After I run context (LMTX version) to my document (attached) I get this error:
tex error > tex error on line 540 in file ./dev.tex: The file ended when scanning an argument.
I don't know how to start... Can anyone help me?
Thanks, Xavier
PS: I receive this error after upgrading to MKIV to LMTX. Before with MKIV I get no errors.
I suspect that LMTX is a bit more strict about parsing. You have omitted the required \par for each \head.
You're correct, \head is the cause of the error and it's better to replace it with \starthead {...} ... \stophead but there are more things which can be changed to use modern syntax (in many cases part of ConTeXt since nearly a decade). A few examples: - \startexercici[<REFRENCE>]{<TITLE>} --> \startexercici[reference=...,title=...] - \placetable[<PLACEMENT>][<REFERENCE>]{<TITLE>}{...} --> \startplacetable[reference=...,location=...,title=...] ... \stopplacetable - Llimones........ \hfill 6 --> Llimones \filler[symbol] 6 - \bigskip --> \blank[big] Wolfgang