Simplify setting org-latex-toc-command
This commit is contained in:
parent
22129d12ce
commit
491e61720b
14
README.org
14
README.org
@ -2048,14 +2048,12 @@ exporting from Org-mode to LaTeX.
|
||||
(setq org-latex-title-command (concat title-page))
|
||||
|
||||
(make-variable-buffer-local 'org-latex-toc-command)
|
||||
(setq org-latex-toc-command
|
||||
(mapconcat 'identity '(""
|
||||
"\\tableofcontents\\label{toc}"
|
||||
"\\listoffigures"
|
||||
"\\listoflistings"
|
||||
"\\listoftables"
|
||||
"\\newpage"
|
||||
"") "\n"))
|
||||
(setq org-latex-toc-command "
|
||||
\\tableofcontents\\label{toc}
|
||||
\\listoftables
|
||||
\\listoffigures
|
||||
\\newpage
|
||||
")
|
||||
|
||||
(make-variable-buffer-local 'org-latex-subtitle-format)
|
||||
(setq org-latex-subtitle-format ""))
|
||||
|
Loading…
Reference in New Issue
Block a user