Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

README

Author: Frank Bennett
Date: 2014.04.05

This is an effort to implement a full-featured standalone CSL processor in Javascript, for use by the Zotero project, and by other sites and platforms that can benefit from a standard method of formatting citation data.

The demo page and test suite are the best routes to explore the behavior of the processor, in that order. To set up the archive for either, install the processor locales with the following command:

git clone git://github.com/fbennett/locales.git locale

(The official CSL locales live elsewhere, [1] but you'll want to use this set for processor testing. Note the explicit target directory "locale" [singular] following the repository address.)

To run the test suite, you need to add the standard test fixtures. To do so, enter the directory ./tests/fixtures, and issue the following command:

hg clone http://bitbucket.org/bdarcus/citeproc-test std

(Again, note the explicit target directory, "std", following the repository address.)

For other details, see the manual, either in the ./manual subdirectory under the name citeproc-doc.rst, or online at http://gsl-nagoya-u.net/http/pub/citeproc-doc.html for details of this program.

[1]http://github.com/citation-style-language/locales

Hope all goes well. If you have problems, post a note to the issue tracker.

FB

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.