[XeTeX] Compatibility issues with ednotes and pstricks or TikZ

Nathan Sidoli nathan.sidoli at utoronto.ca
Wed Sep 21 16:48:50 CEST 2011


I have tried loading them in every possible order, but as soon as I load 
pstricks the marginal numbers disappear.


On 11/09/21 23:43, VAFA KHALIGHI wrote:
> 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.
>
> 2011/9/22 Zdenek Wagner <zdenek.wagner at gmail.com 
> <mailto:zdenek.wagner at gmail.com>>
>
>     2011/9/21 VAFA KHALIGHI <vafaklg at gmail.com
>     <mailto:vafaklg at gmail.com>>:
>     > I am not sure what is the actual problem but I can tell you what
>     bidi does.
>     > bidi does the following:
>     >
>     Can it depend on the order in which the packages are loaded? This is
>     what I would try. My feeling is that the correct order would be tikz,
>     endnote, bidi.
>
>     > 1- makes l and r logical such that l means always left and r
>     always means
>     > right (in both RTL and LTR).
>     >
>     > 2- bidi automatically puts tikzpicture and pspicture
>     envoronments in LTR
>     > mode mainly for two reasons:
>     > a) RTL picture environment does not make sense.
>     > b) XeTeX in RTL mode, with \special has bugs and tikz and
>     pstricks both uses
>     > \special so we have no other choice but putting pspicture and
>     tikzpicture
>     > inside LTR mode.
>     >
>     > On Thu, Sep 22, 2011 at 12:26 AM, Nathan Sidoli
>     <nathan.sidoli at utoronto.ca <mailto:nathan.sidoli at utoronto.ca>>
>     > wrote:
>     >>
>     >> I realize this is not strictly speaking a XeTeX issue, but I am
>     >> typesetting a critical edition of an Arabic text using XeLaTeX
>     with the
>     >> ednotes package and I want to be able to make the diagrams for
>     the text
>     >> using either pstricks or TikZ so that the Arabic fonts can be
>     changed in the
>     >> text and diagrams simply by toggling the initial font setting.
>     >>
>     >> When I load either of these graphics packages, however, the
>     line numbers
>     >> in the margins of the Arabic text disappear.
>     >>
>     >> Has any one had a similar problem? Can any one think of a possible
>     >> solution?
>     >>
>     >> I can work on a minimal example, but it will probably not be
>     that minimal.
>     >>
>     >>
>     >>
>     >> --------------------------------------------------
>     >> Subscriptions, Archive, and List information, etc.:
>     >> http://tug.org/mailman/listinfo/xetex
>     >
>     >
>     >
>     >
>     > --------------------------------------------------
>     > Subscriptions, Archive, and List information, etc.:
>     > http://tug.org/mailman/listinfo/xetex
>     >
>     >
>
>
>
>     --
>     Zdene(k Wagner
>     http://hroch486.icpf.cas.cz/wagner/
>     http://icebearsoft.euweb.cz
>
>
>
>     --------------------------------------------------
>     Subscriptions, Archive, and List information, etc.:
>     http://tug.org/mailman/listinfo/xetex
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>    http://tug.org/mailman/listinfo/xetex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110921/84e441d3/attachment.html>


More information about the XeTeX mailing list