Answer to BibTeX query

Christina Thiele cthiele at ccs.carleton.ca
Mon Mar 3 19:07:51 CET 2003


M. Stanislas:

>From your message of eariler today we saw

> \begin{thebibliography}{}
> \bibliographystyle{plain}
>
> \bibliography{bib_wallturb}
> \end{thebibliography}
>
> \end{document}


Unforunately, this order of commands is not quite correct.

1. When using BibTeX, the environment {thebibliography} is
   automatically produced when the bibliography file (bib_wallturb
   in your case) is processed by BibTeX; there is no need for you to
   type it in your document yourself.


2. The correct sequence of commands would be:

   ...
   \bibliographystyle{plain}     <--- ideally, establish the style in
                                      the preamble area, not down at
                                      the actual biblio. location
   \begin{document}
   ...
   ... [text containing citations]
   ...
   \bibliography{bib_wallturb}
   \end{document}

As you can see, there is no call for \begin/\end{thebibliography}
commands.


3. To process the file:
   a. run LaTeX enough times that the "label(s) have changed" messages
      have gone away
   b. run BibTeX
   c. run LaTeX "enough times", again.

=====

Please note that queries to Y&Y should really be restricted to
problems relating to the actual TeX system or its fonts. The BibTeX
problem above is more of a generic TeX question and you may find that
quicker responses will come by posting to the usual TeX forums:
comp.text.tex (on usenet), for example.

You can find more information on such dedicated TeX forums by going to
the TUG homepage (www.tug.org), and in the left sidebar, clicking on
the link ``TeX Web Resources''. Indeed, there is a link to
comp.text.tex there, as well as much else.

Ch.

To unsubscribe send a message to admin at yandy.com





More information about the yandytex mailing list