Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-11 Thread José Matos
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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-11 Thread José Matos
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

lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Bo Peng
Hi, Uwe, Scons can not install lyx after the recent User's guide update. Could you check what is going on? It seems that doc_toc.py can no longer build toc. Cheers, Bo

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Bo Peng
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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Uwe Stöhr
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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Bo Peng
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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Uwe Stöhr
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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Uwe Stöhr
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.

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Bo Peng
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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Bo Peng
. 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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Uwe Stöhr
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

lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Bo Peng
Hi, Uwe, Scons can not install lyx after the recent User's guide update. Could you check what is going on? It seems that doc_toc.py can no longer build toc. Cheers, Bo

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Bo Peng
> 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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Uwe Stöhr
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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Bo Peng
> 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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Uwe Stöhr
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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Uwe Stöhr
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.

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Bo Peng
> > 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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Bo Peng
>. 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

Re: lyx2lyx or toc building is broken after user's guide update.

2007-09-09 Thread Uwe Stöhr
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