On Wednesday 27 April 2005 14:59, Martin Vermeer wrote: > Do you spot the error? This code expects to find the \pagebreak_bottom > on the line immediately following the \begin_layout. If it doesn't find > it there, it proceeds immediately to the next \begin_layout! Of course > instead, it should just test the next line within *this* layout. There > is a loop missing.
This is why I have cleaning the lyx file format, it is simply ugly and incoherent. :-( Instead of having all the paragraph properties in the same line, there are several parameters considered special to have their own line. Argh... The solution is to test all lines until we see no more one backslash starting the line. I have already some code in LyX.py to deal with it. > I know just enough Python to understand that someone else should provide > the patch for this :-):-) I will fix it later if Georg doesn't beat me. :-) > -Martin -- Josà AbÃlio