Skip to content

Commit

Permalink
Chicago: Uppercase "Presentated at" if no genre (JabRef#4729)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwiernik authored Apr 26, 2020
1 parent 143464e commit a789973
Show file tree
Hide file tree
Showing 12 changed files with 135 additions and 15 deletions.
12 changes: 11 additions & 1 deletion chicago-annotated-bibliography.csl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="note"/>
<category field="generic-base"/>
<summary>Chicago format with short notes and annotated bibliography</summary>
Expand Down Expand Up @@ -698,7 +701,14 @@
<choose>
<if variable="title">
<group delimiter=" ">
<text term="presented at"/>
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</if>
Expand Down
14 changes: 12 additions & 2 deletions chicago-author-date-16th-edition.csl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<name>Andrew Dunning</name>
<email>andrew.dunning@utoronto.ca</email>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>The author-date variant of the Chicago style</summary>
Expand Down Expand Up @@ -509,8 +512,15 @@
</choose>
</macro>
<macro name="event">
<group>
<text term="presented at" suffix=" "/>
<group delimiter=" ">
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</macro>
Expand Down
14 changes: 12 additions & 2 deletions chicago-author-date.csl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<email>matthew.g.roth@yale.edu</email>
<uri> https://orcid.org/0000-0001-7902-6331</uri>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>The author-date variant of the Chicago style</summary>
Expand Down Expand Up @@ -509,8 +512,15 @@
</choose>
</macro>
<macro name="event">
<group>
<text term="presented at" suffix=" "/>
<group delimiter=" ">
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</macro>
Expand Down
12 changes: 11 additions & 1 deletion chicago-fullnote-bibliography-16th-edition.csl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
<name>Andrew Dunning</name>
<email>andrew.dunning@utoronto.ca</email>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="note"/>
<category field="generic-base"/>
<summary>Chicago format with full notes and bibliography</summary>
Expand Down Expand Up @@ -665,7 +668,14 @@
<choose>
<if variable="title">
<group delimiter=" ">
<text term="presented at"/>
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</if>
Expand Down
12 changes: 11 additions & 1 deletion chicago-fullnote-bibliography-short-title-subsequent.csl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="note"/>
<category field="generic-base"/>
<summary>Chicago format with full notes and bibliography</summary>
Expand Down Expand Up @@ -699,7 +702,14 @@
<choose>
<if variable="title">
<group delimiter=" ">
<text term="presented at"/>
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</if>
Expand Down
12 changes: 11 additions & 1 deletion chicago-fullnote-bibliography-with-ibid.csl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="note"/>
<category field="generic-base"/>
<summary>Chicago format with full notes and bibliography</summary>
Expand Down Expand Up @@ -698,7 +701,14 @@
<choose>
<if variable="title">
<group delimiter=" ">
<text term="presented at"/>
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</if>
Expand Down
12 changes: 11 additions & 1 deletion chicago-fullnote-bibliography.csl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="note"/>
<category field="generic-base"/>
<summary>Chicago format with full notes and bibliography</summary>
Expand Down Expand Up @@ -698,7 +701,14 @@
<choose>
<if variable="title">
<group delimiter=" ">
<text term="presented at"/>
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</if>
Expand Down
12 changes: 11 additions & 1 deletion chicago-library-list.csl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="note"/>
<category field="generic-base"/>
<summary>Chicago format for creating library lists, where bibliography includes call numbers</summary>
Expand Down Expand Up @@ -698,7 +701,14 @@
<choose>
<if variable="title">
<group delimiter=" ">
<text term="presented at"/>
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</if>
Expand Down
12 changes: 11 additions & 1 deletion chicago-note-bibliography-16th-edition.csl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
<name>Andrew Dunning</name>
<email>andrew.dunning@utoronto.ca</email>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="note"/>
<category field="generic-base"/>
<summary>Chicago format with short notes and bibliography</summary>
Expand Down Expand Up @@ -665,7 +668,14 @@
<choose>
<if variable="title">
<group delimiter=" ">
<text term="presented at"/>
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</if>
Expand Down
12 changes: 11 additions & 1 deletion chicago-note-bibliography-with-ibid.csl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="note"/>
<category field="generic-base"/>
<summary>Chicago format with short notes and bibliography</summary>
Expand Down Expand Up @@ -698,7 +701,14 @@
<choose>
<if variable="title">
<group delimiter=" ">
<text term="presented at"/>
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</if>
Expand Down
12 changes: 11 additions & 1 deletion chicago-note-bibliography.csl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="note"/>
<category field="generic-base"/>
<summary>Chicago format with short notes and bibliography</summary>
Expand Down Expand Up @@ -698,7 +701,14 @@
<choose>
<if variable="title">
<group delimiter=" ">
<text term="presented at"/>
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</if>
Expand Down
14 changes: 12 additions & 2 deletions turabian-fullnote-bibliography.csl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
<category citation-format="note"/>
<category field="history"/>
<summary>Turabian note style, a variant of Chicago for students</summary>
Expand Down Expand Up @@ -455,8 +458,15 @@
</choose>
</macro>
<macro name="event">
<group>
<text term="presented at" suffix=" "/>
<group delimiter=" ">
<choose>
<if variable="genre">
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
<text variable="event"/>
</group>
</macro>
Expand Down

0 comments on commit a789973

Please sign in to comment.