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

Where do common/global prefix/suffixes go? #46

Open
jkitchin opened this issue Aug 21, 2021 · 1 comment
Open

Where do common/global prefix/suffixes go? #46

jkitchin opened this issue Aug 21, 2021 · 1 comment

Comments

@jkitchin
Copy link

In the description of citeproc-citation-create (https://github.com/andras-simonyi/citeproc-el#creating-citation-structures), I see where you put prefixes and suffixes on each reference in a citation.

The new org-cite syntax supports common or global prefix/suffix text. For example:

[cite:common prefix; prefix1 @key1 suffix1; prefix2 @key2 suffix2; common suffix]

Where do you specify the "common prefix" and "common suffix" in citeproc-citation-create?

@andras-simonyi
Copy link
Owner

Thanks for raising this issue and sorry for responding only now! Similarly to other CSL citation processors (e.g., citeproc.js) citeproc-el doesn't (yet) support global affixes, only per-reference ones. Consequently, the best thing one can do with global affixes is to concatenate them to the first and last cite affixes -- IIRC this is what oc-csl.el does currently. Of course, this is not ideal, because the cites can be reordered, so I plan to add explicit support for global affixes soonish.

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

No branches or pull requests

2 participants