New ASM style

Hej, hej,

does anybody have the new style of the ASM journals? I would need the style for AEM in particular.

As a complete newby in writing csl stuff, I got as far as this:

2. Alderkamp AC, Sintes E, and Herndl GJ. 2006. Abundance and activity of major groups of prokaryotic plankton in the coastal North Sea during spring and summer. Aquat Microb Ecol 45:237–246.

Now I need to have the number seperated in the beginning and the text lined up. And the "and" before the last name has to be eliminated. Could somebody help me out with commands and lines? This is how the final result should look like:

Shoham Y, Lamed R, Bayer EA. 1999. The cellulosome concept as an
efficient microbial strategy for the degradation of insoluble polysaccharides. Trends Microbiol. 7:275–281.

Thanls in advance
Zwiebel
  • Sorry forgot the number. This is the final result I need:

    27. Shoham Y, Lamed R, Bayer EA. 1999. The cellulosome concept as an
    efficient microbial strategy for the degradation of insoluble
    polysaccharides. Trends Microbiol. 7:275–281.
  • and: somewhere you'll have and="text" as part of a line starting with <name... - delete that, potentially in several places.

    number: if I understand correctly, include second-field-align="flush" in the line starting with <bibliography
    see here: http://citationstyles.org/downloads/specification.html#whitespace
  • Thanks Adam, that was a great help, but still I have no clue in which line to put the second-field-align="flush".

    This is what I see and I tried it in some positions, but it never worked. Would be nice if you could give me another hint.

    <bibliography>
    <option name="hanging-indent" value="false"/>
    <option name="et-al-min" value="5"/>
    <option name="et-al-use-first" value="1"/>
    <sort>
    <key macro="author"/>
    <key variable="title"/>
    </sort>
    <layout suffix=".">
    <text variable="citation-number" suffix=". "/>
    <group delimiter=" ">
    <text macro="author" suffix="."/>
    <text macro="year-date" prefix="" suffix="."/>
    </group>
    <choose>
    <if type="article-newspaper article-magazine" match="any">
    <group delimiter=" ">
    <text macro="title" prefix=" " suffix="."/>
    </group>
    <group prefix=" " delimiter=", ">
    <text variable="container-title"/>
    <text macro="day-month"/>
    <text variable="edition"/>
    </group>
    </if>
    <else-if type="thesis">
    <text macro="title" prefix=" " suffix="."/>
    <group prefix=" " delimiter=", ">
    <text macro="edition" />
    <text macro="editor" suffix="."/>
    <text variable="genre"/>
    <text macro="publisher"/>
    </group>
    </else-if>
    <else-if type="book">
    <group delimiter=" ">
    <text macro="title" prefix=" " suffix="."/>
    <text macro="edition" />
    <text macro="publisher"/>
    </group>
    </else-if>
    <else-if type="chapter">
    <group delimiter=" ">
    <text macro="title" prefix=" " suffix="."/>
    <group class="container" prefix="In:" delimiter=", " suffix=".">
    <text variable="container-title"/>
    <group delimiter=" ">
    <text macro="editor" prefix=" " suffix=" (ed)."/>
    <text variable="collection-title"/>
    <text variable="volume" prefix="Vol. "/>
    <text macro="series-editor"/>
    </group>
    <text macro="publisher" prefix=" "/>
    <text macro="page" prefix=" "/>
    </group>
    </group>
    </else-if>
    <else>
    <group suffix="." >
    <text macro="title" prefix=" " />
    <text macro="editor" prefix=" "/>
    </group>
    <group class="container" prefix=" " suffix="." delimiter=" ">
    <text variable="container-title" form="short"/>
    <group delimiter=":">
    <text variable="volume" font-weight="bold"/>
    <text variable="page"/>
    </group>
    </group>
    </else>
    </choose>
    <text prefix=" " macro="access" suffix="."/>
    </layout>
    </bibliography>
  • You are - for whatever reason - working with an old csl style, dating from before the upgrade to CSL 1.0 (which was part of Zotero 2.1).
    See the upgrade notes here on how to automatically upgrade the style:
    http://citationstyles.org/downloads/upgrade-notes.html#updating-csl-0-8-styles
    Upgrading is strongly recommended. Once you're done with that instead of all the <option name lines, the options are included in the line starting with <bibliography
  • edited March 29, 2012
    Hi Adam,

    I'm using Zotero 3.0.3. and downloaded the style just yesterday, so I don't think it is an old version. It also says

    <?xml version="1.0" encoding="UTF-8"?>

    in the first line. And a conversion using the suggested homepage doesn't work. So I think I have the right template. The only thing is that I found the ISME-Journal style closer to the new AEM style than the old AEM style. Maybe thats why it is looking weird.
  • The Zotero release version is up-to-date but adamsmith was refering to the version of the ISME style you are using as the basis of your work.
  • edited March 29, 2012
    Jep, sorry, was just confused. It is an old version, still the homepage refuses to convert it into new.

    So maybe you could help me with the old one, since putting one line in the above described csl is easier than start again with a new template.

    Or does somebody maybe have a new asm style?
  • I think it's
    <option name="second-field-align" value="true"/>
    (or value="flush" - don't remember). But I'd really recommend you try to do this with the new CSL version - you can download a current version of ISME from the repository and work with that - there are a lot of things that simply aren't possible in CSL 0.8.1 and you'll be stuck with not being able to get them right unless you work with a CSL 1.0 style.
  • edited March 29, 2012
    Hej,

    thanks a lot, the line is exactly what I need.

    Regarding the new stuff. In the future I will definitly use the 1.0 versions.

    Thanks again
    Zwiebel
Sign In or Register to comment.