Bibliography, remove pp. from journal article entries

Hi

I have developed a custom style for my thesis over the last year and I am having a little bit of a problem with the bibliography.

The code for my csl file can be found here:
https://gist.github.com/alexjgnana/be85f8e919633386e81e

Currently it creates the following reference for a journal article:

Aarts, H., Dijksterhuis, A. and Midden, C. 1999. To plan or not to plan? Goal achievement or interrupting the performance of mundane behaviors. European Journal of Social Psychology, 29(8), pp.971–979.

1) I would like to remove the "pp." before the page numbers for journal articles.

2) However, when I reference a book section, I would like to retain the pp., adding a space between pp. and the page numbers.

I am finding it difficult to find the bit of the code that controls this, I looked in the bibliography section of the code (I think line 376 down) but I could not find it there. I also looked higher up for references to 'article-journal' and 'page' but I could not work it out.

Any help would be most welcome
Kind regards
Alex
  • it's this bit in the locator matrix:
    <choose>
    <if variable="page">
    <group>
    <label variable="page" form="short"/>
    <text variable="page"/>
    </group>
    </if>
    </choose>

    You'd need add a space as a delimiter in the group and then enclose the <label variable part in a test for type="chapter"
  • Hi

    Thanks for that!

    I located line 284 which controls the label for the journal article page numbers and removed it.

    I was able to change line 296 to to add the space which answers my second question.

    Thanks again :)

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.