Re: [XeTeX] New version of xetex

2014-07-29 Thread Vafa Khalighi
Sounds good. On Tue, Jul 29, 2014 at 3:25 AM, Khaled Hosny khaledho...@eglug.org wrote: On Mon, Jul 28, 2014 at 10:24:39PM +1000, Vafa Khalighi wrote: Thanks, fixed. Thanks. I will try that. I know that in the new algorithm, \beginR, \beginL, \endR, and \endL are also allowed

Re: [XeTeX] New version of xetex

2014-07-29 Thread David Carlisle
On 29 July 2014 10:55, Khaled Hosny khaledho...@eglug.org wrote: On Mon, Jul 28, 2014 at 07:25:39PM +0200, Khaled Hosny wrote: On Mon, Jul 28, 2014 at 10:24:39PM +1000, Vafa Khalighi wrote: Thanks, fixed. Thanks. I will try that. I know that in the new algorithm, \beginR,

Re: [XeTeX] New version of xetex

2014-07-29 Thread Vafa Khalighi
If you are looking at extending xetex's RTL support is there any chance of addressing RTL tables (as affects for example longtable in the other thread)? as the nodes can only go in hmode there is no good place to put them to affect the ordering of columns in an halign. Hi David, The

Re: [XeTeX] New version of xetex

2014-07-29 Thread David Carlisle
On 29 July 2014 12:55, Vafa Khalighi texpers...@gmail.com wrote: If you are looking at extending xetex's RTL support is there any chance of addressing RTL tables (as affects for example longtable in the other thread)? as the nodes can only go in hmode there is no good place to put them to

Re: [XeTeX] New version of xetex

2014-07-29 Thread Vafa Khalighi
Hi David I just did a quick experiment with new XeTeX. Since in new TeX-XeT algorithm, \beginR, \beginL, \endR, and \endL can also be used in math mode, the previous approach is not needed. Here is a test file for standard LaTeX tabular environment: \documentclass{article} \begin{document}

Re: [XeTeX] New version of xetex

2014-07-29 Thread David Carlisle
\hbox \bgroup $\beginR but couldn't you just do \hbox \bgroup \beginR$ to get the same, but working with older engines? I will look at longtable and see if the same kind of thing can be done there. I don't have it here but can you put \beginR at the start of $$ and still have a display

Re: [XeTeX] New version of xetex

2014-07-29 Thread Vafa Khalighi
but couldn't you just do \hbox \bgroup \beginR$ to get the same, but working with older engines? That was the first thing I tried when I wanted to implement RTL tabular in bidi. Unfortunately that neither works with old xetex nor with new one. I will look at longtable and see if

Re: [XeTeX] New version of xetex

2014-07-29 Thread Khaled Hosny
On Tue, Jul 29, 2014 at 03:35:57PM +0100, David Carlisle wrote: \hbox \bgroup $\beginR but couldn't you just do \hbox \bgroup \beginR$ That wouldn't work, as math (inline and display) are ensured to always be LTR. The original assumption was that you never need RTL math, but this is wrong

Re: [XeTeX] New version of xetex

2014-07-29 Thread David Carlisle
On 29 July 2014 16:27, Khaled Hosny khaledho...@eglug.org wrote: \hbox \bgroup \beginR$ That wouldn't work, as math (inline and display) are ensured to always be LTR. oh yes, I knew that really:-) sorry Vafa, I shouldn't have queried you:-) David

[XeTeX] bidi vs luabidi and polyglossia with Hebrew

2014-07-29 Thread Karljurgen Feuerherm
On July 5, I posted a query due to a problem I was having in creating media9 buttons in RTL mode. The error I was getting when placing a media button command in an RTL environment was xdvipdfmx:fatal: A pending form XObject at the end of page.² A. Grahn offered a solution

Re: [XeTeX] bidi vs luabidi and polyglossia with Hebrew

2014-07-29 Thread Karljurgen Feuerherm
Thank-you, Khaled. That is encouraging! I will try to play with this. K On 2014-07-29, 19:33, Khaled Hosny khaledho...@eglug.org wrote: On Tue, Jul 29, 2014 at 11:24:52PM +, Karljurgen Feuerherm wrote: * Why does this work with luabidi but not bidi? (or even, what¹s a likely reason) It