pp. instead of p.

Dear all,

I'm having some trouble to figure out how to show pp. instead of p.
in the bibliography with this style. Thank you for your hints and kind regards:

OUTPUT SAMPLE:
Fiedler, K. D.; Grover, V.; James, T. C. (1996): An Empirically Derived Taxonomy of Information Technology Structure and Its Relationship to Organizational Structure. Journal of Management Information Systems (13:1), p. 9-34. Available at: [Accessed March 28, 2011].


STYLE:

<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >
<info>
<title>test</title>
<id>http://www.zotero.org/styles/test</id>;
<link href="http://www.zotero.org/styles/test"/>
<author>
<name>test</name>
<email>test</email>
</author>

<category term="author-date"/>
<category term="generic-base"/>
<updated>2010-10-26T21:20:42+00:00</updated>
<summary>test</summary>
<link href="http://www.zotero.org/styles/test" rel="documentation"/>
</info>
<macro name="editor">
<names variable="editor" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", " text-case="lowercase" suffix="."/>
</names>
</macro>
<macro name="editor2">
<names variable="editor">
<name sort-separator=", " initialize-with="." name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=")," text-case="capitalize-first"/>
</names>
</macro>
<macro name="anon">
<text term="anonymous" form="short" text-case="capitalize-first"/>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". "
delimiter-precedes-last="always" delimiter="; "/>
<label form="short" prefix=" " suffix="." text-case="lowercase"/>
<substitute>
<names variable="editor"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="access">
<group>
<text value="Available at:" suffix=" "/>
<text variable="URL"/>
<group prefix=" [" suffix="]">
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</group>
</macro>
<macro name="title">
<choose>
<if type="book thesis" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal" prefix="("/>
<text term="edition" form="short" suffix=".)"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="pages">
<group>
<text variable="page" prefix=" "/>
</group>
</macro>
<citation>
<option name="et-al-min" value="3"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="3"/>
<option name="et-al-subsequent-use-first" value="1"/>
<option name="disambiguate-add-year-suffix" value="true"/>
<option name="disambiguate-add-names" value="true"/>
<!-- <option name="disambiguate-add-givenname" value="true"/> -->
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<group>
<label variable="locator" suffix=". " form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography>
<option name="hanging-indent" value="true"/>
<option name="et-al-min" value="6"/>
<option name="et-al-use-first" value="1"/>
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout>
<text macro="author" suffix=""/>
<date variable="issued" prefix=" (" suffix="):">
<date-part name="year"/>
</date>
<choose>
<if type="book">
<group prefix=" " delimiter=" " suffix=",">
<text macro="title" />
<text macro="edition"/>
<text macro="editor"/>
</group>
<text variable="container-title" font-style="italic" suffix=","/>
<text variable="collection-title" prefix=" " suffix=","/>
<text prefix=" " suffix="." macro="publisher"/>
</if>
<else-if type="chapter">
<text macro="title" prefix=" " suffix="."/>
<group class="container" prefix=" " delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<text macro="editor2" />
<text variable="container-title" font-style="italic" suffix=","/>
<text variable="collection-title" suffix="."/>
<group suffix="." delimiter=", ">
<text macro="publisher" prefix=""/>
<text macro="pages" />
</group>
</group>
</else-if>
<else-if type="thesis">
<group prefix=" " suffix="," delimiter=". ">
<text macro="title"/>
<text variable="genre"/>
<text macro="publisher"/>
</group>
</else-if>
<else>
<group suffix=".">
<text macro="title" prefix=" " quotes="false" />
<text macro="editor" prefix=" "/>
</group>
<group class="container" prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/>
<group prefix=" ">
<text variable="volume" prefix="(" />
<text variable="issue" prefix=":" suffix=")"/>
</group>
<group prefix=", ">
<label variable="locator" suffix="." form="short"/>
<text macro="pages" />
</group>
</group>
</else>
</choose>
<text prefix=" " macro="access" suffix="."/>
</layout>
</bibliography>
</style>
  • Please post the style to http://gist.github.com/ as a public gist, and post the address returned in the address bar back here. Without indenting it's hard to read the style.
  • Thanks for the hint, here it is:
    https://gist.github.com/901653


    Kind regards,
    Dennis
  • Which zotero version? 2.0? 2.1? (I would say zotero 2.0)
    p. or pp. is defined by the "locator" label (<label variable="locator" suffix=". " form="short"/>) and is localized. If you're using a English Firefox and zotero, you should get "pp."
  • edited April 4, 2011
    At line 196, change variable="locator" to variable="page".

    @Gracile: The locator variable set on a label won't pluralize in the bibliography, it's specific to citations.
  • The problem is solved.
    Thanks for the great help, its really appreciated.
    Dennis
  • @Frank: yes, thanks for the reminder! I jumped the gun...
Sign In or Register to comment.