alphabetical order et al.

Hi all

I am trying to modify the existing Nature file, but I am having (of course!) some trouble.
First I would like to sort the bibliography by alphabetical order so I simply added these code lines

<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>

but when I refresh the bibliography using the Zotero command in my Word document, nothing happens.

Second I would like that citations in the text appear in brackets and with the same size of the main text (not as exponent), what should I do?
I paste here the code, hoping someone can help me

Thanks a lot
Rachele


<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>Nature modified</title>
<id>http://www.zotero.org/styles/nature-modified</id>;
<link href="http://www.zotero.org/styles/nature-modified" rel="self"/>
<link href="http://www.nature.com/nature/authors/gta/index.html#a5.4" rel="documentation"/>
<author>
<name>Michael Berkowitz</name>
<email>mberkowi@gmu.edu</email>
</author>
<category field="science"/>
<category field="generic-base"/>
<category citation-format="numeric"/>
<issn>0028-0836</issn>
<issn>1476-4687</issn>
<updated>2012-04-03T13:46:03+00:00</updated>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>;
</info>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name sort-separator=", " delimiter=", " and="text" initialize-with=". " delimiter-precedes-last="never" name-as-sort-order="all"/>
<et-al font-style="italic"/>
</names>
</macro>
<macro name="access">
<choose>
<if variable="volume"/>
<else-if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</else-if>
<else-if variable="URL">
<text term="at"/>
<text variable="URL" prefix=" <" suffix=">"/>
</else-if>
</choose>
</macro>
<macro name="issuance">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group prefix=" (" suffix=").">
<text variable="publisher" suffix=": "/>
<text variable="publisher-place" suffix=", "/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else>
<date prefix=" (" suffix=")." variable="issued">
<date-part name="year"/>
</date>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout vertical-align="sup" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="6" et-al-use-first="1" second-field-align="flush" entry-spacing="0">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout>
<text variable="citation-number" suffix="."/>
<text macro="author"/>
<text macro="title" prefix=" " suffix=". "/>
<text variable="container-title" font-style="italic" suffix=" " form="short"/>
<text variable="volume" suffix=", " font-weight="bold"/>
<text variable="page"/>
<text macro="issuance"/>
<text macro="access"/>
</layout>
</bibliography>
</style>
  • edited August 17, 2012
    For the first issue, try switching to a different style and back. Your code should work.

    For the brackets and not superscript, take this
    <layout vertical-align="sup" delimiter=",">
    <text variable="citation-number"/>
    </layout>

    and change to
    <layout delimiter="," prefix="[" suffix="]">
    <text variable="citation-number"/>
    </layout>
  • Hi

    for the first issue, finally it works
    However, I did what you also suggest for the second issue, but it still does not work, the citations are in brackets but still as superscript...

    Thanks a lot
    Rachele
  • sometimes the superscript sticks around - the style is correct (try it in a new document).
    What usually works to fix this is to switch to a note-based style like Chicago Manual of Style (full note) and back.
  • how cool, it works! ;)
    thanks a lot...

    rachele
  • is this for a specific journal - can we upload it to the repository?
  • no, for the moment it was actually a test, but I will probably better modify it and in that case I will post the message to upload it to the repository

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.