Style Request: [Fortschr Röntgenstr]
Hi there!
I have a big problem: i submitted a paper created with word2004(mac) and zotero 2.1.1. I used a style i created myself. the style didn't validate however IT WORKED. Now my paper is accepted with revisions, and zotero 3 does no longer accept my style. i have no more than 3 weeks...
My problem is that i didn't resolve all problems in my style... is there anyone how knows what he does when editing a .csl?
Here is what i used so far:
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
<!--TODO:
1) check for empty issue/volume (even though this is quite inprobable
2) CSL should have low numeric be text (e.g. '3'->'third')
-->
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" default-locale="en-EN">
<info>
<title>Fortschr Röntgenstr(dev)</title>
<id>http://www.zotero.org/styles/elsevier-radiological</id>
<link href="http://www.zotero.org/styles/elsevier-radiological"/>
<author>
<name>Philipp Weisser, M.D.</name>
<uri>http://www.zotero.org/phweisser</uri>
</author>
<category field="radiology"/>
<updated>2011-05-02T22:00:00+01:00</updated>
<category term="generic-base"/>
<category term="numeric"/>
<summary>roefo beta</summary>
<link href="http://www.zotero.org/styles/XXXXXXXXXXXXX" rel="template"/>
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License: http://creativecommons.org/licenses/by-sa/3.0/us/</rights>
</info>
<macro name="author">
<names variable="author">
<name/>
<et-al term="and others" font-style="italic"/>
<name initialize-with="" sort-separator=" " delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all" font-style="italic"/>
<label form="short" prefix=", " text-case="lowercase" suffix="."/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name initialize-with="" sort-separator=" " delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all"/>
<label form="short" prefix=" (" text-case="capitalize-first" suffix=".)"/>
</names>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date"/>
</else>
</choose>
</macro>
<macro name="publisher">
<text variable="publisher-place" suffix=", "/>
<text variable="publisher" suffix=", "/>
<text macro="year-date"/>
</macro>
<macro name="edition">
<!--TODO: CSL should have low numeric be text (e.g. '3'->'third')-->
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="."/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<citation>
<option name="collapse" value="citation-number"/>
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=", ">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography>
<option name="entry-spacing" value="0"/>
<option name="second-field-align" value="0"/>
<option name="et-al-min" value="4"/>
<option name="et-al-use-first" value="3"/>
<layout suffix="">
<text variable="citation-number" prefix=" " suffix=" "/>
<text macro="author" prefix=" " suffix=". "/>
<choose>
<if type="book">
<group delimiter=", ">
<text variable="title"/>
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter">
<text variable="title" suffix=", "/>
<text term="in" text-case="uppercase" suffix=": "/>
<text macro="editor" suffix=", "/>
<text variable="container-title" form="short" text-case="title" suffix=", "/>
<text macro="edition" suffix=", "/>
<text macro="publisher"/>
<group delimiter=" ">
<label variable="page" form="short" prefix=": " suffix="."/>
<text variable="page"/>
</group>
</else-if>
<else-if type="patent">
<group delimiter=", ">
<text macro="year-date"/>
<text variable="title"/>
<text variable="number" prefix="U.S. Patent "/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=", ">
<text macro="year-date"/>
<text variable="title"/>
<text variable="genre"/>
<text variable="publisher"/>
</group>
</else-if>
<else>
<group delimiter="">
<text variable="title" suffix=". "/>
<text variable="container-title" form="short" text-case="title" suffix=" "/>
<text macro="year-date" prefix="" suffix="; "/>
<text variable="volume" suffix=":"/>
<text variable="page" form="short" prefix=" " />
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
I have a big problem: i submitted a paper created with word2004(mac) and zotero 2.1.1. I used a style i created myself. the style didn't validate however IT WORKED. Now my paper is accepted with revisions, and zotero 3 does no longer accept my style. i have no more than 3 weeks...
My problem is that i didn't resolve all problems in my style... is there anyone how knows what he does when editing a .csl?
Here is what i used so far:
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
<!--TODO:
1) check for empty issue/volume (even though this is quite inprobable
2) CSL should have low numeric be text (e.g. '3'->'third')
-->
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" default-locale="en-EN">
<info>
<title>Fortschr Röntgenstr(dev)</title>
<id>http://www.zotero.org/styles/elsevier-radiological</id>
<link href="http://www.zotero.org/styles/elsevier-radiological"/>
<author>
<name>Philipp Weisser, M.D.</name>
<uri>http://www.zotero.org/phweisser</uri>
</author>
<category field="radiology"/>
<updated>2011-05-02T22:00:00+01:00</updated>
<category term="generic-base"/>
<category term="numeric"/>
<summary>roefo beta</summary>
<link href="http://www.zotero.org/styles/XXXXXXXXXXXXX" rel="template"/>
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License: http://creativecommons.org/licenses/by-sa/3.0/us/</rights>
</info>
<macro name="author">
<names variable="author">
<name/>
<et-al term="and others" font-style="italic"/>
<name initialize-with="" sort-separator=" " delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all" font-style="italic"/>
<label form="short" prefix=", " text-case="lowercase" suffix="."/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name initialize-with="" sort-separator=" " delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all"/>
<label form="short" prefix=" (" text-case="capitalize-first" suffix=".)"/>
</names>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date"/>
</else>
</choose>
</macro>
<macro name="publisher">
<text variable="publisher-place" suffix=", "/>
<text variable="publisher" suffix=", "/>
<text macro="year-date"/>
</macro>
<macro name="edition">
<!--TODO: CSL should have low numeric be text (e.g. '3'->'third')-->
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="."/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<citation>
<option name="collapse" value="citation-number"/>
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=", ">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography>
<option name="entry-spacing" value="0"/>
<option name="second-field-align" value="0"/>
<option name="et-al-min" value="4"/>
<option name="et-al-use-first" value="3"/>
<layout suffix="">
<text variable="citation-number" prefix=" " suffix=" "/>
<text macro="author" prefix=" " suffix=". "/>
<choose>
<if type="book">
<group delimiter=", ">
<text variable="title"/>
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter">
<text variable="title" suffix=", "/>
<text term="in" text-case="uppercase" suffix=": "/>
<text macro="editor" suffix=", "/>
<text variable="container-title" form="short" text-case="title" suffix=", "/>
<text macro="edition" suffix=", "/>
<text macro="publisher"/>
<group delimiter=" ">
<label variable="page" form="short" prefix=": " suffix="."/>
<text variable="page"/>
</group>
</else-if>
<else-if type="patent">
<group delimiter=", ">
<text macro="year-date"/>
<text variable="title"/>
<text variable="number" prefix="U.S. Patent "/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=", ">
<text macro="year-date"/>
<text variable="title"/>
<text variable="genre"/>
<text variable="publisher"/>
</group>
</else-if>
<else>
<group delimiter="">
<text variable="title" suffix=". "/>
<text variable="container-title" form="short" text-case="title" suffix=" "/>
<text macro="year-date" prefix="" suffix="; "/>
<text variable="volume" suffix=":"/>
<text variable="page" form="short" prefix=" " />
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
https://gist.github.com/1902003
(download using the Raw link on the top right of the style)
revisions are almost done...
RöFo
http://roefo.thieme.de/uber-die-rofo1
<else-if type="patent">
<text macro="title" suffix=", "/>
<text variable="publisher-place" suffix=" patent" />
<text variable="number" prefix=", "/>
<text macro="issued" prefix=", "/>
<text variable="URL" prefix=", "/>
</else-if>