Skip to content

Commit

Permalink
Update interpreting.csl (#7199)
Browse files Browse the repository at this point in the history
Updated the sorting of reference entries by author and year, and add a dot after (n.d.)
  • Loading branch information
Nannan-Liu authored Sep 9, 2024
1 parent 4e0902d commit 3833bfa
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions interpreting.csl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" and="symbol" delimiter-precedes-last="never" page-range-format="expanded" demote-non-dropping-particle="never" default-locale="en-GB">
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Interpreting</title>
<title-short>INTP</title-short>
Expand All @@ -13,7 +14,7 @@
<category citation-format="author-date"/>
<issn>1384-6647</issn>
<eissn>1569-982X</eissn>
<updated>2022-10-02T14:03:36+00:00</updated>
<updated>2024-09-09T12:53:10+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="en">
Expand All @@ -39,7 +40,7 @@
<choose>
<if type="chapter paper-conference" match="none">
<names variable="translator editor" delimiter=", ">
<name and="symbol" delimiter-precedes-last="never" initialize-with="."/>
<name and="symbol" delimiter-precedes-last="never" initialize-with=". "/>
<label form="short" text-case="title" prefix=" (" suffix="), "/>
</names>
</if>
Expand Down Expand Up @@ -96,7 +97,11 @@
</macro>
<macro name="access">
<choose>
<if variable="URL">
<if type="bill legal_case legislation" match="any"/>
<else-if variable="DOI" match="any">
<text variable="DOI" prefix="https://doi.org/"/>
</else-if>
<else-if variable="URL">
<text variable="URL"/>
<group delimiter=" " prefix=" (" suffix=").">
<text term="accessed"/>
Expand All @@ -106,7 +111,7 @@
<date-part name="year"/>
</date>
</group>
</if>
</else-if>
<else-if variable="archive">
<choose>
<if type="article article-journal article-magazine article-newspaper dataset paper-conference report speech thesis" match="any">
Expand Down Expand Up @@ -196,7 +201,7 @@
</date>
<text variable="year-suffix"/>
<choose>
<if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
<if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song software thesis" match="none">
<date variable="issued">
<date-part prefix=", " name="month"/>
<date-part prefix=" " name="day"/>
Expand All @@ -206,7 +211,7 @@
</group>
</if>
<else>
<group prefix=" (" suffix=")">
<group prefix=" (" suffix=").">
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
Expand All @@ -233,13 +238,18 @@
</macro>
<macro name="issued-year">
<choose>
<if variable="issued">
<date form="text" variable="issued" date-parts="year"/>
<if variable="issued" match="all">
<date date-parts="year" form="text" variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</if>
<else-if type="software thesis" match="any">
<date date-parts="year" form="text" variable="issued"/>
</else-if>
<else-if match="any" is-uncertain-date="issued">
<text term="in press" prefix=", "/>
<date form="text" variable="issued" date-parts="year"/>
<date form="text" variable="issued"/>
</else-if>
<else>
<text term="no date" form="short"/>
Expand Down Expand Up @@ -381,8 +391,8 @@
<key macro="author" names-min="1" names-use-first="1"/>
<key macro="author-count" names-min="3" names-use-first="3"/>
<key macro="author" names-min="3" names-use-first="1"/>
<key variable="title"/>
<key macro="issued-year" sort="ascending"/>
<key variable="title"/>
</sort>
<layout>
<group suffix=".">
Expand All @@ -398,9 +408,9 @@
<group delimiter=", " prefix=". ">
<text macro="event"/>
<text macro="publisher"/>
<text macro="access"/>
</group>
</group>
<text macro="access" strip-periods="false" prefix=" "/>
</layout>
</bibliography>
</style>

0 comments on commit 3833bfa

Please sign in to comment.