git.iko.soy/typeable/pandoc
on master help sign in
Support "toc-title" in the beamer template. (#4835)

It is a bit awkward to have a title for every frame, but not for the one that holds the table of contents. Allow users to specify a title if they wish.

commit2ae82727546c1a989148b0ca34ae35fd2158cee6 authorCyril Roelandt <tipecaml@gmail.com> dateWed 15 Aug 2018, 18:58 (8 years ago) parente44815a
2 files changed+4−1
MANUAL.txt+1−1 data/templates/default.latex+3
MANUAL.txt+1−1
@@ -1352,7 +1352,7 @@ depending on the output format, but include the following:
13521352
13531353`toc-title`
13541354: title of table of contents (works only with EPUB,
1355− opendocument, odt, docx, pptx)
1355+ opendocument, odt, docx, pptx, beamer)
13561356
13571357`include-before`
13581358: contents specified by `-B/--include-before-body` (may have
data/templates/default.latex+3
@@ -361,6 +361,9 @@ $endfor$
361361$if(toc)$
362362$if(beamer)$
363363\begin{frame}
364+$if(toc-title)$
365+\frametitle{$toc-title$}
366+$endif$
364367\tableofcontents[hideallsubsections]
365368\end{frame}
366369$else$