Skip to content

Instantly share code, notes, and snippets.

@ccamara
Last active December 23, 2015 04:28
Show Gist options
  • Save ccamara/6580003 to your computer and use it in GitHub Desktop.
Save ccamara/6580003 to your computer and use it in GitHub Desktop.
#zotero #citation-style #UNE 50-104-94
<?xml version="1.0" encoding="utf-8"?>
<style class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="es_ES" xmlns="http://purl.org/net/xbiblio/csl">
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
<info>
<title>UNE 50-104-94</title>
<id>http://www.zotero.org/styles/une-50-104-94</id>
<link href="https://gist.github.com/ccamara/6580003" rel="self"/>
<link href="http://www.aenor.es/aenor/normas/normas/fichanorma.asp?tipo=N&amp;codigo=N0005073&amp;PDF=Si#.UjbzZKxTlhE" rel="documentation"/>
<author>
<name>Carlos Cámara</name>
<email>[email protected]</email>
<uri>http://carloscamara.es</uri>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>Style following UNE-50-104-94</summary>
<updated>2013-09-16T12:24:19+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 xml:lang="es">
<terms>
<term name="anonymous" form="short">Anon.</term>
<term name="no date" form="short">S.F.</term>
<term name="collection-editor" form="short">Ed.</term>
<term name="retrieved">Consultado en</term>
<term name="composer" form="short">Comp.</term>
<term name="composer" form="long">Compositor</term>
</terms>
</locale>
<macro name="author">
<names variable="author" delimiter=" ; ">
<name font-variant="small-caps" font-weight="normal" delimiter=" ; " delimiter-precedes-last="always" name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="author-container">
<names variable="container-author" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="editor">
<names variable="editor" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="editor-collection">
<names variable="collection-editor" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="composer">
<names variable="composer" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="long" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="translator">
<names variable="translator" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="recipient">
<names variable="recipient" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; " delimiter-precedes-last="always" font-variant="small-caps"/>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter=", " initialize-with=". " delimiter-precedes-last="never" font-variant="small-caps"/>
<et-al font-variant="normal"/>
<substitute>
<names variable="editor" font-variant="small-caps"/>
<names variable="translator" font-variant="small-caps"/>
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else-if type="bill legal_case legislation" match="any">
<text variable="title" form="short" font-style="normal"/>
</else-if>
<else>
<text variable="title" form="short" quotes="true"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="access">
<group>
<text term="retrieved" suffix=" "/>
<date variable="accessed">
<date-part name="year" form="long" suffix="-"/>
<date-part name="month" form="numeric-leading-zeros" suffix="-"/>
<date-part name="day" form="numeric-leading-zeros"/>
</date>
</group>
</macro>
<macro name="title">
<choose>
<if type="bill legislation" match="any">
<group delimiter=" — ">
<text variable="title-short" font-style="normal"/>
<text variable="title"/>
</group>
</if>
<else-if type="book graphic legal_case motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</else-if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="genre">
<choose>
<if type="report thesis manuscript map" match="any">
<group>
<text variable="genre"/>
<text variable="number" prefix=" Nr. "/>
</group>
</if>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="volumes">
<group delimiter=" ">
<text term="volume" form="short" plural="false"/>
<number variable="volume" form="numeric"/>
<number variable="number-of-volumes" form="numeric" prefix="v. "/>
</group>
</macro>
<macro name="edition">
<group>
<number variable="edition" form="numeric" suffix=". "/>
<text term="edition" form="short" plural="false"/>
</group>
</macro>
<macro name="pages">
<choose>
<if type="chapter paper-conference article-journal" match="any">
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</if>
</choose>
</macro>
<macro name="dimensions">
<group>
<text variable="dimensions"/>
</group>
</macro>
<macro name="medium">
<group>
<text variable="medium"/>
</group>
</macro>
<macro name="scale">
<group>
<text term="scale"/>
<text prefix=" " variable="scale"/>
</group>
</macro>
<macro name="recipient-show">
<choose>
<if type="personal_communication">
<choose>
<if variable="genre">
<text variable="genre" text-case="capitalize-first"/>
</if>
<else>
<text term="letter" text-case="capitalize-first"/>
</else>
</choose>
</if>
</choose>
<text macro="recipient" prefix=", "/>
</macro>
<macro name="cite-year">
<group>
<choose>
<if type="bill legislation" match="any">
<date variable="issued" prefix=" (" suffix=")">
<date-part name="year" prefix="idF. v. "/>
</date>
</if>
<else>
<date variable="issued" prefix=", ">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</else>
</choose>
</group>
</macro>
<macro name="locator">
<group>
<choose>
<if type="bill legislation" match="any">
<text variable="locator" prefix=" "/>
</if>
<else>
<label variable="locator" form="short" prefix=", "/>
<text variable="locator" prefix=" "/>
</else>
</choose>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="false" disambiguate-add-givenname="false" collapse="year">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group>
<text macro="author-short"/>
<text macro="cite-year"/>
<text macro="locator"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="true" et-al-min="9" et-al-use-first="9">
<sort>
<key macro="author"/>
<key variable="issued"/>
<key variable="title"/>
</sort>
<layout>
<group delimiter=" ; " suffix=":">
<text macro="author" text-case="sentence" strip-periods="false" font-variant="normal" display="block"/>
<choose>
<if type="bill book graphic legal_case legislation manuscript map motion_picture report song thesis webpage" match="any">
<text macro="editor"/>
<text macro="editor-collection"/>
<text macro="composer"/>
</if>
</choose>
<text macro="translator"/>
</group>
<choose>
<if type="bill book broadcast graphic legal_case legislation manuscript map motion_picture report song" match="any">
<text prefix=" " macro="title"/>
<text prefix=", " variable="collection-title" font-style="italic"/>
<text prefix=" (" macro="genre" suffix=")"/>
<text prefix=". " macro="volumes"/>
<text prefix=". " macro="edition"/>
<text prefix=". " macro="medium"/>
<text prefix=". " macro="dimensions"/>
<text prefix=". " variable="publisher-place"/>
<text prefix=" : " variable="publisher"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<text prefix=" – " macro="scale"/>
<text prefix=". — " variable="note"/>
<text prefix=" — ISBN " variable="ISBN"/>
</if>
<else-if type="chapter paper-conference" match="any">
<text prefix=" " macro="title" suffix="."/>
<text prefix=". " term="in" text-case="capitalize-all" suffix=": "/>
<group delimiter=" ; " suffix=": ">
<text macro="author-container"/>
<text macro="editor"/>
<text macro="editor-collection"/>
</group>
<text variable="container-title" font-style="italic"/>
<text prefix=", " variable="collection-title" font-style="italic"/>
<text prefix=". " macro="volumes"/>
<text prefix=". " macro="edition"/>
<text prefix=". " variable="publisher-place"/>
<text prefix=" : " variable="publisher"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<text prefix=". — " variable="note"/>
<text prefix=" — ISBN " variable="ISBN"/>
<text prefix=", " macro="pages"/>
</else-if>
<else-if type="thesis" match="any">
<text prefix=" " macro="title" font-style="italic"/>
<text prefix=". " macro="edition"/>
<text prefix=". " variable="publisher-place"/>
<text prefix=", " variable="publisher" form="long"/>
<text prefix=", " macro="genre"/>
<date prefix=", " variable="issued" form="numeric" date-parts="year"/>
<text prefix=". — " variable="note"/>
</else-if>
<else-if type="webpage post post-weblog " match="any">
<text prefix=" " macro="title" suffix=". " font-style="italic"/>
<text prefix="URL " variable="URL"/>
<text prefix=". - " macro="access"/>
<text prefix=". — " variable="container-title"/>
<text prefix=". — " variable="note"/>
</else-if>
<else-if type="article article-journal article-magazine article-newspaper" match="any">
<text prefix=" " variable="title"/>
<group>
<text prefix=". " term="in" text-case="capitalize-first" suffix=": "/>
<text macro="editor" suffix=" "/>
<text variable="container-title" font-style="italic"/>
<text prefix=", " variable="collection-title" font-style="italic" suffix="."/>
</group>
<text prefix=" " macro="volumes"/>
<text prefix=". " variable="publisher-place"/>
<text prefix=", " variable="publisher" form="long"/>
<date prefix=" (" suffix=")" variable="issued" form="numeric" date-parts="year"/>
<text prefix=", Nr. " variable="issue"/>
<text prefix=", " macro="pages"/>
<text prefix=". — " variable="note"/>
<text prefix=" — ISBN " variable="ISBN"/>
</else-if>
<else>
<group suffix=".">
<text prefix=" " macro="title"/>
<text prefix=", " macro="editor"/>
<text prefix=". " macro="recipient-show"/>
</group>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/>
<group prefix=", ">
<text variable="volume" font-style="italic"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text prefix=", " macro="pages"/>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment