git.iko.soy/typeable/pandoc
on master help sign in
Add support for $toc-title$ to LaTeX (and PDF). (#4853)
commitdac85d683feb6f9f7e12b9273f353a1291171cd1 authorWandmalfarbe <Wandmalfarbe@users.noreply.github.com> dateSat 25 Aug 2018, 18:55 (8 years ago) parent347242f
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, beamer)
1355+ opendocument, odt, docx, pptx, beamer, LaTeX)
13561356
13571357`include-before`
13581358: contents specified by `-B/--include-before-body` (may have
data/templates/default.latex+3
@@ -360,6 +360,9 @@ $include-before$
360360
361361$endfor$
362362$if(toc)$
363+$if(toc-title)$
364+\renewcommand*\contentsname{$toc-title$}
365+$endif$
363366$if(beamer)$
364367\begin{frame}
365368$if(toc-title)$