[XeTeX] incompatibility with amsmath

Andrew Moschou andmos at gmail.com
Thu Jul 31 17:10:33 CEST 2008


Hi everyone,

With this document:
\documentclass{article}

\usepackage{amsmath}

\usepackage{fontspec}

\setmainfont{Times New Roman}

\makeatletter

\DeclareSymbolFont{TNR}{EU1}{\zf at family}{m}{n}

\XeTeXmathcode`-=2\symTNR"2212

\begin{document}

$a-b$

\end{document}
I receive the message:
! Extended mathchar used as mathchar (71311890).
but remove \usepackage{amsmath} and the problem goes away. This is
unacceptable because amsmath is such an important package. Is there a
solution? I'm using 3.1415926-2.2-0.999.2 in MiKTeX.

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20080801/563fadfb/attachment.html 


More information about the XeTeX mailing list