Skip to content

Commit

Permalink
add ibid/subsequent to comparative-politics.csl (#5669)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Oct 19, 2021
1 parent de0b116 commit 2cad8f6
Showing 1 changed file with 95 additions and 62 deletions.
157 changes: 95 additions & 62 deletions comparative-politics.csl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<category field="political_science"/>
<category field="social_science"/>
<issn>0010-4159</issn>
<updated>2017-07-30T15:50:21+00:00</updated>
<updated>2021-10-19T09:54:11+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>
<macro name="author">
Expand Down Expand Up @@ -92,76 +92,109 @@
</else>
</choose>
</macro>
<macro name="cite-locator">
<group delimiter=" ">
<choose>
<if match="none" locator="page">
<label variable="locator" form="short"/>
</if>
</choose>
<text variable="locator"/>
</group>
</macro>
<citation>
<layout delimiter="; " suffix=".">
<text macro="author" suffix=", "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group>
<group delimiter=", ">
<text variable="title" font-style="italic"/>
<text macro="edition"/>
</group>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<text variable="title" quotes="true" suffix=", "/>
<text term="in" suffix=" "/>
<group delimiter=", ">
<text macro="editor"/>
<text variable="container-title" text-case="title" font-style="italic"/>
<text macro="edition"/>
</group>
<group delimiter=", ">
<text macro="publisher"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="webpage">
<group delimiter=", " suffix=".">
<text variable="title"/>
<text variable="container-title" font-style="italic"/>
<text macro="year-date"/>
</group>
<text macro="access" prefix=". "/>
</else-if>
<else-if type="patent">
<if match="any" position="ibid-with-locator ibid">
<group delimiter=", ">
<text variable="title"/>
<text variable="number"/>
<text macro="year-date"/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=" ">
<text variable="title"/>
<group delimiter=", " prefix="(" suffix=")">
<text variable="genre"/>
<text variable="publisher"/>
<text macro="year-date"/>
</group>
<text term="ibid" form="short"/>
<text macro="cite-locator"/>
</group>
</else-if>
<else-if type="article article-journal" match="any">
</if>
<else-if match="any" position="subsequent">
<group delimiter=", ">
<text variable="title" quotes="true" suffix=","/>
<text variable="container-title" text-case="title" font-style="italic"/>
<group delimiter=" ">
<text variable="volume" font-weight="normal"/>
<text macro="year-date" prefix="(" suffix=")"/>
</group>
<text variable="page" form="short"/>
<names variable="author">
<name form="short"/>
</names>
<choose>
<if match="any" disambiguate="true">
<date date-parts="year" form="text" variable="issued"/>
</if>
</choose>
<text macro="cite-locator"/>
</group>
</else-if>
<else>
<group delimiter=", ">
<text variable="title" quotes="true" suffix=","/>
<text variable="container-title" text-case="title" font-style="italic"/>
<text variable="volume" font-weight="normal"/>
<text macro="year-date"/>
<text variable="page" form="short"/>
</group>
<text macro="author" suffix=", "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group>
<group delimiter=", ">
<text variable="title" font-style="italic"/>
<text macro="edition"/>
</group>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<text variable="title" quotes="true" suffix=", "/>
<text term="in" suffix=" "/>
<group delimiter=", ">
<text macro="editor"/>
<text variable="container-title" text-case="title" font-style="italic"/>
<text macro="edition"/>
</group>
<group delimiter=", ">
<text macro="publisher"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="webpage">
<group delimiter=", " suffix=".">
<text variable="title"/>
<text variable="container-title" font-style="italic"/>
<text macro="year-date"/>
</group>
<text macro="access" prefix=". "/>
</else-if>
<else-if type="patent">
<group delimiter=", ">
<text variable="title"/>
<text variable="number"/>
<text macro="year-date"/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=" ">
<text variable="title"/>
<group delimiter=", " prefix="(" suffix=")">
<text variable="genre"/>
<text variable="publisher"/>
<text macro="year-date"/>
</group>
</group>
</else-if>
<else-if type="article article-journal" match="any">
<group delimiter=", ">
<text variable="title" quotes="true" suffix=","/>
<text variable="container-title" text-case="title" font-style="italic"/>
<group delimiter=" ">
<text variable="volume" font-weight="normal"/>
<text macro="year-date" prefix="(" suffix=")"/>
</group>
<text variable="page" form="short"/>
</group>
</else-if>
<else>
<group delimiter=", ">
<text variable="title" quotes="true" suffix=","/>
<text variable="container-title" text-case="title" font-style="italic"/>
<text variable="volume" font-weight="normal"/>
<text macro="year-date"/>
<text variable="page" form="short"/>
</group>
</else>
</choose>
</else>
</choose>
</layout>
Expand Down

0 comments on commit 2cad8f6

Please sign in to comment.