Bo Peng schrieb:
It seems that doc_toc.py can no longer
build toc.
One of the problems is the title "Índice general LyX documentation"
can not be encoded at line 279 of LyX.py.
This is strange because doc_toc.py is utf-8 encoded and the "Í" is included in
latin1.
But anyway, when I delete this character, I get:
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
Unfortunately the LyX.py script doesn't contain code documentation so that I failed to find out what
the "par" variable is and where it is set. It seems that the field size of "info" in doc_toc.py is
hardcoded, but don't know why.
Removing the new entry for Spanish in doc_toc.py doesn't help.
José, can you help me here?
regards Uwe