Re: Chinese LyX

2006-09-04 Thread Georg Baum
Abdelrazak Younes wrote: > Georg Baum wrote: >> do you still need that patch? > > No, not since I have done my own hand-made conversion in qt_helpers. Good. That means that I understand what goes on in the conversion routines :-) >> Furthermore the byte order change does not happen in bytes_to_

Re: Chinese LyX

2006-09-04 Thread Georg Baum
Enrico Forestieri wrote: > On Sun, Sep 03, 2006 at 09:47:50PM +0200, Georg Baum wrote: > >> I believe that the attached patch should make the unicode conversions >> work on little and big endian machines, and removes the uncertainty >> whether UCS-4 is LE or BE. > > Yep. With this patch I can lo

Re: Chinese LyX

2006-09-04 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | Jean-Marc Lasgouttes wrote: | > | >> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | > Abdelrazak> I really think we should get rid of iconv. |

Re: Chinese LyX

2006-09-04 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Jean-Marc Lasgouttes wrote: | >> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > Abdelrazak> I really think we should get rid of iconv. | > We are going to need iconv anyway to convert characters to

Re: Chinese LyX

2006-09-04 Thread Georg Baum
Abdelrazak Younes wrote: > Interestingly enough the Qt docs says that Big endian is the order > prescribed by the Unicode Standard in the absence of higher-level > protocols. Here is the full text: That is for text files as far as I understand. What I really do not understasnd is that we have a b

Re: Chinese LyX

2006-09-04 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Georg Baum wrote: | > Am Donnerstag, 24. August 2006 18:47 schrieb Abdelrazak Younes: | >> Enrico Forestieri wrote: | >>> I have compiled a Cygwin version of LyX/Qt4 using the native GUI | >>> (no | > X11) | >>> and now I

Re: Chinese LyX

2006-09-04 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Jean-Marc Lasgouttes wrote: | >> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > Abdelrazak> I really think we should get rid of iconv. | > We are going to need iconv anyway to convert characters to iso-8859-x | > and friends fo

Re: Chinese LyX

2006-09-04 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Georg Baum wrote: | > Am Donnerstag, 24. August 2006 18:47 schrieb Abdelrazak Younes: | >> Enrico Forestieri wrote: | >>> I have compiled a Cygwin version of LyX/Qt4 using the native GUI | >>> (no | > X11) | >>> and now I see the chinese characters m

Re: Chinese LyX

2006-09-04 Thread Abdelrazak Younes
Georg Baum wrote: Am Donnerstag, 24. August 2006 18:47 schrieb Abdelrazak Younes: Enrico Forestieri wrote: I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) and now I see the chinese characters mentioned by Abdel when I load an old document. I also get a lot of message

Re: Chinese LyX

2006-09-04 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I really think we should get rid of iconv. We are going to need iconv anyway to convert characters to iso-8859-x and friends for latex output. By the way, if we are going to encapsulate Qt u

Re: Chinese LyX

2006-09-04 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: >>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> Abdelrazak> I really think we should get rid of iconv. >> We are going to need iconv anyway to convert characters to

Re: Chinese LyX

2006-09-04 Thread Peter Kümmel
Abdelrazak Younes wrote: > Jean-Marc Lasgouttes wrote: >>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> >> Abdelrazak> I really think we should get rid of iconv. >> >> We are going to need iconv anyway to convert characters to iso-8859-x >> and friends for latex output. > >

Re: Chinese LyX

2006-09-04 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I really think we should get rid of iconv. We are going to need iconv anyway to convert characters to iso-8859-x and friends for latex output. I mean: We should get rid of iconv for all unic

Re: Chinese LyX

2006-09-04 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I really think we should get rid of iconv. We are going to need iconv anyway to convert characters to iso-8859-x and friends for latex output. JMarc

Re: Chinese LyX

2006-09-04 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Using UCS4-INTERNAL and memmove() the result as suggested by Angus would be | even better, but it seems that it is not available on windows. Not on linux either. -- Lgb

Re: Chinese LyX

2006-09-03 Thread Enrico Forestieri
On Sun, Sep 03, 2006 at 09:47:50PM +0200, Georg Baum wrote: > I believe that the attached patch should make the unicode conversions work > on little and big endian machines, and removes the uncertainty whether > UCS-4 is LE or BE. Yep. With this patch I can load old LyX files when using the qt3

Re: Chinese LyX

2006-09-03 Thread Abdelrazak Younes
Georg Baum wrote: There is something with the byte order I don't understand. I just found out that with the iconv on my little endian linux box UCS-4 == UCS-4BE. That means that the bytes coming from iconv are in big endian byte order. This is reversed in bytes_to_ucs4: Comments and tests o

Re: Chinese LyX

2006-09-03 Thread Abdelrazak Younes
Georg Baum wrote: Am Donnerstag, 24. August 2006 18:47 schrieb Abdelrazak Younes: Enrico Forestieri wrote: I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) and now I see the chinese characters mentioned by Abdel when I load an old document. I also get a lot of message

Re: Chinese LyX

2006-09-03 Thread Georg Baum
Am Donnerstag, 24. August 2006 18:47 schrieb Abdelrazak Younes: > Enrico Forestieri wrote: > > I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) > > and now I see the chinese characters mentioned by Abdel when I load > > an old document. I also get a lot of messages on the

Re: Chinese LyX

2006-09-01 Thread Enrico Forestieri
On Fri, Sep 01, 2006 at 03:49:51PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > The attached patch avoids the crash when quitting LyX. > > Applied also Enrico. Thanks Abdel. > This is the last time I will do this for you. Gulp! -- Enrico

Re: Chinese LyX

2006-09-01 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Aug 24, 2006 at 06:47:22PM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) and now I see the chinese characters mentioned by Abdel when I load an old document. I also get a lot o

Re: Chinese LyX

2006-08-27 Thread Enrico Forestieri
On Sun, Aug 27, 2006 at 10:41:54PM +0200, Abdelrazak Younes wrote: > Georg Baum wrote: > > Am Sonntag, 27. August 2006 06:08 schrieb Enrico Forestieri: > >> The attached patch avoids the crash when quitting LyX. > >> > >> -- > >> Enrico > >> nostatic.diff > >> Index: src/frontends/qt4/lyx_gui.C

Re: Chinese LyX

2006-08-27 Thread Enrico Forestieri
On Sun, Aug 27, 2006 at 10:49:56PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > I may very well use Q_OS_CYGWIN (which is > > already predefined by Qt4) for that purpose here, but then I need that > > Q_CYGWIN_WIN is defined to avoid an X11 build. So, please guys can you > > add

Re: Chinese LyX

2006-08-27 Thread Abdelrazak Younes
Enrico Forestieri wrote: I may very well use Q_OS_CYGWIN (which is already predefined by Qt4) for that purpose here, but then I need that Q_CYGWIN_WIN is defined to avoid an X11 build. So, please guys can you add that small, harmless bit to qt4.m4? Otherwise, I have always to patch by myself qt4.

Re: Chinese LyX

2006-08-27 Thread Abdelrazak Younes
Georg Baum wrote: Am Sonntag, 27. August 2006 06:08 schrieb Enrico Forestieri: The attached patch avoids the crash when quitting LyX. -- Enrico nostatic.diff Index: src/frontends/qt4/lyx_gui.C === --- src/frontends/qt4/lyx_gui.C

Re: Chinese LyX

2006-08-27 Thread Enrico Forestieri
On Sun, Aug 27, 2006 at 02:56:17PM +0200, Georg Baum wrote: > Am Sonntag, 27. August 2006 06:08 schrieb Enrico Forestieri: > > The attached patch avoids the crash when quitting LyX. > > > > -- > > Enrico > > nostatic.diff > > Index: src/frontends/qt4/lyx_gui.C > > =

Re: Chinese LyX

2006-08-27 Thread Georg Baum
Am Sonntag, 27. August 2006 06:08 schrieb Enrico Forestieri: > The attached patch avoids the crash when quitting LyX. > > -- > Enrico > nostatic.diff > Index: src/frontends/qt4/lyx_gui.C > === > --- src/frontends/qt4/lyx_gui.C (rev

Re: Chinese LyX

2006-08-26 Thread Enrico Forestieri
On Thu, Aug 24, 2006 at 06:47:22PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) > > and now I see the chinese characters mentioned by Abdel when I load > > an old document. I also get a lot of messages on t

Re: Chinese LyX

2006-08-24 Thread Enrico Forestieri
On Thu, Aug 24, 2006 at 06:47:22PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) > > and now I see the chinese characters mentioned by Abdel when I load > > an old document. I also get a lot of messages on t

Re: Chinese LyX

2006-08-24 Thread Abdelrazak Younes
Enrico Forestieri wrote: I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) and now I see the chinese characters mentioned by Abdel when I load an old document. I also get a lot of messages on the console: Error returned from iconv EILSEQ An invalid multibyte sequence has

Chinese LyX

2006-08-24 Thread Enrico Forestieri
I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) and now I see the chinese characters mentioned by Abdel when I load an old document. I also get a lot of messages on the console: Error returned from iconv EILSEQ An invalid multibyte sequence has been encountered in the inp

Chinese LyX, LyX home page stuff

1999-04-06 Thread Amir Karger
A recent short thread mentioned chinese lyx at http://hpws3.ihep.ac.cn/~zhaojw/. (Are the folks who are working on Asian character input in touch with this person?) So why don't we have a link to there at www.lyx.org? Might it be time for an "international" page, where we ha