Skip to content

Poor error message: "failed to parse BibLaTeX (missing number)" #93

@tak2hu

Description

@tak2hu

Description

I tried copy pasting this bibtex from https://universe.roboflow.com/sumit-cpavr/cleaning-ghas1

@misc{cleaning-ghas1_dataset,
  title = { cleaning Dataset },
  type = { Open Source Dataset },
  author = { sumit },
  howpublished = { \url{ https://universe.roboflow.com/sumit-cpavr/cleaning-ghas1 } },
  url = { https://universe.roboflow.com/sumit-cpavr/cleaning-ghas1 },
  journal = { Roboflow Universe },
  publisher = { Roboflow },
  year = { 2025 },
  month = { nov },
  note = { visited on 2025-12-31 },
}

after typst compile main.typ it just shows the first bibtex entry without showing which key was invalid:

error: failed to parse BibLaTeX (missing number)
  ┌─ refs.bib:2:4
  │
2 │ @software{yolov8_ultralytics,
  │     ^

help: error occurred in this call of function `bibliography`
   ┌─ main.typ:35:16
   │
35 │   bibliography: bibliography("refs.bib"),
   │                 ^^^^^^^^^^^^^^^^^^^^^^^^

after changing month = { nov } to month = { 11 } it can compile, just poor error message.

notes:

typst --version
typst 0.14.2 (unknown hash)

Reproduction URL

No response

Operating system

Linux

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions