Page number does not appear anymore

Hey,

I have been creating my own citation style and was quiet happy with it. Unfortunately though suddenly I noticed that when I use Zotero to cite a reference and also want to add the page number that Zotero does not do this anymore. it worked before just fine.

To be more precise:
I work with Zotero Standalone and Microsoft on a Mac.
When I am in Word and I go over the toolbar to add a citation with Zotero it takes me to Zotero. I then can choose my source and type in the page number I want. But the page number does not show up in Word. But if I go back to edit the citation Zotero has the page number.

It should look like this Yin, R. (2008), p. 19
and looks like this Yin, R. (2008)

Thanks for your help
  • so, you're adding the page number using the quick format dialog?
    https://www.zotero.org/support/word_processor_plugin_usage#quick_format_citation_dialog
    and you're sure that's in your citation style as "locator"?
  • Hey,
    yes I am doing it exactly like that.

    No its not in my citation style but until now it has worked just fine without it as well. And when I go over the panel I can add a prefix that is shown but the page number does not show up anymore.

    How would I add an locator into my style?

    Thanks?
  • we'd have to see the style, copy the code of the style e.g. from the test pane: https://www.zotero.org/support/dev/citation_styles/reference_test_pane
    to gist.github.com, create a public gist (you don't need to register) and post a link here.
  • Hey,

    thanks for the reply.

    Here the public gist to my problem. It would be great if you could solve my problem.

    Sorry when the code is a little confusing.
  • and here the link

    https://gist.github.com/anonymous/4a1da9adb20c4ff2c174
  • oh my, that's a bit chaotic ;)
    Start by deleting line 117
    <layout/>

    then between line 115 and 116 insert:

    <group delimiter=" " prefix=", ">
    <label variable="locator" form="short"/>
    <text variable="locator"/>
    </group>
    that should work, you can test in the reference test pane.
  • Thank you so much. Now it works perfectly fine :)

    I just wonder why it worked before and then suddenly stopped working even without an locator?!
  • can't tell you - the page number you input in the Word plugin is only ever used as a variable=locator. Could be you looked in the wrong place - e.g. the quick format bar, not the finished citation - or that there was a reference to the locator variable left over from the previous style.
  • Hey,

    just one more question to the pages in Zotero when I add the page number for the reference in the Zotero citation pane.

    Zotero usually shows:
    Camp, R. (2001), p. 34
    can is also show Camp, R. (2001), pp. 43 f. ?

    Thanks :)
  • if you want to add "f." and the like you can't just type into the quick format bar, you need to actually use the page field that pops up when you click on a citation.
  • Sorry, I described it wrong.

    I knew that i could add the f. ad the suffix but I would like to have pp. instead of p.

    is that possible?
  • only for page ranges (43–44), unless you always want pp. in which case you can set plural="always" on the label variable.

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.

Sign In or Register to comment.