Skip to content

Commit

Permalink
Update Turabian (full note) for 17.1.3.2 Reprint Editions (#5809)
Browse files Browse the repository at this point in the history
Add the originally-published and original-date extras
  • Loading branch information
dhacker29 authored Dec 31, 2021
1 parent 2169ddc commit f78c707
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 4 deletions.
53 changes: 51 additions & 2 deletions turabian-fullnote-bibliography-no-ibid.csl
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,43 @@
</else>
</choose>
</macro>
<macro name="originally-published">
<group delimiter=", ">
<group delimiter=": ">
<text variable="original-publisher-place"/>
<text variable="original-publisher"/>
</group>
<choose>
<if is-uncertain-date="original-date">
<date variable="original-date" form="numeric" date-parts="year" prefix="[" suffix="?]"/>
</if>
<else>
<date variable="original-date" form="numeric" date-parts="year"/>
</else>
</choose>
</group>
</macro>
<macro name="reprint-note">
<!--needs localization-->
<choose>
<if variable="original-date issued" match="all">
<choose>
<!--for whatever reason in notes, when we have both original and new publishers, reprint doesn't appear-->
<if variable="original-publisher original-publisher-place" match="none">
<text value="repr."/>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="reprint">
<!--needs localization-->
<choose>
<if variable="original-date issued" match="all">
<text value="reprint" text-case="capitalize-first"/>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
Expand Down Expand Up @@ -627,7 +664,13 @@
</choose>
<text macro="event"/>
</group>
<text macro="publisher"/>
<group delimiter="; ">
<text macro="originally-published"/>
<group delimiter=", ">
<text macro="reprint-note"/>
<text macro="publisher"/>
</group>
</group>
<text macro="issued"/>
</group>
</else-if>
Expand Down Expand Up @@ -659,7 +702,13 @@
<text variable="genre" text-case="capitalize-first"/>
</if>
</choose>
<text macro="publisher"/>
<group delimiter=". ">
<text macro="originally-published"/>
<group delimiter=", ">
<text macro="reprint"/>
<text macro="publisher"/>
</group>
</group>
<text macro="issued"/>
</group>
</else-if>
Expand Down
53 changes: 51 additions & 2 deletions turabian-fullnote-bibliography.csl
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,43 @@
</else>
</choose>
</macro>
<macro name="originally-published">
<group delimiter=", ">
<group delimiter=": ">
<text variable="original-publisher-place"/>
<text variable="original-publisher"/>
</group>
<choose>
<if is-uncertain-date="original-date">
<date variable="original-date" form="numeric" date-parts="year" prefix="[" suffix="?]"/>
</if>
<else>
<date variable="original-date" form="numeric" date-parts="year"/>
</else>
</choose>
</group>
</macro>
<macro name="reprint-note">
<!--needs localization-->
<choose>
<if variable="original-date issued" match="all">
<choose>
<!--for whatever reason in notes, when we have both original and new publishers, reprint doesn't appear-->
<if variable="original-publisher original-publisher-place" match="none">
<text value="repr."/>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="reprint">
<!--needs localization-->
<choose>
<if variable="original-date issued" match="all">
<text value="reprint" text-case="capitalize-first"/>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
Expand Down Expand Up @@ -627,7 +664,13 @@
</choose>
<text macro="event"/>
</group>
<text macro="publisher"/>
<group delimiter="; ">
<text macro="originally-published"/>
<group delimiter=", ">
<text macro="reprint-note"/>
<text macro="publisher"/>
</group>
</group>
<text macro="issued"/>
</group>
</else-if>
Expand Down Expand Up @@ -659,7 +702,13 @@
<text variable="genre" text-case="capitalize-first"/>
</if>
</choose>
<text macro="publisher"/>
<group delimiter=". ">
<text macro="originally-published"/>
<group delimiter=", ">
<text macro="reprint"/>
<text macro="publisher"/>
</group>
</group>
<text macro="issued"/>
</group>
</else-if>
Expand Down

0 comments on commit f78c707

Please sign in to comment.