[luatex] [lltx] issue with unicode-math, spanish and LuaLaTeX
st_philipp at yahoo.de
Wed Jul 13 12:23:35 CEST 2011
Am 13.07.2011 um 11:53 schrieb Philipp Stephani:
> Am 13.07.2011 um 11:15 schrieb Ulrike Fischer:
>> Btw: while looking at the \Umathcodenum I saw that some arguments
>> are converted to curious high numbers. Mostly the letters in the
>> ascii range:
> The correct syntax is \showthe\test (mathematical character shorthands are numbers). TeX does some weird things with your syntax. Is this documented somewhere?
> $ tex
> This is TeX, Version 3.1415926 (TeX Live 2011)
> <*> \showthe\mathcode\a
> <*> \showthe\a
> What is the meaning of \mathcode\controlseq?
Ah, I'm stupid: of course, \test is a number, so \mathcode\test is valid (it is the math code of A in this case). The high numbers are those described in the LuaTeX manual: the lower 21 bits for the code point, the higher 11 bits for class and family.
More information about the luatex