1. Frank Bennett
  2. citeproc-js

Source

citeproc-js /

Filename Size Date modified Message
attic
demo
dojo
dojo-sm
jshint
manual
review
rhino
src
style [f18898c58d69]
tests
tools
498 B
Update .hgignore
58 B
Use https for git subrepo
47 B
Bump version, update CHANGES, bundle
31.1 KB
Added tag 1.1.71 for changeset 2cce3396ab43
34.5 KB
Add a copy of AGPLv3, as an alternative license.
252.1 KB
Bump version, update CHANGES, bundle
2.9 KB
Remove license text from source files and update LICENSE file
2.2 KB
Working note update
1.4 KB
Fix locale address in README
1.5 KB
Refresh squiggly brace patch
3.0 KB
Update TODO
93 B
Add note of regexpu transpiler source
612.2 KB
Bump version, update CHANGES, bundle
85.9 KB
Remove license text from source files and update LICENSE file
1.3 KB
Turn off forin checking in jshint.
1.5 KB
Copy module to top level. For now.
34.5 KB
Restore Zotero build
13.6 KB
Discriminate non-matching nodes and nodes with no attribute
8.2 KB
Remove license text from source files and update LICENSE file

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