pp. not showing up when citing page range, locator or page label problem?
Hi!
I'm having troubles with the page locator not showing properly when I want to quote a page range (from a book or an article) in my note style, e.g. pp. 14-18 (vs. p. 14-18, which is what I had before trying to troubleshoot the issue).
And I'm feeling a bit stuck because my university wants me to have the pp. format and I can't figure a way of doing it other than changing my citations manually.
I have:
1. Added a locator label before each locator. Result: It doesn't seem work unless I put the locator as "long" (it then writes pages w/ the plural correctly). When I leave it on "short" (because I want "pages" to appear as pp.), it doesn't show up at all.
2. Tried to change the locator label and replaced it by the page label. But I figured out it was not concerning the same data, so wrong route.
3. Read several threads, tried a couple tweaks here and there, but got stuck.
Here is the code: https://github.com/Ph15/https-github.com-Ph15-Zotero/blob/master/SIC-Zotero-CSL. (It might look a bit messy, I know. I'm not any kind of code professional, so I tinkered it up a bit.)
I would hugely appreciate your help! I hope it is not too complicated!
Cheers,
Philip
I'm having troubles with the page locator not showing properly when I want to quote a page range (from a book or an article) in my note style, e.g. pp. 14-18 (vs. p. 14-18, which is what I had before trying to troubleshoot the issue).
And I'm feeling a bit stuck because my university wants me to have the pp. format and I can't figure a way of doing it other than changing my citations manually.
I have:
1. Added a locator label before each locator. Result: It doesn't seem work unless I put the locator as "long" (it then writes pages w/ the plural correctly). When I leave it on "short" (because I want "pages" to appear as pp.), it doesn't show up at all.
2. Tried to change the locator label and replaced it by the page label. But I figured out it was not concerning the same data, so wrong route.
3. Read several threads, tried a couple tweaks here and there, but got stuck.
Here is the code: https://github.com/Ph15/https-github.com-Ph15-Zotero/blob/master/SIC-Zotero-CSL. (It might look a bit messy, I know. I'm not any kind of code professional, so I tinkered it up a bit.)
I would hugely appreciate your help! I hope it is not too complicated!
Cheers,
Philip
<term name="page">
<single>p</single>
<multiple>pp</multiple>
</term>
Thanks for coming back to me. I did so but it didn't changed anything apparently (despite reinstalling the style properly).
Any clue on what might be happening?
Here is the updated code: https://github.com/Ph15/https-github.com-Ph15-Zotero/blob/master/SIC-Zotero-CSL.
Thanks!
<label variable="locator" form="short"/>
before the relevantlines (and you'd need to remove the hard-coded "p." prefix from those).
Do you mean that I have to change all the: text variable="locator" prefix="p. "/
to: label variable="locator" form="short"/ ?
Like here for instance?
else
group delimiter=". "
text macro="author-citation"/
choose
if type="book map report thesis chapter" match="any"
text macro="title"/
group delimiter=", " suffix="."
group delimiter=" : "
text macro="publisher-place"/
text macro="publisher"/
/group
text macro="year-date"/
text variable="locator" prefix="p. "/
group
<text variable="locator" prefix="p. ">
to
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
Thanks for your tips. I did try what you advised but it didn't seem to work either. Any clue on what's going on?
https://github.com/Ph15/https-github.com-Ph15-Zotero/blob/master/SIC-Zotero-CSL
<term name="page">
to<single>p.</single>
<multiple>pp.</multiple>
</term>
<term name="page" form="short">
<single>p.</single>
<multiple>pp.</multiple>
</term>