<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi Adam,
<div class=""><br class="">
<blockquote type="cite" class="">On Jun 20, 2017, at 8:10 AM, maxwell <<a href="mailto:maxwell@umiacs.umd.edu" class="">maxwell@umiacs.umd.edu</a>> wrote:<br class="">
<br class="">
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...)<br class="">
<br class="">
The conflict is shown in this minimal example:<br class="">
------<br class="">
\documentclass{report}<br class="">
\usepackage{metalogo}<br class="">
\usepackage{bidi}<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class="">It happens while processing the file</div>
<div class="">       latex-xetex-bidi.def</div>
<div class=""><br class="">
</div>
<div class="">since metalogo has already defined macros:  \XeTeX  and  \XeLaTeX  .</div>
<br class="">
<blockquote type="cite" class=""><br class="">
\begin{document}<br class="">
hi<br class="">
\end{document}<br class="">
------<br class="">
<br class="">
The error msg is:<br class="">
--------<br class="">
(/home/groups/tools/texlive/2017/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.d<br class="">
ef<br class="">
<br class="">
! LaTeX Error: Command \XeTeX already defined.<br class="">
              Or name \end... illegal, see p.192 of the manual.<br class="">
<br class="">
See the LaTeX manual or LaTeX Companion for explanation.<br class="">
Type  H <return>  for immediate help.<br class="">
...<br class="">
<br class="">
l.122 ...di@reflect@box{E}}\kern-.1667em \TeX}}$}}<br class="">
--------<br class="">
<br class="">
The reverse loading order (bidi, then metalogo) triggers an error msg from bidi about loading order, and probably wouldn't help anyway.<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class="">This following works smoothly, and allows access to both versions of the logo.</div>
<div class="">Notice that bidi’s version of \XeLaTeX is slightly narrower than the one from  metalogo.</div>
<div class=""><br class="">
</div>
<div class="">\documentclass{report}<br class="">
\usepackage{graphicx}<br class="">
\usepackage{fontspec}<br class="">
\usepackage{bidi}<br class="">
\usepackage{metalogo}<br class="">
%\usepackage{bidi}<br class="">
<br class="">
% comment or delete these lines, in practice<br class="">
\makeatletter<br class="">
\show\XeTeX<br class="">
\show\original@XeTeX<br class="">
\makeatother<br class="">
<br class="">
\begin{document}<br class="">
Hi, from<br class="">
\XeTeX\ and \XeLaTeX!<br class="">
<br class="">
\makeatletter<br class="">
Hi, from<br class="">
\original@XeTeX\ and \original@XeLaTeX!<br class="">
\makeatother<br class="">
<br class="">
\end{document}<br class="">
<br class="">
</div>
<div class=""><br class="">
</div>
<br class="">
<blockquote type="cite" class=""><br class="">
For the time being, doing the following before bidi is loaded seems to solve the problem:<br class="">
-----<br class="">
\let\XeTeX\relax<br class="">
\let\XeLaTeX\relax<br class="">
-----<br class="">
<br class="">
  Mike Maxwell<br class="">
  University of Maryland<br class="">
<br class="">
<br class="">
--------------------------------------------------<br class="">
Subscriptions, Archive, and List information, etc.:<br class="">
<a href="http://tug.org/mailman/listinfo/xetex" class="">http://tug.org/mailman/listinfo/xetex</a><br class="">
</blockquote>
<br class="">
<div class=""><br class="">
Dr Ross Moore<br class="">
Mathematics Dept | 12 Wally’s Walk, 734<br class="">
Macquarie University, NSW 2109, Australia<br class="">
T: +61 2 9850 8955  |  F: +61 2 9850 8114<br class="">
M:+61 407 288 255  |  E: <a href="mailto:ross.moore@mq.edu.au" class="">ross.moore@mq.edu.au</a><br class="">
<br class="">
http://www.maths.mq.edu.au<br class="">
<br class="">
<span style="font-size: 12px; line-height: normal;"><a href="http://mq.edu.au/" target="_blank" style="font-size: 12px; line-height: normal;" class=""><span><br class="Apple-interchange-newline">
<span><img height="58" width="260" apple-inline="yes" id="900C405F-A818-4653-A65D-D0B896A610EE" apple-width="yes" apple-height="yes" src="cid:image001.png@01D030BE.D37A46F0" class=""></span></span></a></span><br class="">
<br class="">
<br class="">
CRICOS Provider Number 00002J. Think before you print. <br class="">
Please consider the environment before printing this email.<br class="">
<br class="">
This message is intended for the addressee named and may <br class="">
contain confidential information. If you are not the intended <br class="">
recipient, please delete it and notify the sender. Views expressed <br class="">
in this message are those of the individual sender, and are not <br class="">
necessarily the views of Macquarie University.<br class="">
</div>
<br class="">
</div>
</body>
</html>