Re: [XeTeX] Multiple \marks

2011-02-15 Thread Jonathan Kew
On 16 Feb 2011, at 07:42, John Was wrote: > Hello > > I've used multiple \marks in a few jobs where there are several varying > elements that need to go into the running headlines (\marks 1, \marks 2, > etc., instead of plain TeX's single \mark). For some reason I got it into my > head that

[XeTeX] Multiple \marks

2011-02-15 Thread John Was
Hello I've used multiple \marks in a few jobs where there are several varying elements that need to go into the running headlines (\marks 1, \marks 2, etc., instead of plain TeX's single \mark). For some reason I got it into my head that this was part of Eplain, but I've just discovered (from

[XeTeX] Encrypting PDFs and maintaing PDF bookmarks. Howto ?

2011-02-15 Thread Michael Joyner
Good afternoon, I was trying to encrypt some PDF's with pdftk, but discovered that it eats the PDF bookmarks! After doing some Googling I discoved 'pdfcrypt', but I get an error about a driver not being installed. Then I discovered that xdvipdfmx supports a "-S" option, but, I don't see a way t

Re: [XeTeX] OT features

2011-02-15 Thread Georg A. Duffner
Am 2011-02-15 11:26, schrieb Paul Isambert: Le 15/02/2011 11:14, Georg A. Duffner a écrit : Am 2011-02-15 04:38, schrieb David J. Perry: I had the exact same problem last weekend. I constructed an OT feature to replace a long s with a regular s if followed by a comma, period, space, etc. The lo

Re: [XeTeX] xeindex bug. index entry mangles processing of section and chapter environments.

2011-02-15 Thread Paul Isambert
Le 15/02/2011 19:03, Michael Joyner a écrit : On Mon, Feb 14, 2011 at 6:25 PM, Paul Isambert > wrote: Nice, you've just discovered a bug in XeSearch. Bleck. I don't consider it nice. Why am I the one always finding these bugs that don't afflict other peopl

Re: [XeTeX] xeindex bug. index entry mangles processing of section and chapter environments.

2011-02-15 Thread Michael Joyner
On Mon, Feb 14, 2011 at 6:25 PM, Paul Isambert wrote: > > Nice, you've just discovered a bug in XeSearch. Bleck. I don't consider it nice. Why am I the one always finding these bugs that don't afflict other people? :( > Basically, it builds an horizontal box; \section inserts a vertical comman

Re: [XeTeX] Multi directional paragraphs

2011-02-15 Thread Vafa Khalighi
> I get the idea. I suppose what confuses me is that this whole thing works > in > the quote environment but not in verse. They both define a narrower text > width. The only difference between the two environments, at least from a > user's POV, is the hanging indent or generally the way they format

Re: [XeTeX] Multi directional paragraphs

2011-02-15 Thread Arash Zeini
On Tuesday 15 February 2011, Vafa Khalighi wrote: > As I said this is not a bug and it happens because once inside verse > environment based on the direction of outside, right and left skips are > set, then you can not change it because they are already set. This is > exactly the same scenario with

Re: [XeTeX] Multi directional paragraphs

2011-02-15 Thread Vafa Khalighi
The same issue exits with luatex (it is not really an issue or a bug, it is just the complexity of setting right and left skips), although you do not need to swap right and left skips in RTL mode in luatex. see attached. Of course bidi does nothing for luatex but perhaps I should add more support f

Re: [XeTeX] Proper way to set up OT Features

2011-02-15 Thread mskala
On Tue, 15 Feb 2011, Jonathan Kew wrote: > Yes, you can't do lookups that involve , because of how xetex > handles word spacing. If it doesn't work in XeTeX, there will probably be other applications in which it also doesn't work - so changing XeTeX wouldn't solve the problem. In general, I think

Re: [XeTeX] Multi directional paragraphs

2011-02-15 Thread Vafa Khalighi
The same kind of isssue existed with the margins in the bibliography environment and they can be avoided by using LTRitems and RTLitems environments. To fix lists bidirectionallly, bidi redefines \list as follow: %% \def\list#1#2{% \ifnum \@listdepth >5\re

Re: [XeTeX] Multi directional paragraphs

2011-02-15 Thread Vafa Khalighi
As I said this is not a bug and it happens because once inside verse environment based on the direction of outside, right and left skips are set, then you can not change it because they are already set. This is exactly the same scenario with itemize and enumerate environment and to fix the issue of

Re: [XeTeX] Multi directional paragraphs

2011-02-15 Thread Vafa Khalighi
It is beacuse you have a different kind of definition with quote. Once you set up right and left skips you can not change them. For example, look at bidi manual and read the section that has to do with RTLitems and LTRitems environment. A similar thing can be done with verse. On Tue, Feb 15, 2011

Re: [XeTeX] Multi directional paragraphs

2011-02-15 Thread Arash Zeini
On Tuesday 15 February 2011, Vafa Khalighi wrote: > I dont really consider this a bug. With verse environment, you set right > and left skips and so if it is already LTR, you have set your right and > left skips for LTR and putting \setRTL would not change right and left > skip because they already

Re: [XeTeX] Proper way to set up OT Features

2011-02-15 Thread Adam Twardoch (List)
The OpenType Layout mechanism is based on "glyph runs". First, the text engine separates a line into glyph runs, and then applies features to each run as if it were separate (i.e. there cannot be any feature interaction between the runs). The tricky part is that every layout engine has a different

Re: [XeTeX] Proper way to set up OT Features

2011-02-15 Thread David J. Perry
Jonathan, This almost certainly indicates the presence of two fonts with the same name (perhaps both OTF and PSType1 are present? or OTF and TTF?) in locations where xetex can find them; this leads to confusion. I suspected something like this, which is why I tried reinstalling MiKTeX. Thi

Re: [XeTeX] Multi directional paragraphs

2011-02-15 Thread Vafa Khalighi
I dont really consider this a bug. With verse environment, you set right and left skips and so if it is already LTR, you have set your right and left skips for LTR and putting \setRTL would not change right and left skip because they already have been set. See the attached document. I think this is

Re: [XeTeX] OT features

2011-02-15 Thread Georg A. Duffner
Am 2011-02-15 11:26, schrieb Paul Isambert: Le 15/02/2011 11:14, Georg A. Duffner a écrit : Am 2011-02-15 04:38, schrieb David J. Perry: I had the exact same problem last weekend. I constructed an OT feature to replace a long s with a regular s if followed by a comma, period, space, etc. The lo

Re: [XeTeX] OT features

2011-02-15 Thread Paul Isambert
Le 15/02/2011 11:14, Georg A. Duffner a écrit : Am 2011-02-15 04:38, schrieb David J. Perry: I had the exact same problem last weekend. I constructed an OT feature to replace a long s with a regular s if followed by a comma, period, space, etc. The longs-space combination did not work. I am not

Re: [XeTeX] OT features

2011-02-15 Thread Georg A. Duffner
Am 2011-02-15 04:38, schrieb David J. Perry: I had the exact same problem last weekend. I constructed an OT feature to replace a long s with a regular s if followed by a comma, period, space, etc. The longs-space combination did not work. I am not a low-level TeX programming kind of guy, but I ha

Re: [XeTeX] Multi directional paragraphs

2011-02-15 Thread Arash Zeini
On Tuesday 15 February 2011, Vafa Khalighi wrote: > minimal example? Attached. \documentclass{memoir} \usepackage{bidi} \usepackage{xltxtra} \newfontfamily{\farsi}[Script=Arabic]{IranNastaliq} \begin{document} Bidi \bidiversion . To demonstrate how in RTL mode the verse environment disrespects the

Re: [XeTeX] Proper way to set up OT Features

2011-02-15 Thread Ulrike Fischer
Am Mon, 14 Feb 2011 22:49:00 -0500 schrieb David J. Perry: > WinVista SP2, MiKTeX 2.9 > Font generally seems OK with Word and OpenOffice Writer, although neither > supports OT features so I can't test that aspect of things. However, the > font fails completely in XeLaTex; "Now" appears as "Opx"

Re: [XeTeX] Proper way to set up OT Features

2011-02-15 Thread Keith J. Schultz
Hi David, Are You joking? Seriously! All I can say is HAL == IBM! Now == Opx!! Please do not be offended. But, it does seem more than a coincidence! A shift of one! Sorry, no help. regards Keith