On Sat, Jun 03, 2006 at 02:25:49PM +0200, Georg Baum wrote:
> Am Samstag, 3. Juni 2006 11:31 schrieb Martin Vermeer:
> 
> > Index: lib/lyx2lyx/LyX.py
> > ===================================================================
> > --- lib/lyx2lyx/LyX.py  (revision 13989)
> > +++ lib/lyx2lyx/LyX.py  (working copy)
> > @@ -48,7 +48,8 @@ format_relation = [("0_10",  [210], ["0.
> >                     ("1_1_6fix3", [218], 
> ["1.1.6fix3","1.1.6fix4","1.1"]),
> >                     ("1_2", [220], 
> ["1.2.0","1.2.1","1.2.3","1.2.4","1.2"]),
> >                     ("1_3", [221], 
> ["1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3"]),
> > -                   ("1_4", range(222,246), ["1.4.0cvs","1.4"])]
> > +                   ("1_4", range(222,245), 
> ["1.4.0", "1.4.1", "1.4.1svn"]),
> 
> I noticed too that range(222,246) would not work, but range(222,245) 
> returns [222, 223, ... 244], so 245 is not handled now. José, could you 
> please tell us the correct solution?

I found out in the meantime. See attached.

 
> Please add also an entry to development/FORMAT. Apart from that I think 
> that it can go in.

OK

- Martin 
Index: LyX.py
===================================================================
--- LyX.py      (revision 13989)
+++ LyX.py      (working copy)
@@ -48,7 +48,8 @@
                    ("1_1_6fix3", [218], ["1.1.6fix3","1.1.6fix4","1.1"]),
                    ("1_2", [220], ["1.2.0","1.2.1","1.2.3","1.2.4","1.2"]),
                    ("1_3", [221], 
["1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3"]),
-                   ("1_4", range(222,246), ["1.4.0cvs","1.4"])]
+                   ("1_4", range(222,245), ["1.4.0", "1.4.1", "1.4.2svn"]),
+                   ("1_5",  [245,246], ["1.5.0svn"])]
 
 
 def formats_list():

Attachment: pgpLJSw0PoFtC.pgp
Description: PGP signature

Reply via email to