On Thursday 10 August 2006 00:02, Jean-Marc Lasgouttes wrote: > >>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > José> Done. The code can be simplified more and in a more consistent > José> way but for now it works. > > Jean-Marc> And we are tomorrow anyway... > > I spoke too soon. You kept some work for later, didn't you?
lyx2lyx is becoming more aware of the surrounding, so we will start to see more errors. :-) > make[4]: Entering directory `/local/lasgoutt/devbuild/lib/doc' > PYTHONPATH=../../lib/lyx2lyx python -tt > ../../../lyx-devel/lib/doc/doc_toc.py cs Traceback (most recent call last): > File "../../../lyx-devel/lib/doc/doc_toc.py", line 131, in ? > main(sys.argv) > File "../../../lyx-devel/lib/doc/doc_toc.py", line 127, in main > file.write() > File "../../../lyx-devel/lib/doc/../lyx2lyx/LyX.py", line 262, in write > self.output.write(line.encode(self.encoding)+"\n") > UnicodeEncodeError: 'latin-1' codec can't encode character u'\u016f' in > position 2: ordinal not in range(256) make[4]: *** [cs_TOC.lyx] Error 1 latin-1 as codec for a Czech document seems a wrong choice, I don't think lyx2lyx is at fault here. :-) > JMarc Was not this fixed by a later patch from Sanda? -- José Abílio
