Hi Adam,
On Jun 20, 2017, at 8:10 AM, maxwell
<[email protected]<mailto:[email protected]>> wrote:
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}
It happens while processing the file
latex-xetex-bidi.def
since metalogo has already defined macros: \XeTeX and \XeLaTeX .
\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@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.
This following works smoothly, and allows access to both versions of the logo.
Notice that bidi’s version of \XeLaTeX is slightly narrower than the one from
metalogo.
\documentclass{report}
\usepackage{graphicx}
\usepackage{fontspec}
\usepackage{bidi}
\usepackage{metalogo}
%\usepackage{bidi}
% comment or delete these lines, in practice
\makeatletter
\show\XeTeX
\show\original@XeTeX
\makeatother
\begin{document}
Hi, from
\XeTeX\ and \XeLaTeX!
\makeatletter
Hi, from
\original@XeTeX\ and \original@XeLaTeX!
\makeatother
\end{document}
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
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex
Dr Ross Moore
Mathematics Dept | 12 Wally’s Walk, 734
Macquarie University, NSW 2109, Australia
T: +61 2 9850 8955 | F: +61 2 9850 8114
M:+61 407 288 255 | E: [email protected]<mailto:[email protected]>
http://www.maths.mq.edu.au
[cid:[email protected]]<http://mq.edu.au/>
CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.
This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University.
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex