commit e1e0165400a258112c7074b2c8fd108019bf51d5
parent 321dc0e6b77ba9018fee49aa201561b354819cbe
Author: Pedro Herrera <pedro.m.herrera@gmail.com>
Date: Sun, 10 Feb 2008 17:42:41 +0000
First small revision
Diffstat:
| M | csl/sp-legal.csl | | | 709 | +++++++++++++++++++++++++++++++++++++++---------------------------------------- |
1 file changed, 347 insertions(+), 362 deletions(-)
diff --git a/csl/sp-legal.csl b/csl/sp-legal.csl
@@ -1,374 +1,360 @@
-<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
+<?xml version="1.0"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="sp">
- <info>
- <title>Spanish Legal (dev)</title>
- <id>http://www.zotero.org/styles/sp-legal (dev)</id>
- <link href="http://www.zotero.org/styles/sp-legal (dev)"/>
- <author>
- <name>Pedro Herrera</name>
- <email>pedro.m.herrera@gmail.com</email>
- </author>
- <category term="legal"/>
- <category term="generic-base"/>
- <category term="author-date"/>
- <updated>2008-01-14T08:50:29+00:00</updated>
- </info>
- <macro name="editor-translator">
- <names variable="editor translator" delimiter=", ">
- <label form="verb"/>
- <name and="text" delimiter=", " prefix=" " delimiter-precedes-last="never"/>
- </names>
- </macro>
- <macro name="author">
- <names variable="author">
- <name form="long" delimiter="; " delimiter-precedes-last="always" sort-separator=", "/>
- <label form="short" prefix=" (" suffix=".)"/>
- <substitute>
- <names variable="editor"/>
- <names variable="translator"/>
- <text macro="title"/>
- </substitute>
- </names>
- </macro>
- <macro name="author-bibliography">
- <names variable="author">
- <name name-as-sort-order="all" form="long" delimiter="; "
- delimiter-precedes-last="always" sort-separator=", " font-variant="small-caps"/>
- <label form="short" prefix=" (" suffix=".)"/>
- <substitute>
- <names variable="editor"/>
- <names variable="translator"/>
- <text macro="title"/>
- </substitute>
- </names>
- </macro>
- <macro name="access">
- <group>
- <text term="accessed" suffix=" "/>
- <date variable="accessed" suffix=", ">
- <date-part name="day" suffix=" "/>
- <date-part name="month" suffix=" " text-case="lowercase"/>
- <date-part name="year"/>
- </date>
- <group>
- <text term="at" suffix=" "/>
- <text variable="URL"/>
- </group>
- </group>
- </macro>
- <macro name="title">
- <choose>
+ <info>
+ <title>Spanish Legal (dev)</title>
+ <id>http://www.zotero.org/styles/sp-legal (dev)</id>
+ <link href="http://www.zotero.org/styles/sp-legal (dev)"/>
+ <author>
+ <name>Pedro Herrera</name>
+ <email>pedro.m.herrera@gmail.com</email>
+ </author>
+ <category term="legal"/>
+ <category term="generic-base"/>
+ <category term="author-date"/>
+ <updated>2008-01-14T08:50:29+00:00</updated>
+ </info>
+ <macro name="editor-translator">
+ <names variable="editor translator" delimiter=", ">
+ <label form="verb"/>
+ <name and="text" delimiter=", " prefix=" " delimiter-precedes-last="never"/>
+ </names>
+ </macro>
+ <macro name="author">
+ <names variable="author">
+ <name form="long" delimiter="; " delimiter-precedes-last="always" sort-separator=", "/>
+ <label form="short" prefix=" (" suffix=".)"/>
+ <substitute>
+ <names variable="editor"/>
+ <names variable="translator"/>
+ <text macro="title"/>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="author-bibliography">
+ <names variable="author">
+ <name name-as-sort-order="all" form="long" delimiter="; " delimiter-precedes-last="always" sort-separator=", " font-variant="small-caps"/>
+ <label form="short" prefix=" (" suffix=".)"/>
+ <substitute>
+ <names variable="editor"/>
+ <names variable="translator"/>
+ <text macro="title"/>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="access">
+ <group>
+ <text term="accessed" suffix=" "/>
+ <date variable="accessed" suffix=", ">
+ <date-part name="day" suffix=" "/>
+ <date-part name="month" suffix=" " text-case="lowercase"/>
+ <date-part name="year"/>
+ </date>
+ <group>
+ <text term="at" suffix=" "/>
+ <text variable="URL"/>
+ </group>
+ </group>
+ </macro>
+ <macro name="title">
+ <choose>
+ <if type="book">
+ <text variable="title" text-case="capitalize-first" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title" text-case="capitalize-first" prefix="“" suffix="”"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="title-short">
+ <choose>
+ <if type="book">
+ <text variable="title" text-case="capitalize-first" font-style="italic" suffix=", cit." form="short"/>
+ </if>
+ <else>
+ <text variable="title" text-case="capitalize-first" prefix="“" suffix="”, cit." form="short"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="publisher">
+ <group delimiter=", ">
+ <text variable="publisher"/>
+ <text variable="publisher-place"/>
+ </group>
+ </macro>
+ <citation>
+ <option name="et-al-min" value="6"/>
+ <option name="et-al-use-first" value="1"/>
+ <option name="et-al-subsequent-min" value="3"/>
+ <option name="et-al-subsequent-use-first" value="1"/>
+ <option name="collapse" value="year"/>
+ <sort>
+ <key macro="author"/>
+ <key variable="issued"/>
+ </sort>
+ <layout suffix=".">
+ <choose>
+ <if position="first">
+ <choose>
<if type="book">
- <text variable="title" text-case="capitalize-first" font-style="italic"/>
+ <group delimiter=", ">
+ <text macro="author" font-variant="small-caps"/>
+ <group delimiter=" ">
+ <text macro="title"/>
+ <!-- Here will be the original-date, when zotero will have an ui field for it.
+ <date variable="original-date" prefix="(" suffix=")">
+ <date-part name="year"/>
+ </date>
+ -->
+ </group>
+ <group delimiter=" ">
+ <text term="volume" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="volume"/>
+ </group>
+ <text variable="edition"/>
+ <text macro="publisher"/>
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <group>
+ <label variable="locator" include-period="true" form="short"/>
+ <text variable="locator" prefix=" "/>
+ </group>
+ <text macro="access"/>
+ </group>
</if>
+ <else-if type="chapter">
+ <group delimiter=", ">
+ <text macro="author" font-variant="small-caps"/>
+ <text macro="title"/>
+ <group delimiter=" " class="container">
+ <text term="in"/>
+ <names variable="editor translator" delimiter=", ">
+ <name sort-separator=", "/>
+ <label form="short" prefix=" (" suffix=".)" text-case="lowercase"/>
+ </names>
+ <text variable="container-title" font-style="italic"/>
+ </group>
+ <group delimiter=" ">
+ <text term="volume" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="volume"/>
+ </group>
+ <text variable="edition"/>
+ <text macro="publisher"/>
+ <group>
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <text variable="collection-title" prefix=" (" suffix=")"/>
+ </group>
+ <group>
+ <label variable="locator" include-period="true" form="short"/>
+ <text variable="locator" prefix=" "/>
+ </group>
+ <text macro="access"/>
+ </group>
+ </else-if>
+ <else-if type="article">
+ <group delimiter=", ">
+ <text macro="author" font-variant="small-caps"/>
+ <text macro="title"/>
+ <text variable="container-title" font-style="italic"/>
+ <group delimiter=" ">
+ <text term="volume" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="volume"/>
+ </group>
+ <text variable="issue"/>
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <text macro="editor-translator"/>
+ <text variable="edition"/>
+ <group delimiter=" ">
+ <text macro="publisher"/>
+ <text variable="collection-title" prefix=" (" suffix=")"/>
+ </group>
+ <group>
+ <label variable="locator" include-period="true" form="short"/>
+ <text variable="locator" prefix=" "/>
+ </group>
+ <text macro="access"/>
+ </group>
+ </else-if>
<else>
- <text variable="title" text-case="capitalize-first" prefix="“"
- suffix="”"/>
+ <group delimiter=", ">
+ <text macro="author" font-variant="small-caps"/>
+ <text macro="title"/>
+ <text macro="editor-translator" font-variant="small-caps"/>
+ <group class="containter-title" delimiter=", ">
+ <text variable="container-title" font-style="italic"/>
+ <group delimiter=" ">
+ <text term="volume" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="volume"/>
+ </group>
+ <text variable="issue"/>
+ </group>
+ <group>
+ <label variable="locator" include-period="true" form="short"/>
+ <text variable="locator" prefix=" "/>
+ </group>
+ </group>
</else>
- </choose>
- </macro>
- <macro name="title-short">
- <choose>
+ </choose>
+ </if>
+ <else-if position="ibid-with-locator">
+ <group delimiter=", ">
+ <text term="ibid" form="long" font-style="italic" text-case="capitalize-first"/>
+ <group>
+ <label variable="locator" include-period="true" form="short"/>
+ <text variable="locator" prefix=" "/>
+ </group>
+ </group>
+ </else-if>
+ <else-if position="ibid">
+ <text term="ibid" form="long" font-style="italic" text-case="capitalize-first"/>
+ </else-if>
+ <else-if position="subsequent">
+ <choose>
<if type="book">
- <text variable="title" text-case="capitalize-first" font-style="italic" suffix=", cit." form="short"/>
+ <group delimiter=", ">
+ <text macro="author" font-variant="small-caps"/>
+ <text macro="title-short"/>
+ <group delimiter=" ">
+ <text term="volume" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="volume"/>
+ </group>
+ <group>
+ <label variable="locator" include-period="true" form="short"/>
+ <text variable="locator" prefix=" "/>
+ </group>
+ </group>
</if>
<else>
- <text variable="title" text-case="capitalize-first" prefix="“"
- suffix="”, cit." form="short"/>
+ <group delimiter=", ">
+ <text macro="author" font-variant="small-caps"/>
+ <text macro="title-short"/>
+ <group>
+ <label variable="locator" include-period="true" form="short"/>
+ <text variable="locator" prefix=" "/>
+ </group>
+ </group>
</else>
- </choose>
- </macro>
- <macro name="publisher">
- <group delimiter=", ">
- <text variable="publisher"/>
- <text variable="publisher-place"/>
- </group>
- </macro>
- <citation>
- <option name="et-al-min" value="6"/>
- <option name="et-al-use-first" value="1"/>
- <option name="et-al-subsequent-min" value="3"/>
- <option name="et-al-subsequent-use-first" value="1"/>
- <option name="collapse" value="year"/>
- <sort>
- <key macro="author"/>
- <key variable="issued"/>
- </sort>
- <layout suffix=".">
- <choose>
- <if position="first">
- <choose>
- <if type="book">
- <group delimiter=", ">
- <text macro="author" font-variant="small-caps"/>
- <group delimiter=" ">
- <text macro="title"/>
- <!-- Here will be the original-date, when zotero will have an ui field for it.
- <date variable="original-date" prefix="(" suffix=")">
- <date-part name="year"/>
- </date>
- -->
- </group>
- <group delimiter=" ">
- <text term="volume" form="short" include-period="true"
- text-case="lowercase"/>
- <text variable="volume"/>
- </group>
- <text variable="edition"/>
- <text macro="publisher"/>
- <date variable="issued">
- <date-part name="year"/>
- </date>
- <group>
- <label variable="locator" include-period="true" form="short"/>
- <text variable="locator" prefix=" "/>
- </group>
- <text macro="access"/>
- </group>
- </if>
- <else-if type="chapter">
- <group delimiter=", ">
- <text macro="author" font-variant="small-caps"/>
- <text macro="title"/>
- <group delimiter=" " class="container">
- <text term="in"/>
- <names variable="editor translator" delimiter=", ">
- <name sort-separator=", "/>
- <label form="short" prefix=" (" suffix=".)"
- text-case="lowercase"/>
- </names>
- <text variable="container-title" font-style="italic"/>
- </group>
- <group delimiter=" ">
- <text term="volume" form="short" include-period="true"
- text-case="lowercase"/>
- <text variable="volume"/>
- </group>
- <text variable="edition"/>
- <text macro="publisher"/>
- <group>
- <date variable="issued">
- <date-part name="year"/>
- </date>
- <text variable="collection-title" prefix=" (" suffix=")"/>
- </group>
- <group>
- <label variable="locator" include-period="true" form="short"/>
- <text variable="locator" prefix=" "/>
- </group>
- <text macro="access"/>
- </group>
- </else-if>
- <else-if type="article">
- <group delimiter=", ">
- <text macro="author" font-variant="small-caps"/>
- <text macro="title"/>
- <text variable="container-title" font-style="italic"/>
- <group delimiter=" ">
- <text term="volume" form="short" include-period="true"
- text-case="lowercase"/>
- <text variable="volume"/>
- </group>
- <text variable="issue"/>
- <date variable="issued">
- <date-part name="year"/>
- </date>
- <text macro="editor-translator"/>
- <text variable="edition"/>
- <group delimiter=" ">
- <text macro="publisher"/>
- <text variable="collection-title" prefix=" (" suffix=")"/>
- </group>
- <group>
- <label variable="locator" include-period="true" form="short"/>
- <text variable="locator" prefix=" "/>
- </group>
- <text macro="access"/>
- </group>
- </else-if>
- <else>
- <group delimiter=", ">
- <text macro="author" font-variant="small-caps"/>
- <text macro="title"/>
- <text macro="editor-translator" font-variant="small-caps"/>
- <group class="containter-title" delimiter=", ">
- <text variable="container-title" font-style="italic"/>
- <group delimiter=" ">
- <text term="volume" form="short" include-period="true"
- text-case="lowercase"/>
- <text variable="volume"/>
- </group>
- <text variable="issue"/>
- </group>
- <group>
- <label variable="locator" include-period="true" form="short"/>
- <text variable="locator" prefix=" "/>
- </group>
- </group>
- </else>
- </choose>
- </if>
- <else-if position="ibid-with-locator">
- <group delimiter=", ">
- <text term="ibid" form="long" font-style="italic"
- text-case="capitalize-first"/>
- <group>
- <label variable="locator" include-period="true" form="short"/>
- <text variable="locator" prefix=" "/>
- </group>
- </group>
- </else-if>
- <else-if position="ibid">
- <text term="ibid" form="long" font-style="italic" text-case="capitalize-first"/>
- </else-if>
- <else-if position="subsequent">
- <choose>
- <if type="book">
- <group delimiter=", ">
- <text macro="author" font-variant="small-caps"/>
- <text macro="title-short"/>
- <group delimiter=" ">
- <text term="volume" form="short" include-period="true"
- text-case="lowercase"/>
- <text variable="volume"/>
- </group>
- <group>
- <label variable="locator" include-period="true" form="short"/>
- <text variable="locator" prefix=" "/>
- </group>
- </group>
- </if>
- <else>
- <group delimiter=", ">
- <text macro="author" font-variant="small-caps"/>
- <text macro="title-short"/>
- <group>
- <label variable="locator" include-period="true" form="short"/>
- <text variable="locator" prefix=" "/>
- </group>
- </group>
- </else>
- </choose>
- </else-if>
- </choose>
- </layout>
- </citation>
- <bibliography>
- <option name="hanging-indent" value="true"/>
- <option name="et-al-min" value="6"/>
- <option name="et-al-use-first" value="6"/>
- <sort>
- <key macro="author-bibliography"/>
- <key variable="title"/>
- </sort>
- <layout suffix=".">
- <text macro="author-bibliography" suffix=", "/>
- <choose>
- <if type="book">
- <group delimiter=", ">
- <group delimiter=" ">
- <text macro="title"/>
- <!-- Here will be the original-date, when zotero will have an ui field for it.
+ </choose>
+ </else-if>
+ </choose>
+ </layout>
+ </citation>
+ <bibliography>
+ <option name="hanging-indent" value="true"/>
+ <option name="et-al-min" value="6"/>
+ <option name="et-al-use-first" value="6"/>
+ <sort>
+ <key macro="author-bibliography"/>
+ <key variable="title"/>
+ </sort>
+ <layout suffix=".">
+ <text macro="author-bibliography" suffix=", "/>
+ <choose>
+ <if type="book">
+ <group delimiter=", ">
+ <group delimiter=" ">
+ <text macro="title"/>
+ <!-- Here will be the original-date, when zotero will have an ui field for it.
<date variable="original-date" prefix="(" suffix=")">
<date-part name="year"/>
</date>
-->
- </group>
- <group delimiter=" ">
- <text term="volume" form="short" include-period="true"
- text-case="lowercase"/>
- <text variable="volume"/>
- </group>
- <text variable="edition"/>
- <text macro="publisher"/>
- <date variable="issued">
- <date-part name="year"/>
- </date>
- <group>
- <label variable="page" include-period="true" form="short"/>
- <text variable="page" prefix=" "/>
- </group>
- </group>
- </if>
- <else-if type="chapter">
- <group delimiter=", ">
- <text macro="title"/>
- <group delimiter=" " class="container">
- <text term="in"/>
- <names variable="editor translator" delimiter=", ">
- <name sort-separator=", "/>
- <label form="short" prefix=" (" suffix=".)" text-case="lowercase"/>
- </names>
- <text variable="container-title" font-style="italic"/>
- </group>
- <group delimiter=" ">
- <text term="volume" form="short" include-period="true"
- text-case="lowercase"/>
- <text variable="volume"/>
- </group>
- <text variable="edition"/>
- <text macro="publisher"/>
- <group>
- <date variable="issued">
- <date-part name="year"/>
- </date>
- <text variable="collection-title" prefix=" (" suffix=")"/>
- </group>
- <group>
- <label variable="page" include-period="true" form="short"/>
- <text variable="page" prefix=" "/>
- </group>
- </group>
- </else-if>
- <else-if type="article">
- <group delimiter=", ">
- <text macro="title"/>
- <text variable="container-title" font-style="italic"/>
- <group delimiter=" ">
- <text term="volume" form="short" include-period="true"
- text-case="lowercase"/>
- <text variable="volume"/>
- </group>
- <group delimiter=" ">
- <text term="issue" form="short" include-period="true" text-case="lowercase"/>
- <text variable="issue"/>
- </group>
- <date variable="issued">
- <date-part name="year"/>
- </date>
- <text variable="edition"/>
- <group delimiter=" ">
- <text macro="publisher"/>
- <text variable="collection-title" prefix="(" suffix=")"/>
- </group>
- <group>
- <label variable="page" include-period="false" form="short"/>
- <text variable="page" prefix=" "/>
- </group>
- </group>
- </else-if>
- <else>
- <group delimiter=", ">
- <text macro="title"/>
- <text macro="editor-translator"/>
- <text variable="container-title" font-style="italic"/>
- <group delimiter=" ">
- <text term="volume" form="short" include-period="true"
- text-case="lowercase"/>
- <text variable="volume"/>
- </group>
- <group>
- <text term="issue" form="short" include-period="true" text-case="lowercase"/>
- <text variable="issue"/>
- </group>
- <group>
- <label variable="page" include-period="false" form="short"/>
- <text variable="page" prefix=" "/>
- </group>
- </group>
- </else>
- </choose>
- <text prefix=", " macro="access"/>
- </layout>
- </bibliography>
-</style>
-\ No newline at end of file
+ </group>
+ <group delimiter=" ">
+ <text term="volume" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="volume"/>
+ </group>
+ <text variable="edition"/>
+ <text macro="publisher"/>
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <group>
+ <label variable="page" include-period="true" form="short"/>
+ <text variable="page" prefix=" "/>
+ </group>
+ </group>
+ </if>
+ <else-if type="chapter">
+ <group delimiter=", ">
+ <text macro="title"/>
+ <group delimiter=" " class="container">
+ <text term="in"/>
+ <names variable="editor translator" delimiter=", ">
+ <name sort-separator=", "/>
+ <label form="short" prefix=" (" suffix=".)" text-case="lowercase"/>
+ </names>
+ <text variable="container-title" font-style="italic"/>
+ </group>
+ <group delimiter=" ">
+ <text term="volume" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="volume"/>
+ </group>
+ <text variable="edition"/>
+ <text macro="publisher"/>
+ <group>
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <text variable="collection-title" prefix=" (" suffix=")"/>
+ </group>
+ <group>
+ <label variable="page" include-period="true" form="short"/>
+ <text variable="page" prefix=" "/>
+ </group>
+ </group>
+ </else-if>
+ <else-if type="article">
+ <group delimiter=", ">
+ <text macro="title"/>
+ <text variable="container-title" font-style="italic"/>
+ <group delimiter=" ">
+ <text term="volume" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="volume"/>
+ </group>
+ <group delimiter=" ">
+ <text term="issue" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="issue"/>
+ </group>
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <text variable="edition"/>
+ <group delimiter=" ">
+ <text macro="publisher"/>
+ <text variable="collection-title" prefix="(" suffix=")"/>
+ </group>
+ <group>
+ <label variable="page" include-period="false" form="short"/>
+ <text variable="page" prefix=" "/>
+ </group>
+ </group>
+ </else-if>
+ <else>
+ <group delimiter=", ">
+ <text macro="title"/>
+ <text macro="editor-translator"/>
+ <text variable="container-title" font-style="italic"/>
+ <group delimiter=" ">
+ <text term="volume" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="volume"/>
+ </group>
+ <group>
+ <text term="issue" form="short" include-period="true" text-case="lowercase"/>
+ <text variable="issue"/>
+ </group>
+ <group>
+ <label variable="page" include-period="false" form="short"/>
+ <text variable="page" prefix=" "/>
+ </group>
+ </group>
+ </else>
+ </choose>
+ <text prefix=", " macro="access"/>
+ </layout>
+ </bibliography>
+</style>