[PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Anders Ekberg
A small patch to handle characters with diaeresis (as ä and ö) where is part of the ERT expression. Anders new-patch Description: Binary data

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Jürgen Spitzmüller
Anders Ekberg wrote: + line=line.replace(' ',' ') #remove all qoutation marks w spaces before + line=line.replace(' ',' ') #remove all qoutation marks w spaces after + line=line.replace(r'\','') #replace \ by (for characters with diaresis) Is this sufficient? What about quotation marks

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Anders Ekberg
Jürgen Spitzmüller Wed, 27 Jun 2007 00:06:46 -0700 Anders Ekberg wrote: + line=line.replace(' ',' ') #remove all qoutation marks w spaces before + line=line.replace(' ',' ') #remove all qoutation marks w spaces after + line=line.replace(r'\','') #replace \ by (for characters with

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Juergen Spitzmueller
Anders Ekberg wrote: I see your point, but the replacement is only made in the unicodesymbols file (to store it in a dictionary which is used to replace the unicode symbols with commands). In that file, the only occurence of quotation marks is AFAIU surrounding commands (and pre- ambles) and

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Uwe Stöhr
I see. That wasn't clear to me. So your patch is probably sufficient. For me it works too. So somebody should ask José to commit. Jürgen, as Anders doesn't currently have SVN permissions, could you do this please and commit if OK? thanks and regards Uwe

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Juergen Spitzmueller
Uwe Stöhr wrote: For me it works too. So somebody should ask José to commit. Jürgen, as Anders doesn't currently have SVN permissions, could you do this please and commit if OK? I'm away from my svn tree again (until Friday). So I can't commit anything. Jürgen

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread José Matos
On Wednesday 27 June 2007 15:24:58 Juergen Spitzmueller wrote: I'm away from my svn tree again (until Friday). So I can't commit anything. Jürgen After RC2 it is OK. -- José Abílio

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Uwe Stöhr
After RC2 it is OK. It is in: http://www.lyx.org/trac/changeset/18918

[PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Anders Ekberg
A small patch to handle characters with diaeresis (as ä and ö) where " is part of the ERT expression. Anders new-patch Description: Binary data

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Jürgen Spitzmüller
Anders Ekberg wrote: > + line=line.replace(' "',' ') #remove all qoutation marks w spaces before > + line=line.replace('" ',' ') #remove all qoutation marks w spaces after > + line=line.replace(r'\"','"') #replace \" by " (for characters with diaresis) Is this sufficient? What about quotation

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Anders Ekberg
Jürgen Spitzmüller Wed, 27 Jun 2007 00:06:46 -0700 Anders Ekberg wrote: > + line=line.replace(' "',' ') #remove all qoutation marks w spaces before > + line=line.replace('" ',' ') #remove all qoutation marks w spaces after > + line=line.replace(r'\"','"') #replace \" by " (for characters

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Juergen Spitzmueller
Anders Ekberg wrote: > I see your point, but the replacement is only made in the > unicodesymbols file (to store it in a dictionary which is used to > replace the unicode symbols with commands). In that file, the only > occurence of quotation marks is AFAIU surrounding commands (and pre- >

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Uwe Stöhr
> I see. That wasn't clear to me. So your patch is probably sufficient. For me it works too. So somebody should ask José to commit. Jürgen, as Anders doesn't currently have SVN permissions, could you do this please and commit if OK? thanks and regards Uwe

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Juergen Spitzmueller
Uwe Stöhr wrote: > For me it works too. So somebody should ask José to commit. Jürgen, as > Anders doesn't currently have SVN permissions, could you do this please > and commit if OK? I'm away from my svn tree again (until Friday). So I can't commit anything. Jürgen

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread José Matos
On Wednesday 27 June 2007 15:24:58 Juergen Spitzmueller wrote: > I'm away from my svn tree again (until Friday). So I can't commit anything. > > Jürgen After RC2 it is OK. -- José Abílio

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Uwe Stöhr
> After RC2 it is OK. It is in: http://www.lyx.org/trac/changeset/18918