Re: lyx2lyx bug with DOS files

2004-08-04 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> Done, please test. It seems to work, thanks. JMarc

Re: lyx2lyx bug with DOS files

2004-08-04 Thread Jose' Matos
On Wednesday 04 August 2004 15:48, Jean-Marc Lasgouttes wrote: > Jose'> Also since python 2.3 there is a universal end line, where > Jose'> python deals uniformly with this no matter where you are. > > They copied LyX, didn't they? Don't know. ;-) > >> LyX ignores all the \r in \r\n endings.

Re: lyx2lyx bug with DOS files

2004-08-04 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> Also since python 2.3 there is a universal end line, where Jose'> python deals uniformly with this no matter where you are. They copied LyX, didn't they? >> Jose'> This will not be reflect on write, as it will use the Jose'> >> pl

Re: lyx2lyx bug with DOS files

2004-08-04 Thread Jose' Matos
On Wednesday 04 August 2004 15:12, Jean-Marc Lasgouttes wrote: > > Isn't there some magic python option to do that transparently? I am > disappointed. That place is already taken. I'm sorry the language of magic options is perl, not python. ;-) Also since python 2.3 there is a universal end

Re: lyx2lyx bug with DOS files

2004-08-04 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> I will basically look if the first line ends with '\r\n' and Jose'> from them catch the same ending. If for some reason, it doesn't Jose'> follow this it will mumble some warning but continue. Isn't there some magic python option t

Re: lyx2lyx bug with DOS files

2004-08-04 Thread Jose' Matos
On Wednesday 04 August 2004 14:03, Jean-Marc Lasgouttes wrote: > The 1.4.0cvs UserGuide, which has been produced with 1.3.x and can > perfectly be read there, produces lots of warnings and error when > loaded under 1.4.0cvs. It turns out that the problem is that the file > has DOS-type line endings

lyx2lyx bug with DOS files

2004-08-04 Thread Jean-Marc Lasgouttes
The 1.4.0cvs UserGuide, which has been produced with 1.3.x and can perfectly be read there, produces lots of warnings and error when loaded under 1.4.0cvs. It turns out that the problem is that the file has DOS-type line endings, and lyx2lyx is not able to produce a reasonable file from that. Is t