Skip to content

Commit

Permalink
Create karlstad-universitet-kau-harvard-swedish.csl (JabRef#5083)
Browse files Browse the repository at this point in the history
Great, thanks!
  • Loading branch information
thehypermedia authored Nov 1, 2020
1 parent 6a62c24 commit 5c376b8
Showing 1 changed file with 360 additions and 0 deletions.
360 changes: 360 additions & 0 deletions karlstad-universitet-harvard.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,360 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" delimiter-precedes-et-al="always" delimiter-precedes-last="always" demote-non-dropping-particle="never" default-locale="sv-SE">
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Karlstad Universitet - Harvard (Swedish)</title>
<title-short>KAU Harvard</title-short>
<id>http://www.zotero.org/styles/karlstad-universitet-harvard</id>
<link href="http://www.zotero.org/styles/karlstad-universitet-harvard" rel="self"/>
<link href="http://www.zotero.org/styles/taylor-and-francis-harvard-x" rel="template"/>
<link href="https://www.zotero.org/styles/kth-royal-institute-of-technology-school-of-computer-science-and-communication-sv" rel="template"/>
<link href="https://www.libguides.kau.se/harvard" rel="documentation"/>
<author>
<name>Kurt Berndt</name>
<email>kurt.berndt@sh.se</email>
</author>
<author>
<name>Per Renstrom</name>
<email>thehypermedia@gmail.com</email>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>Harvard</summary>
<updated>2020-10-29T07:56:06+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="sv-SE">
<terms>
<term name="page" form="short">
<single>s.</single>
<multiple>ss.</multiple>
</term>
<term name="number-of-pages" form="short">
<single>s.</single>
<multiple>ss.</multiple>
</term>
<term name="available at">tillgänglig</term>
</terms>
</locale>
<macro name="author">
<choose>
<if type="motion_picture broadcast" match="none">
<names variable="author">
<name and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")."/>
<et-al font-style="italic"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="anon"/>
</substitute>
</names>
</if>
<else>
<choose>
<if variable="container-title">
<text variable="container-title" font-style="italic"/>
</if>
<else>
<text variable="title" font-style="italic"/>
</else>
</choose>
</else>
</choose>
<choose>
<if type="article-newspaper entry-dictionary entry-encyclopedia" match="any">
<choose>
<if variable="author editor" match="none">
<text variable="container-title"/>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="author-short">
<choose>
<if type="motion_picture broadcast" match="none">
<names variable="author">
<name form="short" delimiter=" " and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="anon"/>
</substitute>
</names>
</if>
<else>
<choose>
<if variable="container-title">
<text variable="container-title" font-style="italic"/>
</if>
<else>
<text variable="title" font-style="italic"/>
</else>
</choose>
</else>
</choose>
<choose>
<if type="article-newspaper entry-dictionary entry-encyclopedia" match="any">
<choose>
<if variable="author editor" match="none">
<text variable="container-title"/>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="anon">
<choose>
<if type="motion_picture broadcast article-newspaper entry-dictionary entry-encyclopedia" match="none">
<text term="anonymous" form="short" text-case="capitalize-first"/>
</if>
</choose>
</macro>
<macro name="access">
<choose>
<if type="webpage" variable="URL" match="all">
<group>
<text variable="URL"/>
</group>
<group prefix=" [" suffix="]" delimiter=" ">
<date variable="accessed">
<date-part name="year"/>
<date-part name="month" form="numeric-leading-zeros" strip-periods="true" prefix="-"/>
<date-part name="day" prefix="-"/>
</date>
</group>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="thesis" match="any">
<group delimiter=". ">
<text variable="title" font-style="italic"/>
<group>
<text variable="genre"/>
<text variable="number" prefix=" No. "/>
</group>
</group>
</if>
<else-if type="bill book graphic legal_case legislation map report song speech webpage" match="any">
<group delimiter=". ">
<group delimiter=", ">
<group delimiter=" ">
<text variable="title" font-style="italic"/>
</group>
<text variable="scale"/>
</group>
<text macro="edition"/>
</group>
</else-if>
<else-if type="motion_picture broadcast" match="any"/>
<else-if type="patent" match="any">
<text variable="title" font-style="italic" suffix=". "/>
</else-if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="container">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" text-case="capitalize-first" font-style="normal" suffix=" "/>
<group delimiter=". ">
<names variable="editor translator" delimiter=", ">
<name and="symbol" initialize-with=". " name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
<group delimiter=" ">
<text variable="container-title" font-style="italic"/>
</group>
</group>
</if>
<else-if type="bill book graphic legal_case legislation map motion_picture report song" match="any">
<text variable="container-title"/>
</else-if>
<else-if type="broadcast">
<choose>
<if variable="container-title">
<group delimiter=", ">
<text variable="number" prefix="Episode "/>
<text variable="title"/>
</group>
</if>
</choose>
</else-if>
<else-if type="webpage">
<text variable="container-title"/>
</else-if>
<else>
<group delimiter=" ">
<text variable="container-title" font-style="italic"/>
</group>
</else>
</choose>
</macro>
<macro name="report-details">
<choose>
<if type="report">
<group>
<text variable="genre"/>
<text variable="number" prefix=" No. "/>
</group>
</if>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="thesis" match="any">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</if>
<else>
<group delimiter=". ">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="report-details"/>
</group>
</else>
</choose>
</macro>
<macro name="event">
<choose>
<if variable="event">
<text term="presented at" text-case="capitalize-first" suffix=" "/>
<text variable="event"/>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else-if variable="accessed">
<choose>
<if type="webpage">
<date variable="accessed">
<date-part name="year"/>
</date>
</if>
</choose>
</else-if>
</choose>
</macro>
<macro name="edition">
<group delimiter=" ">
<choose>
<if is-numeric="edition">
<group>
<number suffix="." variable="edition"/>
<text value="uppl."/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</group>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine" match="any">
<group delimiter=" " prefix=", ">
<group delimiter="">
<text variable="volume"/>
<text variable="issue" prefix="(" suffix="),"/>
</group>
<group>
<label variable="collection-number" form="short"/>
<text variable="page" suffix="."/>
</group>
<group>
<text variable="DOI" prefix="doi:"/>
</group>
</group>
</if>
<else-if type=" article-newspaper" match="any">
<date variable="issued" prefix=", " form="text"/>
<group delimiter=" " prefix=". ">
<label plural="always" variable="page" form="short"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="bill book graphic legal_case legislation map motion_picture report song thesis" match="any">
<group delimiter=", " prefix=". ">
<text macro="event"/>
<text macro="publisher"/>
</group>
</else-if>
<else-if type="broadcast">
<group delimiter=". " prefix=", ">
<text variable="publisher"/>
<date variable="issued" delimiter=" ">
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=", " prefix=". ">
<text macro="event"/>
<text macro="publisher"/>
<group>
<text variable="page" prefix="ss."/>
</group>
</group>
</else-if>
<else-if type="patent" match="any">
<group>
<text variable="authority" suffix=": "/>
<text variable="number" suffix=", "/>
<date form="numeric" variable="issued"/>
</group>
</else-if>
</choose>
</macro>
<citation and="symbol" et-al-min="3" et-al-use-first="1" sort-separator=" " near-note-distance="0" disambiguate-add-names="true" disambiguate-add-givenname="true" disambiguate-add-year-suffix="true" givenname-disambiguation-rule="primary-name" collapse="year" cite-group-delimiter=" ">
<sort>
<key macro="issued"/>
<key macro="author"/>
</sort>
<layout delimiter="; " prefix="(" suffix=")">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="issued"/>
</group>
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography sort-separator=", " entry-spacing="0" hanging-indent="true">
<sort>
<key macro="author"/>
<key macro="issued" sort="ascending"/>
</sort>
<layout suffix=".">
<text macro="author"/>
<group delimiter=". " prefix=" ">
<text macro="issued" prefix="(" suffix=")"/>
<text macro="title"/>
<text macro="container"/>
<text variable="medium"/>
</group>
<text macro="locators"/>
<text macro="access" prefix=". "/>
</layout>
</bibliography>
</style>

0 comments on commit 5c376b8

Please sign in to comment.