TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use natbib and agsm for harvard style in my work but without success. Given the code below I get output: ...(?) in the pdf and a warning in the console:

pdflatex> Package natbib Warning: There were undefined citations.

If I change the bibstyle to plainnat it works.

Whats wrong in this example? how can I make agsm work as bibstyle?



        author = "Michel Goossens and Frank Mittlebach and Alexander Samarin",
        title = "The Latex Companion",
        year = "1993",
        publisher = "Addison-Wesley",
        address = "Reading, Massachusetts"


share|improve this question

closed as off-topic by egreg, Werner, lockstep, mafp, Guido Jul 24 '13 at 21:04

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

It is working fine for me. Can you make sure that agsm.bst is available in texmf path? You can check it by kpsewhich agsm.bst in command-line. If the package lists, then can you please post the log file of bibtex. – Jagath Jul 24 '13 at 14:34
kpsewhich agsm.bst gives no output when used in the command line. – Adri Jul 24 '13 at 14:38
Then, it seems that agsm.bst is missing. Can you please download it from ctan and copy to your working directory and try pdflatex bibtex pdflatex pdflatex on file. – Jagath Jul 24 '13 at 14:41
Welcome to TeX.SX! You can have a look on our our starter page to familiarize yourself further with our format. – Claudio Fiandrino Jul 24 '13 at 14:46
This question appears to be off-topic because it is about a missing .bst file – egreg Jul 24 '13 at 20:30