<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I have tried loading them in every possible order, but as soon as I
    load pstricks the marginal numbers disappear. <br>
    <br>
    <br>
    On 11/09/21 23:43, VAFA KHALIGHI wrote:
    <blockquote
cite="mid:CAB6rp_aGHomN83O42-wE-j6kwMLD+deo6n3o9a8=822N3N8=Dw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      <div>No, I think it has to do with something that tikzpicture or
        pspicture environment are in LTR mode by bidi. you can load
        endnotes anywhere you want but certainly bidi gives you error if
        you load tikz or pstricks after bidi, thus you only will have to
        load tikz or pstricks before bidi.<br>
        <br>
        <div>2011/9/22 Zdenek Wagner <span><<a
              moz-do-not-send="true"
              href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>></span><br>
          <blockquote>
            2011/9/21 VAFA KHALIGHI <<a moz-do-not-send="true"
              href="mailto:vafaklg@gmail.com">vafaklg@gmail.com</a>>:<br>
            <div>> I am not sure what is the actual problem but I can
              tell you what bidi does.<br>
              > bidi does the following:<br>
              ><br>
            </div>
            Can it depend on the order in which the packages are loaded?
            This is<br>
            what I would try. My feeling is that the correct order would
            be tikz,<br>
            endnote, bidi.<br>
            <div>
              <div><br>
                > 1- makes l and r logical such that l means always
                left and r always means<br>
                > right (in both RTL and LTR).<br>
                ><br>
                > 2- bidi automatically puts tikzpicture and
                pspicture envoronments in LTR<br>
                > mode mainly for two reasons:<br>
                > a) RTL picture environment does not make sense.<br>
                > b) XeTeX in RTL mode, with \special has bugs and
                tikz and pstricks both uses<br>
                > \special so we have no other choice but putting
                pspicture and tikzpicture<br>
                > inside LTR mode.<br>
                ><br>
                > On Thu, Sep 22, 2011 at 12:26 AM, Nathan Sidoli
                <<a moz-do-not-send="true"
                  href="mailto:nathan.sidoli@utoronto.ca">nathan.sidoli@utoronto.ca</a>><br>
                > wrote:<br>
                >><br>
                >> I realize this is not strictly speaking a XeTeX
                issue, but I am<br>
                >> typesetting a critical edition of an Arabic
                text using XeLaTeX with the<br>
                >> ednotes package and I want to be able to make
                the diagrams for the text<br>
                >> using either pstricks or TikZ so that the
                Arabic fonts can be changed in the<br>
                >> text and diagrams simply by toggling the
                initial font setting.<br>
                >><br>
                >> When I load either of these graphics packages,
                however, the line numbers<br>
                >> in the margins of the Arabic text disappear.<br>
                >><br>
                >> Has any one had a similar problem? Can any one
                think of a possible<br>
                >> solution?<br>
                >><br>
                >> I can work on a minimal example, but it will
                probably not be that minimal.<br>
                >><br>
                >><br>
                >><br>
                >>
                --------------------------------------------------<br>
                >> Subscriptions, Archive, and List information,
                etc.:<br>
                >>  <a moz-do-not-send="true"
                  href="http://tug.org/mailman/listinfo/xetex">http://tug.org/mailman/listinfo/xetex</a><br>
                ><br>
                ><br>
                ><br>
                ><br>
                > --------------------------------------------------<br>
                > Subscriptions, Archive, and List information, etc.:<br>
                >  <a moz-do-not-send="true"
                  href="http://tug.org/mailman/listinfo/xetex">http://tug.org/mailman/listinfo/xetex</a><br>
                ><br>
                ><br>
                <br>
                <br>
                <br>
              </div>
            </div>
            --<br>
            Zdeněk Wagner<br>
            <a moz-do-not-send="true"
              href="http://hroch486.icpf.cas.cz/wagner/">http://hroch486.icpf.cas.cz/wagner/</a><br>
            <a moz-do-not-send="true" href="http://icebearsoft.euweb.cz">http://icebearsoft.euweb.cz</a><br>
            <div>
              <div><br>
                <br>
                <br>
                --------------------------------------------------<br>
                Subscriptions, Archive, and List information, etc.:<br>
                 <a moz-do-not-send="true"
                  href="http://tug.org/mailman/listinfo/xetex">http://tug.org/mailman/listinfo/xetex</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">

--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  <a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/xetex">http://tug.org/mailman/listinfo/xetex</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>