bbl2bib(1) | CROSSREF LIBRARY | bbl2bib(1) |
bbl2bib.pl - convert thebibliography environment to a bib file
bbl2bib.pl [-d] [-u] [-o output] file
Normally "bbl2bib" recognizes URL fields of the kind "http://dx.doi.org" and their variants and converts them to DOI fields (see also biburl2doi(1) script). The switch -u suppresses this cleanup.
The script tries to reconstruct a "bib" file from the corresponding "thebibliography" environment. One can argue that this operation is akin to reconstructing a cow from the steak. The way the script does it is searching for the entry in the MR database, and creating the corresponding BibTeX fields.
The script reads a TeX or Bbl file and extracts from it the "thebibliography" environment. For each bibitem it creates a plain text bibliography entry, and then tries to match it in the database.
We assume some structure of the input file:
\begin{thebibliography}...
and
\end{thebibliography}
\bibitem[...]{....}
bbl2bib -o - file.tex > result.bib bbl2bib -o result.bib file.bbl bbl2bib file.tex
Boris Veytsman
Copyright (C) 2014-2017 Boris Veytsman
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
2018-04-29 |