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 wan't to use harvard style in my paper. I'm using TeXMaker and natbib. I got agsm.bst downloaded. But it's not helping. I'm using these commands


\bibliographystyle{agsm}  % that loads file agsm.bst 
% it's working fine for \bibliographystyle{plain}, but that's not the referencing I want

I doubt it's a problem with the way I'm saving agsm. Can someone help me out?

share|improve this question
In the code given in your post, you are loading the file pjgsm.bst, not agsm.bst, is this a typo? What error message do you get? – Corentin Oct 16 '12 at 12:51
@Rahul: I've added a comment in your not complete MWE to make clear where you load the file pjgsm.bst instead of the wanted agsm.bst. Please make always a complete minimal working example (MWE). I added \documentclass{article} to your MWE. Please correct it, if you need something else ... – Kurt Oct 16 '12 at 13:17
Welcome to TeX.SE. – Peter Grill Oct 16 '12 at 15:49
@Corentin, i'm sorry, that's a typo, should be {agsm}. Thanks Kurt, you did a perfect editing. But my question still remains unanswered. – Rahul Oct 17 '12 at 11:12
As you confirmed that pjgsm is a typo, I took the liberty of editing your post to replace this with agsm as you meant. – Corentin Oct 17 '12 at 14:51

i was not saving agsm as .bst file, instead it was saved as LATEX style file. I couldn't create a .bst file so just made a copy of amsplain.bst which was already there and copied 'agsm' code to it in place of 'amsplain'. It's working perfect now.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.