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