[luatex] LuaMetaTeX ";" syntax in \numexpr

Joseph Wright joseph at texdev.net
Mon Mar 25 18:20:24 CET 2024


On 25/03/2024 17:19, Wolfgang Schuster wrote:
> Joseph Wright schrieb am 25.03.2024 um 18:05:
>> 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
>> "%")?
>
> The information is just missing from the manual and will be added by Hans.
>
> Wolfgang
>

Thanks: what I suspected.

Joseph



More information about the luatex mailing list.