Collapsed In Text Citations - Changing en-dash to hyphen
Is it possible to change the en-dash to hyphen for collapsed citations.
i.e. instead of 1–7, it would b 1-7.
We are writing a funding application with strict world limits and en-dashes make the citation 2 words while hyphens keep it to 1 word.
If it cant be done, we will just convert them after we create the biliography.
Thanks!
i.e. instead of 1–7, it would b 1-7.
We are writing a funding application with strict world limits and en-dashes make the citation 2 words while hyphens keep it to 1 word.
If it cant be done, we will just convert them after we create the biliography.
Thanks!
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
But generally you would either add a "locale" section between the info section and the first macro like this (assuming you're using a style in English):
<locale xml:lang="en">
<terms>
<term name="page-range-delimiter">-</term>
</terms>
</locale>
Or if there is already one you just add the line starting with "term name..." to the locale section.
General instructions here: https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
I am using the APA Numeric reference type as built by @bwiernik (If you read this - thanks for this CSL it was exactly what I needed!) here:
https://raw.githubusercontent.com/bwiernik/zotero-tools/master/apa-numeric.csl
As there was already the "locale" "en" section in there, I added in the
<term name="page-range-delimiter">-</term>line but unfortunately, this does not change the way in which the in-text citations are collapsed (i.e. its still printing them as Smith(1–7) (with en-dash), rather than Smith(1-7) (with hyphen)).
Does that line only change the page ranges in the bibliography or should it have an effect on the in-text citations?
Thanks again for any assistance.