Skip to content

Weird "The label does not exist" error on an existing bibtex entry #724

@0x7CFE

Description

@0x7CFE

Description

This is actually a Heisenbug that I noticed long time ago (circa February), but I wasn't able to create a minimal example. It's also a weird one, where an error is totally unrelated to edits being made that somehow resolve it or break things apart. Even a newline or a #v can trigger an error or fix it. Also, the error happens on the web view. The standalone compiler does fine.

The issue looks like a series of "label does not exist" errors:

Image

The labels are in fact mentions of bibtex entries that do, obviously, exist and were not changed at all during the edits.

I have no other option than to link to the whole project and not a minimal example. Since the paper in question was recently published on arXiv, I am now able to link to its sources.

The errors are triggered when main-en.typ, or chapters-en/advantages.typ is 👁️-ed.

Hope this would help.

Reproduction URL

https://typst.app/project/rBw9IV8Y8dI34JeB9Vyywe

Operating system

Linux, Web app

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.needs-reproA reproduction is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions