Skip to content

Commit

Permalink
CMoS 17: Fix thesis, add uncertain date
Browse files Browse the repository at this point in the history
Will add other CMoS variants after this has been tested
  • Loading branch information
adam3smith committed Jul 4, 2018
1 parent 0b38d92 commit 4c85a85
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions chicago-fullnote-bibliography.csl
Expand Up @@ -758,10 +758,7 @@
<choose>
<if variable="issued">
<choose>
<if type="graphic report" match="any">
<date variable="issued" form="text"/>
</if>
<else-if type="legal_case">
<if type="legal_case">
<group delimiter=" ">
<text variable="authority"/>
<choose>
Expand All @@ -774,11 +771,16 @@
</else>
</choose>
</group>
</else-if>
<else-if type="book bill chapter graphic legislation motion_picture paper-conference report song thesis" match="any">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else-if type="book bill chapter legislation motion_picture paper-conference song thesis" match="any">
<choose>
<if is-uncertain-date="issued">
<date variable="issued" form="numeric" date-parts="year" prefix="[" suffix="?]"/>
</if>
<else>
<date variable="issued" form="numeric" date-parts="year"/>
</else>
</choose>
</else-if>
<else-if type="patent">
<group delimiter=", ">
Expand All @@ -800,7 +802,14 @@
</group>
</else-if>
<else>
<date variable="issued" form="text"/>
<choose>
<if is-uncertain-date="issued">
<date variable="issued" form="text" prefix="[" suffix="?]"/>
</if>
<else>
<date variable="issued" form="text"/>
</else>
</choose>
</else>
</choose>
</if>
Expand Down Expand Up @@ -1068,6 +1077,17 @@
<else-if type="article-newspaper">
<text macro="issued"/>
</else-if>
<else-if type="manuscript thesis speech" match="any">
<group delimiter=", " prefix="(" suffix=")">
<choose>
<if variable="title" match="any">
<text variable="genre"/>
</if>
</choose>
<text variable="publisher"/>
<text macro="issued"/>
</group>
</else-if>
<else-if variable="publisher-place event-place publisher" match="any">
<group prefix="(" suffix=")" delimiter=", ">
<text macro="event-note"/>
Expand All @@ -1081,26 +1101,6 @@
<text macro="issued"/>
</group>
</else-if>
<else-if variable="title" match="none">
<choose>
<if variable="genre">
<choose>
<if type="manuscript thesis speech" match="any">
<group delimiter=", " prefix="(" suffix=")">
<text variable="genre"/>
<text macro="issued"/>
</group>
</if>
<else>
<text macro="issued"/>
</else>
</choose>
</if>
<else>
<text macro="issued"/>
</else>
</choose>
</else-if>
<else>
<text macro="issued"/>
</else>
Expand Down

0 comments on commit 4c85a85

Please sign in to comment.