style for Oecologia

I have created a style for Oecologia but I need some feedback on it. However, I don't understand how I should upload it. I have created a SVN/trac account
  • What operating system are you using? Using a front-end for SVN (like TortoiseSVN for Windows, http://tortoisesvn.tigris.org/) makes it a lot easier to access and commit to the SVN repository.
  • Thank you I installed TortoiseSVN and openened and found

    https://www.zotero.org/svn/extension/trunk/styles

    I tried to copy my csl file to that location and I was prompted for my userid and password but I got "403 Forbidden"
  • That isn't the correct URL. You should use https://www.zotero.org/svn/csl/ (this is mentioned on the Zotero style repository page).
  • Thank I didn't manage though.

    I get "Please use Unix newlines for CSL files"

    What should I do?
  • I've been using chrome://zotero/content/tools/csledit.xul and then copied it to notepad (winXP)
  • edited November 5, 2008
    Try WordPad.
  • Hm no luck there either. I think I'll give up
  • edited November 5, 2008
    The free text editor jEdit offers a way to change the type of line separators used (and offers some nice support for XML markup):

    http://www.jedit.org/
    http://www.jedit.org/users-guide/line-separators.html
  • Perfect, it worked with jedit.

    I have now uploaded a style for Oecologia http://www.zotero.org/styles

    However, there are some things that I haven't been able tofix

    1) There should not be a comma between author(s) and year in the in-text-citations

    2) It should use Journal Abbr. for articles

    3) In chapters of books the editor names should be in the same format as author names are

    http://www.springer.com/life+sci/ecology/journal/442?detailsPage=contentItemPage&CIPageCounter=104122
  • edited November 5, 2008
    For 1: change 'delimiter=", "' to 'delimiter=" "', which can be found here:
    <citation>
    ...
    <layout prefix="(" suffix=")" delimiter="; ">
    <group delimiter=", ">
    ...
    </group>
    </layout>
    </citation>

    For 2: in the bibliography section, change <text variable="container-title" /> into <text variable="container-title" form="short"/>

    For 3: try replacing the following code in the bibliography section
    <names variable="editor translator" prefix=" " suffix="" delimiter=", ">
    <name sort-separator=", " initialize-with=""/>
    <label form="short" prefix=" (" suffix=")"/>
    </names>
    with
    <names variable="editor translator">
    <name name-as-sort-order="all" sort-separator=" " initialize-with=""
    delimiter=", " delimiter-precedes-last="always"/>
    <label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
    </names>
    (copied from the author macro)
  • Thank you.

    However, I don't want periods in the journal abbreviations

    for instance Basic and Applied Ecology should abbreviate as Basic Appl Ecol and not Basic Appl. Ecol.

    as it is now it only use what is written in my database. This is no good cause some journals want periods and other don't.
  • It seems like this (periods after titles is a special
    case, but the more general issue of journal abbreviations
    seems to apply here) is a bit of a can of worms at this
    point ... ?

    http://forums.zotero.org/discussion/4330/
    http://forums.zotero.org/discussion/3877/
    http://forums.zotero.org/discussion/3211/
    http://forums.zotero.org/discussion/3139/
    http://forums.zotero.org/discussion/2045/
  • So there is actually no way to change the style to use periods or no periods?

    This need to be fixed
  • Can someone please fix the sorting of the bibliography in the oecologia style like this:

    1) Sort by author (last name of first author).
    2) Within each author's listings:
    ...A) First list the solo papers by date.
    ...B) Next list the two-authored papers by the last name of the second author.
    ...C) Last list all the multiple (n > 2) authored papers by year. (They are silent as to how to order same-year multiple-authored papers by the same first author).
  • thanks - it'll take some time until I get to this.
  • Try the new version from the style repository (this sorting behavior is the same as for the American Geophysical Union style).
  • Thanks it works fine
Sign In or Register to comment.