[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
  • Use <key macro="authorcount" names-min="3" names-use-first="3"/>.
  • thanks it worked !

    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...
  • that's not possible at this point. It also seems to be a very limited feature, so adding it to Zotero would likely be overkill.
    Just search and replace in the bibliography before you sent the article to the journal.
  • yes, that's what I thought. I was just checking I didn't miss something.

    if you want to update the style for everyone, I have pasted the code here :
    https://gist.github.com/933840

    Thanks
  • thank you - it's bookmarked, will get to this soon-ish
  • ok, it's up - thanks again.
    (btw - when you edit styles, remove the (dev) after the style name - the Zotero repository adds that automatically)
  • I noticed that the style did not validate.
    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.
  • it's up on the csl 1.0 repository here:
    https://github.com/citation-style-language/styles
  • I have corrected some minor bugs.
    The code is here:
    https://gist.github.com/1035963

    thank you for the upload
  • up - thanks!
  • I am sorry I uploaded the wrong file,
    could you upload this one instead:
    https://gist.github.com/1039766

    many thanks
Sign In or Register to comment.