aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MANUAL.txt2
-rw-r--r--data/templates/default.latex3
2 files changed, 4 insertions, 1 deletions
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)$