[XeTeX] \mathrm undefined
Shunichi Amano
s-amano at jaist.ac.jp
Sat Jan 27 17:59:02 CET 2007
Thanks for reply.
The following may be minimal:
\documentclass{amsart}
\usepackage{fontspec, xunicode}
\begin{document}
\begin{abstract}
$\rm S$
\end{abstract}
\end{document}
If $\rm S$ is put outside the abstract environment or article.cls is
used, the file compiles without error but with a very weird
unreadable result.
I think the installation of xetex itself is fine because I have been
able to compile some documents without error.
log of the above example:
This is XeTeX, Version 3.141592-2.2-0.995 (Web2C 7.5.5)
entering extended mode
(./test.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german,
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar,
norsk, polis
h, portuges, romanian, russian, slovak, slovene, spanish, swedish,
turkish, noh
yphenation, welsh, loaded.
(/usr/local/teTeX/share/texmf-dist/tex/latex/amscls/amsart.cls
Document Class: amsart 2004/08/06 v2.20
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/teTeX/share/texmf-local/tex/xelatex/fontspec/fontspec.sty
(/usr/local/teTeX/share/texmf-local/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/teTeX/share/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/teTeX/share/texmf-local/tex/xelatex/xkeyval/xkeyval.sty
(/usr/local/teTeX/share/texmf-local/tex/xelatex/xkeyval/xkeyval.tex
(/usr/local/teTeX/share/texmf-local/tex/xelatex/xkeyval/keyval.tex)))
(/usr/local/teTeX/share/texmf-local/tex/latex/lm/lmodern.sty)
(/usr/local/teTeX/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/teTeX/share/texmf-local/tex/latex/euenc/eu1enc.def)
(/usr/local/teTeX/share/texmf-local/tex/latex/euenc/lm/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/local/teTeX/share/texmf-local/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/teTeX/share/texmf-local/tex/xelatex/xunicode.sty) (./
test.aux)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/umsb.fd)
! LaTeX Error: Math alphabet identifier \mathrm is undefined in math
version `n
ormal'.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.12 $\rm
S$
? x
No pages of output.
Transcript written on test.log.
best.
Shunichi Amano
On 2007/01/27, at 16:07, Will Robertson wrote:
> On 27/01/2007, at 22:35 , Shunichi Amano wrote:
>
>> I recently upgraded xetex and fontspec, and tried to compile a
>> document only to get the following error:
>>
>> ! LaTeX Error: Math alphabet identifier \mathrm is undefined in math
>> version `n
>> ormal'.
>
> Hmmm, I haven't heard of this problem before. Can you create a
> minimal example that demonstrates the problem? That is, remove as
> many packages and as much of the document as possible such that the
> error still occurs, and then I can compile your example and check out
> what's going on.
>
> Cheers,
> Will
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
More information about the XeTeX
mailing list