[XeTeX] arabxetex and beamer clash

François Charette firmicus at ankabut.net
Sun Jun 22 09:58:27 CEST 2008


VAFA KHALIGHI wrote:
> \documentclass{beamer}
> \usepackage{arabxetex}
> \begin{document}
> \begin{frame}
> Hi
> \end{frame}
> \end{document}
> %%%%%%%%%%%%%%%%%%
>  
> Now the error is `command \textlatin already defined' and I am sorry 
> that by mistake I said the error is `textroman already defined'.

The cause of this is in the file beamerbasecompatibility.sty, which 
contains these lines:
> % Fix for babel
> %
> %
> \providecommand\textlatin{}
> \providecommand\theparagraph{}
> \providecommand\thesubparagraph{}
> \providecommand\listoffigures{}
> \providecommand\listoftables{}
> \providecommand\l at part{}
> \providecommand\l at chapter{}

Since arabxetex actually uses \textroman (with \textlatin as an alias), 
I will simply remove \textlatin in the next update of arabxetex. In the 
time being, you can simply delete lines 478-481 in arabxetex.sty.

F




More information about the XeTeX mailing list