Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to disable citeproc-rs name-parser #135

Open
adomasven opened this issue Nov 23, 2021 · 3 comments
Open

Add an option to disable citeproc-rs name-parser #135

adomasven opened this issue Nov 23, 2021 · 3 comments

Comments

@adomasven
Copy link
Member

As discussed here zotero/zotero#2220 (comment)

@cormacrelf
Copy link
Collaborator

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
Copy link
Collaborator

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.

@adomasven
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants