[luatex] unicode-math: Undefined control sequence., <argument> \um_prime_single_mchar

Graham Douglas graham.douglas at readytext.co.uk
Wed Jun 23 21:26:43 CEST 2010


Dear All

Firstly, a huge THANK YOU to Will for his incredible
energy and expertise in writing fontspec and unicode-math.

In summary, I build LuaTeX from source and run it on
Windows Vista with a custom runtime environment (texmf.cnf)
--- hand built (ie hacked) from scratch.

Anyway, it all works fine. I have fontspec working but just
downloaded unicode-math and have hit a problem with it.

Here is my command line

$ luatex --fmt=pdflatex fs.tex
This is LuaTeX, Version beta-0.60.1-2010060119

Here is a  minimal test file

\documentclass[12pt]{article}
\usepackage{unicode-math}
\begin{document}
\setmathfont{Cambria Math}

\end{document}

Output of the run is below.

Any ideas what is tripping me up here?

I'm not an expert is this area at all -- so
simpler explanations would be great :-)

Many thanks in advance

Warm regards

Graham

Here is the end of the run and the error (full run below).


luaotfload | Font names database loaded: 
$TEXMFVAR/luatex/generic/luaotfload/na
mes/otfl-names.lua
luaotfload | Updating the font names database:
luaotfload | Scanning TEXMF fonts...
luaotfload | Scanning OS fonts...
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/unicode-math/unicode-math-table.
tex)
! Undefined control sequence.
<argument> \um_prime_single_mchar

\um_set_mathchar:NNnn #1#2#3#4->\Umathchardef #1
                                                 =\mathchar at type 
#2\csname sy...

\um_make_mathactive:nNN ...#3{\um_symfont_tl }{#1}
 
\char_gmake_mathactive:n {#1}

\um_setup_mathactives: ...e_single_mchar \mathord
 
\um_make_mathactive:nNN {"...

\\setmathfont ..._symbols: \um_setup_mathactives:
                                                   \um_setup_delcodes: 
\um_se...
l.4 \setmathfont{Cambria Math}





==================================
Output of Run
=================
LaTeX2e <2009/09/24>
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/base/size12.clo))
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/unicode-math/unicode-math.sty
(g:/texlive/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/ifluatex.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/expl3.sty
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3names.sty)
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/etex.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3basics.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3expan.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3tl.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3intexpr.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3quark.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3seq.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3toks.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3int.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3prg.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3clist.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3token.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3prop.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3msg.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3io.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3skip.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3box.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3keyval.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3keys.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3precom.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3calc.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3xref.sty)
(g:/texlive/Master/texmf-dist/tex/latex/expl3/l3file.sty))
(g:/texlive/Master/texmf-dist/tex/latex/xpackages/xbase/xparse.sty)
(g:/texlive/Master/texmf-dist/tex/latex/xpackages/xtras/l3keys2e.sty)
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/fontspec/fontspec.sty
(g:/texlive/Master/texmf-dist/tex/generic/kastrup/binhex.tex)
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatextra/luatextra.sty
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/luatexbase-modutils.s
ty
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/luatexbase-loader.sty

(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/luatexbase-compat.sty
)
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/luatexbase.loader.lua
))
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/modutils.lua))
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/luatexbase-attr.sty
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/attr.lua))
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/luatexbase-cctb.sty
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/cctb.lua))
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/luatexbase-regs.sty)
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/luatexbase-mcb.sty
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luatexbase/mcb.lua))
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/lualibs/lualibs.lua)
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/base/environ.sty)
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luaotfload/luaotfload.sty
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/luaotfload/luaotfload.lua)))
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/fontspec/fontspec.lua)
(g:/texlive/Master/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(g:/texlive/Master/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(g:/texlive/Master/texmf-dist/tex/generic/xkeyval/keyval.tex)))
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/fontspec/fontspec-patches.sty
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/base/fixltx2e.sty))
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/base/fontenc.sty
(g:/texlive/Master/texmf-dist/tex/latex/euenc/eu2enc.def)
(g:/texlive/Master/texmf-dist/tex/latex/euenc/eu2lmr.fd))
fontspec.cfg loaded.
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/fontspec/fontspec.cfg))
(g:/texlive/Master/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2009/03/25 v3.03 KOMA-Script package (loading files)
                   Copyright (C) Markus Kohm

)) (./fs.aux)
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/unicode-math/unicode-math-table.
tex)
luaotfload | Font names database loaded: 
$TEXMFVAR/luatex/generic/luaotfload/na
mes/otfl-names.lua
luaotfload | Updating the font names database:
luaotfload | Scanning TEXMF fonts...
luaotfload | Scanning OS fonts...
(g:/msys/1.0/trunk/build/texk/formats/pdflatex/unicode-math/unicode-math-table.
tex)
! Undefined control sequence.
<argument> \um_prime_single_mchar

\um_set_mathchar:NNnn #1#2#3#4->\Umathchardef #1
                                                 =\mathchar at type 
#2\csname sy...

\um_make_mathactive:nNN ...#3{\um_symfont_tl }{#1}
 
\char_gmake_mathactive:n {#1}

\um_setup_mathactives: ...e_single_mchar \mathord
 
\um_make_mathactive:nNN {"...

\\setmathfont ..._symbols: \um_setup_mathactives:
                                                   \um_setup_delcodes: 
\um_se...
l.4 \setmathfont{Cambria Math}

?
! Emergency stop.



More information about the luatex mailing list