You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a subtle issue that arises in .bbl files which also contain some custom bookkeeping macros - things like conditionals and assignments to registers - just before some or all concnrete \bibitem cases.
A distilled minimal example is:
\documentclass{article}
\begin{document}
\begin{thebibliography}{1}
\relax\bibitem[Author et~al.(2019)Author, Other]{Author2019}
Some content.
\end{thebibliography}
\end{document}
which produces the bibliography:
<bibliographyxml:id="bib">
<title>References</title>
<biblist>
<bibitemxml:id="bib.bib1">
<tags>
<tag>[1]</tag>
<tagrole="refnum">1</tag>
</tags>
<bibblock/>
</bibitem>
<bibitemkey="Author2019"xml:id="bib.bibx1">
<tags>
<tag>[Author et al.(2019)Author, Other]</tag>
<tagrole="refnum">Author et al.(2019)Author, Other</tag>
</tags>
<bibblock>
Some content.
</bibblock>
</bibitem>
</biblist>
</bibliography>
It should be possible to avoid creating the leading empty [1] bibitem.
The text was updated successfully, but these errors were encountered:
This is a subtle issue that arises in
.bbl
files which also contain some custom bookkeeping macros - things like conditionals and assignments to registers - just before some or all concnrete\bibitem
cases.A distilled minimal example is:
which produces the bibliography:
It should be possible to avoid creating the leading empty
[1]
bibitem.The text was updated successfully, but these errors were encountered: