<div dir="ltr">do you have a minimal example? Can you create one where bidi is not loaded at all? maybe endnotes does not behave well with pstricks.<br><br><div class="gmail_quote">On Thu, Sep 22, 2011 at 12:48 AM, Nathan Sidoli <span dir="ltr"><<a href="mailto:nathan.sidoli@utoronto.ca">nathan.sidoli@utoronto.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div 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><div><div></div><div class="h5">
<br>
<br>
On 11/09/21 23:43, VAFA KHALIGHI wrote:
<blockquote type="cite">
<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 href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>></span><br>
<blockquote>
2011/9/21 VAFA KHALIGHI <<a href="mailto:vafaklg@gmail.com" target="_blank">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 href="mailto:nathan.sidoli@utoronto.ca" target="_blank">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 href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
><br>
><br>
><br>
><br>
> --------------------------------------------------<br>
> Subscriptions, Archive, and List information, etc.:<br>
> <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
><br>
><br>
<br>
<br>
<br>
</div>
</div>
--<br>
Zdeněk Wagner<br>
<a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
<a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
<div>
<div><br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br><br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br></blockquote></div><br></div>