@retorquere/bibtex-parser
v9.0.17
Published
BibTeX parser
Downloads
1,063
Readme
bibtex-parser
A node/npm package for parsing bibtex (.bib) files. This is the parser that drives Better BibTeX for Zotero bib(la)tex imports.
While parsing, the parser will apply markup for commands such as \textbf
, \textsc
, etc, and braces wich protect text against case-changes. Commands will be replaced with their unicode text equivalents where possible.
What is BibTeX?
BibTeX is a reference management program that makes it easy for users of TeX and LaTeX to generate bibliographies for books and journal articles. When possible, it is usually stylized in the TeX font the way TeX and LaTeX are. LaTeX was first created in 1985 by Leslie Lamport and Oren Patashnik.
Documenation is available at https://retorque.re/bibtex-parser/.
9.0 is a breaking change!
Look at the documentation for what has changed:
- the chunker parser is now called the verbatim parser, and the return type of the entries has changed
- the main parser has changed the structure of the entries returned, the errors returned, and the options passed into the parser
- unabbreviations left to consumers of the library.
unabbrev.json
remains available.