BibTeX, biblatex and biberAdding appendix after printbibliography causes "File ended while scanning use of \field"

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
mushishi
Posts: 7
Joined: Wed Jun 05, 2019 6:04 pm

Adding appendix after printbibliography causes "File ended while scanning use of \field"

Post by mushishi »

MWE:

Code: Select all

% txs:///compile | txs:///biber  | txs:///compile  | txs:///view-pdf-internal --embedded
% compiler: XeLaTeX

\documentclass[t]{beamer}

% Use fontspec to get (Linux closest to) Arial font
% Requires use of XeLaTeX
\usepackage{fontspec}
\setmainfont{DejaVu Sans}
\setsansfont{DejaVu Sans}
% Also force Arial for math for a more consistent look
\usepackage{unicode-math}
\setmathfont{DejaVu Sans}

% German style date formatting (footer)
\usepackage[ddmmyyyy]{datetime}
\renewcommand{\dateseparator}{.}

% Format the captions used for figures etc.
\usepackage[compatibility=false]{caption}
\captionsetup{singlelinecheck=off,justification=raggedleft,labelformat=empty,labelsep=none}


\usepackage[
backend=biber,
backref,
sorting=ynt,
style=numeric
]{biblatex}
\usepackage{hyperref}

% Setup presentation information
\title{MyTitle}
\subtitle{MySubtitle}
\date[\today]{MyTopic\enskip|\enskip\today}
\author[Me]{contact@me.com}
\institute[MyInst]{Institute}


%\AtBeginSection{\frame{
%%    \frametitle{Content}
%    \tableofcontents[currentsection]
%}}

\addbibresource{literature-debug.bib} 
\begin{document}

\begin{frame}[plain]
\titlepage 
\end{frame}

\begin{frame}{Contents}
    \tableofcontents
\end{frame}

\section{Motivation}

\begin{frame}{TODO}
some content here
\end{frame}

\section{Sources}
\begin{frame}{Literature}
\printbibliography
\end{frame}

\section{Appendix}
\begin{frame}
    this text causes the error, why?
\end{frame}

\end{document}
And my bibliography:
@inproceedings{btc-routing,
author = {Maria Apostolaki and
Aviv Zohar and
Laurent Vanbever},
title = {Hijacking Bitcoin: Routing Attacks on Cryptocurrencies},
booktitle = {2017 {IEEE} Symposium on Security and Privacy, {SP} 2017, San Jose,
CA, USA, May 22-26, 2017},
pages = {375--392},
publisher = {{IEEE} Computer Society},
year = {2017},
url = {https://doi.org/10.1109/SP.2017.29},
doi = {10.1109/SP.2017.29},
timestamp = {Wed, 16 Oct 2019 14:14:51 +0200},
biburl = {https://dblp.org/rec/conf/sp/ApostolakiZV17.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}

@article{btc-attack-taxonomy,
title = {A great disturbance in the crypto: Understanding cryptocurrency returns under attacks},
journal = {Blockchain: Research and Applications},
volume = {2},
number = {3},
pages = {100021},
year = {2021},
issn = {2096-7209},
doi = {https://doi.org/10.1016/j.bcra.2021.100021},
url = {https://www.sciencedirect.com/science/article/pii/S2096720921000166},
author = {Simona Ramos and Fabio Pianese and Thomas Leach and Ester Oliveras},
keywords = {Blockchain, Cryptocurrencies, Event studies, Cyber attacks, , 62P20, 91B84, 68M14}
}


The full list of errors is as follows;
line 46: File ended while scanning use of \field. \begin{document}
line 65: Missing \endcsname inserted. \end{frame}
line 65: Undefined control sequence. \end{frame}
line 65: Missing \endcsname inserted. \end{frame}
line 65: Argument of \@gobble has an extra }. \end{frame}
line 65: Paragraph ended before \@gobble was complete. \end{frame}
line 65: Argument of \@firstofone has an extra }. \end{frame}
line 65: Paragraph ended before \@firstofone was complete. \end{frame}
line 65: Undefined control sequence. \end{frame}
: Incomplete \iffalse; all text was ignored after line 65.'Math'(fontspec) and language 'Default'.
What causes the issue?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
mushishi
Posts: 7
Joined: Wed Jun 05, 2019 6:04 pm

Adding appendix after printbibliography causes "File ended while scanning use of \field"

Post by mushishi »

I would also appreciate alternative approaches how to include non-essential slides at the very end of a presentation.
Post Reply