![](https://secure.gravatar.com/avatar/ed6f43113e3f1cee031ebd13654fc703.jpg?s=120&d=mm&r=g)
On 10/27/2022 8:11 AM, Max Chernoff via ntg-context wrote:
Hi Hans,
The unit scanner in LuaMetaTeX fails for any of the "true" dimensions.
With this test file:
\starttext \vrule width 1truein height 1pt depth 0pt\relax
\vrule width 1in height 1pt depth 0pt\relax \stoptext
I get this output:
tex error > tex error on line 2 in file ./lmtx-true.tex: Valid keyword expected, likely 'true'
\vrule width 1truei n height 1pt depth 0pt\relax 1 \starttext 2 >> \vrule width 1truein height 1pt depth 0pt\relax 3 4 \vrule width 1in height 1pt depth 0pt\relax 5 \stoptext 6
I was able to fix this with the patch at the end of the email.
(Also, how do you want patches sent? Via email to the mailing list, emailed directly to you, as a pull request on GitHub, or something else?)
In a way 'true' has been dropped becauswe it doesn't do anything and I will likely remove that check completely (as \mag is also gone, although the performance hit for scanning true is neglectable in luametatex). Anyway, I'll check it. Is anyone still using this "true" actually? I don't check github, it's mostly there for the compile farm and intermediate testing (e.g. math stuff) so sending me a mail is ok. When there is some serious issue a mwe to the list is good enough. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------