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 andbiblatexare different and require different uses of the.bblfile. Even if you get your file to compile, chances are the publisher cannot accept abiblatexsubmission. – moewe Sep 22 '18 at 20:49biblatexis extremely sensitive to version changes in the.bblfile. That means that this can only work if yourbiblatexversion and the version that your publisher uses are the same. That is quite unlikely. – moewe Sep 22 '18 at 20:52backend=bibtexinstead ofbackend=biberas option forbiblatexthen no: That won't really bring any measurable improvement in general. If you mean to dropbiblatexentirely and go back to BibTeX's\bibliographystyleand\bibliography(andciteornatbibif 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.) – moewe Sep 22 '18 at 20:55