Add support for $toc-title$ to LaTeX (and PDF). (#4853)
This commit is contained in:
parent
347242f530
commit
dac85d683f
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -360,6 +360,9 @@ $include-before$
|
|||
|
||||
$endfor$
|
||||
$if(toc)$
|
||||
$if(toc-title)$
|
||||
\renewcommand*\contentsname{$toc-title$}
|
||||
$endif$
|
||||
$if(beamer)$
|
||||
\begin{frame}
|
||||
$if(toc-title)$
|
||||
|
|
Loading…
Reference in a new issue