Source

citeproc-js /

Filename Size Date modified Message
attic
demo
dojo
dojo-sm
jshint
manual
review
rhino
src
style → git@github.com:zotero/bundled-styles.git [e6a736644b81]
tests
tools
498 B
54 B
47 B
28.3 KB
33.7 KB
230.2 KB
2.8 KB
2.2 KB
1.4 KB
1.5 KB
3.0 KB
581.5 KB
83.9 KB
1.3 KB
1.4 KB
35.1 KB
13.3 KB
8.0 KB

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