Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Vafa Khalighi
On Tue, Sep 28, 2010 at 10:12 AM, Talal Al-Azem wrote: > You're right. But due to exigencies of my project, I have no choice but to > use Memoir, due to all the excellent facilities it adds. I hope this is > something resolvable! > > Many thanks for taking the time to follow this problem. > > I d

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Talal Al-Azem
You're right. But due to exigencies of my project, I have no choice but to use Memoir, due to all the excellent facilities it adds. I hope this is something resolvable! Many thanks for taking the time to follow this problem. Kind regards, Talal On 28 Sep 2010, at 00:53, Vafa Khalighi wrote: >

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Talal Al-Azem
Juan, take a look at page 6-8 of the pdf you sent me; you'll find they are not correct. :-) On 28 Sep 2010, at 01:02, Juan Acevedo wrote: > Talal: > > Using > bidi 2010/08/01 v1.1.4c > I get the attached pdf, which looks right, I mean LTR as you want. > > Best, > J > > > > > > -

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Vafa Khalighi
On Tue, Sep 28, 2010 at 10:02 AM, Juan Acevedo wrote: > Talal: > > Using > bidi 2010/08/01 v1.1.4c > I get the attached pdf, which looks right, I mean LTR as you want. > > > not the header on pages 6--8 -- به نام خداوند جان و خرد کزین برتر اندیشه برنگذرد

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Vafa Khalighi
There is something odd about memoir. This does not happen with ordinary book class. You can change memoir to book and see it yourself. -- به نام خداوند جان و خرد کزین برتر اندیشه برنگذرد -- Subscriptions, Archive, and List information, e

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Talal Al-Azem
Vafa: I am using bidi v1.1.4a, , 2010/07/25. I have attached a minimal example.Juan: I am using Memoir, but nothing else, as you can see in the example attached.Kind regards,Talal minimal.tex Description: Binary data On 28 Sep 2010, at 00:19, Vafa Khalighi wrote:On Tue, Sep 28, 2010 at 9:02 AM, Ta

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Juan Acevedo
Talal: Are you using titlesec or any such package to deal with your headers? Minimal example would indeed be helpful. -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Vafa Khalighi
It might be because you have an ancient version of bidi. Could you also tell us about your version of bidi package? -- به نام خداوند جان و خرد کزین برتر اندیشه برنگذرد -- Subscriptions, Archive, and List information, etc.: http://tug.o

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Vafa Khalighi
On Tue, Sep 28, 2010 at 9:02 AM, Talal Al-Azem wrote: > Hello Vafa. Yes, my main direction of the section (chapter) is RTL. But > like I've described, the rest of the book is LTR. As such, I need the > headers to be uniform, and all be LTR (since the book is written in English, > with the excepti

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Vafa Khalighi
\makeatletter \d...@outputpage{% \begingroup % the \endgroup is put in by \aftergroup \let \protect \noexpand \...@resetactivechars \global\let\@@i...@newlist\if@newlist \glob...@newlistfalse \...@parboxrestore \shipout \vbox{% \...@typeset@protect \aftergroup \endgrou

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Talal Al-Azem
Hello Vafa. Yes, my main direction of the section (chapter) is RTL. But like I've described, the rest of the book is LTR. As such, I need the headers to be uniform, and all be LTR (since the book is written in English, with the exception of the chapters containing the edited texts which are in A

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Vafa Khalighi
On Tue, Sep 28, 2010 at 6:13 AM, Talal Al-Azem wrote: > Hello. I have a section of a chapter, the text of which is RTL. However, to > keep the headers uniform with the rest of the chapter, I want its header to > be LTR. How do I do this in Bidi? > > I tried doing \section{\LTR{header title}}, but

Re: [XeTeX] bidi: LTR header in RTL document

2010-09-27 Thread Juan Acevedo
Talal: I guess this qualifies as a dirty fix, but why don't you try using \protect somewhere in your header, say: \section{\LTR{\protect{header title}}} or move the \LTR command inside the \protect-ion or something like that. I guess you really need Vafa here... Best, Juan -