biblatex icon indicating copy to clipboard operation
biblatex copied to clipboard

Bibtex containing unbalanced dollar symbol in `url`

Open qres opened this issue 10 months ago • 0 comments

Description

When using a BibTex bibliography, unbalanced dollar symbols in the url field result in an error failed to parse BibLaTeX file (bibliography.bib:9: unexpected end of file).

Typst:

@key

#bibliography("bibliography.bib")

BibTex:

@article{key,
  author = {A. Name},
  journal = {Journal},
  number  = {1},
  title = {Title},
  volume = {2},
  year = {1234},
  comment = {3\$},
  url = {example.com?A=$B}
}

Escaping the dollar symbol with "$", which is possible in other fields like comment, would change the url.

typst --version
typst 0.11.0 (2bf9f95d)

Reproduction URL

No response

Operating system

Linux

Typst version

  • [X] I am using the latest version of Typst

qres avatar Apr 12 '24 08:04 qres