Welcome to the UK List of
TeX Frequently Asked Questions
on the Web

Searching

The index of Frequently Asked Questions about TeX is searchable.

Please enter your keyword here:   then press here: ,    or:
Google

Reconstructing .bib files

Perhaps you’ve lost the .bib file you generated your document from, or have been sent a document without one. Or even, you’ve realised the error of building a substantial document without the benefit of BibTeX…

The Perl script, tex2bib makes a reasonable job of regenerating .bib files from thebibliography environments, provided that the original (whether automatically or manually generated) doesn’t deviate too far from the “standard” styles.

You are well-advised to check the output of the script. While it will not usually destroy information, it can quite reasonably mislabel it.

Documentation of the script is to be found in the file tex2bib.readme

tex2bib
biblio/bibtex/utils/tex2bib/tex2bib; catalogue entry
tex2bib.readme
biblio/bibtex/utils/tex2bib/README


Go to previous question, or next question

Go to FAQ home.

URL for this question: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=makebib

Comments, suggestions, or error reports? - see “how to improve the FAQ”.

This is FAQ version 3.27, released on 2013-06-07.