touying-typ / touying

Touying is a powerful package for creating presentation slides in Typst.
https://touying-typ.github.io/
MIT License
717 stars 17 forks source link

`set heading(bookmarked: false)` doesn't work #60

Closed spidersouris closed 1 month ago

spidersouris commented 2 months ago

Description of Issue

Using set heading(bookmarked: false) to hide bookmarks in the output PDF document does not work.

Minimal Example

#import "@preview/touying:0.4.2": *

#let s = themes.default.register()
#let (init, slides) = utils.methods(s)
#show: init

#set heading(bookmarked: false, outlined: false)

#let (slide, empty-slide) = utils.slides(s)
#show: slides

= Section

== Title 1

#slide[a slide]

== Title 2

#slide[another slide]

#slide[another slide]

= Section 2

== Title 3

#slide[yet another slide]

Current Behavior

Headings appear as bookmarks in the PDF.

image

Expected Behavior

Headings should not appear when setting set heading(bookmarked: false).

Related Issues

32, #58