File "D:\LyXSVN\lyx-devel\build-msvc\Resources\lyx2lyx\LyX.py", line 544, in get_toc
     while par[-1].strip() == '' and par:
IndexError: list index out of range

This line is logically wrong. It should be

while par and par[-1].strip():

This fixes the list range bug, I therefore applied it.

Is it safe to apply it also to branch because I will have the same problem there when I add the Spanish UserGuide?

regards Uwe

Reply via email to