[XeTeX] metalogo and bidi packages

maxwell maxwell at umiacs.umd.edu
Tue Jun 20 00:10:40 CEST 2017


I've installed the new TeXLive 2017.  There is a conflict between the 
metalogo and bidi packages.  I don't suppose this would be a biggie, 
except that the xltxtra package loads metalogo.  (And something else I'm 
using loads xltxtra...)

The conflict is shown in this minimal example:
------
\documentclass{report}
\usepackage{metalogo}
\usepackage{bidi}

\begin{document}
hi
\end{document}
------

The error msg is:
--------
(/home/groups/tools/texlive/2017/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.d
ef

! LaTeX Error: Command \XeTeX already defined.
                Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
  ...

l.122 ...di at reflect@box{E}}\kern-.1667em \TeX}}$}}
--------

The reverse loading order (bidi, then metalogo) triggers an error msg 
from bidi about loading order, and probably wouldn't help anyway.

For the time being, doing the following before bidi is loaded seems to 
solve the problem:
-----
\let\XeTeX\relax
\let\XeLaTeX\relax
-----

    Mike Maxwell
    University of Maryland


More information about the XeTeX mailing list