How to disable bookmarks in pdf? #2655
Replies: 1 comment 1 reply
-
I believe this will be a sum of several interaction here. Quarto uses KOMA script by default: https://quarto.org/docs/output-formats/pdf-basics.html#document-class and the So you could switch to
But then, Pandoc will default to use bookmark CTAN package if available This mean you would need to make sure that bookmark package is not available. If you do so then
This above will effectively deactivate bookmarks. Maybe this needs a Pandoc feature request to make this line different \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} and allow to use hyperref only with no bookmark if desired. Maybe there is an option to deactivate bookmarks in the CTAN bookmark package, but I did not find it , and this is the purpose of this package built above hyperref which state
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the following minimal example, when I render it in Visual Studio Code in Windows, it generates a PDF with bookmarks (which seems like a bug, as I'm trying to disable the bookmarks, using the
hyperrefoptions:
in YAML)Here's the screenshot of the bookmark showing up in Sumatra PDF:
How can I disable the bookmarks in PDF generated by Quarto?
ETA a hacky solution found at https://tex.stackexchange.com/questions/13502/how-to-temporarily-disable-pdf-bookmarking is to use
bookmarksdepth=-2
as an option.Beta Was this translation helpful? Give feedback.
All reactions