mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Add support for $toc-title$ to LaTeX (and PDF). (#4853)
This commit is contained in:
committed by
John MacFarlane
parent
347242f530
commit
dac85d683f
+1
-1
@@ -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)$
|
||||
|
||||
Reference in New Issue
Block a user