-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Bug with "medium" variable (I think!) in SBL Handbook of Style 2nd Edition (Full Notes) style #8079
Description
RE: society-of-biblical-literature-fullnote-bibliography.csl
Hi, first of all, a huge thank you to the developers and contributors who have created and maintain this CSL style. I am very grateful, as I use it every day in my professional and academic writing.
I have noticed what I think is a (very minor) bug that I thought I would point out, wondering if it could be resolved in the official code. The issue is that when I have a value inputted in the "medium" field (in Zotero 8, I believe this is now called "format"), it is showing up twice in the bibliography entry (but not the footnote). For example, in this item, "Kindle eBook" shows up twice:
Watson, Francis. Gospel Writing: A Canonical Perspective. Kindle eBook. Eerdmans, 2013. Kindle eBook.
SBLHS2 (§6.2.25) indicates that the electronic book format should only be included at the end of the bibliographic entry, not in the middle.
I think I have found the piece of code that causes this. It is on line 416: <text variable="medium" text-case="capitalize-first"/>
(For context, here is the whole section of code):
412 <macro name="description">
413 <group delimiter=", ">
414 <group delimiter=". ">
415 <text macro="interviewer"/>
416 <text variable="medium" text-case="capitalize-first"/>
417 </group>
418 <choose>
419 <if variable="title" match="none"/>
420 <else-if type="thesis speech" match="any"/>
421 <else>
422 <text variable="genre" text-case="capitalize-first"/>
423 </else>
424 </choose>
425 </group>
426 </macro>
In any case, when I change this it in the Zotero style editor to <text variable="interviewer" text-case="capitalize-first"/> (to match the macro listed right above), it fixes the problem.
I am not well-versed in CSL coding language, so I could be totally off-base, but thought I'd post here to see if anyone might take a look. Thanks very much!