bbl2bib (1)
Leading comments
Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) Standard preamble: ========================================================================
NAME
bbl2bib.pl - convert thebibliography environment to a bib fileSYNOPSIS
bbl2bib.pl [-o output] fileOPTIONS
- -o output
- Output file. If this option is not used, the name for the output file is formed by changing the extension to ".bib"
DESCRIPTION
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 theMR
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. =head1
INPUT FILE
We assume some structure of the input file:
- 1.
-
The bibliography is contained between the lines
\begin{thebibliography}...
and
\end{thebibliography}
- 2.
-
Each bibliography item starts from the line
\bibitem[...]{....}
EXAMPLES
bbl2bib -o - file.tex > result.bib bbl2bib -o result.bib file.bbl bbl2bib file.tex
AUTHOR
Boris VeytsmanCOPYRIGHT AND LICENSE
Copyright (C) 2014-2017 Boris VeytsmanThis is free software. You may redistribute copies of it under the terms of the
GNU
General Public License
<www.gnu.org/licenses/gpl.html>. There is NO WARRANTY,
to the
extent permitted by law.