On Thu, May 29, 2003 at 01:32:28PM -0400, Dominick Layfield wrote:
> Is there a trick to get citations working properly in a mult-part document?
>
> I'm having trouble with my thesis, in which each chapter is a separate
> LyX file. The whole document is assembled in a one small container
> document in which each chapter is \inputted.
>
> I inserted the bibliography at the end of the container document, and
> the citations appear correctly in the the component documents in LyX.
> However, when LyX generates a DVI file, the citations do not appear
> correctly. Each is shown as '[?]'.
>
> I noticed that if I insert the bibliography into each component
> document, the citations are resolved correctly, but this is not a
> satisfactory solution as I then get a bibliography section at the end of
> every chapter. (Which is not what I'm trying to achieve.)
>
Write the following in the preamble,
\let\oldthebibliography=\thebibliography
\def\thebibliography#1{}
Also, before the bibliography in the master file (before the bibtex inset)
write
\let\thebibliography=\oldthebibliography
in latex mode.