Skip to content

Parser for bibliographic formats, including BibTeX, in pure Julia

License

Notifications You must be signed in to change notification settings

Humans-of-Julia/BibParser.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.