如何使用Pandoc + Beamer从目录标题中删除数字

问题描述

我正在使用Pandoc生成投影仪幻灯片。我激活了TOC的生成并指定了TOC标题。但是,在此标题添加一个额外的数字,好像TOC可以跨越几张幻灯片一样,但是没有。

我的源文件

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

# my section

,然后我用pandoc -t beamer -o x.pdf < x.md进行编译。 TOC的标题具有这个额外的罗马字母I,如果将幻灯片拆分为两个(或更多),则投影仪通常会添加该罗马字母。

enter image description here

我如何摆脱这个电话号码?

解决方法

您可以使用以下命令为仅包含一个帧的帧禁用连续计数:

\setbeamertemplate{frametitle continuation}[from second]