Skip to content

Latvian smart quotes are not applied consistently in bibliography output #471

Description

@kristoferssolo

Description

When setting the document language to Latvian with #set text(lang: "lv"), normal document text uses Latvian quotation marks as expected. However, bibliography output does not appear to use the same quotation mark behavior.

This seems inconsistent with other languages I tested, such as German (de) and French (fr), where bibliography quotation marks appear to follow the selected language correctly.

I am not fully sure whether this belongs in Typst or in Hayagriva / CSL locale handling.

Expected behavior

The quote marks in the citation and bibliography should match the quote style used by normal Typst text for lang: "lv".

#set text(lang: "de")

Normal text: "#lorem(2)" @example

#bibliography("bibliography.yml")
Image

Actual behavior

Normal Typst text uses the expected Latvian smart quotes, but the citation/bibliography output uses different quotation marks.

#set text(lang: "lv")

Normal text: "#lorem(2)" @example

#bibliography("bibliography.yml")
Image

Operating system

Linux

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingi18nIssues related to non-English languages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions