zotero / citeproc-rs

CSL processor in Rust.

Home Page:https://cormacrelf.github.io/citeproc-wasm-demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an option to disable citeproc-rs name-parser

adomasven opened this issue · comments

I've discovered there is actually a way to turn it off already, that works on both citeproc-rs and citeproc-js, and maybe you're actually already doing it: add a static-particles: true flag to each name. It's not a global flag, but it is a one-liner in your name parser.

It is specifically each name, so for example

{
    "author": [
        { "family": "van Dyke", "given": "Dick", "static-particles": true }
    ]
}

will not parse the van into a non-dropping particle like it normally would.

Since name parsing is not part of the CSL spec I think there should still be a global option.