I'm trying to submit a paper online, and it causes errors BibTex since the online compiler only runs a single pass of pdfLaTeX. The journal recommends including the .bbl directly into the .tex file, and since I'm using Overleaf, I followed these directions. Unfortunately, I get Undefined control sequence errors on the copy-pasted .bbl text.
My Code
\documentclass[titlepage, 10pt, a4paper, twocolumn]{article}
\usepackage{url}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{authblk}
\usepackage[backend=biber]{biblatex}
\usepackage{graphicx}
\usepackage[none]{hyphenat}
\usepackage{tikz}
\usepackage{mathtools}
\usepackage{standalone}
\usepackage{etoolbox}
\addbibresource{sample.bib}
\makeatletter
\patchcmd{\thebibliography}{
\chapter*{\bibname}\@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}{
\section{References}}{}{}
\makeatother
...
\let\stdsection\section
\def\section*#1{\stdsection{#1}}
\printbibliography[title={References}]
\let\section\stdsection
I comment out everything from \addbibresource{sample.bib}
to \makeatother
and everything from \let\stdsection\section
to \let\section\stdsection
, then I paste in the contents of the .bbl file below the ...
.
Among other issues, the first error I get in Overleaf is
l.401
\sortlist[entry]{nty/global/}
The control sequence at the end of the top line of your error message was never\def
'ed. If you have misspelled it (e.g.,\hobx
'), typeI
' and the correct spelling (e.g.,I\hbox
'). Otherwise just continue, and I'll forget about whatever was undefined.
What am I missing? The explanation didn't mention that I had to include any extra packages once I copied the .bbl file over, but now it looks like there's thousands of undefined control sequences.
biblatex
. The Overleaf page you linked to is for BibTeX only. The approaches of BibTeX andbiblatex
are different and require different uses of the.bbl
file. Even if you get your file to compile, chances are the publisher cannot accept abiblatex
submission.biblatex
is extremely sensitive to version changes in the.bbl
file. That means that this can only work if yourbiblatex
version and the version that your publisher uses are the same. That is quite unlikely.backend=bibtex
instead ofbackend=biber
as option forbiblatex
then no: That won't really bring any measurable improvement in general. If you mean to dropbiblatex
entirely and go back to BibTeX's\bibliographystyle
and\bibliography
(andcite
ornatbib
if you like), then yes that is the far better option for journal submissions. (But even there you should double check the author guidelines of your publisher.)