Am Donnerstag, 8. April 2004 18:24 schrieb Jose' Matos:
>       I will apply this next monday unless there is any flagrant error in it. 
> All comments are welcome, as usual. :-)

I like it, really. Unfortunately I also found errors:

- revert() in lyx_1_3.py has too many arguments

- lyx2lyx -t 221 calls revert() from lyx_1_3.py, but it should not. The 
result is a file with the string "1_3" in it.

- Why do you attempt to read the version from the comment line? This does 
not work with tex2lyx: For

#LyX file created by  tex2lyx 0.1.2

read_version() returns "file" which is of course not the expected 
"1.4.0cvs". Apart from this, IMHO the only token that should define the 
file format is the "\lyxformat xxx" line.
Consequently, set_version() should not pretend to be LyX, but tell

"#lyx2lyx xxx created this file. For more info see http://www.lyx.org/";

or something similar.


Georg

Reply via email to