Skip to content

Commit

Permalink
Further improvements to norsk-henvisningsstandad-for-rettsvitenskapel…
Browse files Browse the repository at this point in the history
…ige-tekster.csl (#5539)
  • Loading branch information
StianOby authored Jul 5, 2021
1 parent ec4a4c0 commit d4dc679
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions norsk-henvisningsstandard-for-rettsvitenskapelige-tekster.csl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
<term name="edition">utgave</term>
<term name="edition" form="short">utg.</term>
<term name="volume">bind</term>
<term name="page">side</term>
<term name="page" form="short">s.</term>
</terms>
</locale>
<macro name="type-sorting">
Expand Down Expand Up @@ -201,21 +203,15 @@
</choose>
</macro>
<macro name="DOI">
<choose>
<if variable="DOI" match="none">
<text prefix=", " variable="URL"/>
</if>
<else>
<text prefix=". DOI: https://doi.org/" variable="DOI"/>
</else>
</choose>
<text prefix=". DOI: https://doi.org/" variable="DOI"/>
</macro>
<macro name="nor-case">
<choose>
<if variable="container-title" match="any">
<text variable="container-title"/>
<text prefix=" " variable="volume"/>
<text prefix=" s. " variable="page"/>
<text prefix=" " suffix=" " term="page" form="short"/>
<text variable="page"/>
<text prefix=" (" suffix=")" variable="title-short"/>
</if>
<else-if variable="number" match="any">
Expand Down Expand Up @@ -290,7 +286,8 @@
<text prefix=", " macro="title"/>
<text prefix=" " font-style="italic" variable="container-title"/>
<text prefix=" " macro="issued"/>
<text prefix=" s. " variable="page"/>
<text prefix=" " suffix=" " term="page" form="short"/>
<text variable="page"/>
<text macro="DOI"/>
<text prefix=" " macro="retrieved-from"/>
</group>
Expand Down Expand Up @@ -321,6 +318,7 @@
<text macro="edition-short"/>
<text prefix=", " variable="publisher"/>
<text prefix=" " macro="issued-no-parenthesis"/>
<text macro="DOI"/>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
Expand All @@ -333,8 +331,15 @@
<text macro="edition-short"/>
<text prefix=", " variable="publisher"/>
<text prefix=" " macro="issued-no-parenthesis"/>
<text prefix=", " variable="URL"/>
<text prefix=" " macro="accessed-date"/>
<choose>
<if variable="DOI" match="any">
<text prefix=". DOI: https://doi.org/" variable="DOI"/>
</if>
<else-if variable="URL" match="any">
<text prefix=", " variable="URL"/>
<text macro="accessed-date"/>
</else-if>
</choose>
</group>
</else-if>
<else-if type="legislation bill" match="any">
Expand Down

0 comments on commit d4dc679

Please sign in to comment.