[luatex] LuaMetaTeX ";" syntax in \numexpr

Hans Hagen j.hagen at xs4all.nl
Mon Mar 25 18:20:31 CET 2024


On 3/25/2024 6:05 PM, Joseph Wright wrote:
> Hello all,
> 
> The current LuaMetaTeX docs say that \numexpr is extended to include
> division with truncation using ":". They don't, however, mention that
> ";" will be interpreted as mod. The new \numexpression includes mod
> functionality using "%", although it also seems to accept ";".
> 
> Before I make some non-trivial macro changes to allow for this
> (https://github.com/latex3/latex3/issues/1518), can I check if ";" is
> intended to work but is simply undocumented, or if it's been left as an
> oversight and might therefore be dropped from the code  (in favour of "%")?
as luatex is frozen, what's there will stay

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
-----------------------------------------------------------------



More information about the luatex mailing list.