Skip to content

Instantly share code, notes, and snippets.

@rpalominolozano
Created December 13, 2011 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpalominolozano/1471715 to your computer and use it in GitHub Desktop.
Save rpalominolozano/1471715 to your computer and use it in GitHub Desktop.
Spanish Legal 2.1 (with Creative Commons License)
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" default-locale="sp" version="1.0" demote-non-dropping-particle="sort-only">
<info>
<title>Spanish Legal</title>
<id>http://www.zotero.org/styles/sp-legal</id>
<link href="http://www.zotero.org/styles/sp-legal" rel="self"/>
<author>
<name>Rafael Palomino based on Spanish Legal by Pedro Herrera who started on Romanian Humanities by Nicolae Turcan</name>
<email>rpalominolozano@gmail.com</email>
</author>
<category field="law"/>
<category field="generic-base"/>
<category citation-format="author-date"/>
<updated>2011-05-12T00:16:08+00:00</updated>
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<locale>
<terms><term name="editor" form="short"><single>ed.</single><multiple>eds.</multiple></term>
<term name="editor"><single>ed.</single><multiple>eds.</multiple></term>
<term name="et-al">y otros</term>
<term name="and">y</term>
<term name="page" form="short"><single>pág.</single><multiple>págs.</multiple></term>
<term name="page"><single>pág.</single><multiple>págs.</multiple></term>
<term name="chapter" form="short"><single>cap.</single><multiple>caps.</multiple></term>
<term name="chapter"><single>cap.</single><multiple>caps.</multiple></term>
<term name="accessed">fecha de consulta</term>
<term name="in">en</term>
<term name="forthcoming">en prensa</term>
<term name="no date">sin fecha</term><term name="no date" form="short">s/f</term>
<term name="month-01">Enero</term>
<term name="month-02">Febrero</term>
<term name="month-03">Marzo</term>
<term name="month-04">Abril</term>
<term name="month-05">Mayo</term>
<term name="month-06">Junio</term>
<term name="month-07">Julio</term>
<term name="month-08">Agosto</term>
<term name="month-09">Septiembre</term>
<term name="month-10">Octubre</term>
<term name="month-11">Noviembre</term>
<term name="month-12">Diciembre</term>
<term name="at">en</term>
</terms></locale>
<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" initialize-with=". " delimiter="; " delimiter-precedes-last="always" sort-separator=", "/>
<label form="short" prefix=" (" suffix=".)" strip-periods="true"/>
<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" initialize-with=". " delimiter="; " delimiter-precedes-last="always" sort-separator=", " font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=".)" strip-periods="true"/>
<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="bill book graphic legal_case motion_picture report song" match="any">
<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="bill book graphic legal_case motion_picture report song" match="any">
<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 et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" collapse="year">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout suffix="." delimiter="; ">
<choose>
<if position="first">
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<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" 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" form="short"/>
<text variable="locator" prefix=" "/>
</group>
<text macro="access"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=", ">
<text macro="author" font-variant="small-caps"/>
<text macro="title"/>
<group delimiter=" ">
<text term="in"/>
<names variable="editor translator" delimiter=", ">
<name sort-separator=", "/>
<label form="short" prefix=" (" suffix=".)" text-case="lowercase" strip-periods="true"/>
</names>
<text variable="container-title" font-style="italic"/>
</group>
<group delimiter=" ">
<text term="volume" form="short" 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" form="short"/>
<text variable="locator" prefix=" "/>
</group>
<text macro="access"/>
</group>
</else-if>
<else-if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
<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" 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" 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 delimiter=", ">
<text variable="container-title" font-style="italic"/>
<group delimiter=" ">
<text term="volume" form="short" text-case="lowercase"/>
<text variable="volume"/>
</group>
<text variable="issue"/>
</group>
<group>
<label variable="locator" 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" 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="bill book graphic legal_case motion_picture report song" match="any">
<group delimiter=", ">
<text macro="author" font-variant="small-caps"/>
<text macro="title-short"/>
<group delimiter=" ">
<text term="volume" form="short" text-case="lowercase"/>
<text variable="volume"/>
</group>
<group>
<label variable="locator" 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" form="short"/>
<text variable="locator" prefix=" "/>
</group>
</group>
</else>
</choose>
</else-if>
</choose>
</layout>
</citation>
<bibliography hanging-indent="true" et-al-min="6" et-al-use-first="6">
<sort>
<key macro="author-bibliography"/>
<key variable="title"/>
</sort>
<layout suffix=".">
<text macro="author-bibliography" suffix=", "/>
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<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" 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" form="short"/>
<text variable="page" prefix=" "/>
</group>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=", ">
<text macro="title"/>
<group delimiter=" ">
<text term="in"/>
<names variable="editor translator" delimiter=", ">
<name sort-separator=", "/>
<label form="short" prefix=" (" suffix=".)" text-case="lowercase" strip-periods="true"/>
</names>
<text variable="container-title" font-style="italic"/>
</group>
<group delimiter=" ">
<text term="volume" form="short" 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" form="short"/>
<text variable="page" prefix=" "/>
</group>
</group>
</else-if>
<else-if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
<group delimiter=", ">
<text macro="title"/>
<text variable="container-title" font-style="italic"/>
<group delimiter=" ">
<text term="volume" form="short" text-case="lowercase"/>
<text variable="volume"/>
</group>
<group delimiter=" ">
<text term="issue" form="short" 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" form="short" strip-periods="true"/>
<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" text-case="lowercase"/>
<text variable="volume"/>
</group>
<group>
<text term="issue" form="short" text-case="lowercase"/>
<text variable="issue"/>
</group>
<group>
<label variable="page" form="short" strip-periods="true"/>
<text variable="page" prefix=" "/>
</group>
</group>
</else>
</choose>
<text prefix=", " macro="access"/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment