LaTeX forum ⇒ Presentations and PostersXeLaTeX + biber + 2-column-frame = errors

Beamer, Powerdot and KOMA-Script presentations, Conference posters (a0poster, baposter, tikzposter)
mushishi
Posts: 7
Joined: Wed Jun 05, 2019 6:04 pm

XeLaTeX + biber + 2-column-frame = errors

Postby mushishi » Mon Jul 11, 2022 5:41 pm

MWE: presentation
% 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.bib}
\begin{document}

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

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

\section{Motivation}

\begin{frame}{Why?}
\begin{columns}[onlytextwidth]\
  % Text on the left
  \begin{column}{.3\textwidth}
    \begin{itemize}
      \item Image taken from \cite{tls-handshake}
    \end{itemize}
  \end{column}
  % Picture on the right
  \begin{column}{.7\textwidth}
    \hfill\raisebox{-10cm}[0pt][10cm]{
            \includegraphics[height=10cm]{A-SSL-TLS-handshake}
    }
  \end{column}
\end{columns}
\end{frame}

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

\end{document}



literature.bib

[MWE]
@inproceedings{tls-handshake,
author = {Martin Hus{\'{a}}k and
Milan Cerm{\'{a}}k and
Tom{\'{a}}s Jirs{\'{\i}}k and
Pavel Celeda},
title = {Network-Based {HTTPS} Client Identification Using {SSL/TLS} Fingerprinting},
booktitle = {10th International Conference on Availability, Reliability and Security,
{ARES} 2015, Toulouse, France, August 24-27, 2015},
pages = {389--396},
publisher = {{IEEE} Computer Society},
year = {2015},
url = {https://doi.org/10.1109/ARES.2015.35},
doi = {10.1109/ARES.2015.35},
timestamp = {Sat, 19 Oct 2019 20:04:06 +0200},
biburl = {https://dblp.org/rec/conf/IEEEares/HusakCJC15.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
[/MWE]

The produced toc file has the following content:

\boolfalse {citerequest}\boolfalse {citetracker}\boolfalse {pagetracker}\boolfalse {backtracker}\relax 
\defcounter {refsection}{0}\relax 
\beamer@sectionintoc {1}{Motivation}{3}{0}{1}
\defcounter {refsection}{0}\relax 
\beamer@sectionintoc {2}{Sources}{5}{0}{2}


The error messages I receive are :

line 3: Missing } inserted. \beamer@sectionintoc {1}{Motivation}{3}{0}{1}
line 3: Missing } inserted. \beamer@sectionintoc {1}{Motivation}{3}{0}{1}
line 3: Undefined control sequence. \beamer@sectionintoc {1}{Motivation}{3}{0}{1}
line 3: Undefined control sequence. \beamer@sectionintoc {1}{Motivation}{3}{0}{1}
line 5: Undefined control sequence. \beamer
line 78: Extra }, or forgotten \endgroup. \end{frame}
line 78: Extra }, or forgotten \endgroup. \end{frame}
...


What is causing the problem and how do I resolve my issue?

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
Kreuz Elf
Posts: 22
Joined: Thu Mar 04, 2021 7:33 pm

XeLaTeX + biber + 2-column-frame = errors

Postby Kreuz Elf » Mon Jul 11, 2022 11:32 pm

I think the problem lies in
\AtBeginSection{\frame{
%    \frametitle{Content}
    \tableofcontents[currentsection]
}}


Try deleting that and instead you may use \tableofcontents[currentsection] later on in you document.

mushishi
Posts: 7
Joined: Wed Jun 05, 2019 6:04 pm

XeLaTeX + biber + 2-column-frame = errors

Postby mushishi » Tue Jul 12, 2022 10:57 am

That resolves the problem, thanks. I still don't understand why the problem crops up, is this a compiler bug? Also, How do I change the title of my question? The current one is not descriptive.

Kreuz Elf
Posts: 22
Joined: Thu Mar 04, 2021 7:33 pm

XeLaTeX + biber + 2-column-frame = errors

Postby Kreuz Elf » Fri Jul 15, 2022 12:14 am

sry, I'm not able to answer your follow-up question. Maybe someone else will be.


Return to “Presentations and Posters”

Who is online

Users browsing this forum: No registered users and 4 guests