As shown in the illustration to the right, the appearance of citations and bibliographies produced by citeproc-js is controlled by four things:
- The style set on the processor
- The style is set once when the processor is started, and the processor recognizes only one style at a time.
- The locale
- In CSL 1.0, styles have a single locale, which is determined by a processor setting, possibly overridden by the default-locale set in the style itself. In the MLZ extended schema, the locale of individual items may be set from their language value, if it matches the locale attribute of an extended layout element. For details, see the “citeproc-js CSL Specification Supplement” (external link).
- The parameters set on the processor
- The various parameters recognized by the processor are like small switches that control aspects of its behavior, independent of the style. Processor parameters are controlled through various settings in the Zotero Preferences panel and in the Document Preferences panel of the word processor plugins. They are documented in the processor manual, but users and style designers can ignore them for the most part.
- The item input
- The item input is drawn from the Zotero database, remapped to CSL variable names as illustrated in the next document.