Make sure there is also a TOC in the HTML export

This commit is contained in:
Charlotte Van Petegem 2023-10-26 11:27:55 +02:00
parent 8681f9626b
commit ef36710197
No known key found for this signature in database
GPG key ID: 019E764B7184435A
3 changed files with 6 additions and 11 deletions

View file

@ -14,7 +14,8 @@
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
org-latex-src-block-backend 'listings
org-latex-prefer-user-labels t)
org-latex-prefer-user-labels t
org-latex-toc-command "\\frontmatter\n\\addchap{Table of Contents}\n\\listoftoc*{toc}\n\n")
(find-file "book.org")
(org-latex-export-to-latex)