[style error] Oikos
Hi,
I am using Zotero 2.1.6 (with CSL 1.0).
I would like to correct some mistakes in the style Oikos, in particular the bibliography is not sorted as requested by the journal.
(guidelines: http://www.wiley.com.gate1.inist.fr/bw/submit.asp?ref=0030-1299&site=1)
"
The reference list should be arranged alphabetically on authors' names and chronologically per author.
If the author's name is also mentioned with co-authors, the following order should be used: publications of the single author, arranged chronologically - publications of the same author with one co-author, arranged chronologically - publications of the author with more than one co-author, arranged chronologically.
"
I need to count the number of author and to constraint the count to 3.
I can make a new macro that counts the number of authors
<macro name="authorcount">
<names variable="author">
<name form="count"/>
</names>
</macro>
and then sort the bibliography :
<sort>
<key macro="author" names-min="1" names-use-first="1"/>
<key macro="authorcount"/>
<key variable="issued"/>
</sort>
However I do not know how to constrain the author-count to max of 3.
Do you have any suggestion ?
Thank you
I am using Zotero 2.1.6 (with CSL 1.0).
I would like to correct some mistakes in the style Oikos, in particular the bibliography is not sorted as requested by the journal.
(guidelines: http://www.wiley.com.gate1.inist.fr/bw/submit.asp?ref=0030-1299&site=1)
"
The reference list should be arranged alphabetically on authors' names and chronologically per author.
If the author's name is also mentioned with co-authors, the following order should be used: publications of the single author, arranged chronologically - publications of the same author with one co-author, arranged chronologically - publications of the author with more than one co-author, arranged chronologically.
"
I need to count the number of author and to constraint the count to 3.
I can make a new macro that counts the number of authors
<macro name="authorcount">
<names variable="author">
<name form="count"/>
</names>
</macro>
and then sort the bibliography :
<sort>
<key macro="author" names-min="1" names-use-first="1"/>
<key macro="authorcount"/>
<key variable="issued"/>
</sort>
However I do not know how to constrain the author-count to max of 3.
Do you have any suggestion ?
Thank you
I have an other question.
How can I have an abbreviated form of the publisher ?
for example: Cambridge University Press should be Cambridge Univ. Press
in fact all the "University" should be abbreviated to "Univ."
Since there is no field "abbreviated publisher" in zotero I don't know how to do it...
Just search and replace in the bibliography before you sent the article to the journal.
if you want to update the style for everyone, I have pasted the code here :
https://gist.github.com/933840
Thanks
(btw - when you edit styles, remove the (dev) after the style name - the Zotero repository adds that automatically)
I have updated it so now it validates, it is uploaded here:
https://gist.github.com/960796
thanks to update it in the zotero style repository.
https://github.com/citation-style-language/styles
The code is here:
https://gist.github.com/1035963
thank you for the upload
could you upload this one instead:
https://gist.github.com/1039766
many thanks