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

Duplicated bookmark entries #58

Closed gabrielbdsantos closed 1 month ago

gabrielbdsantos commented 3 months ago

In touying 0.4.2, the following snippet produces duplicate bookmark entries for Title 2. This seems related to #32.

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

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

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

= Section

== Title 1

#slide[ 1 ]

== Title 2

#slide[ 2 ]

#slide[ 3 ]

image

I would expect to have a single bookmark entry for Title 2 at page 2. Is this the intended behavior or a bug?