<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" default-locale="gl" version="1.0" demote-non-dropping-particle="sort-only">
  <info>
    <title>Galician ISO 690-2 (Galician)</title>
    <id>http://www.zotero.org/styles/spanish-legal</id>
    <link href="http://www.zotero.org/styles/spanish-legal" rel="self"/>
    <link href="http://www.zotero.org/styles/spanish-legal" rel="template"/>
    <link href="https://forums.zotero.org/discussion/2228/" rel="documentation"/>
    <author>
      <name>Xosé Luis Barreiro Cebey</name>
      <email>xoseluisbc@gmail.com</email>
    </author>
    <category citation-format="note"/>
    <category field="law"/>
    <updated>2013-10-19T20:30:28+00:00</updated>
    <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</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">e outros</term>
      <term name="and">e</term>
      <term name="page" form="short">
        <single>páx.</single>
        <multiple>páxs.</multiple>
      </term>
      <term name="page">
        <single>páx.</single>
        <multiple>páxs.</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">Consulta:</term>
      <term name="in">en</term>
      <term name="forthcoming">en prensa</term>
      <term name="no date">sen data</term>
      <term name="no date" form="short">s/d</term>
      <term name="month-01">Xaneiro</term>
      <term name="month-02">Febreiro</term>
      <term name="month-03">Marzo</term>
      <term name="month-04">Abril</term>
      <term name="month-05">Maio</term>
      <term name="month-06">Xuño</term>
      <term name="month-07">Xullo</term>
      <term name="month-08">Agosto</term>
      <term name="month-09">Setembro</term>
      <term name="month-10">Outubro</term>
      <term name="month-11">Novembro</term>
      <term name="month-12">Decembro</term>
      <term name="at">Dispoñible:</term>
      <term name="online">En liña</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=")"/>
      <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=")"/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
        <text macro="title"/>
      </substitute>
    </names>
  </macro>
  <macro name="access">
    <group>
      <group>
        <text term="online" prefix="[" suffix="]. "/>
      </group>
      <group>
        <text term="at" suffix=" "/>
        <text variable="URL" suffix=". "/>
      </group>
      <text prefix=" [" term="accessed" suffix=" "/>
      <date variable="accessed">
        <date-part name="day" suffix="-"/>
        <date-part name="month" suffix="-" text-case="lowercase"/>
        <date-part name="year" suffix="]"/>
      </date>
    </group>
  </macro>
  <macro name="title">
    <choose>
      <if type="bill book graphic legal_case legislation 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" font-style="italic" prefix="“" suffix="”"/>
      </else>
    </choose>
  </macro>
  <macro name="title-short">
    <choose>
      <if type="bill book graphic legal_case legislation 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 legislation 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 legislation 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 legislation 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" prefix="(" suffix=")"/>
            </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>
