I am preparing a paper for a journal, which provided a custom LaTeX class file and a custom BST Bibtex style file for me to use.

As this is just a one-time use, I simply put both the class file and the BST file in the same folder with my tex file.

I then build my file to pdf, using Texnic Center with Miktex. The end of my document reads


where journalstyle.bst is the journal-provided style file and mybib.bib is the name of my .bib file.

The journal's class file works fine, but the Bibtex refuses to use the custom BST file when running, making my references appear the same way before (and actually all wrong because of their interaction with the new class file).

When I run Bibtex on its own on this document, Bibtex tells me it is using some other style file on my computer, amsrn.bst, even though I am explicitly telling it to use journalstyle.bst.

Can anyone help?

  • 1
    does your paper either explicitly, or via the journal class file, \usepackage{amsrefs}? Commented Feb 27, 2018 at 17:49
  • 1
    Aha! Thank you Barbara, removing that fixed the problem. I feel a bit silly that the solution was so simple, but I'd been staring at this for some time. If you write your comment as an answer, I'll happily accept it.
    – Guest
    Commented Feb 27, 2018 at 17:52
  • by the way, welcome to tex.sx. Commented Feb 27, 2018 at 17:55

1 Answer 1


the file amsrn.bst is loaded by \usepackage{amsrefs}, so if that command appears in either your file or the class file, it will override the other \bibliographystyle request.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .