Home

Awesome

Citezen

Citezen is a bib parser and tool suite.

Build Status Coverage Status License Pharo version Pharo version Pharo version

<!-- [![Build status](https://ci.appveyor.com/api/projects/status/1wdnjvmlxfbml8qo?svg=true)](https://ci.appveyor.com/project/olekscode/dataframe) -->

Tests are all green on my machine. No idea why some are failing on travis

Installing for use

$ git clone git@github.com:Ducasse/Citezen.git
$ cd Citezen
$ chmod a+x ./scripts/build.sh
$ ./scripts/build.sh

Loading for dev

Metacello new
   baseline: 'Citezen';
   repository: 'github://Ducasse/Citezen';
   load.

If you want to depend on it

spec 
   baseline: 'Citezen' 
   with: [ spec repository: 'github://Ducasse/Citezen' ].

Sample script

You can try this simple script to convert a bib file to HTML:

| bibset generator |
bibset := CZBibParser parse: ('/Users/.../input.bib' asFileReference) contents.
bibset scope: CZSet standardDefinitions.
generator := CZHTMLGenerator new.
generator save: bibset to: '/Users/.../output.html'.