Skip to content

Ducasse/Citezen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Citezen

Citezen is a bib parser and tool suite.

Build Status Coverage Status License Pharo version Pharo version Pharo version

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'.