Take the 2-minute tour ×
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.

Are there any good introductory references for the syntax to create a BibTeX style (.bst) file, whose ease of reading is closer to an introductory text for a programming language than to a formal specification document for a programming language?

Obviously, as modifying bibliography styles is an advanced topic for a single facet of the TeX ecosystem, there's not going to be the same kind of pedagogical literature on the subject as e.g. for LaTeX. But I'm hoping for something that would allow me to grok, and write, a style file after an hour or two of reading rather than after a day or two of study.

share|improve this question
    
I particularly like this document: lsv.ens-cachan.fr/~markey/BibTeX/doc/ttb_en.pdf –  Corentin Sep 13 '12 at 12:46
    
Do you want to write from scratch (hard) or only modify existing styles? –  Joseph Wright Sep 13 '12 at 12:51
1  
@Corentin Perhaps better to give a 'canonical' link: ctan.org/pkg/tamethebeast –  Joseph Wright Sep 13 '12 at 12:51
    
@JosephWright: it is probable that I can do what I want by modifying existing styles, but if a good introductory reference can let me see what is possible from scratch, my notion of what I'd like to achieve may expand to meet the boundaries of the feasible. –  Niel de Beaudrap Sep 13 '12 at 12:59
    
@JosephWright I agree, it is probably better to use the ctan link; I was pointing directly to the author's personal page. –  Corentin Sep 13 '12 at 13:25
add comment

2 Answers

up vote 7 down vote accepted

The document by Nicolas Markey Tame the BeaST is a very good reference. It contains a general presentation of BibTeX, and chapter 4 is devoted to editing .bst files. The overall structure of a .bst file is explained, as well as the Reverse Polish Notation used by bibtex, and the main functions are described. As far as I'm concerned, I've always found it very helpful.

Otherwise there is also Designing BibTeX files, by Oren Patashnik, the author of BibTeX (I don't know if there is a "canonical" link to this pdf, if so please feel free to edit my answer).

share|improve this answer
add comment

there should be some documentation in your local TeX installation:

$TEXMFDIST/doc/bibtex/base/btxdoc.pdf
$TEXMFDIST/doc/bibtex/base/btxhak.pdf
$TEXMFDIST/doc/bibtex/tamethebeast/ttb_en.pdf

and if you are familiar with german:

http://archiv.dante.de/dante/events/dante2002/handouts/raichle-bibtexprog.pdf

share|improve this answer
add comment

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.