Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread VAFA KHALIGHI
load xkeyval before polyglossia. On Wed, Sep 21, 2011 at 8:30 PM, Arash Zeini arash.ze...@gmail.com wrote: Hello, I updated my vanilla TexLive 2011 installation two days ago and have since been unable to compile my document correctly. Nothing has changed in my document but I now receive 181

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Zdenek Wagner
2011/9/21 Arash Zeini arash.ze...@gmail.com: Hello, See the previous thread open by Alex Hamann I updated my vanilla TexLive 2011 installation two days ago and have since been unable to compile my document correctly. Nothing has changed in my document but I now receive 181 error messages,

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Arash Zeini
On Wednesday 21 September 2011, Zdenek Wagner wrote: 2011/9/21 Arash Zeini arash.ze...@gmail.com: Hello, See the previous thread open by Alex Hamann Thanks for your prompt response. I am unable to locate a recent and relevant thread started by Alex Hamann. Vafa's suggestion of loading

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread VAFA KHALIGHI
I do not know about your other error messages but I guess they all should be related to fontspec. A similar questions was asked on the TeXLive mailing list and Wagner perhaps thought that your question was on the TeXLive mailng list; that is why... fontspec does not load xkeyval anymore (but used

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Heiko Oberdiek
On Wed, Sep 21, 2011 at 02:04:51PM +0200, Pander wrote: On 2011-09-21 13:58, Arash Zeini wrote: On Wednesday 21 September 2011, Zdenek Wagner wrote: 2011/9/21 Arash Zeini arash.ze...@gmail.com: Hello, See the previous thread open by Alex Hamann Thanks for your prompt response. I

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread VAFA KHALIGHI
It is a bug in polyglossia that xkeyval has to be loaded manually before polyglossia, because polyglossia has forgotten \RequirePackage{xkeyval}. Not really. fontspec used to load xkeyval and polyglossia loaded fontspec so there was no need for polyglossia to load xkeyval again.

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Herbert Schulz
On Sep 21, 2011, at 7:21 AM, VAFA KHALIGHI wrote: It is a bug in polyglossia that xkeyval has to be loaded manually before polyglossia, because polyglossia has forgotten \RequirePackage{xkeyval}. Not really. fontspec used to load xkeyval and polyglossia loaded fontspec so there was no

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Zdenek Wagner
2011/9/21 Herbert Schulz he...@wideopenwest.com: On Sep 21, 2011, at 7:21 AM, VAFA KHALIGHI wrote: It is a bug in polyglossia that xkeyval has to be loaded manually before polyglossia, because polyglossia has forgotten \RequirePackage{xkeyval}. Not really. fontspec used to load xkeyval

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Heiko Oberdiek
On Wed, Sep 21, 2011 at 02:34:41PM +0200, Zdenek Wagner wrote: That's right. \RequirePackage and \usepackage maintain internally a list of already loaded packages. There is one potential problem, you are not specified a different list of options. Thus if you use \RequirePackage{something}

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Heiko Oberdiek
On Wed, Sep 21, 2011 at 10:21:46PM +1000, VAFA KHALIGHI wrote: It is a bug in polyglossia that xkeyval has to be loaded manually before polyglossia, because polyglossia has forgotten \RequirePackage{xkeyval}. Not really. fontspec used to load xkeyval and polyglossia loaded fontspec

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Zdenek Wagner
2011/9/21 Heiko Oberdiek heiko.oberd...@googlemail.com: On Wed, Sep 21, 2011 at 02:34:41PM +0200, Zdenek Wagner wrote: That's right. \RequirePackage and \usepackage maintain internally a list of already loaded packages. There is one potential problem, you are not specified a different list of

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Heiko Oberdiek
On Wed, Sep 21, 2011 at 03:19:29PM +0200, Zdenek Wagner wrote: Agreed. What I meant was if package anything contains \RequirePackage{something} without any options but user needs something with some option, then the correct way is \usepackage[options]{something} \usepackage{anything} I

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Arash Zeini
Thanks for all the posts. Vafa's mail below answers my question about recent changes. Loading xkeyval before polyglossia takes care of the problem in the minimal example, but not in my actual document where I also load exaccent. In this case I receive complaints about \upperaccent and other

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread VAFA KHALIGHI
fontspec loads xunicode and xunicode has been updated recently. What happens if you load exaccent before polyglossia? On Thu, Sep 22, 2011 at 12:04 AM, Arash Zeini arash.ze...@gmail.com wrote: Thanks for all the posts. Vafa's mail below answers my question about recent changes. Loading

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Arash Zeini
On Wednesday 21 September 2011, VAFA KHALIGHI wrote: fontspec loads xunicode and xunicode has been updated recently. What happens if you load exaccent before polyglossia? Nothing. I get the same error messages as before. Arash On Thu, Sep 22, 2011 at 12:04 AM, Arash Zeini

[XeTeX] Compatibility issues with ednotes and pstricks or TikZ

2011-09-21 Thread Nathan Sidoli
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

Re: [XeTeX] Compatibility issues with ednotes and pstricks or TikZ

2011-09-21 Thread VAFA KHALIGHI
I am not sure what is the actual problem but I can tell you what bidi does. bidi does the following: 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

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Zdenek Wagner
2011/9/21 Arash Zeini arash.ze...@gmail.com: On Wednesday 21 September 2011, VAFA KHALIGHI wrote: fontspec loads xunicode and xunicode has been updated recently. What happens if you load exaccent before polyglossia? Nothing. I get the same error messages as before. What packages are loaded

Re: [XeTeX] Compatibility issues with ednotes and pstricks or TikZ

2011-09-21 Thread Zdenek Wagner
2011/9/21 VAFA KHALIGHI vafa...@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,

Re: [XeTeX] Compatibility issues with ednotes and pstricks or TikZ

2011-09-21 Thread VAFA KHALIGHI
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

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Ulrike Fischer
Am Wed, 21 Sep 2011 15:23:50 +0100 schrieb Arash Zeini: fontspec loads xunicode and xunicode has been updated recently. What happens if you load exaccent before polyglossia? Nothing. I get the same error messages as before. Well loading exaccent before fontspec/xunicode should actually work

Re: [XeTeX] Compatibility issues with ednotes and pstricks or TikZ

2011-09-21 Thread Nathan Sidoli
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

Re: [XeTeX] Compatibility issues with ednotes and pstricks or TikZ

2011-09-21 Thread VAFA KHALIGHI
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. On Thu, Sep 22, 2011 at 12:48 AM, Nathan Sidoli nathan.sid...@utoronto.cawrote: I have tried loading them in every possible order, but as soon as I load

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread VAFA KHALIGHI
For me, the attached example gives no error. On Thu, Sep 22, 2011 at 12:23 AM, Arash Zeini arash.ze...@gmail.com wrote: On Wednesday 21 September 2011, VAFA KHALIGHI wrote: fontspec loads xunicode and xunicode has been updated recently. What happens if you load exaccent before polyglossia?

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread VAFA KHALIGHI
I do not agree but I usually do not load any packages for various reasons. If I need a particular function of a particular package, I implement it myself, and even if that is not possible, I take macros from that package but obviously change the macro names (both internal and public macros)

Re: [XeTeX] Compatibility issues with ednotes and pstricks or TikZ

2011-09-21 Thread Nathan Sidoli
Well, as you guessed, it does seem to be something to do with the interaction between bidi and pstricks. Here is a minimal example with no bidi, which shows the line numbers along with a figure, etc. --- \documentclass{article} \usepackage{pstricks} \usepackage{pst-eps}

Re: [XeTeX] Polyglossia broken?

2011-09-21 Thread Arash Zeini
On Wednesday 21 September 2011, Ulrike Fischer wrote: Am Wed, 21 Sep 2011 15:23:50 +0100 schrieb Arash Zeini: fontspec loads xunicode and xunicode has been updated recently. What happens if you load exaccent before polyglossia? Nothing. I get the same error messages as before. Well

Re: [XeTeX] Change in Polyglossia?

2011-09-21 Thread Martin Schröder
2011/9/21 Herbert Schulz he...@wideopenwest.com: Oh my… this has come up today so many times on so many lists it's maddening. :-) See also https://github.com/fc7/polyglossia/issues/27 Best Martin -- Subscriptions, Archive, and List

Re: [XeTeX] Change in Polyglossia?

2011-09-21 Thread Barry MacKichan
Sorry for the superfluous post. My mail program finally updated the XeTeX postings just after I hit the send key :-( --Barry On Sep 21, 2011, at 1:19 PM, Barry MacKichan wrote: If I compile the following: \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia}

Re: [XeTeX] Compatibility issues with ednotes and pstricks or TikZ

2011-09-21 Thread Nathan Sidoli
Thanks for this. Where are you putting this code? I tried in various places in the preamble. Does it need to be put in one of the packages? On 11/09/22 2:35, VAFA KHALIGHI wrote: bidi does not support lineno.sty and you are on your own if you decide to use it but here is the fix:

Re: [XeTeX] Compatibility issues with ednotes and pstricks or TikZ

2011-09-21 Thread VAFA KHALIGHI
Put it before \begin{document}, in addition you need to put \rightlinenumbers after \resetlinenumber\pagewiselinenumbers On Thu, Sep 22, 2011 at 3:17 PM, Nathan Sidoli nathan.sid...@utoronto.cawrote: Thanks for this. Where are you putting this code? I tried in various places in the