Marco Patzer via ntg-context schrieb am 29.08.2022 um 09:49:
On Mon, 29 Aug 2022 09:30:34 +0200
Marco Patzer via ntg-context <ntg-context@ntg.nl> wrote:
The typearea module fails on LMTX (runs ok with MkIV):
tex error > tex error on line 89 in file
/usr/local/share/context-lmtx/tex/texmf-modules/tex/context/third/typearea/t-typearea.tex:
Missing number, treated as zero
Sorry, forgot the MWE:
\usemodule[typearea]
\starttext\null\stoptext
To fix the module you have to change the line
\edef\Ratio{\withoutpt{\the\dimexpr2\paperheight/(\PageWidth/32768)\relax}}
with (remove one pair of curly braces)
\edef\Ratio{\withoutpt\the\dimexpr2\paperheight/(\PageWidth/32768)\relax}
Similar problems can happens with other modules because many of them are
outdated
and they should be either updated or removed (the files can still be
archived).
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________