[luatex] Unicode math issue with LuaLaTeX

Ulrik Vieth ulrik.vieth at arcor.de
Sun Jun 13 12:16:59 CEST 2010


On 06/13/2010 12:01 PM, Taco Hoekwater wrote:
>>
>> Is there a $\fam=3 $ set up in lualatex?
>
> Sorry, that should be \fam=4, I guess. Luatex takes the parameters
> from the currently active math family, I think.

Seems to me that LuaLaTeX starts out with TFM-based CM fonts preloaded 
in \fam 0...3.  (That's still the default setup for LaTeX, after all.)
After that, unicode-math.sty begins to load additional OT math fonts
in \fam 4 and upwards.

That's what the log file showed:

\symum_allsym=\mathgroup4

math at fonts ->
textfont symoperators OT1/cmr/m/n/10
scriptfont symoperators OT1/cmr/m/n/7
scriptscriptfont symoperators OT1/cmr/m/n/5
textfont symletters OML/cmm/m/it/10
scriptfont symletters OML/cmm/m/it/7
scriptscriptfont symletters OML/cmm/m/it/5
textfont symsymbols OMS/cmsy/m/n/10
scriptfont symsymbols OMS/cmsy/m/n/7
scriptscriptfont symsymbols OMS/cmsy/m/n/5
textfont symlargesymbols OMX/cmex/m/n/10
scriptfont symlargesymbols OMX/cmex/m/n/7
scriptscriptfont symlargesymbols OMX/cmex/m/n/5
textfont symum_allsym EU2/XITSMath(0)/m/n/10
scriptfont symum_allsym EU2/XITSMath(0)/m/n/7
scriptscriptfont symum_allsym EU2/XITSMath(0)/m/n/5

{\textfont}
{assigning \textfont4=EU2/XITSMath(0)/m/n/10}
{\scriptfont}
{assigning \scriptfont4=EU2/XITSMath(0)/m/n/7}
{\scriptscriptfont}
{assigning \scriptscriptfont4=EU2/XITSMath(0)/m/n/5}

The interesting thing is, that assigning fonts for \fam2 + \fam3
triggers all kinds of tracing output {assigning \Umath<param>=<value>},
whereas assigning \fam 4 doesn't do anything of this kind.

> To verify this: could someone give me a plain luatex test file ?

I don't have one at hand.  I need to work on it.

Regards, Ulrik



More information about the luatex mailing list