pp. not showing up when citing page range, locator or page label problem?

edited November 13, 2016
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
  • Any thoughts or ideas? I'm handing in my paper on Wednesday, so any help would be more than welcome! If you have no clue, well… I guess I'll deal with it!
  • Change the 'page' term in your locale section to:

    <term name="page">
    <single>p</single>
    <multiple>pp</multiple>
    </term>
  • Hi bwiernik!

    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!
  • you don't actually print the label anywhere. You'd need <label variable="locator" form="short"/> before the relevant lines (and you'd need to remove the hard-coded "p." prefix from those).
  • edited November 15, 2016
    What do you mean by "you don't actually print the label anywhere"?
    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
  • not change -- add to. I.e. change all insteances of
    <text variable="locator" prefix="p. ">
    to

    <group delimiter=" ">
    <label variable="locator" form="short"/>
    <text variable="locator"/>
    </group>
  • Hey Adam,

    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
  • You also need to change
    <term name="page">
    <single>p.</single>
    <multiple>pp.</multiple>
    </term>
    to

    <term name="page" form="short">
    <single>p.</single>
    <multiple>pp.</multiple>
    </term>
Sign In or Register to comment.