Second iteration:
        I have corrected the file format name to work with old format, like 2.15.

        Since I have determined that the easiest convertion is between 2.15 and 2.16 
I have done this translation, adding a new module lyxconvert_215.py

        So that you can see the results, next we have the difference between 1.1.4 
User Guide converted with lyxconvert and with 1.1.5.

        To run it I have done:
        ../../lyxconvert/lyxconvert.py -f 215 -t 216 lyx-1.1.4-UserGuide.lyx > 
lyx-1.1.4-UserGuide.lyx.try

        The only relevant differences appear in two paragraphs, where the breaking 
point changed. Since I don't know why, and there isn't any good reason I will 
let the script like this.

        The other difference appears in the number of digits present in the graphics 
inset. Since the read value is the same I will let it as it is.

        Comments are welcome.

--- lyx-1.1.4-UserGuide.lyx.try Wed Jul 31 16:17:34 2002$
+++ lyx-1.1.4-UserGuide.lyx.new Thu Jul 25 13:00:02 2002$
@@ -1,5 +1,4 @@$
-#This file was created by <mike> Tue Jan 25 10:36:51 2000$
-#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team$
+#LyX 1.1 created this file. For more info see http://www.lyx.org/$
 \lyxformat 2.16$
 \textclass book$
 \begin_preamble$
@@ -6179,8 +6178,8 @@$
 \labelwidthstring MMMMMM$
 $
 label\SpecialChar ~$
-width LyX uses one of two things for the label width: the actual width of$
- the label, or the default width, whichever is larger.$
+width LyX uses one of two things for the label width: the actual width$
+ of the label, or the default width, whichever is larger.$
  If the actual width is larger, then the label $
 \begin_inset Quotes eld$
 \end_inset $
@@ -12266,8 +12265,8 @@$
  they are inserted in the text stream like $
 \begin_inset Figure size 72 14$
 file mobius.eps$
-width 2 1$
-height 2 0.2$
+width 2 1.00$
+height 2 0.20$
 flags 5$
 $
 \end_inset $
@@ -17062,8 +17061,8 @@$
 With\SpecialChar ~$
 the\SpecialChar ~$
 arrow\SpecialChar ~$
-keys: Opening a macro form the left side will put the cursor in the first$
- argument, to move to the second argument use the TAB key.$
+keys: Opening a macro form the left side will put the cursor$
+ in the first argument, to move to the second argument use the TAB key.$
  Remember that pressing the Space bar will get the cursor out and at the$
  right side of the macro.$
 \layout Description$

-- 
José Abílio

Attachment: lyxconvert.tgz
Description: application/tgz

Reply via email to