Skip to content

Commit

Permalink
Update society-of-biblical-literature-fullnote-bibliography.csl (#5436)
Browse files Browse the repository at this point in the history
* When a custom citation is triggered by the annote variable being used, this change inserts a comma and space (rather than space only) as a delimiter before the locator. This helps prevent the need to store the comma in annote and improves interoperability with similar styles (e.g., Catholic Biblical Association) that require an identical abbreviated reference but a different delimiter (space only).

* Updated the annote-based citation section to exclude a comma before the locator only in the case of a section locator type. The comma is otherwise included.
  • Loading branch information
dstark authored May 16, 2021
1 parent 1de799b commit 47a603c
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions society-of-biblical-literature-fullnote-bibliography.csl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<category citation-format="note"/>
<category field="theology"/>
<summary>Society of Biblical Literature format with full notes and bibliography</summary>
<updated>2021-04-13T15:55:26+00:00</updated>
<updated>2021-05-10T14:27:36+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-US">
Expand Down Expand Up @@ -684,8 +684,8 @@
</if>
<else>
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</else>
</choose>
Expand Down Expand Up @@ -938,10 +938,20 @@
<choose>
<!-- Support custom citations via the annote variable. For discussion, see https://forums.zotero.org/discussion/comment/317370 -->
<if variable="annote">
<group delimiter=" ">
<text variable="annote"/>
<text macro="point-locators-subsequent"/>
</group>
<choose>
<if locator="section">
<group delimiter=" ">
<text variable="annote"/>
<text macro="point-locators-subsequent"/>
</group>
</if>
<else>
<group delimiter=", ">
<text variable="annote"/>
<text macro="point-locators-subsequent"/>
</group>
</else>
</choose>
</if>
<!-- Lexicon/Dictionary/Encyclopedia -->
<else-if type="entry-dictionary entry-encyclopedia" match="any">
Expand Down

0 comments on commit 47a603c

Please sign in to comment.