I used the following preamble in my book class document to add the
bibliography section to my TOC, and LyX returned the following error:
"Tex capacity exceeded, sorry [input stack size=300].
\begin{thebibliography}{10}
if you really absolutely need more capacity,
you can ask a wizard to enlarge me."
Anyone know how to solve this problem?
Thanks,
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Herbert Voss
Sent: Tuesday, November 21, 2000 2:20 PM
Cc: [EMAIL PROTECTED]
Subject: Re: Chapter and Headers?
...
for standard book-class (only the second line is new! chapter without
star)
\renewenvironment{thebibliography}[1]
{\chapter{\bibname
\@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
Herbert
--
[EMAIL PROTECTED]
http://perce.de/lyx/