Add support for $toc-title$ to LaTeX (and PDF). (#4853)

This commit is contained in:
Wandmalfarbe 2018-08-25 18:55:17 +02:00 committed by John MacFarlane
parent 347242f530
commit dac85d683f
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -360,6 +360,9 @@ $include-before$
$endfor$
$if(toc)$
$if(toc-title)$
\renewcommand*\contentsname{$toc-title$}
$endif$
$if(beamer)$
\begin{frame}
$if(toc-title)$