Skip to content

Commit

Permalink
Add the logics to include a table of contents for the latex exporter.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaudinFlorence committed Sep 19, 2024
1 parent 05f6f11 commit 5f26a5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions share/templates/latex/base.tex.j2
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,17 @@ override this.-=))
((* endblock header *))

((* block body *))

\begin{document}
((* block predoc *))
((* block maketitle *))\maketitle((* endblock maketitle *))
((* block abstract *))((* endblock abstract *))
((* endblock predoc *))
((* block tableofcontents *))
((* if resources.include_tableofcontents *))
\tableofcontents
((* endif *))
((* endblock tableofcontents *))

((( super() )))

Expand Down

0 comments on commit 5f26a5c

Please sign in to comment.