On Tue, Oct 22, 2002 at 12:43:41PM +0200, Fernando Molina Ortiz wrote:
> I am new to the list, so hello to everybody. I have a problem with
> llncs style for which I have found no solution in the list's archives.
> I use Lyx 1.2.1 and I have successfully installed llns document class.
> But when I add a references section (bibliography style) I get three
> identical Latex errors when trying to see the .dvi result. The say like
> this:
> ! LaTeX Error: Something's wrong--perhaps a missing \item.
> \bibitem{key-1}r
> ef1\end{lyxbibliography}
>
> If just I change to other document class it works, but not with llncs,
> the one I need. Thank you for your help.
Edit the file llncs.layout.
Go to the Bibliography style, and change
LatexName lyxbibliography
to
LatexName thebibliography
You can also delete the lines
Preamble
\newcommand{\lyxbibliography}{\thebibliography{References}%
\renewcommand{\bibitem}[3][!]{\@bibitem{##1}{##2}{##3}}}
EndPreamble