Re: LyX, XeTeX, bidi and Hebrew

2012-07-22 Thread Jürgen Spitzmüller
Ronen Abravanel wrote: OK. I fixed it. (All the functions mentioned below are from Paragraph.cpp) It seems like there is a proper function to do it, getUChar, and I just had to call it from the proper place. I called it from latexSpecialChar, and it works, but in order to do so, I hat

Re: LyX, XeTeX, bidi and Hebrew

2012-07-22 Thread Jürgen Spitzmüller
Ronen Abravanel wrote: > OK. I fixed it. > > (All the functions mentioned below are from Paragraph.cpp) > > It seems like there is a proper function to do it, getUChar, and I just had > to call it from the proper place. > > I called it from latexSpecialChar, and it works, but in order to do so,

Re: LyX, XeTeX, bidi and Hebrew

2012-07-21 Thread Guenter Milde
On 2012-07-19, Ronen Abravanel wrote: XeTexX get in in the modern (unicode) sense of right. LyX, by default, input it wrong, but LyX output is good for pdfLaTeX. LyX fixes it's output in the plain-text output, and my patch apply the same correction for Hebrew-XeTeX output... I still

Re: LyX, XeTeX, bidi and Hebrew

2012-07-21 Thread Guenter Milde
On 2012-07-19, Ronen Abravanel wrote: > XeTexX get in in the modern (unicode) sense of right. > LyX, by default, input it "wrong", but LyX output is good for pdfLaTeX. > LyX fixes it's output in the plain-text output, and my patch apply the same > correction for Hebrew-XeTeX output... I still

Re: LyX, XeTeX, bidi and Hebrew

2012-07-19 Thread Guenter Milde
On 2012-07-18, Ronen Abravanel wrote: On Wed, Jul 18, 2012 at 11:09 AM, Guenter Milde mi...@users.sf.net wrote: On 2012-07-16, Ronen Abravanel wrote: ... * What do you get if the example is written as שלום (שלום) in LyX? Just Hello (Hello) in hebrew In LyX it's שלום (שלום) *

Re: LyX, XeTeX, bidi and Hebrew

2012-07-19 Thread Ronen Abravanel
On Thu, Jul 19, 2012 at 11:17 AM, Guenter Milde mi...@users.sf.net wrote: On 2012-07-18, Ronen Abravanel wrote: On Wed, Jul 18, 2012 at 11:09 AM, Guenter Milde mi...@users.sf.net wrote: On 2012-07-16, Ronen Abravanel wrote: ... * What do you get if the example is written as שלום

Re: LyX, XeTeX, bidi and Hebrew

2012-07-19 Thread Guenter Milde
On 2012-07-18, Ronen Abravanel wrote: > On Wed, Jul 18, 2012 at 11:09 AM, Guenter Milde wrote: >> On 2012-07-16, Ronen Abravanel wrote: ... >> * What do you get if the example is written as >> שלום (שלום) >> in LyX? > Just "Hello (Hello)" in hebrew > In LyX it's >

Re: LyX, XeTeX, bidi and Hebrew

2012-07-19 Thread Ronen Abravanel
On Thu, Jul 19, 2012 at 11:17 AM, Guenter Milde wrote: > On 2012-07-18, Ronen Abravanel wrote: > > On Wed, Jul 18, 2012 at 11:09 AM, Guenter Milde > wrote: > >> On 2012-07-16, Ronen Abravanel wrote: > > ... > > >> * What do you get if the example is

Re: LyX, XeTeX, bidi and Hebrew

2012-07-18 Thread Guenter Milde
On 2012-07-16, Ronen Abravanel wrote: [-- Type: text/plain, Encoding: quoted-printable --] These files produced directly by the GIT version of LyX. As you can see, the braces are the inverted in both the PDF and the TeX files. However, they are inverted in the source file too! * What do

Re: LyX, XeTeX, bidi and Hebrew

2012-07-18 Thread Ronen Abravanel
On Wed, Jul 18, 2012 at 11:09 AM, Guenter Milde mi...@users.sf.net wrote: On 2012-07-16, Ronen Abravanel wrote: [-- Type: text/plain, Encoding: quoted-printable --] These files produced directly by the GIT version of LyX. As you can see, the braces are the inverted in both the PDF and

Re: LyX, XeTeX, bidi and Hebrew

2012-07-18 Thread Guenter Milde
On 2012-07-16, Ronen Abravanel wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > These files produced directly by the GIT version of LyX. > As you can see, the braces are the inverted in both the PDF and the TeX > files. However, they are inverted in the source file too! * What

Re: LyX, XeTeX, bidi and Hebrew

2012-07-18 Thread Ronen Abravanel
On Wed, Jul 18, 2012 at 11:09 AM, Guenter Milde wrote: > On 2012-07-16, Ronen Abravanel wrote: > > > [-- Type: text/plain, Encoding: quoted-printable --] > > > These files produced directly by the GIT version of LyX. > > As you can see, the braces are the inverted in both the

Re: LyX, XeTeX, bidi and Hebrew

2012-07-16 Thread Ronen Abravanel
These files produced directly by the GIT version of LyX. As you can see, the braces are the inverted in both the PDF and the TeX files. Ronen. On Fri, Jul 13, 2012 at 9:38 PM, Ronen Abravanel ron...@gmail.com wrote: 1. you are right. one can do that, and it would be a nice workaround. But I

Re: LyX, XeTeX, bidi and Hebrew

2012-07-16 Thread Ronen Abravanel
OK. I fixed it. (All the functions mentioned below are from Paragraph.cpp) It seems like there is a proper function to do it, getUChar, and I just had to call it from the proper place. I called it from latexSpecialChar, and it works, but in order to do so, I hat to pass BufferParams to

Re: LyX, XeTeX, bidi and Hebrew

2012-07-16 Thread Ronen Abravanel
These files produced directly by the GIT version of LyX. As you can see, the braces are the inverted in both the PDF and the TeX files. Ronen. On Fri, Jul 13, 2012 at 9:38 PM, Ronen Abravanel wrote: > 1. you are right. one can do that, and it would be a nice workaround. But

Re: LyX, XeTeX, bidi and Hebrew

2012-07-16 Thread Ronen Abravanel
OK. I fixed it. (All the functions mentioned below are from Paragraph.cpp) It seems like there is a proper function to do it, getUChar, and I just had to call it from the proper place. I called it from latexSpecialChar, and it works, but in order to do so, I hat to pass BufferParams to

Re: LyX, XeTeX, bidi and Hebrew

2012-07-13 Thread Guenter Milde
On 2012-07-12, Ronen Abravanel wrote: as the Hebrew support of LaTeX is not developed for the last several years, I decided to try and export Hebrew document to PDF using XeTeX, Are there problems that did not get solved for years, or is there no development because it just works? where the

Re: LyX, XeTeX, bidi and Hebrew

2012-07-13 Thread Ronen Abravanel
1. you are right. one can do that, and it would be a nice workaround. But I prefer lyx will produce clean TeX file. 2. Attached some examples: the text in the *xetex and *pdf files are identical. in the pdf, you can see that the braces are rendered backword, and also if you will open the .tex

Re: LyX, XeTeX, bidi and Hebrew

2012-07-13 Thread Guenter Milde
On 2012-07-12, Ronen Abravanel wrote: > as the Hebrew support of LaTeX is not developed for the last several > years, I decided to try and export Hebrew document to PDF using XeTeX, Are there problems that did not get solved for years, or is there no development because it "just works"? > where

Re: LyX, XeTeX, bidi and Hebrew

2012-07-13 Thread Ronen Abravanel
1. you are right. one can do that, and it would be a nice workaround. But I prefer lyx will produce clean TeX file. 2. Attached some examples: the text in the *xetex and *pdf files are identical. in the pdf, you can see that the braces are rendered backword, and also if you will open the .tex

LyX, XeTeX, bidi and Hebrew

2012-07-12 Thread Ronen Abravanel
Hello to you all, as the Hebrew support of LaTeX is not developed for the last several years, I decided to try and export Hebrew document to PDF using XeTeX, where the grate Bidi packge by Vafa Khalighi is under active development, and merged in polyglossia. LyX 2.0 support XeTeX support, but

LyX, XeTeX, bidi and Hebrew

2012-07-12 Thread Ronen Abravanel
Hello to you all, as the Hebrew support of LaTeX is not developed for the last several years, I decided to try and export Hebrew document to PDF using XeTeX, where the grate Bidi packge by Vafa Khalighi is under active development, and merged in polyglossia. LyX 2.0 support XeTeX support, but