<div dir="ltr">See the attached files. test-arabxetetex.tex (where arabxetex.sty is just loaded) and test-polyglossia.tex (where polyglossia.sty) is loaded, will work fine.<br><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>
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<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;"></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><p style="margin: 0px; text-indent: 0px;">So this summarises that you can not use arabxetex and polyglossia together and as far as I can see, this has nothing to do with bidi.<br>
</p><br><br clear="all"><br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>