Skip to content

Commit

Permalink
Create arbok-hins-islenzka-fornleifafelags.csl (#5497)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Jun 11, 2021
1 parent 3a2ff5f commit 5d1629f
Showing 1 changed file with 337 additions and 0 deletions.
337 changes: 337 additions & 0 deletions arbok-hins-islenzka-fornleifafelags.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,337 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only" default-locale="is-IS">
<info>
<title>Árbók Hins íslenzka fornleifafélags (Íslenska)</title>
<title-short>HIF</title-short>
<id>http://www.zotero.org/styles/arbok-hins-islenzka-fornleifafelags</id>
<link href="http://www.zotero.org/styles/arbok-hins-islenzka-fornleifafelags" rel="self"/>
<link href="http://www.zotero.org/styles/latin-american-perspectives" rel="template"/>
<link href="https://hif.is/leidbeiningar-fyrir-hofunda/" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="note"/>
<category field="humanities"/>
<issn>0256-8426</issn>
<updated>2021-06-10T12:02:30+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="is">
<terms>
<term name="cited">hlaðið niður þann</term>
</terms>
</locale>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
<names variable="editor translator" delimiter=", ">
<label form="short" text-case="capitalize-first"/>
<name prefix=" " and="text" initialize="false" initialize-with=". "/>
</names>
</if>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if type="chapter paper-conference" match="none">
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
<name and="text" initialize-with=". " initialize="false" delimiter=", "/>
<label form="short" prefix=", "/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="first" and="text" sort-separator=", " initialize-with=". " initialize="false" delimiter=", "/>
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="report">
<text variable="publisher"/>
<text macro="title"/>
</if>
<else>
<text macro="title"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter=", " initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="report">
<text variable="publisher"/>
<text variable="title" form="short"/>
</if>
<else-if type="bill book graphic legal_case legislation motion_picture song" match="any">
<text variable="title" form="short"/>
</else-if>
<else>
<text variable="title" form="short" quotes="true"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="pages-chapter">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="report thesis" match="any">
<text variable="title" font-style="italic"/>
<group prefix=" (" suffix=")">
<text variable="genre"/>
<text variable="number" prefix=" No. "/>
</group>
</if>
<else-if type="bill book graphic legal_case legislation manuscript motion_picture report song speech" match="any">
<text variable="title" font-style="italic"/>
</else-if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="report" match="any">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</if>
<else-if type="thesis" match="any">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</else-if>
<else>
<choose>
<if variable="event" match="none">
<text variable="genre" suffix=", "/>
</if>
</choose>
<group delimiter=". ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</else>
</choose>
</macro>
<macro name="event">
<choose>
<if variable="event">
<choose>
<if variable="genre" match="none">
<text term="presented at" text-case="capitalize-first" suffix=" "/>
<text variable="event"/>
</if>
<else>
<group delimiter=" ">
<text variable="genre" text-case="capitalize-first"/>
<text term="presented at"/>
<text variable="event"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<group>
<date variable="issued">
<date-part name="year"/>
</date>
<choose>
<if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
<date variable="issued">
<date-part prefix=", " name="month"/>
<date-part prefix=" " name="day"/>
</date>
</if>
</choose>
</group>
</if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
</else>
</choose>
</macro>
<macro name="issued-year">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</if>
<else>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine" match="any">
<group delimiter=", " prefix=" ">
<group>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="page"/>
</group>
</group>
</if>
<else-if type="article-newspaper">
<group delimiter=" " prefix=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<group prefix=" " delimiter=", ">
<text macro="edition"/>
<group>
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=" "/>
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
</group>
<group>
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
<number variable="volume" form="numeric"/>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="citation-locator">
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal" match="any">
<text variable="container-title"/>
</if>
<else>
<text variable="container-title"/>
</else>
</choose>
</macro>
<macro name="access">
<group delimiter=". ">
<text variable="URL"/>
<group delimiter=" ">
<text term="cited" text-case="capitalize-first"/>
<date form="text" variable="accessed"/>
</group>
</group>
</macro>
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year" givenname-disambiguation-rule="primary-name">
<sort>
<key variable="issued" sort="ascending"/>
<key macro="author"/>
</sort>
<layout delimiter="; ">
<choose>
<if type="webpage" match="all">
<text variable="URL"/>
</if>
<else>
<group delimiter=", ">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="issued-year"/>
</group>
<text macro="citation-locator"/>
</group>
</else>
</choose>
</layout>
</citation>
<bibliography entry-spacing="0" line-spacing="1">
<sort>
<key macro="author"/>
<key variable="issued" sort="ascending"/>
</sort>
<layout suffix=".">
<choose>
<if type="webpage" match="any">
<choose>
<if match="none" variable="author">
<text macro="access"/>
</if>
<else>
<group delimiter=". ">
<text macro="author"/>
<text macro="issued-year"/>
<text macro="title"/>
<text macro="access"/>
</group>
</else>
</choose>
</if>
<else>
<group delimiter=". ">
<text macro="author"/>
<text macro="issued"/>
<text macro="title"/>
<group delimiter=" ">
<text macro="container-title" font-style="italic"/>
<text variable="collection-title"/>
<text macro="locators"/>
</group>
<group delimiter=", ">
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text macro="pages-chapter"/>
</group>
<group delimiter=", ">
<text macro="event"/>
<text macro="publisher"/>
</group>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>

0 comments on commit 5d1629f

Please sign in to comment.