How to display chapter numbers in PDF bookmarks?

Oh. I haven’t tested, but I think they can both switch to testing it.bookmarked for the guard clause?

Close, but not yet: just testing for it.bookmarked puts non-it.outlined headings (such as that of Outline Function – Typst Documentation) into the PDF bookmark as well. So far the guard condition to it.bookmarked or not it.outlined works well for me: feat: add section numbering to PDF bookmark outline · SwampertX/clean-math-thesis@442aece · GitHub.

1 Like