-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Related to #3662.
Headings rendered with smart quotes (via smartquote show rule or automatic smartening) display correctly in the body of the PDF, but the corresponding PDF outline/bookmark text still shows straight ASCII quotes.
Minimal example
#set text(font: ((name: "Palatino", covers: "latin-in-cjk"), "Noto Serif CJK SC"))
#show smartquote: set text(font: "Palatino")
= English "Quotes" in the heading and 中文“引号”
这是“引号”。“我叫,‘阿毛!’没有应。”
== "Double and 'Single' Quotes"
这是 'smartquote', "double" 和撇号 cha'DIch。Steps to reproduce
- Save the file above as
quotes.typ. - Compile:
typst compile quotes.typ. - Open
quotes.pdfin any PDF viewer and inspect the bookmarks/outline.
As shown in the screenshot below, the body text shows curly quotes as expected, but the outline/bookmarks show straight quotes like "Double and 'Single' Quotes".
Version
- Typst: 0.14
- Platform: macOS 26.0.1
- How compiled: Typst CLI
- Fonts: Palatino + Noto Serif CJK SC
Reproduction URL
No response
Operating system
macOS
Typst version
- I am using the latest version of Typst
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working