Move creation of table of contents to header file.

This commit is contained in:
2025-10-23 16:37:54 -07:00
parent d5e60b5677
commit f883213931
2 changed files with 11 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ function convert {
log "Compiling '$source' to '$ebook'."
pandoc "$source" \
-s -N --toc --toc-depth=4 \
-s -N --toc-depth=4 \
-o "$ebook" \
>/dev/null
status=$?

View File

@@ -38,4 +38,14 @@ keywords:
- private
- security
- secure
comment:
- Unsure how to comment the page numbering commands below. Undecided on using them.
---
\pagenumbering{roman}
\tableofcontents
\pagenumbering{arabic}