zotero/csl/bluebook-law_review.csl

221 lines
6.9 KiB
Text
Raw Normal View History

2007-11-24 16:41:26 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en">
<info>
<title>Bluebook Law Review</title>
<id>http://www.zotero.org/styles/bluebook_lawrev</id>
2008-01-03 07:26:01 +00:00
<link href="http://www.zotero.org/styles/bluebook_lawrev"/>
2007-11-24 16:41:26 +00:00
<author>
<name>Bruce DArcus</name>
<email>bdarcus@gmail.com</email>
</author>
2008-05-24 15:25:34 +00:00
<author>
<name>Nancy Sims</name>
<email>nsims@umich.edu</email>
</author>
<updated></updated>
2007-11-24 16:41:26 +00:00
<summary>The Bluebook legal citation style for law reviews.</summary>
</info>
2008-05-24 15:25:34 +00:00
<!-- sets up basics of dealing with authors -->
2008-02-13 03:24:22 +00:00
<macro name="name-macro">
2007-11-24 16:41:26 +00:00
<names variable="author">
<name and="symbol" delimiter=", " delimiter-precedes-last="never"/>
<label form="short" prefix=" " suffix="."/>
<substitute>
2008-05-24 15:25:34 +00:00
<text variable="title"/>
2007-11-24 16:41:26 +00:00
</substitute>
</names>
</macro>
2008-05-24 15:25:34 +00:00
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " />
<label form="verb-short" prefix=", " suffix="."/>
2008-05-26 02:14:34 +00:00
<substitute>
<text variable="title" form="short"/>
</substitute>
2008-05-24 15:25:34 +00:00
</names>
</macro>
2008-02-13 03:24:22 +00:00
<macro name="author">
2008-05-24 15:25:34 +00:00
<choose>
<if type="legal_case">
<text macro="name-macro" font-variant="normal" />
</if>
<else-if type="book">
<text macro="name-macro" font-variant="small-caps"/>
</else-if>
<else>
<text macro="name-macro"/>
</else>
</choose>
</macro>
<!-- sets up basics of dealing with editors and translators. Will generally only show up in book citations, as called in XXXX, below -->
<macro name="editor-translator">
<names variable="editor translator" prefix="" suffix=" " delimiter=", ">
<name and="symbol" delimiter=", "/>
<label form="short" prefix=" " suffix=".,"/>
</names>
</macro>
<!-- sets up font variations for titles in books, articles, etc. -->
<macro name="title">
2008-02-13 03:24:22 +00:00
<choose>
2008-03-22 14:50:50 +00:00
<if type="book">
2008-05-24 15:25:34 +00:00
<text variable="title" font-variant="small-caps"/>
2008-02-13 03:24:22 +00:00
</if>
2008-05-24 15:25:34 +00:00
<else-if type="article">
<text variable="title" font-style="italic"/>
</else-if>
2008-03-24 12:51:31 +00:00
<else-if type="legal_case">
2008-05-24 15:25:34 +00:00
<text variable="title" font-variant="normal" />
2008-03-24 12:51:31 +00:00
</else-if>
2008-02-13 03:24:22 +00:00
<else>
2008-05-24 15:25:34 +00:00
<text variable="title"/>
2008-02-13 03:24:22 +00:00
</else>
</choose>
</macro>
2008-05-24 15:25:34 +00:00
<!-- link to online content, called in YYYYY -->
2007-11-24 16:41:26 +00:00
<macro name="access">
<text variable="URL"/>
</macro>
2008-05-24 15:25:34 +00:00
<macro name="source">
<!-- This macro seems really problematic, with a ton of redundancy. I'd move some of
the conditional logic into the appropriate macros (like 'title') and try to remove this
macro entirely. -->
<choose>
<if type="article-journal" match="any" >
<text variable="title" suffix=", " font-style="italic" />
<text variable="volume" suffix=" " />
<text macro="container" />
<text variable="page" prefix=" " />
<text variable="locator" prefix=", " />
<text macro="issuance" prefix=" (" suffix=")"/>
</if>
<else-if type="legal_case">
<text variable="title" suffix=", " font-variant="normal" />
<text variable="volume" suffix="" />
<text macro="container" />
<text variable="page" prefix=" " />
<text variable="locator" prefix=", " />
<text macro="issuance" prefix=" (" suffix=")"/>
</else-if>
<else-if type="article-newspaper article-magazine thesis" match="any">
<text variable="title" suffix=", " font-style="italic" />
<text variable="volume" suffix=" " />
<text macro="container" suffix=", " />
<text macro="issuance" />
<group delimiter="" >
<text value="at" prefix=", " />
<text variable="page" prefix=" " />
</group>
</else-if>
<else-if type="chapter">
<text variable="title" suffix=", " font-style="italic" />
<text variable="volume" suffix=" " />
<text macro="container" suffix=" " />
<text variable="page" />
<text variable="locator" prefix=", " />
<text macro="issuance" prefix=" (" suffix=")" />
</else-if>
<else>
<text variable="volume" suffix=" " />
<text variable="title" font-variant="small-caps" />
<text macro="container" prefix=" " />
<text variable="page" prefix=" " />
<text variable="locator" prefix=" " />
<text macro="issuance" prefix=" (" suffix=")" />
</else>
</choose>
</macro>
2007-11-24 16:41:26 +00:00
<macro name="issuance">
<choose>
<if type="article">
2008-05-24 15:25:34 +00:00
<group prefix="" suffix="">
<choose>
<if type="article-newspaper thesis" match="any">
<group suffix=", ">
<date variable="issued">
<date-part name="month"/>
<date-part name="day" prefix=" "/>
</date>
</group>
2008-03-21 15:59:04 +00:00
</if>
2008-03-22 14:35:38 +00:00
</choose>
<date variable="issued">
<date-part name="year"/>
</date>
2008-03-21 15:59:04 +00:00
</group>
2007-11-24 16:41:26 +00:00
</if>
<else>
2008-05-24 15:25:34 +00:00
<group prefix=" " suffix="" delimiter=" ">
2007-11-24 16:41:26 +00:00
<text macro="editor-translator"/>
2008-05-24 15:25:34 +00:00
<text variable="edition" suffix=" ed." />
<!-- replaced a text element with a missing variable reference -->
2007-11-24 16:41:26 +00:00
<date variable="issued">
2008-03-21 15:59:04 +00:00
<date-part name="year"/>
2007-11-24 16:41:26 +00:00
</date>
</group>
</else>
</choose>
</macro>
2008-05-24 15:25:34 +00:00
<!-- sets up citing to specific page numbers for id and supra cites -->
<macro name="at_page">
<group delimiter="">
<text value="at" prefix=" " />
<text variable="locator" prefix=" "/>
</group>
</macro>
<!-- sets up the "in" in front of book sections, etc. -->
<macro name="container">
2007-11-24 16:41:26 +00:00
<choose>
2008-05-24 15:25:34 +00:00
<if type="chapter">
<group delimiter="" >
<text term="in" text-case="lowercase" font-style="italic" prefix=" " />
<text variable="container-title" font-variant="small-caps" prefix=" "/>
</group>
</if>
2008-05-24 15:25:34 +00:00
<else-if type="legal_case">
<text variable="container-title" form="short" font-variant="small-caps" prefix=" "/>
</else-if>
<else-if type="article-journal" >
<text variable="container-title" font-variant="small-caps" prefix=" "/>
2008-01-30 16:56:52 +00:00
</else-if>
2007-11-24 16:41:26 +00:00
<else>
2008-05-24 15:25:34 +00:00
<text variable="container-title" font-variant="small-caps" />
2007-11-24 16:41:26 +00:00
</else>
</choose>
</macro>
2008-05-24 15:25:34 +00:00
2007-11-24 16:41:26 +00:00
<citation>
<option name="et-al-min" value="4"/>
<option name="et-al-use-first" value="1"/>
<layout suffix="." delimiter="; ">
2008-02-13 03:24:22 +00:00
<choose>
2008-05-24 15:25:34 +00:00
<if position="ibid">
<text value="id." text-case="capitalize-first" font-style="italic"/>
<text macro="at_page" suffix="**"/>
<!-- period will not show up - this is for find-and-replace later. -->
</if>
2008-05-24 15:25:34 +00:00
<else-if position="subsequent">
<text macro="author-short" />
<text value="supra" font-style="italic" prefix=", " />
<text value="note" prefix=" " />
<!-- CSL does not currently support reference to a note number, so we leave a blank space for correction now -->
2008-05-24 15:25:34 +00:00
<text value="___"/>
<text macro="at_page"/>
</else-if>
<else>
<text macro="author" suffix=", "/>
<text macro="source" />
<text macro="access" prefix=", "/>
</else>
2008-02-13 03:24:22 +00:00
</choose>
2007-11-24 16:41:26 +00:00
</layout>
</citation>
</style>