Directory macros/latex/contrib/biblatex2bibitem
The Problem Being Solved
Some journals accept the reference list only as \bibitem
s. If you use BibTeX, there is no problem: just paste the content of the .bbl
file into your document. However, there were no out-of-the-box way to do the same for biblatex
, and you had to struggle with searching appropriate .bst
files, or formatting your reference list by hand, or something like that.
Now you haven't to.
Usage
In preamble, after the biblatex
package is loaded via \usepackage[...]{biblatex}
:
\usepackage{biblatex2bibitem}
At the very end of document:
\printbibitembibliography
The desired bibitem
s will be written directly to the PDF file.
When it's time to switch to bibitem
s (e.g. before sending the paper to the journal), just copy them directly from the pdf into your .tex
file, remove biblatex
commands and (probably) load the cite
package.
Disclaimer
This package itself is a hack. Moreover, it is (as for 02 March 2020) under rather an active development. New features may appear and disappear, and the API may be unstable. Thus, you may want to download biblatex2bibitem.sty
and keep it near your article instead of (or in addition to) having installing it system-wide.
Tips
Linebreaks in generated bibliography
You can pass block=par
option to biblatex
like that:
\usepackage[block=par,...]{biblatex}
but not like that (see also https://github.com/plk/biblatex/issues/968):
\printbibliography[block=par,env=bibitembibliography]
It will add linebreaks in generated bibitem
s and make the code a bit more beautiful :)
(Un)desired spaces
If you really want to have a space after the title of an e.g. an article, just
\renewcommand{\ignorespacesaftertitlecase}{}
bibitem
separators
By default, generated bibitem
s are separated by a line with an empty pair of curly braces on it to make the reading of the code easier. You can tweak this by e.g.
\renewcommand{\printgeneratedbibitemseparator}{\ttfamily\{\}\\}
(for putting all the bibitem
s into monotype font) or e.g.
\renewcommand{\printgeneratedbibitemseparator}{}
(for disabling "blank" lines but not linebreaks when copying).
Other redefinable commands
Don't forget about \makeatletter
and \makeatother
!
\print@begin@thebibliography
- default:\textbackslash begin\{thebibliography\}\{99\}
\print@end@thebibliography
- default:\textbackslash end\{thebibliography\}
\print@bibitem@command
- default:\textbackslash bibitem
See also
- https://tex.stackexchange.com/questions/12175/biblatex-submitting-to-a-journal (a hopeless discussion)
- https://github.com/odomanov/biblatex-gost/issues/20 (in Russian)
Repostories
License
LPPL - LaTeX Project Public License v1.3c+, DFSG compat.
Authors
- Nikolai Avdeev aka @nickkolok
Download the contents of this package in one zip archive (765.3k).
biblatex2bibitem – Convert BibLaTeX-generated bibliography to bibitems
Some journals accept the reference list only as \bibitems. If you use BibTeX, there is no problem: just paste the content of the .bbl file into your document. However, there was no out-of-the-box way to do the same for biblatex, and you had to struggle with searching appropriate .bst files, or formatting your reference list by hand, or something like that.
Using the workaround provided by this package solves the problem.
Package | biblatex2bibitem |
Bug tracker | https://gitlab.com/Nickkolok/biblatex2bibitem/-/issues |
Repository | https://gitlab.com/Nickkolok/biblatex2bibitem |
Version | 0.2.2 2022-01-17 |
Licenses | The LaTeX Project Public License 1.3c |
Maintainer | Nikolai Avdeev |
Contained in | TeX Live as biblatex2bibitem MiKTeX as biblatex2bibitem |
Topics | BibTeX Support |