Skip to content

Allow "at sign" @ in BibTeX entry #83

@4e554c4c

Description

@4e554c4c

BibTeX doesn't support % as a comment character. Instead, the ordinary suggestion is to comment out fields by using @. Unfortunately the biblatex parser (and, by extension, hayagriva and typst) fails to parse BibTeX fields that begin with an @.

This crate seems to support the % character for commenting, but if it does not support @ for commenting then interoperability with BibTeX and Biber is limited.

Proposal

@article{foo,
   title={bar},
  year={2025},
  @location={Mom's Basement}
}

should parse as two entries, with the third "commented" entry removed.

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