[lltx] unicode-math: [range=…] in-document

Arno Trautmann Arno.Trautmann at gmx.de
Wed Sep 21 12:17:50 CEST 2011

Hi all,

the following document throws an error:

\setmathfont{Latin Modern Math}
\setmathfont[range=\oiint]{XITS math}
\[ ∫ \oiint\]

./test.tex:7: Missing number, treated as zero.
<to be read again>
l.7 \setmathfont[range=\oiint]{XITS math}


It works fine if the second \setmathfont is in the preamble. (I want to 
change the math font for some glyphs only in the document, so I cannot 
put it in the preamble.)
Is it not possible in prinicple to load a range of a math font 
in-document or is it a bug? Maybe something with parsing 
numbers/arguments in the preablem vs. in-document?


More information about the lualatex-dev mailing list