TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

On page 29 of Tame the Beast, it says

"Roughly speaking, BibTEX reads three files, in the following order: The .aux file first, where it finds the name of the style file to be used, the name of the database(s), and the list of cited entries. The .bst file is read next, and the .bib file last."

When I compile by LaTeX and BibTeX, the files I have are .aux, .bbl, .bib, .blg, .dvi, .log, .pdf, .tex. Why do I not need a .bst file? If I want to use a .bst file that I make up on my own, can I?

share|improve this question
up vote 10 down vote accepted

A .bst file is a bibliography style file, and it is the analogous of a class .cls file. When you use BibTeX, you have a command \bibliographystyle{xyz}, and \bibliography{abc}. The information about which .bst file (i.e., xyz.bst) is written in the .aux file.

There are two main options to create your own .bst. You have to learn the language it .bst files are written (and the guide you mention "Tame the best" is one of the few resources available for them). The second alternative is to use custom-bib. To use it, open a terminal window (command line interface) and type latex makebst. Then follow the prompt. At the end you will obtain a .bst producing a bibliography style corresponding to the way you answered to the questions in the promo of makebst.

Another option would be to use BibLaTeX. With BibLaTeX you can design you bibliographic style coding it in LaTeX. See this answer Guidelines for customising biblatex styles for an introduction on how to modifying and customise existing BibLaTeX style

share|improve this answer
1  
Thanks for your reply, Guido! So I checked and found that I'm using \bibliographystyle{plain}. However, I don't see plain.bst in the same folder. Where is it located? – Mika H. Dec 4 '12 at 4:22
3  
BibTeX styles are located in texmf tree (same as all other 'standard' styles and classes). It should be in texmf/bibtex/bst/base. The proper location depends on the operating system and TeX distribution. – Guido Dec 4 '12 at 4:27
    
Is there any command to get the specific bst file loaded or to check whether or not a .bst style file has been loaded? – Antonio Sesto May 26 at 6:53

Your Answer

 
discard

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.