[XeTeX] mathspec and arabxetex issues

Meho R. meho_r at yahoo.com
Fri Feb 19 11:57:20 CET 2010


Hi,

I encountered problems with mathspec and arabxetex when used 
together. I'm using TeXLive2009 (all packages updated today) on Ubuntu Linux 64bit. Here's an 
example code (xltxtra and xunicode and any options to mathspec aren't 
relevant for this issue so I removed them to keep the code as simple as 
possible):



 
\documentclass{book}
\usepackage{amsmath}
\usepackage{mathspec}
\usepackage{arabxetex}

\begin{document}
Test
\textarab{بسم الله}
\end{document}


The problem is that I get this error when trying to compile the document:


! Package mathspec Error: `amsmath' must be loaded 
earlier than `mathspec'.
See the mathspec package documentation for explanation. 
Type  H <return>  for 
immediate help.
... 
l.41 \RequirePackage{amsmath}
%because of macro \overline used in \aemph
? 


If I reverse position of 
mathspec and arabxetex packages, I get option clash for fontspec 
package:

! LaTeX Error: Option clash for 
package fontspec. 
See the LaTeX manual or LaTeX 
Companion for explanation.
Type  H <return>  for 
immediate help.
... 
l.67 
...Package[\eu at zf@math]{fontspec}[2008/08/09]


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100219/f1baab22/attachment.html>


More information about the XeTeX mailing list