From dac85d683feb6f9f7e12b9273f353a1291171cd1 Mon Sep 17 00:00:00 2001 From: Wandmalfarbe Date: Sat, 25 Aug 2018 18:55:17 +0200 Subject: Add support for $toc-title$ to LaTeX (and PDF). (#4853) --- MANUAL.txt | 2 +- data/templates/default.latex | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MANUAL.txt b/MANUAL.txt index 4c68bfa86..0fb959fad 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -1352,7 +1352,7 @@ depending on the output format, but include the following: `toc-title` : title of table of contents (works only with EPUB, - opendocument, odt, docx, pptx, beamer) + opendocument, odt, docx, pptx, beamer, LaTeX) `include-before` : contents specified by `-B/--include-before-body` (may have diff --git a/data/templates/default.latex b/data/templates/default.latex index c2e32e006..23e47e6ce 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -360,6 +360,9 @@ $include-before$ $endfor$ $if(toc)$ +$if(toc-title)$ +\renewcommand*\contentsname{$toc-title$} +$endif$ $if(beamer)$ \begin{frame} $if(toc-title)$ -- cgit v1.2.3