[XeTeX] unicode-math problem

Herbert Schulz herbs at wideopenwest.com
Wed Sep 29 13:59:22 CEST 2010


On Sep 29, 2010, at 6:38 AM, António Fernandes wrote:

> Hi,
> 
> After updating unicode-math to the most recent version I'm experiencing an unwanted behavior which seems to be related with the keys "script-features" and "sscript-features".
> 
> The log resulting from the compilation of the following code:
> 
> ****
> \documentclass{article}
> \usepackage{fontspec}
> \usepackage[math-style=TeX]{unicode-math}		
> \setmathfont[]{Asana Math}	
> \begin{document}
> $\alpha_n$ and $\alpha_{n_k}$
> \end{document}
> ****
> 
> contains several error messages as bellow:
> 
> *****
> ./teste.tex:5: Undefined control sequence.
> <argument> \zf at update@ff 
>                         {+ssty=0}
> l.5 \setmathfont{Asana Math}
> 
> ? 
> 
> ./teste.tex:5: LaTeX Error: Missing \begin{document}.
> 
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
> ...                                              
> 
> l.5 \setmathfont{Asana Math}
> 
> ? 
> ./teste.tex:5: Undefined control sequence.
> <argument> \zf at update@ff 
>                         {+ssty=1}
> l.5 \setmathfont{Asana Math}
> 
> ? 
> ./teste.tex:5: Missing number, treated as zero.
> <to be read again> 
>                   \g_um_up_misc_usv 
> l.5 \setmathfont{Asana Math}
> 
> ? 
> ./teste.tex:5: Missing number, treated as zero.
> <to be read again> 
>                   \g_um_it_misc_usv 
> l.5 \setmathfont{Asana Math}
> 
> ? 
> ./teste.tex:5: Missing number, treated as zero.
> <to be read again> 
>                   \g_um_bb_misc_usv 
> l.5 \setmathfont{Asana Math}
> 
> ? 
> ./teste.tex:5: Missing number, treated as zero.
> <to be read again> 
>      ./teste.tex:5: Missing number, treated as zero.
> <to be read again> 
>                   \g_um_bfsfit_misc_usv 
> l.5 \setmathfont{Asana Math}
> 
> ? 
> 
> ? 
> ******
> 
> resulting in the output shown in the attachment (output.png).
> 
> 
> 
> Misusing the \setmathfont command, substituting  "\setmathfont[script-features=,sscript-features=]{Asana Math}" for "\setmathfont{Asana Math}" results on a similar log file except for the lines of the kind 
> 
> Undefined control sequence.
> <argument> \zf at update@ff 
>                         {+ssty=0}
> 
> that no longer appear. This has the only advantage (if the term applies here) that the text "+ssty=0+ssty=1" no longer appears in the pdf file and I can compile my text as long as I do it in nonstop mode.
> 
> 
> Any help will be welcome.
> Thanks!
> 
> 
> António Fernandes

Howdy,

Had another update of unicode-math this morning and have no problems compiling the file here. Add \listfiles at the top of the file and see what differs from this list.

*File List*
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
fontspec.sty    2010/09/27 v2.1a Advanced font selection for XeLaTeX/LuaLaTeX
   expl3.sty    2010/09/16 v2022 L3 Experimental code bundle wrapper
 l3names.sty    2010/09/26 v2048 L3 Experimental Naming Scheme for TeX Primitiv
es
    etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
l3basics.sty    2010/09/20 v2037 L3 Experimental basic definitions
 l3expan.sty    2010/09/20 v2037 L3 Experimental Argument Expansion module
    l3tl.sty    2010/09/21 v2040 L3 Experimental Token Lists
l3intexpr.sty    2010/09/22 v2045 L3 Integer Expressions
 l3quark.sty    2010/09/20 v2036 L3 Experimental Quark Commands
   l3seq.sty    2010/03/29 v1879 L3 Experimental sequences and stacks
  l3toks.sty    2010/09/20 v2037 L3 Experimental Token Registers
   l3int.sty    2010/09/19 v2029 L3 Experimental Integer module
   l3prg.sty    2010/09/22 v2043 L3 Experimental control structures
 l3clist.sty    2010/09/20 v2037 L3 Experimental comma separated lists
 l3token.sty    2010/09/19 v2029 L3 Experimental token investigation and manipu
lation
  l3prop.sty    2010/03/21 v1857 L3 Experimental Property Lists
   l3msg.sty    2010/03/23 v1866 L3 Experimental LaTeX Messages module
    l3io.sty    2010/05/22 v1923 L3 Experimental i/o module
  l3skip.sty    2010/09/23 v2047 L3 Experimental skip registers
   l3box.sty    2010/09/26 v2048 L3 Experimental Box module
l3keyval.sty    2010/04/11 v1890 L3 Experimental keyval processing
  l3keys.sty    2010/05/24 v1931 L3 Experimental key-value support
l3precom.sty    2010/02/09 v1793 L3 Experimental precompilation module
  l3xref.sty    2010/02/09 v1786 L3 Experimental cross referencing
  l3file.sty    2010/03/21 v1853 L3 Experimental file loading
    l3fp.sty    2010/09/19 v2029 L3 Experimental floating-point operations
l3luatex.sty    2010/07/18 v1985 L3 Experimental LuaTeX functions
    calc.sty    2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
  xparse.sty    2010/09/20 v2037 Generic document command parser
 xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
fontspec-patches.sty    2010/09/27 v2.1a Advanced font selection for XeLaTeX/Lu
aLaTeX
fixltx2e.sty    2006/09/13 v1.1m fixes to LaTeX
 fontenc.sty
  eu1enc.def    2010/05/27 v0.1h Experimental Unicode font encodings
  eu1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
xunicode.sty    2010/05/18 v0.95 provides access to latin accents and many othe
r characters in Unicode lower plane
fontspec.cfg
unicode-math.sty    2010/09/27 v0.5b Unicode maths in XeLaTeX and LuaLaTeX
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
l3keys2e.sty    2009/08/24 v1494 Parsing LaTeX3 keyvals as LaTeX2e package opti
ons
catchfile.sty    2010/04/28 v1.5 Catches the contents of a file (HO)
infwarerr.sty    2010/04/08 v1.3 Providing info/warning/message (HO)
 ltxcmds.sty    2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
etexcmds.sty    2010/01/28 v1.3 Prefix for e-TeX command names (HO)
scrlfile.sty    2009/03/25 v3.03 KOMA-Script package (loading files)
unicode-math-table.tex
 ***********

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the XeTeX mailing list