Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nickng/bibtex

Basic parser for bibtex
https://github.com/nickng/bibtex

bibtex parser

Last synced: 26 days ago
JSON representation

Basic parser for bibtex

Awesome Lists containing this project

README

        

# bibtex ![Build Status](https://github.com/nickng/bibtex/actions/workflows/test.yml/badge.svg) [![Go Reference](https://pkg.go.dev/badge/github.com/nickng/bibtex.svg)](https://pkg.go.dev/github.com/nickng/bibtex)

## `nickng/bibtex` is a bibtex parser and library for Go.

The bibtex format is not standardised, this parser follows the descriptions found
[here](http://maverick.inria.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html).
Please file any issues with a minimal working example.

To get:

go get -u github.com/nickng/bibtex/...

This will also install `prettybib`, a bibtex pretty printer.
To parse and pretty print a bibtex file, for example:

cd $GOPATH/src/github.com/nickng/bibtex
prettybib -in example/simple.bib