Wolfgang Engelmann wrote:
> Dear J�rgen,
> sorry for a late reply. I am sending you a lyx testfile plus bib-file which
> shows the problem with the Bibliography header (takes the header of the
> last chapter instead) if LAYOUT > PAPER >twocolumn document is on, but not,
> if off. I did not put it into the lyx user list, because of its length.
> Perhaps you could answer in the list again, if it is of interest to the
> readers. Thanks for your help.
AFAICS this seems to be indeed sort of a bug in the book.cls, as soon as
twocolumn is selected. The following redefinition of \thebibliography
environment fixes it. I don't know if there is some easier solution.
Regards,
J�rgen
P.S.: KOMA book does not have this bug.
P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de}
(package url.sty) for your references, then the URL#s will be broken
correctly.
\renewenvironment{thebibliography}[1]
{%
%% ---> THIS IS NEW
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\thispagestyle{plain}
\else
%% <---
\chapter*{\bibname}%
\fi
[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]
\leftmargin\labelwidth
\advance\leftmargin\labelsep
[EMAIL PROTECTED]@code
\usecounter{enumiv}%
[EMAIL PROTECTED]@empty
[EMAIL PROTECTED]@enumiv}}%
\sloppy
\clubpenalty4000
[EMAIL PROTECTED] \clubpenalty
\widowpenalty4000%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]@warning{Empty `thebibliography' environment}}%
\endlist}