Skip to content

Order of references are wrong in right to left language #5775

@HKalbasi

Description

@HKalbasi

Description

In this example, everything is ok:

This is
@Ref1
and this one is
@Ref2

#bibliography("repro.bib")

Image

But if I use Farsi, which is a right to left language, the number of references is reversed and Ref2 takes the number 1:

این است
@Ref1
و این یکی هست
@Ref2

#bibliography("repro.bib")

Image

Reproduction URL

No response

Operating system

Linux

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmodelRelated to model category, which is all about structure and semantics.textRelated to the text category, which is all about text handling, shaping, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions