Page prefix in citation

Hello everyone,

I have a problem with my citation. It's just the präfix of pages. If I add a page number or a page range to my Citation there's just the page number or the range (like this: 22-24) but actually I need a Präfix lik
  • This is controlled by the citation style. What style are you using?
  • I'm using a modified version of chicago style, so that my citation is shown as a note and not inline. It should be like this (Author, Date, P. 22) for example.
  • edited September 12, 2019
    If you used chicago-author-date.csl then you'll need to change the point-locators macro. For that style it's quite complex with a conditional. Depending you could just simplify it to:

    <macro name="point-locators">
    <group delimiter=" ">
    <label variable="locator" form="short" suffix=" " text-case="capitalize-first"/>
    <text variable="locator"/>
    </group>
    </macro>


  • I would say to start with chicago-author-date.csl (https://raw.githubusercontent.com/citation-style-language/styles/master/chicago-author-date.csl) and make the following changes:
    1) In line 2, change class="in-text" to class="note"
    2) Replace line 404 (which is <text variable="locator"/> with:
    <group delimiter=" ">
    <label variable="locator" form="short" text-case="capitalize-first"/>
    <text variable="locator"/>
    </group>

    3) Change the Style ID and Title at the top of the file to something else.
  • Ok thanks! I wil try this. But which of this lines exactly adds a "p" in front of my pages?
  • The line starting with "label" will add the "p" label for pages and similar labels for other types of locators (e.g., "ch" for chapters).
  • edited September 12, 2019

    <group delimiter=" "> ## group that adds a space between the p. and the number
    <label variable="locator" form="short" text-case="capitalize-first"/> ## I´m the label for the page or chapter (p. 204 or ch. 4, for example)
    <text variable="locator"/> ## I´m the number in above examples
    </group> ## I'm the end of the group
  • THANKS A LOT! It now looks like I want it to look like
Sign In or Register to comment.