period after a software name
Hello,
I am finishing to edit a new style. When I try to insert a software in my bibliography section, a period is lacking between the software's name and its references, altough the period is present for the papers, eg:
Rasband W (2009) ImageJ U. S. National Institutes of Health, Bethesda, Maryland, USA, http://rsb.info.nih.gov/ij/
Savaldi-Goldstein S, Peto C, Chory J (2007) The epidermis both drives and restricts plant shoot growth. Nature 446: 199-202
instead of
Rasband W (2009) ImageJ. U. S. National Institutes of Health, Bethesda, Maryland, USA, http://rsb.info.nih.gov/ij/
Savaldi-Goldstein S, Peto C, Chory J (2007) The epidermis both drives and restricts plant shoot growth. Nature 446: 199-202
My bibliography code is
<bibliography>
<option name="hanging-indent" value="true"/>
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout>
<text macro="author" font-weight="bold"/>
<date variable="issued" prefix=" (" suffix=")">
<date-part name="year"/>
</date>
<choose>
<if type="book">
<group prefix=" ">
<text macro="title"/>
<text macro="edition" prefix=", "/>
<text macro="publisher" prefix=" "/>
</group>
</if>
<else-if type="chapter">
<group class="container" prefix=" " delimiter=" ">
<text macro="title" suffix="."/>
<text term="in" text-case="capitalize-first"/>
<group>
<text macro="editor"/>
<text variable="container-title" prefix=" " suffix="."/>
<text macro="edition" prefix=", "/>
</group>
</group>
<group>
<text macro="publisher" prefix=" "/>
<group prefix=", ">
<label variable="page" suffix="p " form="short"/>
<text variable="page"/>
</group>
</group>
</else-if>
<else>
<text macro="title" prefix=" " suffix="."/>
<group class="container" delimiter=": " prefix=" ">
<group delimiter=" ">
<text variable="container-title" form="short" />
<text variable="volume" font-weight="bold"/>
</group>
<text variable="page"/>
</group>
</else>
</choose>
<text macro="url"/>
</layout>
</bibliography>
Could someone help? Thanks by advance
I am finishing to edit a new style. When I try to insert a software in my bibliography section, a period is lacking between the software's name and its references, altough the period is present for the papers, eg:
Rasband W (2009) ImageJ U. S. National Institutes of Health, Bethesda, Maryland, USA, http://rsb.info.nih.gov/ij/
Savaldi-Goldstein S, Peto C, Chory J (2007) The epidermis both drives and restricts plant shoot growth. Nature 446: 199-202
instead of
Rasband W (2009) ImageJ. U. S. National Institutes of Health, Bethesda, Maryland, USA, http://rsb.info.nih.gov/ij/
Savaldi-Goldstein S, Peto C, Chory J (2007) The epidermis both drives and restricts plant shoot growth. Nature 446: 199-202
My bibliography code is
<bibliography>
<option name="hanging-indent" value="true"/>
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout>
<text macro="author" font-weight="bold"/>
<date variable="issued" prefix=" (" suffix=")">
<date-part name="year"/>
</date>
<choose>
<if type="book">
<group prefix=" ">
<text macro="title"/>
<text macro="edition" prefix=", "/>
<text macro="publisher" prefix=" "/>
</group>
</if>
<else-if type="chapter">
<group class="container" prefix=" " delimiter=" ">
<text macro="title" suffix="."/>
<text term="in" text-case="capitalize-first"/>
<group>
<text macro="editor"/>
<text variable="container-title" prefix=" " suffix="."/>
<text macro="edition" prefix=", "/>
</group>
</group>
<group>
<text macro="publisher" prefix=" "/>
<group prefix=", ">
<label variable="page" suffix="p " form="short"/>
<text variable="page"/>
</group>
</group>
</else-if>
<else>
<text macro="title" prefix=" " suffix="."/>
<group class="container" delimiter=": " prefix=" ">
<group delimiter=" ">
<text variable="container-title" form="short" />
<text variable="volume" font-weight="bold"/>
</group>
<text variable="page"/>
</group>
</else>
</choose>
<text macro="url"/>
</layout>
</bibliography>
Could someone help? Thanks by advance
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
If you need this differently for programs and books you might be able to 'hack' something by testing for a variable that's used in computer program but not in book (type maybe).
I don't know what the plans are for this in the future, but there are two big question marks after the mapping in the Zotero csl implementation code:
chrome://zotero/content/xpcom/csl.js
indeed, it sounds oddly to merge programs with books. Fortunately the period is also required for books!