diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-06-08 11:53:37 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-06-08 11:53:37 -0700 |
commit | 931030d95d85ca3059516d15ef1b632131a84a20 (patch) | |
tree | 39a9413d595149dbe405886c7cabb89e5074fe97 /MANUAL.txt | |
parent | d8b4e45be0b22aa5939add501339b64252d802ea (diff) | |
download | pandoc-931030d95d85ca3059516d15ef1b632131a84a20.tar.gz |
PDF via ms: make TOC appear at beginning and in PDF bookmarks.
Previously the TOC appeared at the end of the document,
and was not bookmarked.
If you want it to continue appearing at the end, add
`--pdf-engine-opt=--no-toc-relocation` to your command
line.
Closes #5553.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r-- | MANUAL.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 4594c1127..01d2b7bd3 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -753,6 +753,12 @@ General writer options {.options} unless `-s/--standalone` is used, and it has no effect on `man`, `docbook4`, `docbook5`, or `jats` output. + Note that if you are producing a PDF via `ms`, the table + of contents will appear at the beginning of the + document, before the title. If you would prefer it to + be at the end of the document, use the option + `--pdf-engine-opt=--no-toc-relocation`. + `--toc-depth=`*NUMBER* : Specify the number of section levels to include in the table |