What is citeproc-js?
masterciteproc-js is a JavaScript implementation of the Citation Style Language (CSL), an open XML-based standard for describing bibliographic citation styles. It allows for modular control over how citations and bibliographies are formatted, enabling users to switch styles (e.g., from sciences to humanities or law) without changing the underlying document data.
Key capabilities include:
- Disambiguation: Handles author-date disambiguation (e.g., following Chicago Manual of Style).
- Sorting: Supports complex sorting rules with multiple keys and arbitrary orders (e.g., AGU journal styles).
- Parallel Citations: Supports legal citation requirements, such as citing a case in multiple reporters.
- On-the-fly Updates: The API supports targeted, context-sensitive updates to citations when document content is inserted, deleted, or edited.
- Localization: Supports localized date formatting and style-supplied labels.
- Name Handling: Sophisticated handling of European name particles (e.g., "von", "van", "di") for sorting and rendering.
- In-field Formatting: Recognizes a subset of HTML for scientific markup (superscript, subscript, italics, etc.) and transforms it into the target output format (HTML, RTF, LaTeX, etc.).
- Multi-lingual Support: Experimental support for transliteration, title translation, and alternative sort strings for Asian languages.