BibTeX, biblatex and biberNatbib (author ?) error

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
woutergronden
Posts: 1
Joined: Wed Jan 12, 2011 3:41 pm

Natbib (author ?) error

Post by woutergronden »

Dear users,

I am pretty new to LaTeX. I am using TeXnicCenter and I want to use the natbib package. While using

Code: Select all

\citep{griffiths}
or

Code: Select all

\citet{griffiths}
I keep getting: ?, (?), or (author ?). Of course with griffiths being an author.

I filled in all of the following:
(before my "\begin{document}")

Code: Select all

 \usepackage{natbib}
(and after my "\begin{document}" but before my "\end{document}")

Code: Select all

 \bibliographystyle{plainnat}
\bibliography{bibfile}
With of course bibfile being the file in which my items are listed (assembled using JabRef).

I also downloaded these files:
  • harvard.sty
  • unsrtnat.sty
  • abbrvnat.sty
  • plainnat.sty
  • natbib.sty
I put these in the root-folder, together with the latex file I am experimenting on.

This is how my bib-compiler (JabRef) sets up the bibfile:

Code: Select all

@BOOK{griffiths,
  title = {Introduction to Quantum Mechanics},
  publisher = {Pearson Prentice Hall},
  year = {2005},
  author = {Griffiths, D.J.},
  owner = {wvandergronden},
  timestamp = {2010.12.14}
}
On www.andy-roberts.net I found that I should run:
  • latex bib (doesn't require .tex extension)
  • bibtex bib (doesn't require .bib extension)
  • latex bib
  • latex bib
But how should I do this, and will this be the answer to my question? Or am I doing something else wrong?

Please let me know,

Wouter van der Gronden, a student from the Netherlands (Delft University of Technology, Applied Physics working on my bachelor thesis at the Nuclear Reactor).

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Natbib (author ?) error

Post by frabjous »

Yes, the solution to your problem is almost certainly to run latex, then bibtex, and then latex twice more. I don't have TeXnicCenter installed right now (in fact, I don't use Windows), but I think if you look under its "Build" menu, hopefully it'll be clear what you need to do. The instructions here might be useful (or here.)

If that doesn't help, and TXC help on BibTeX doesn't have the answer, maybe someone with TXC installed can be more specific.
Post Reply