----- Mail original ----- > De: "Richard Heck" <rgh...@comcast.net> > À: "alain didierjean" <alain.didierj...@free.fr> > Cc: lyx-users@lists.lyx.org > Envoyé: Samedi 3 Septembre 2011 16:13:36 > Objet: Re: Bug ? > > On 09/03/2011 03:27 AM, alain.didierj...@free.fr wrote: > > I recompiled lyx yesterday (on a gentoo system), adding support to > > luatex and xetex. > > > Recompilation should not be required, unless you were upgrading to > 2.0.0 > or something of the sort.
using gentoo linux, packages are compiled localy. Adding luatex and xetex support means recompiling lyx. > > > Now, none of the book class documents compile (they use to compile > > without any problem). Every once in a while, compile fails with a > > message like: > > Chapitre 2. > > > > LaTeX Warning: Reference `sec:T=0000E2ches-d=0000E9di=0000E9es-aux' > > on page 27 > > undefined on input line 1385. > > > > > > LaTeX Warning: Reference `sec:T=0000E2ches-d=0000E9di=0000E9es-aux' > > on page 27 > > undefined on input line 1385. > > > > ! Missing \endcsname inserted. > > <to be read again> > > : > > l.1385 ...ec:T=0000E2ches-d=0000E9di=0000E9es-aux} > > pour plus de > > d�tails). > > The control sequence marked <to be read again> should > > not appear between \csname and \endcsname. > > > > ! Extra \endcsname. > > <argument> ...s-d=0000E9di=0000E9es-aux\endcsname > > \space > > l.1385 ...ec:T=0000E2ches-d=0000E9di=0000E9es-aux} > > > > Is this a known bug ? Any workaround ? > > > This looks odd, with the \endcsname\space. Can you try to produce a > minimal test document that exhibits the problem? I.e., keep deleting > stuff until the problem goes away. more than weird. This seems linked to the use of any book class. articles, letter, lettre, exam compile ok while a book class document of one line (title) returns: This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2011.9.3) 3 SEP 2011 18:10 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **nouveau1.tex (./nouveau1.tex LaTeX2e <2009/09/24> Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, pi nyin, ukenglish, usenglishmax, basque, french, loaded. (/usr/share/texmf-dist/tex/latex/base/book.cls Document Class: book 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texmf-dist/tex/latex/base/bk11.clo File: bk11.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@chapter=\count80 \c@section=\count81 \c@subsection=\count82 \c@subsubsection=\count83 \c@paragraph=\count84 \c@subparagraph=\count85 \c@figure=\count86 \c@table=\count87 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf-dist/tex/latex/psnfss/mathpazo.sty Package: mathpazo 2005/04/12 PSNFSS-v9.2a Palatino w/ Pazo Math (D.Puga, WaS) \symupright=\mathgroup4 ) (/usr/share/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package (/usr/share/texmf-dist/tex/latex/base/t1enc.def File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info: Redeclaring font encoding T1 on input line 43. )) (/usr/share/texmf-dist/tex/latex/base/inputenc.sty Package: inputenc 2008/03/30 v1.1d Input encoding file \inpenc@prehook=\toks14 \inpenc@posthook=\toks15 (/usr/share/texmf-dist/tex/latex/base/latin9.def File: latin9.def 2008/03/30 v1.1d Input encoding file )) (/usr/share/texmf-dist/tex/latex/setspace/setspace.sty Package: setspace 2000/12/01 6.7 Contributed and Supported LaTeX2e package Package: `setspace' 6.7 <2000/12/01> ) ! Undefined control sequence. l.30 \LoadLetterOption {DIN}% The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.30 \LoadLetterOption{D IN}% You're in trouble here. Try typing <return> to proceed. If that doesn't work, type X <return> to quit. ! Undefined control sequence. l.34 \KOMAoptions {% The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.39 f romalign=right% alignment of the address You're in trouble here. Try typing <return> to proceed. If that doesn't work, type X <return> to quit. Overfull \hbox (176.49751pt too wide) in paragraph at lines 39--55 []\T1/cmr/m/n/10.95 fromalign=right,fromrule=aftername,fromphone=true,fromemail =true,foldmarks=false,enlargefirstpage=true [] ! Undefined control sequence. l.58 \setkomavar {backaddressseparator}{ $\cdot$ } The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.58 \setkomavar{b ackaddressseparator}{ $\cdot$ } You're in trouble here. Try typing <return> to proceed. If that doesn't work, type X <return> to quit. LaTeX Font Info: Try loading font information for OT1+ppl on input line 58. (/usr/share/texmf-dist/tex/latex/psnfss/ot1ppl.fd File: ot1ppl.fd 2001/06/04 font definitions for OT1/ppl. ) LaTeX Font Info: Try loading font information for OML+zplm on input line 58. (/usr/share/texmf-dist/tex/latex/psnfss/omlzplm.fd File: omlzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OML/zplm. ) LaTeX Font Info: Try loading font information for OMS+zplm on input line 58. (/usr/share/texmf-dist/tex/latex/psnfss/omszplm.fd File: omszplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMS/zplm. ) LaTeX Font Info: Try loading font information for OMX+zplm on input line 58. (/usr/share/texmf-dist/tex/latex/psnfss/omxzplm.fd File: omxzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMX/zplm. ) LaTeX Font Info: Try loading font information for OT1+zplm on input line 58. (/usr/share/texmf-dist/tex/latex/psnfss/ot1zplm.fd File: ot1zplm.fd 2002/09/08 Fontinst v1.914 font definitions for OT1/zplm. ) ! Undefined control sequence. l.69 \setkomafont {backaddress}{\rmfamily} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.69 \setkomafont{b ackaddress}{\rmfamily} You're in trouble here. Try typing <return> to proceed. If that doesn't work, type X <return> to quit. LaTeX Font Info: Try loading font information for T1+ppl on input line 69. (/usr/share/texmf-dist/tex/latex/psnfss/t1ppl.fd File: t1ppl.fd 2001/06/04 font definitions for T1/ppl. ) ! Undefined control sequence. l.71 \setkomafont {fromaddress}{\small} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.72 \setkomafont {fromname}{\scshape} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. (/usr/share/texmf-dist/tex/latex/marvosym/marvosym.sty Package: marvosym 2006/05/11 v2.1 Martin Vogel's Symbols font definitions ) (/usr/share/texmf-dist/tex/generic/babel/babel.sty Package: babel 2008/07/06 v3.8l The Babel package (/usr/share/texmf-dist/tex/generic/babel/frenchb.ldf Language: frenchb 2009/03/16 v2.3d French support from the babel system (/usr/share/texmf-dist/tex/generic/babel/babel.def File: babel.def 2008/07/06 v3.8l Babel common definitions \babel@savecnt=\count88 \U@D=\dimen103 ) Package babel Info: Making : an active character on input line 120. Package babel Info: Making ; an active character on input line 121. Package babel Info: Making ! an active character on input line 122. Package babel Info: Making ? an active character on input line 123. \FB@Mht=\dimen104 \std@mcc=\count89 \dec@mcc=\count90 \parindentFFN=\dimen105 ************************************* * Local config file frenchb.cfg used * (/usr/share/texmf-dist/tex/generic/babel/frenchb.cfg))) (/usr/share/texmf-dist/ tex/latex/carlisle/scalefnt.sty) (/usr/share/texmf-dist/tex/latex/graphics/keyv al.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks16 ) No file nouveau1.aux. \openout1 = `nouveau1.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 88. LaTeX Font Info: ... okay on input line 88. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 88. LaTeX Font Info: ... okay on input line 88. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 88. LaTeX Font Info: ... okay on input line 88. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 88. LaTeX Font Info: ... okay on input line 88. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 88. LaTeX Font Info: ... okay on input line 88. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 88. LaTeX Font Info: ... okay on input line 88. \big@size=\dimen106 LaTeX Info: Redefining \degres on input line 88. LaTeX Info: Redefining \dots on input line 88. LaTeX Info: Redefining \up on input line 88. [1{//var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map} ] LaTeX Warning: No \author given. [1 ] (./nouveau1.aux) ) Here is how much of TeX's memory you used: 1604 strings out of 494991 19151 string characters out of 3180105 70635 words of memory out of 3000000 4808 multiletter control sequences out of 15000+200000 23768 words of font info for 57 fonts, out of 3000000 for 9000 36 hyphenation exceptions out of 8191 26i,6n,28p,172b,187s stack positions out of 5000i,500n,10000p,200000b,50000s {/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-t1 .enc}{/usr/share/texmf-dist/fonts/enc/dvips/base/8r.enc}</usr/share/texmf-dist/ fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-dist/fonts/type1/pu blic/cm-super/sfrm1095.pfb></usr/share/texmf-dist/fonts/type1/urw/palatino/uplr 8a.pfb> Output written on nouveau1.pdf (2 pages, 37170 bytes). PDF statistics: 25 PDF objects out of 1000 (max. 8388607) 17 compressed objects within 1 object stream 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000)