1
votes

I am using pandoc to generate a beamer slideshow. I activated the generation of a TOC and specified a TOC headline. But there is an extra number added to this title as if the TOC would span several slides, but it does not.

My source file

---
toc: true
toc-title: the overview
...

# my section

and I compile with pandoc -t beamer -o x.pdf < x.md. The title of the TOC has this extra roman I which beamer normally adds if a slide is split into two (or more).

enter image description here

How can I get rid of this number?

Edit

In the end I put it in the yaml preamble of the pandoc file as raw latex code:

header-includes: |
    ```{=latex}
    \setbeamertemplate{frametitle continuation}[from second]
    % more stuff
    ```
2

2 Answers

1
votes

You can disable the continuation count for frames that consist only of a single one by using this command:

\setbeamertemplate{frametitle continuation}[from second]
1
votes

In the response from @samcarter_is_at_topanswers.xyz, I had to delimit the command with backticks and indicate as latex code:

`\setbeamertemplate{frametitle continuation}[from second]`{=latex}