BibTool: A Tool for Manipulating BibTeX Data Bases

Bib T e X provides an easy to use means to integrate citations and bibliographies into L a T e X documents. But the user is left alone with the management of the Bib T e X files. The program BibTool is intended to fill this gap. BibTool allows the manipulation of Bib T e X files which goes beyond the possibilities – and intentions – of Bib T e X. The possibilities of BibTool include

  • Pretty-printing of Bib T e X data bases adjustable by lots of parameters.
  • Syntactic checks with error recovery superior to Bib T e X and helpful error messages.
  • Semantic checks can be specified by the user.
  • Sorting and merging of Bib T e X data bases according to a free definable sort key.
  • Generation of uniform reference keys according to predefined rules or according to an own specification.
  • Selecting references used in one publication which are found by analyzing an.aux file.
  • Selecting references by a set of criteria (regular expressions).
  • Controlled rewriting of fields utilizing regular expressions to specify the rewriting rules.
  • Macro (String) expansion to eliminate the need of extra string definitions.
  • Collecting statistics about one or more Bib T e X data bases.

BibTool contains a documentation written in L a T e X of more than 70 pages (and still growing).

BibTool is written in C and has been compiled on various operating systems like flavors of UN*X and MSDOG machines. It is distributed in source code. No compiled versions are available from the author (Useless to ask!).

Download

Here you can download the sources and documentation for version 2.68:

Code for the program and the documentation
BibTool-2.68.tar.gz, 737 kb
Signature: BibTool-2.68.tar.gz.asc

Documentation in PDF format
bibtool.pdf, 583 kb

Reference card in PDF format
ref_card.pdf, 161 kb

Documentation of the C interface in PDF format
c_lib.pdf, 411 kb

Publications

Gerd Neugebauer.BibTool – Manipulation von Bib T e X-Dateien [German].Die T e Xnische Komödie, 4/94, 4–11, 1994.

Project Repository

The sources of BibTool are stored in a public repository. It is hosted by GitHub:

https://github.com/ge-ne/bibtool

CTAN

BibTool can be found on CTAN in the directory:

biblio/bibtex/utils/bibtool