This is a follow up question to Biblatex: submitting to a journal.
As noted in the comments to Herbert's answer, some users have problems with his solution as compiling produces the error Use of \blx@bbl@verbadd@i doesn't match its definition \blx@bblfile@biber ...2004} \verb {eprint} \verb cond-mat/0407066 \endverb
.
I have narrowed the problem down: the issue are \verb
"fields" in the bbl. If those are present (for example for DOI or URL), then the error above is thrown unless the bbl is included via \input
.
See the following MWE:
\documentclass[a4paper,10pt]{article}
\usepackage{biblatex}
%-------------- start insert modified commands ------------------
\makeatletter
\def\blx@bblfile@biber{%
\blx@secinit
\begingroup
\blx@bblstart
\refsection{0}
\sortlist{entry}{nty}
\entry{Agarwal2007}{article}{}
\verb{doi}
\verb 10.2139/ssrn.943524 %%--PROBLEM--%%
\endverb
\endentry
\endsortlist
\endrefsection
\blx@bblend
\endgroup
\csnumgdef{blx@labelnumber@\the\c@refsection}{0}}
\makeatother
%-------------- end insert modified commands --------------
\begin{document}
Some words \cite{Agarwal2007}.
\printbibliography
\end{document}
Compiling does not work unless commenting \verb 10.2139/ssrn.943524
.
Edit: the code to generate the bbl is
@article{Agarwal2007,
author = {Agarwal, S.},
doi = {10.2139/ssrn.943524},
year = {2006}
}
Best Answer
The problematic part should be in some external file. So use the filecontents-environment to create it:
Edit April 2017
Due to changes in biblatex the redefinition of
\blx@bblfile@biber
no longer work as the command doesn't exist anymore. The following is a replacement. It should also work with older biblatex. It also will issue a warning if the content of the bbl doesn't fit the biblatex version.