Book section pages AND number-of-pages in book: Journal of Cetacean Research and Management
Hi folks,
I've hit a wall in making a distributable .CSL for the Journal of Cetacean Research and Management. For Book-Sections / Chapters, they require not only the Pages of the chapter, but also the total "number-of-pages" of the entire book (they even want you to state the Roman-numberals of pretext... but that's another issue). The problem I'd like help with is how can I include both chapter pages AND the number of pages in the book, when there isn't a "number-of-pages" field in Zotero for the Item Type "Book Section?"
Another question: obviously I can do this manually, but if I fail to make a perfect .csl, do you think I should distribute it on the online repository if its just going to mess others up???
Here is an example of the proper style for book chapters:
Mitchell, E.D. 1974. Present status of northwest Atlantic fin and other whale stocks. pp. 108-69. In: W.E. Schevill (ed.) The Whale Problem: A Status Report. Harvard University Press, Cambridge, Massachusetts. i-viii+419pp.
And here is what I'm generating with my current .csl:
Carlin, B.P., Clark, J.S., and Gelfand, A.E. 2006. Elements of hierarchical Bayesian inference. pp. 3–24. In: J. S. Clark and A. E. Gelfand (eds.) Hierarchical Modelling for the Environmental Sciences: Statistical Methods and Applications. Oxford University Press, New York, NY.
(The later is missing the number-of-pages, and the roman numerals)
Thanks,
Rob
I've hit a wall in making a distributable .CSL for the Journal of Cetacean Research and Management. For Book-Sections / Chapters, they require not only the Pages of the chapter, but also the total "number-of-pages" of the entire book (they even want you to state the Roman-numberals of pretext... but that's another issue). The problem I'd like help with is how can I include both chapter pages AND the number of pages in the book, when there isn't a "number-of-pages" field in Zotero for the Item Type "Book Section?"
Another question: obviously I can do this manually, but if I fail to make a perfect .csl, do you think I should distribute it on the online repository if its just going to mess others up???
Here is an example of the proper style for book chapters:
Mitchell, E.D. 1974. Present status of northwest Atlantic fin and other whale stocks. pp. 108-69. In: W.E. Schevill (ed.) The Whale Problem: A Status Report. Harvard University Press, Cambridge, Massachusetts. i-viii+419pp.
And here is what I'm generating with my current .csl:
Carlin, B.P., Clark, J.S., and Gelfand, A.E. 2006. Elements of hierarchical Bayesian inference. pp. 3–24. In: J. S. Clark and A. E. Gelfand (eds.) Hierarchical Modelling for the Environmental Sciences: Statistical Methods and Applications. Oxford University Press, New York, NY.
(The later is missing the number-of-pages, and the roman numerals)
Thanks,
Rob
http://forums.zotero.org/discussion/21361/style-request-northeastern-naturalist/
... so, apparently this is not possible. I'd add my voice to the calls for the inclusion of number-of-pages in the book-section type.
If we had a # of pages field for book sections in Zotero, this could be done (CSL can do this w/o any problems), the problem is that I don't see how we can communicate to users what that field is for. The item refers to the book section, so intuitively # of Pages would refer to the chapter, not the whole book.
So this might have to wait until we get hierarchical item types, where a chapter item can be declared as part of a book item - depends on how Dan & others feel about the issue.
Yes, absolutely put an imperfect style (especially with such a minor imperfection) up. You should make a note in the style - like
Thanks to all for contributing to Zotero,
Rob
and http://img850.imageshack.us/img850/4961/zoteroui.png
In the meantime, as a (bad) workaround, I save the number of pages in the "# of Volumes" field.
Here is my work around (for the Journal of Ceteacean Research and Management, which includes the book pages as 123pp.): I used the "extra" field (referred to as the "note" in the .csl engine). This seems to be always blank in my references, so up for grabs. Here is my csl macro (which could be tinkered to use "# of volumes" as Gracile suggests:
<macro name="bookpages">
<group>
<choose>
<if type="chapter" match="any">
<choose>
<if variable="note">
<text variable="note" suffix="pp."/>
</if>
</choose>
</if>
</choose>
</group>
</macro>
To use this, you copy and paste the above anywhere near the top of the csl (avoiding inserting within another macro definition). Then call the macro at its appropriate position within the bibliography and layout containers (myself, I put it at the end towards the "access" reference)
<bibliography hanging-indent="true" et-al-min="20" et-al-use-first="20" entry-spacing="0">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout suffix="">
...
<text macro="bookpages" suffix=" "/>
</layout>
</bibliography>
Of course the bookpages needs to be stored in the "extra" field in zotero.
HTH,
Rob
@Rob
yeah, that's the way to go for a workaround. I'd ask you to submit a style to repository without this, though:
In general I don't feel good about having hacks like this (no offense - you use a hack bc. that's the only thing available) in public styles, but more importantly, the styles aren't just used by Zotero and we don't know what other products store in the field the map to "note".
Rob
Number of pages: 645
This will get picked up when generating references for the styles that ask for it.
I'd like to see #pages for both the "Book" and "Book Section" types too.
PS - When switching from type "Book Section" to "Book" the book pages should get copied, and the "Book Section" pages lost. (unlike the current title problem...)