On Tuesday 06 January 2004 11:25, Georg Baum wrote: > > On Tuesday 30 December 2003 15:41, Georg Baum wrote: > > > + lines[i] += '\\backslash ' > > > > I am avoiding this although I use it in my code alot since this is not > > supported in python 1.5.2
Also notice the cumbersome import of string, that is not needed for python >= 2.0 as the string have those methods available. that is instead of string.split(lines[i]) it is enough lines[i].split() > Ah, now I understand all these "i = i + 1" lines. Oh let me see you thought that I was a masochist when I wrote the code. ;-) > Is the attached ok now? It seems so. I am busy with real work, so please apply the patch. After a not so quick glance it seems ok. Any minor detail can be discussed later. > The changes to the old patch are: > > - x += y -> x = x + y in *.py > - Fix the status tag also in tex2lyx > > > Georg -- José Abílio LyX and docbook, a perfect match. :-)