Hi
We modified bst file in order to present our bibliography ordered by document type (we have defined our own classification). We would like to count the number of references for each document type : is it possible to do that in the bst file ? if yes, how can we do that ?
Thanks
A. Even
BibTeX, biblatex and biber ⇒ counter in bibtex
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: counter in bibtex
Yes it is possible. The attached patch to the unsrt.bst style shows how to count the number of articles and books in the bibliography. It should be simple to extend this to any other entry types you need. If you use the patched style in a document you should see something like "There were 6 articles and 3 books." right after the references.
- Attachments
-
- my-unsrt.bst.txt
- (16.92 KiB) Downloaded 462 times
-
- my-unsrt.diff.txt
- (1.14 KiB) Downloaded 335 times
Re: counter in bibtex
thanks you very much for your help, we managed to adapt your counter to our bst file