<div dir="ltr"><br><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><br>However with test-polyglossia-arabxetex.tex (where I load arabxetex.sty and polyglossia.sty) I get the error that is irrelevant to bidi package; it is because both defines \Arabic, the error message that I get is:<br>

<br>

<p style="margin: 0px; text-indent: 0px;">! LaTeX Error: Command \Arabic already defined.</p>
<p style="margin: 0px; text-indent: 0px;">               Or name \end... illegal, see p.192 of the manual.</p>

<p style="margin: 0px; text-indent: 0px;">See the LaTeX manual or LaTeX Companion for explanation.</p>
<p style="margin: 0px; text-indent: 0px;">Type  H &lt;return&gt;  for immediate help.</p>
<p style="margin: 0px; text-indent: 0px;"> ...                                              </p>
<p style="margin: 0px; text-indent: 0px;">                                                  </p>
<p style="margin: 0px; text-indent: 0px;">l.6 \setotherlanguage{arabic}</p>
<p style="margin: 0px; text-indent: 0px;">                             </p>
<p style="margin: 0px; text-indent: 0px;">? <br></p><p style="margin: 0px; text-indent: 0px;"><br></p><br><br></div></blockquote><div><br>I can confirm this.<br><br>footnote number 7 on page 5 of arabxetex documentation says:<br>
<br>&quot;Since the command \arabic is already defined in LATEX, we chose the environment arab and the<br>command \textarab instead, but the equivalent environment Arabic and the command \textarabic<br>are also available.&quot;<br>
<br><br>Which means it defines \Arabic and \endArabic.<br><br>Also on page 5 , section 3 of polyglossia documentation, we have:<br><br>&quot;Note that for Arabic one cannot use the environment arabic, as \arabic is<br>defined internally by LTEX. In this case we need to use the environment Arabic<br>
nstead.&quot;<br><br><br>Now  <br></div><br></div><br><br clear="all"><br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>