On Sunday 09 September 2007 17:15:28 Bo Peng wrote:
> One of the problems is the title "Índice general LyX documentation"
> can not be encoded at line 279 of LyX.py.
This should be a unicode string. I changed all strings in that position to
be unicode even although only the Spanish (for the mom
Bo Peng schrieb:
I was not very careful, I meant 'and par[-1].strip() == '''. I have fixed it.
I couldn't see this in SVN, so i fixed this there.
thanks and regards
Uwe
>. I have fixed it.
Ohmm, I have some network problem here and can not commit. Uwe, please
fix it yourself.
while par[-1].strip() == '' and par:
to
while par and par[-1].strip() == '':
Cheers,
Bo
> > This line is logically wrong. It should be
> >
> > while par and par[-1].strip():
>
> This fixes the list range bug, I therefore applied it.
I was not very careful, I meant 'and par[-1].strip() == '''. I have fixed it.
Bo
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.
Bo Peng schrieb:
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 the
> 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 i
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 th
> 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.
Bo