BibParser.jl

Parser for bibliographic formats, including BibTeX, in pure Julia
Author Humans-of-Julia
Popularity
13 Stars
Updated Last
7 Months Ago
Started In
October 2017

Docs Docs Build Status codecov License: MIT Discord chat

BibParser.jl

BibParser is a Julia package for parsing different bibliographic formats. The output are entries following the BibParser.jl structures. Instead of rewriting from scratch existing (and efficient) parsers in Julia, it is preferable to import them.

This package is not meant to be used on its own. Please check Bibliography.jl for a package handling both import/export from various bibliographic formats.

The output of an example parsing a BibTeX file can be found at baffier.fr/publications.html.

BibTeX

A new parser is in used since v0.1.12. It is almost complete. Currently missing features follow:

  • Applying the LaTeX commands from @preambles entries to other entries
  • Storing @preamble, @string, @comment, and free text to enable the reconstruction of the original .bib file
  • Optional transformation of Unicode <-> LaTeX characters

Citation Style Language (CSL-JSON)

Ongoing work.

CFF

This implementation follows similar parsers: cff-converter-python and ruby-cff.