citeproc-rs icon indicating copy to clipboard operation
citeproc-rs copied to clipboard

Add an option to disable citeproc-rs name-parser

Open adomasven opened this issue 3 years ago • 3 comments

As discussed here https://github.com/zotero/zotero/pull/2220#discussion_r729507813

adomasven avatar Nov 23 '21 07:11 adomasven

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.

cormacrelf avatar Dec 01 '21 12:12 cormacrelf

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.

cormacrelf avatar Dec 01 '21 12:12 cormacrelf

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

adomasven avatar Dec 02 '21 06:12 adomasven