Updated Chicago variants to new schema

This commit is contained in:
Julian Onions 2007-11-14 22:11:04 +00:00
parent 6e8e5b9a21
commit c32a5d5015
2 changed files with 434 additions and 335 deletions

View file

@ -1,189 +1,275 @@
<?xml version="1.0" encoding="UTF-8"?> <style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en">
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en"> <info>
<info> <title>Chicago Manual of Style (Note with Bibliography)</title>
<title>Chicago Manual of Style (Note with Reference List)</title> <id>http://www.zotero.org/styles/chicago-note-bibliography</id>
<id>http://www.zotero.org/styles/chicago-note-bibliography</id> <link>http://www.zotero.org/styles/chicago-note-bibliography</link>
<author> <source>http://www.chicagomanualofstyle.org/tools_citationguide.html</source>
<name>Simon Kornblith</name> <author>
<email>simon@simonster.com</email> <name>Julian Onions</name>
</author> <email>julian.onions@gmail.com</email>
<updated></updated> </author>
<summary>The note-with-bibliography variant of the Chicago style.</summary> <contributor>
</info> <name>Simon Kornblith</name>
<defaults> <email>simon@simonster.com</email>
<contributor name-as-sort-order="no"> </contributor>
<label form="verb" suffix=" "/> <summary>Chicago format with short notes and full bibliography</summary>
<name and="text" delimiter=", "/> <category term="generic-base"/>
</contributor> <updated/>
<author name-as-sort-order="first"> </info>
<name and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/> <macro name="editor-translator">
<label form="short" prefix=", " suffix="."/> <names variable="editor translator" prefix="" suffix="" delimiter=", ">
<substitute> <label form="verb" prefix=" " text-transform="lowercase" suffix=" "/>
<choose> <name and="text" delimiter=", "/>
<editor/> </names>
<translator/> </macro>
<titles relation="container" font-style="italic"/> <macro name="editor-translator-short">
<titles/> <choose>
</choose> <if variable="author">
</substitute> <names variable="editor translator" prefix="" suffix="" delimiter=", ">
</author> <label form="short" prefix=" " text-transform="lowercase" suffix=". "/>
<locator> <name and="text" delimiter=", "/>
<number/> </names>
</locator> </if>
<identifier> </choose>
<number/> </macro>
</identifier> <macro name="author">
<titles> <names variable="author">
<title/> <name name-as-sort-order="first" and="text" sort-separator=", "
</titles> delimiter=", " delimiter-precedes-last="always"/>
<date> <label form="short" prefix=", " suffix="."/>
<month suffix=" " text-transform="capitalize"/> <substitute>
<day suffix=", "/> <names variable="editor"/>
<year/> <names variable="translator"/>
</date> <text macro="title"/>
<access> </substitute>
<url/> </names>
<date prefix=" (" suffix=")"> </macro>
<text term-name="accessed" suffix=" "/> <macro name="author-full">
<month suffix=" " text-transform="capitalize"/> <names variable="author">
<day suffix=", "/> <name name-as-sort-order="all" and="text" sort-separator=", "
<year/> delimiter=", " delimiter-precedes-last="always"/>
</date> <label form="short" prefix=", " suffix="."/>
</access> <substitute>
</defaults> <names variable="editor"/>
<citation suffix="." delimiter="; "> <names variable="translator"/>
<et-al min-authors="3" use-first="1"/> <text macro="title"/>
<layout> </substitute>
<item suffix="."> </names>
<group delimiter=", "> </macro>
<author form="short"> <macro name="author-short">
<name and="text" sort-separator=", " delimiter=", "/> <names variable="author">
</author> <name form="short" and="text" delimiter=", " />
<conditional> <label form="short" prefix=", " suffix="."/>
<if type="book"> <substitute>
<titles font-style="italic" form="short"/> <names variable="editor"/>
</if><else> <names variable="translator"/>
<titles quotes="true" form="short"/> <choose>
</else> <if type="book">
</conditional> <text variable="title" form="short" font-style="italic"/>
<pages/> </if>
</group> <else>
</item> <text variable="title" form="short" quotes="true"/>
<item suffix="." position="subsequent" ibid="true"> </else>
<group delimiter=", "> </choose>
<author form="short"> </substitute>
<name and="text" sort-separator=", " delimiter=", "/> </names>
</author> </macro>
<conditional> <macro name="access">
<if type="book"> <group>
<titles font-style="italic" form="short"/> <text variable="URL"/>
</if><else> <group prefix=" (" suffix=")" delimiter=" ">
<titles quotes="true" form="short"/> <text term="accessed" text-transform="lowercase" suffix=" "/>
</else> <date variable="accessed" suffix=", ">
</conditional> <date-part name="month" suffix=" "/>
<pages/> <date-part name="day" suffix=", "/>
</group> <date-part name="year"/>
</item> </date>
</layout> </group>
</citation> </group>
<bibliography hanging-indent="true" subsequent-author-substitute="&#8212;&#8212;&#8212;"> </macro>
<sort> <macro name="title">
<author name-as-sort-order="all"/> <choose>
<titles/> <if type="thesis">
</sort> <text variable="title" form="short" quotes="true"/>
<et-al min-authors="6" use-first="6"/> </if>
<layout> <else-if type="book">
<list> <text variable="title" form="short" font-style="italic"/>
<heading> </else-if>
<text term-name="works cited"/> <else>
</heading> <text variable="title" form="short" quotes="true"/>
</list> </else>
<item suffix="."> </choose>
<choose> </macro>
<type name="book"> <macro name="publisher">
<author suffix="."/> <group delimiter=": ">
<titles prefix=" " suffix="." font-style="italic"/> <text variable="publisher-place"/>
<group prefix=" " suffix="." delimiter=", " text-transform="capitalize"> <text variable="publisher"/>
<editor/> </group>
<translator/> </macro>
</group> <citation>
<group prefix=" " suffix="." delimiter=", " text-transform="capitalize"> <option name="et-al-min" value="4"/>
<group delimiter=": "> <option name="et-al-use-first" value="1"/>
<publisher><place/></publisher> <option name="et-al-subsequent-min" value="4"/>
<publisher><name/></publisher> <option name="et-al-subsequent-use-first" value="1"/>
</group> <option name="disambiguate-add-year-suffix" value="true"/>
<conditional> <option name="disambiguate-add-names" value="true"/>
<if field="date"> <option name="disambiguate-add-givenname" value="true"/>
<date><year/></date> <layout prefix="" suffix="." delimiter="; ">
</if><else> <group suffix="">
<text term-name="no date"/> <text macro="author-short" suffix=", "/>
</else> <text macro="title" prefix=""/>
</conditional> <choose>
</group> <if type="thesis">
<access prefix=" "/> <group prefix=" (" delimiter=", " suffix=")">
</type> <text variable="genre"/>
<type name="chapter"> </group>
<author suffix="."/> </if>
<titles prefix=" " suffix="." quotes="true"/> <else-if type="chapter book" match="any">
<group class="container" suffix="."> <group class="container" prefix=". ">
<text prefix=" " term-name="in" text-transform="capitalize"/> <text term="in" text-transform="lowercase"/>
<titles prefix=" " relation="container" font-style="italic"/> <text variable="container-title" font-style="italic" prefix=" " suffix=","/>
<editor prefix=", "/> <text variable="collection-title" prefix=" " suffix=","/>
<translator prefix=", "/> </group>
<pages prefix=", "/> <text macro="editor-translator-short"/>
<group prefix=". " delimiter=", "> </else-if>
<group delimiter=": "> <else-if type="article-journal">
<publisher><place/></publisher> <group class="container" prefix=" ">
<publisher><name/></publisher> <text variable="container-title" font-style="italic" prefix=" "/>
</group> <text macro="publisher"/>
<conditional> <text variable="volume" prefix=" "/>
<if field="date"> <text variable="issue" prefix=", no. "/>
<date><year/></date> <date variable="issued" prefix=" (" suffix=")">
</if><else> <date-part name="year"/>
<text term-name="no date"/> </date>
</else> <text variable="page" prefix=": "/>
</conditional> </group>
</group> </else-if>
</group> <else>
<access prefix=" "/> <group delimiter=", " prefix=". ">
</type> <text variable="container-title" font-style="italic"/>
<type name="article"> <text variable="issue" prefix=", " suffix="."/>
<author suffix="."/> </group>
<titles prefix=" " quotes="true"/> </else>
<group prefix=" " suffix="." delimiter=", " text-transform="capitalize"> </choose>
<editor/> <text variable="locator" prefix=", "/>
<translator/> </group>
</group> </layout>
<group class="container" prefix=" " suffix="." delimiter=", "> </citation>
<titles prefix=" " relation="container" font-style="italic"/> <bibliography>
<date/> <option name="hanging-indent" value="true"/>
</group> <option name="et-al-min" value="6"/>
<access prefix=" "/> <option name="et-al-use-first" value="6"/>
</type> <option name="subsequent-author-substitute" value="---"/>
<type name="article-journal"> <layout suffix=".">
<author suffix="."/> <text macro="author" suffix="."/>
<titles prefix=" " suffix="." quotes="true"/> <choose>
<group prefix=" " suffix="." delimiter=", " text-transform="capitalize"> <if type="thesis">
<editor/> <group suffix=".">
<translator/> <text macro="title" prefix=" "/>
</group> </group>
<group class="container" prefix=" " suffix="."> <group delimiter=", " prefix=" ">
<titles relation="container" font-style="italic"/> <text variable="genre"/>
<volume prefix=" "/> <text variable="publisher"/>
<issue prefix=", no. "/> <date variable="issued">
<conditional> <date-part name="year"/>
<if field="date"> </date>
<date prefix=" (" suffix=")"/> </group>
<pages prefix=": "/> </if>
</if><else> <else-if type="chapter">
<pages prefix=":"/> <text macro="title" prefix=" "/>
</else> <group class="container" prefix=". ">
</conditional> <text term="in" text-transform="capitalize"/>
</group> <text variable="container-title" font-style="italic" prefix=" " suffix=","/>
<access prefix=" "/> <text variable="collection-title" prefix=" " suffix=","/>
</type> <names variable="editor translator" prefix=" " suffix="," delimiter=", ">
</choose> <label form="verb" text-transform="lowercase" suffix=" "/>
</item> <name and="text" sort-separator=", " />
</layout> </names>
</bibliography> <group suffix=".">
<text variable="page" prefix=" "/>
</group>
<group>
<text macro="publisher" prefix=" "/>
<date variable="issued" prefix=", ">
<date-part name="year"/>
</date>
</group>
</group>
</else-if>
<else-if type="article-journal">
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor-translator" prefix=" "/>
</group>
<group class="container" prefix=" " suffix="">
<text variable="container-title" font-style="italic" prefix=" "/>
<text variable="volume" prefix=" "/>
<text variable="issue" prefix=", no. "/>
<date variable="issued" prefix=" (" suffix=")">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
<text variable="page" prefix=": "/>
</group>
</else-if>
<else-if type="article-newspaper article-magazine" match="any">
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor-translator" prefix=" "/>
</group>
<group delimiter=", " prefix=" ">
<text variable="container-title" font-style="italic"/>
<text variable="issue" suffix="."/>
<date variable="issued">
<date-part name="month" form="long"/>
<date-part name="day" form="numeric" prefix=" " suffix=", "/>
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="paper-conference">
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor-translator" prefix=" "/>
</group>
<group suffix="">
<text value="paper presented at" text-transform="capitalize"/>
<text variable="event" prefix=" "/>
<text variable="event-place" prefix=", "/>
<date variable="event">
<date-part name="month" form="long"/>
<date-part name="day" form="numeric" prefix=" " suffix=", "/>
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="book">
<group suffix=".">
<text macro="title" prefix=" " suffix="."/>
<text macro="editor-translator" prefix=""/>
</group>
<text prefix=" " suffix="," macro="publisher"/>
<date variable="issued" prefix=" " suffix="">
<date-part name="year"/>
</date>
</else-if>
<else>
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor-translator" prefix=" "/>
</group>
<group class="container" prefix=" " suffix="">
<text variable="container-title" font-style="italic"/>
<group prefix=", ">
<text variable="volume" font-style="italic"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page" prefix=", "/>
</group>
</else>
</choose>
<text prefix=" " macro="access"/>
</layout>
</bibliography>
</style> </style>

View file

@ -1,160 +1,173 @@
<?xml version="1.0" encoding="UTF-8"?> <style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en">
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en">
<info> <info>
<title>Chicago Manual of Style (Note without Reference List)</title> <title>Chicago Manual of Style (Note without Bibliography)</title>
<id>http://www.zotero.org/styles/chicago-note</id> <id>http://www.zotero.org/styles/chicago-note</id>
<link>http://www.zotero.org/styles/chicago-note</link>
<source>http://www.chicagomanualofstyle.org/tools_citationguide.html</source>
<author> <author>
<name>Bruce DArcus</name> <name>Julian Onions</name>
<email>bdarcus@sourceforge.net</email> <email>julian.onions@gmail.com</email>
</author> </author>
<contributor> <contributor>
<name>Simon Kornblith</name> <name>Simon Kornblith</name>
<email>simon@simonster.com</email> <email>simon@simonster.com</email>
</contributor> </contributor>
<contributor> <summary>Chicago format with full notes and no bibliography</summary>
<name>Johan Kool</name> <category term="generic-base"/>
<email>johankool@users.sourceforge.net</email> <updated/>
</contributor>
<updated></updated>
<summary>The note-without-bibliography variant of the Chicago style.</summary>
</info> </info>
<defaults> <macro name="editor-translator">
<contributor> <names variable="editor translator" prefix="" suffix="" delimiter=", ">
<label form="short" suffix=". " text-transform="lowercase"/> <label form="verb" prefix=" " text-transform="lowercase" suffix=" "/>
<name and="text" delimiter=", "/> <name and="text" delimiter=", "/>
</contributor> </names>
<author> </macro>
<name and="text" delimiter=", "/> <macro name="editor-translator-short">
<label form="short" prefix=", " suffix="." text-transform="lowercase"/> <choose>
<if variable="author">
<names variable="editor translator" prefix="" suffix="" delimiter=", ">
<label form="short" prefix=" " text-transform="lowercase" suffix=". "/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="first" and="text" sort-separator=", "
delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=", " suffix="."/>
<substitute> <substitute>
<choose> <names variable="editor"/>
<editor/> <names variable="translator"/>
<translator/> <text macro="title"/>
</choose>
</substitute> </substitute>
</author> </names>
<locator> </macro>
<number/> <macro name="author-full">
</locator> <names variable="author">
<titles> <name name-as-sort-order="all" and="text" sort-separator=", "
<title/> delimiter=", " delimiter-precedes-last="always"/>
</titles> <label form="short" prefix=", " suffix="."/>
<date> <substitute>
<month suffix=" " text-transform="capitalize"/> <names variable="editor"/>
<day suffix=", "/> <names variable="translator"/>
<year/> <text macro="title"/>
</date> </substitute>
<access> </names>
<url/> </macro>
<date prefix=" (" suffix=")"> <macro name="author-short">
<text term-name="accessed" suffix=" "/> <names variable="author">
<month suffix=" " text-transform="capitalize"/> <name form="long" and="text" delimiter=", " />
<day suffix=", "/> <label form="short" prefix=", " suffix="."/>
<year/> <substitute>
</date> <names variable="editor"/>
</access> <names variable="translator"/>
</defaults> <choose>
<citation suffix="." delimiter="; "> <if type="book">
<et-al min-authors="4" use-first="1"/> <text variable="title" form="short" font-style="italic"/>
<layout> </if>
<item> <else>
<choose> <text variable="title" form="short" quotes="true"/>
<type name="book"> </else>
<group delimiter=", "> </choose>
<author/> </substitute>
<titles font-style="italic"/> </names>
<editor/> </macro>
<translator/> <macro name="access">
</group> <group>
<group prefix=" (" suffix=")" delimiter=", "> <text variable="URL"/>
<group delimiter=": "> <group prefix=" (" suffix=")" delimiter=" ">
<publisher><place/></publisher> <text term="accessed" text-transform="lowercase" suffix=" "/>
<publisher><name/></publisher> <date variable="accessed" suffix=", ">
</group> <date-part name="month" suffix=" "/>
<conditional> <date-part name="day" suffix=", "/>
<if field="date"> <date-part name="year"/>
<date><year/></date> </date>
</if><else> </group>
<text term-name="no date"/> </group>
</else> </macro>
</conditional> <macro name="title">
</group> <choose>
<locator prefix=", "/> <if type="thesis">
<access prefix=", "/> <text variable="title" form="short" quotes="true"/>
</type> </if>
<type name="chapter"> <else-if type="book">
<group delimiter=", "> <text variable="title" form="short" font-style="italic"/>
<author/> </else-if>
<titles quotes="true"/> <else>
</group> <text variable="title" form="short" quotes="true"/>
<group class="container"> </else>
<text prefix=", " term-name="in" text-transform="lowercase"/> </choose>
<group delimiter=", "> </macro>
<titles relation="container" prefix=" " font-style="italic"/> <macro name="publisher">
<editor/> <group delimiter=": ">
<translator/> <text variable="publisher-place"/>
</group> <text variable="publisher"/>
<group prefix=" (" suffix=")" delimiter=", "> </group>
<group delimiter=": "> </macro>
<publisher><place/></publisher> <citation>
<publisher><name/></publisher> <option name="et-al-min" value="4"/>
</group> <option name="et-al-use-first" value="1"/>
<conditional> <option name="et-al-subsequent-min" value="4"/>
<if field="date"> <option name="et-al-subsequent-use-first" value="1"/>
<date><year/></date> <option name="disambiguate-add-year-suffix" value="true"/>
</if><else> <option name="disambiguate-add-names" value="true"/>
<text term-name="no date"/> <option name="disambiguate-add-givenname" value="true"/>
</else> <layout prefix="" suffix="." delimiter="; ">
</conditional> <group suffix="">
</group> <text macro="author-short" suffix=", "/>
<conditional> <text macro="title" prefix=""/>
<if field="locator"> <choose>
<locator prefix=", "/> <if type="thesis">
</if><else> <group prefix=" (" delimiter=", " suffix=")">
<pages prefix=", "/> <text variable="genre"/>
</else> <text variable="publisher"/>
</conditional> <date variable="issued">
<access prefix=", "/> <date-part name="year"/>
</group> </date>
</type> </group>
<type name="article"> </if>
<group delimiter=", "> <else-if type="chapter book" match="any">
<author/> <group class="container" prefix=". ">
<titles quotes="true"/> <text term="in" text-transform="lowercase"/>
<titles relation="container" font-style="italic"/> <text variable="container-title" font-style="italic" prefix=" " suffix=","/>
<date/> <text variable="collection-title" prefix=" " suffix=","/>
<locator/> </group>
<access/> <text macro="editor-translator-short"/>
</group> <group prefix=" (" suffix=")" delimiter=", ">
</type> <text macro="publisher"/>
<type name="article-journal"> <date variable="issued">
<group delimiter=", "> <date-part name="year"/>
<author/> </date>
<titles quotes="true"/> </group>
<titles relation="container" font-style="italic"/> </else-if>
</group> <else-if type="article-journal">
<volume prefix=" "/> <group class="container" prefix=" ">
<issue prefix=", "> <text variable="container-title" font-style="italic" prefix=" "/>
<label form="short" text-transform="lowercase" suffix=". "/> <text macro="publisher"/>
<number/> <text variable="volume" prefix=" "/>
</issue> <text variable="issue" prefix=", no. "/>
<date prefix=" (" suffix=")"/> <date variable="issued" prefix=" (" suffix=")">
<locator prefix=": "/> <date-part name="year"/>
<access prefix=", "/> </date>
</type> <text variable="page" prefix=": "/>
</choose> </group>
</item> </else-if>
<item position="subsequent" ibid="true"> <else>
<author form="short"/> <group delimiter=", " prefix=". ">
<conditional> <text variable="container-title" font-style="italic"/>
<if type="book"> <text variable="issue" prefix=", " suffix="."/>
<titles prefix=", " font-style="italic" form="short"/> <date variable="issued">
</if><else> <date-part name="month" form="long"/>
<titles prefix=", " quotes="true" form="short"/> <date-part name="day" form="numeric" prefix=" " suffix=", "/>
</else> <date-part name="year"/>
</conditional> </date>
<pages prefix=", "/> </group>
</item> </else>
</choose>
<text variable="locator" prefix=", "/>
</group>
</layout> </layout>
</citation> </citation>
</style> </style>