[XeTeX] Problems with fontspec and mathspec
Tobias Schoel
liesdiedatei at googlemail.com
Wed May 12 16:34:29 CEST 2010
Hi,
the following minimal example:
\documentclass{article}
\usepackage{xunicode}
\usepackage[cm-default,quiet]{mathspec}
\usepackage{xltxtra}
\setmainfont[Mapping=tex-text]{Linux Libertine O}
\setmathfont(Latin){Linux Libertine O}
\begin{document}
Quiz \(2ab\) 2ab
\end{document}
This results in the following error messages:
! LaTeX Error: Encoding scheme `EU1' unknown.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.9 \setmathfont(Latin){Linux Libertine O}
Removing the option cm-default from mathspec (which passes it to
fontspec) results in no error-messages and the desired effect.
Why is this?
Thanks
Toscho
More information about the XeTeX
mailing list