I have an old document written in LaTeX which I need to edit/re-write. The document has hundreds of citations without using BibTex but just old style thebibliography
environment and \bibitem
's. Now I would like to re-use the old bibliographic references and add new ones but using BibTex. Is there a way I can re-use my old references? The thing that comes to mind is a script or something which translates \bibitem
's entry and put them into BibTex format, but any solution is welcome.
By the way, a (admittedly superficial) search on google and stack exchange did not provide any solution.
[Tex/LaTex] LaTeX to BibTeX
bibliographiesbibtex
Best Answer
Based on a quick google search, there are a couple of scripts that might work:
tex2bib
: http://mirror.ctan.org/biblio/bibtex/utils/tex2bibconvertbiblio
http://www.mi.infm.it/manini/scripts/convertbiblio.pyUsual caveats of course apply to running scripts from the internet! As others have indicated, you will likely have to clean your entries up manually. Scraping bibliographic data from formatted entries is not trivial, especially if you use a heavily customized style.
Credit to the TeX FAQ for linking to tex2bib.