Run citeproc-js in CSL-M mode with Zotero

Given that both Juris-M and Zotero use the same citation processor I was wondering whether it could be possible to allow citeproc-js in CSL-M mode with Zotero. Obviously some features won't work with regular Zotero (like field variants), but having some features available would be helpful. In case there are fears about poluting the GUI, a hidden pref would be entirely sufficient.

The reasons for this are:
1. At my own computer I am using both Juris-M and Zotero, but at work I only have access to Zotero.
2. I am currently developing some styles for departements at my institution. Some of their requirements could easily be fulfilled with CSL-M but probably not with vanilla CSL at the moment (like this one: https://discourse.citationstyles.org/t/labels-depending-on-item-language/1522). I don't think I can convince them to use Juris-M instead of Zotero, but having some additional features available would be quite handy.

  • Most csl-m features (including the one you link to) work with Zotero, you'd just have to ignore the invalid style warning on installing the style.
  • edited March 26, 2019
    Have you tried adding a CSL-M style to Zotero? I think the client will give you a warning, but allow you to override it and load the style. The processor detects the schema version (currently "1.1mlz1", don't ask me why :), and will kick into CSL-M mode on its own.

    CSL-M styles won't validate against the CSL schema, but I can host your style on https://juris-m.github.io/downloads when you're ready.
  • Thank you both. I have just tried it, and indeed you just have to ignore the warning.
Sign In or Register to comment.
https://forums.zotero.org/discussion/76588/run-citeproc-js-in-csl-m-mode-with-zotero
forums.zotero.org
crawl=CC-MAIN-2022-33
17687
application/http; msgtype=response
sha1:TCWTOJJ367E3LQQPX4RMEGZAFCQUW4CN
<urn:uuid:6d050aef-24cf-47aa-ab65-82aae3d8fbe2>
2022-08-07T16:52:34Z
100.26.12.44
text/html
sha1:L6OO42CBQF7BROEGFC7BTS2A4A547Q56
<urn:uuid:f0d0c1af-84f1-4b71-8e2b-af5d45b91da3>
https://forums.zotero.org/discussion/76588/run-citeproc-js-in-csl-m-mode-with-zotero
response
<urn:uuid:e7ad68cf-cf96-45c9-ae2e-f5cdf3c5e4fa>
isPartOf: CC-MAIN-2022-33
publisher: Common Crawl
description: Wide crawl of the web for August 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-171
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.4-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/