-
Notifications
You must be signed in to change notification settings - Fork 12
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
suppress-author and friends #114
Comments
To be clear are these supposed to be fields on a (citeproc-rs terminology) reference? That are meant to provide a default value for those things that would normally be provided by a cite? If so that's not implemented. I haven't seen it in any spec anywhere. Also by custom do you mean fields on the "custom" object you can provide in CSL-JSON? (This entire object is ignored. I'm not sure what's supposed to be done with it. Custom variables? I thought CSL was very against that!) |
Documented here: https://citeproc-js.readthedocs.io/en/latest/csl-json/markup.html#cite-items And in csl-citation.json in the CSL schema repo. |
I was pretty sure these worked already in a previous version, but perhaps I am wrong. |
Well that's different. The prefix and suffix and locator on a cite are working still. A large slice of the suite doesn't pass without them. I just sanity checked the JavaScript API by adding a quick js-tests test for affixes, and they definitely haven't gone anywhere. So I'm not sure what's gone wrong, except that the various APIs look a bit similar and maybe you're putting them on a Cluster instead, which doesn't support them. It doesn't do suppress-author though. It's been planned but I can make the suppression system a priority. |
Sorry, this was indeed my bad re prefix and suffix. |
@cormacrelf Any update on this? Is this difficult to add? What timeline should we expect? |
I'm just about done, probably tomorrow or Sunday! |
That turned out not to be quite true, sorry; I found some more edge cases in cluster mode and given the assembly of rendered cites into a cluster is some of the most finicky code in there, I went for a refactor. I know the base requirement is Specifically, implementation-wise, now it has to handle composite clusters writing to two different |
Available in |
Testing with the current build none of the custom item fields like
suppress-author
,prefix
,suffix
,locator
and others appear to be working. The produced citations have the default output.The text was updated successfully, but these errors were encountered: