How do I replace hyphens with en dashes?
Zotero seems to use hyphens instead of en dashes in hyphenated (sorry!) names and between dates. I believe this is not what publishers want. In MS word you create an en dash by typing control + - (the - on the number pad) It is longer than a hyphen and CMOS and my copy editor tell me this is correct.
1. can Zotero change this in its csl files?
2. if not, how do I edit the csl file to make the change?
I'm using CMOS full note.
1. can Zotero change this in its csl files?
2. if not, how do I edit the csl file to make the change?
I'm using CMOS full note.
En dashes are correct for date ranges, but as adamsmith says, that should already be the case in Zotero.
doyledh, where in relation to dates are you seeing hyphens?
Jonathan Sperber, The European Revolutions, 1848-1851, 2nd ed. (Cambridge: Cambridge University Press, 2005).
I can't change it in the Zotero information window.
Or you can hold the alt key and type 0150 on the number pad
https://en.wikipedia.org/wiki/Dash#Rendering_dashes_on_computers
Unlike, say, capitalization, which some CSL styles do adjust for you, the use of en dashes isn't really a style issue—as far as I know, en dashes are pretty much just universally considered the typographically correct way to render date ranges—so this isn't something a style would fix automatically.
Thanks for your help.
Note that hyphens in page ranges are automatically replaced by en-dashes by Zotero, so no need to change those.
(@Dan - we actually did find out that some European styles - Italy I believe - are emphatic about using hyphens for page ranges, so we made that delimiter changeable in CSL, though it defaults to an en-dash. The date-range delimiter for actual dates (rather than dates in titles such as the example by doyledh) has always been configurable in CSL).
could you please provide an example of how to change the delimiter in CSL for page ranges? My copy-editor insists (and I have double checked as well) that AMA style requires hyphens for page ranges and not en-dashes. I tried to use the visual CSL editor at http://editor.citationstyles.org/visualEditor/ but I don't see a configurable delimiter for page ranges. I'm sure I'm missing something simple here...
Or should I not be using the visual editor at all? should I edit the csl file directly?
Citeproc initialisation exception: TypeError: Cannot call method 'call' of undefined
I'm sure I've messed up the syntax somehow but I am not familiar with the correct usage. I tried to maintain spacing the same as the other variables. The <stlye> line now looks like this:
<style page-range-delimiter="-" xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<locale xml:lang="en">
<terms>
<term name="page-range-delimiter">-</term>
</terms>
</locale>
right after
</info>
You wrote "Note that hyphens in page ranges are automatically replaced by en-dashes by Zotero, so no need to change those."
I am writing in MLA and apparently I NEED Zotero to write a hyphen for page ranges. How can I get Zotero NOT to convert my page ranges to en-dashes in MS words?
If you want to change it, that's a change in the locale section. You can look at the AMA style as a template
Here it says "In the MLA Handbook and examples of student writing on The MLA Style Center, hyphens are used in page ranges since hyphens may be easier for students to use. Publishers, however, use en dashes."
https://style.mla.org/hyphen-or-dash-page-ranges/
... so I will use en-dashes.