<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="chicago" default-locale="en-GB">
  <info>
    <title>Tyndale Bulletin</title>
    <id>http://www.zotero.org/styles/tyndale-bulletin</id>
    <link href="http://www.zotero.org/styles/tyndale-bulletin" rel="self"/>
    <link href="http://www.zotero.org/styles/society-of-biblical-literature-fullnote-bibliography" rel="template"/>
    <link href="https://tyndalebulletin.org/for-authors" rel="documentation"/>
    <author>
      <name>J. David Stark</name>
      <email>david@jdavidstark.com</email>
      <uri>https://www.jdavidstark.com/</uri>
    </author>
    <category citation-format="note"/>
    <category field="theology"/>
    <issn>0082-7118</issn>
    <eissn>2752-7042</eissn>
    <summary>Tyndale Bulletin format with full notes and bibliography</summary>
    <updated>2022-04-19T07:53:29+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>
    <!-- Tyndale Bulletin style differs from SBLHS2 only rarely (§4.1). The departures are that Tyndale Bulletin 
      1) insists that DOIs be included where available (§§11.1, 11.3.7) and
      2) uses British-style quotation mark conventions (§§8.1, 11.1, 11.6.6-11.3.8). -->
  </info>
  <locale xml:lang="en-GB">
    <!-- Punctuate outside quotations per the January 2022 update to the style guide. -->
    <style-options punctuation-in-quote="false"/>
    <terms>
      <term name="collection-editor" form="verb">edited by</term>
      <term name="collection-editor" form="verb-short">ed.</term>
      <term name="editor" form="verb-short">ed.</term>
      <term name="editortranslator" form="verb-short">ed. and trans.</term>
      <term name="editortranslator" form="verb">edited and translated by</term>
      <!-- Use en dash in page ranges per the January 2022 update to the style guide. -->
      <term name="page-range-delimiter">&#8211;</term>
      <term name="review-of">review of</term>
      <term name="section" form="short">
        <single>§</single>
        <multiple>§§</multiple>
      </term>
      <term name="translator" form="verb-short">trans.</term>
      <term name="translator" form="short">trans.</term>
      <!-- Use a period after the abbreviation for volume(s) per §12.3. -->
      <term name="volume" form="short">
        <single>vol.</single>
        <multiple>vols.</multiple>
      </term>
    </terms>
  </locale>
  <macro name="editor-translator-verb-short-comma">
    <names variable="editor translator" delimiter=", ">
      <label form="verb-short" suffix=" "/>
      <name and="text" delimiter=", "/>
    </names>
  </macro>
  <macro name="editor-translator-verb-period">
    <names variable="editor translator" delimiter=". ">
      <label form="verb" text-case="capitalize-first" suffix=" "/>
      <name and="text" delimiter=", "/>
    </names>
  </macro>
  <macro name="editor-translator-verb-comma">
    <names variable="editor translator" delimiter=", ">
      <label form="verb" text-case="capitalize-first" suffix=" "/>
      <name and="text" delimiter=", "/>
    </names>
  </macro>
  <macro name="container-author-reviewed-author-and-editor-translator">
    <group delimiter=", ">
      <choose>
        <if variable="container-author reviewed-author" match="any">
          <names variable="container-author reviewed-author" delimiter=", ">
            <label form="verb-short" suffix=" "/>
            <name and="text" delimiter=", "/>
          </names>
        </if>
      </choose>
      <text macro="editor-translator-verb-short-comma"/>
    </group>
  </macro>
  <macro name="secondary-contributors-note">
    <choose>
      <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
        <text macro="container-author-reviewed-author-and-editor-translator"/>
      </if>
    </choose>
  </macro>
  <macro name="container-contributors-note">
    <choose>
      <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
        <group delimiter=", ">
          <text macro="editor-translator-verb-short-comma"/>
          <names variable="container-author">
            <label form="verb-short" suffix=" "/>
            <name and="text" delimiter=", "/>
          </names>
        </group>
      </if>
    </choose>
  </macro>
  <macro name="secondary-contributors">
    <choose>
      <if type="chapter paper-conference" match="none">
        <group delimiter=". " prefix=" ">
          <text macro="editor-translator-verb-period"/>
          <names variable="container-author">
            <label form="verb" text-case="capitalize-first" suffix=" "/>
            <name and="text" delimiter=", "/>
          </names>
        </group>
      </if>
    </choose>
  </macro>
  <macro name="container-contributors">
    <choose>
      <if type="chapter paper-conference" match="any">
        <group delimiter=", " prefix=" ">
          <text macro="editor-translator-verb-comma"/>
          <names variable="container-author">
            <label form="verb" text-case="capitalize-first" suffix=" "/>
            <name and="text" delimiter=", "/>
          </names>
        </group>
      </if>
    </choose>
  </macro>
  <macro name="editor-note">
    <names variable="editor">
      <name and="text" sort-separator=", " delimiter=", "/>
      <label form="short" prefix=", "/>
    </names>
  </macro>
  <macro name="collection-editor-note">
    <names variable="collection-editor">
      <label form="verb-short" suffix=" "/>
      <name and="text" sort-separator=", " delimiter=", "/>
    </names>
  </macro>
  <macro name="collection-editor">
    <group delimiter=", " prefix=". ">
      <names variable="collection-editor" delimiter=", ">
        <label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
        <name and="text" delimiter=", "/>
      </names>
    </group>
  </macro>
  <macro name="translator-note">
    <names variable="translator">
      <name and="text" sort-separator=", " delimiter=", "/>
      <label form="verb-short" prefix=", "/>
    </names>
  </macro>
  <macro name="recipient-note">
    <names variable="recipient" delimiter=", ">
      <label form="verb" prefix=" " suffix=" "/>
      <name and="text" delimiter=", "/>
    </names>
  </macro>
  <macro name="contributors-note">
    <names variable="author">
      <name and="text" sort-separator=", " delimiter=", "/>
      <substitute>
        <text macro="editor-note"/>
        <text macro="translator-note"/>
      </substitute>
    </names>
    <text macro="recipient-note"/>
  </macro>
  <macro name="editor">
    <names variable="editor">
      <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
      <label form="short" prefix=", "/>
    </names>
  </macro>
  <macro name="translator">
    <names variable="translator">
      <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
      <label form="verb-short" prefix=", "/>
    </names>
  </macro>
  <macro name="recipient">
    <choose>
      <if type="personal_communication">
        <choose>
          <if variable="genre">
            <text variable="genre" text-case="capitalize-first"/>
          </if>
          <else>
            <text term="letter" text-case="capitalize-first"/>
          </else>
        </choose>
      </if>
    </choose>
    <text macro="recipient-note" prefix=" "/>
  </macro>
  <macro name="contributors">
    <names variable="author">
      <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
      <substitute>
        <text macro="editor"/>
        <text macro="translator"/>
      </substitute>
    </names>
    <text macro="recipient" prefix=". "/>
  </macro>
  <macro name="recipient-short">
    <names variable="recipient">
      <label form="verb" prefix=" " suffix=" "/>
      <name form="short" and="text" delimiter=", "/>
    </names>
  </macro>
  <macro name="contributors-short">
    <names variable="author">
      <name form="short" and="text" delimiter=", "/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
      </substitute>
    </names>
    <text macro="recipient-short"/>
  </macro>
  <macro name="container-contributors-short">
    <choose>
      <if type="chapter paper-conference" match="any">
        <group delimiter="; ">
          <choose>
            <if variable="author">
              <names variable="editor" delimiter=", ">
                <label form="verb-short" suffix=" "/>
                <name form="short" and="text" delimiter=", "/>
              </names>
            </if>
          </choose>
          <choose>
            <if variable="author editor" match="any">
              <names variable="translator" delimiter=", ">
                <label form="verb-short" suffix=" "/>
                <name form="short" and="text" delimiter=", "/>
              </names>
            </if>
          </choose>
        </group>
      </if>
    </choose>
  </macro>
  <macro name="contributors-sort">
    <names variable="author">
      <name name-as-sort-order="all" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
      </substitute>
    </names>
  </macro>
  <macro name="interviewer-note">
    <names variable="interviewer" delimiter=", ">
      <label form="verb" prefix=" " suffix=" "/>
      <name and="text" delimiter=", "/>
    </names>
  </macro>
  <macro name="interviewer">
    <names variable="interviewer" delimiter=", ">
      <label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
      <name and="text" delimiter=", "/>
    </names>
  </macro>
  <macro name="title-note">
    <choose>
      <if variable="title" match="none">
        <text variable="genre"/>
      </if>
      <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
        <text variable="title" font-style="italic" text-case="title"/>
      </else-if>
      <!-- Include "review of" prefix, italicize the book titles in untitled book reviews per §§11.3.8-11.3.9. -->
      <else-if variable="reviewed-author">
        <choose>
          <!-- Include the review title, if avaialable, in quotation marks per §11.3.8. -->
          <if variable="reviewed-title">
            <group delimiter=" ">
              <text variable="title" quotes="true" suffix=", " text-case="title"/>
              <text term="review-of"/>
              <text variable="reviewed-title" font-style="italic" text-case="title"/>
            </group>
          </if>
          <else>
            <group delimiter=" ">
              <text term="review-of"/>
              <text variable="title" font-style="italic" text-case="title"/>
            </group>
          </else>
        </choose>
      </else-if>
      <else>
        <text variable="title" quotes="true" text-case="title"/>
      </else>
    </choose>
  </macro>
  <macro name="title">
    <choose>
      <if variable="title" match="none">
        <choose>
          <if type="personal_communication" match="none">
            <text variable="genre" text-case="capitalize-first"/>
          </if>
        </choose>
      </if>
      <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
        <text variable="title" font-style="italic" text-case="title"/>
      </else-if>
      <!-- Include the reviewed author for book reviews per §§11.3.8-11.3.9. -->
      <else-if variable="reviewed-author">
        <choose>
          <if variable="reviewed-title">
            <group delimiter=" ">
              <text variable="title" quotes="true" suffix="," text-case="title"/>
              <text term="review-of"/>
              <text variable="reviewed-title" font-style="italic" suffix="," text-case="title"/>
              <names variable="reviewed-author">
                <label form="verb" suffix=" "/>
                <name and="text"/>
              </names>
            </group>
          </if>
          <else>
            <group delimiter=" ">
              <text term="review-of" text-case="capitalize-first"/>
              <text variable="title" font-style="italic" suffix=", " text-case="title"/>
              <names variable="reviewed-author">
                <label form="verb" suffix=" "/>
                <name and="text"/>
              </names>
            </group>
          </else>
        </choose>
      </else-if>
      <else>
        <text variable="title" quotes="true" text-case="title"/>
      </else>
    </choose>
  </macro>
  <macro name="title-short">
    <choose>
      <if variable="title" match="none">
        <choose>
          <if type="interview">
            <text term="interview"/>
          </if>
          <else-if type="manuscript speech" match="any">
            <text variable="genre" form="short"/>
          </else-if>
          <else-if type="personal_communication">
            <text macro="issued"/>
          </else-if>
        </choose>
      </if>
      <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
        <text variable="title" form="short" font-style="italic" text-case="title"/>
      </else-if>
      <!-- For short citations, use the short review title if available. Otherwise, use a "review of" prefix, italicize the short book title per §11.3.8. -->
      <else-if variable="reviewed-author">
        <choose>
          <if variable="reviewed-title">
            <text variable="title" quotes="true" text-case="title"/>
          </if>
          <else>
            <group delimiter=" ">
              <text term="review-of"/>
              <text variable="title" font-style="italic" form="short" text-case="title"/>
            </group>
          </else>
        </choose>
      </else-if>
      <else>
        <text variable="title" form="short" quotes="true" text-case="title"/>
      </else>
    </choose>
  </macro>
  <macro name="disambiguate-chapter">
    <choose>
      <if type="chapter paper-conference" match="any">
        <choose>
          <if disambiguate="true">
            <text macro="container-contributors-short" prefix="(" suffix=")"/>
          </if>
        </choose>
      </if>
    </choose>
  </macro>
  <macro name="description-note">
    <group delimiter=", ">
      <text macro="interviewer-note"/>
      <text variable="medium"/>
      <choose>
        <if variable="title" match="none"/>
        <else-if type="thesis speech" match="any"/>
        <else>
          <text variable="genre"/>
        </else>
      </choose>
    </group>
  </macro>
  <macro name="description">
    <group delimiter=", ">
      <group delimiter=". ">
        <text macro="interviewer"/>
        <text variable="medium" text-case="capitalize-first"/>
      </group>
      <choose>
        <if variable="title" match="none"/>
        <else-if type="thesis speech" match="any"/>
        <else>
          <text variable="genre" text-case="capitalize-first"/>
        </else>
      </choose>
    </group>
  </macro>
  <macro name="container-title-note">
    <choose>
      <if type="chapter paper-conference" match="any">
        <text term="in" suffix=" "/>
        <text variable="container-title" font-style="italic" text-case="title"/>
      </if>
      <else-if type="article-journal">
        <text variable="container-title" font-style="italic" form="short" text-case="title"/>
      </else-if>
      <else>
        <text variable="container-title" font-style="italic" text-case="title"/>
      </else>
    </choose>
  </macro>
  <macro name="collection-title">
    <choose>
      <if variable="volume number-of-volumes" match="any">
        <!-- Presence of Volume info indicates multivolume work rather than series -->
        <choose>
          <!--This section required here rather than in title-note because the group delimiter inserts an unneeded comma otherwise-->
          <if type="chapter" variable="container-title" match="all">
            <!--Filter SBL 6.2.23-->
          </if>
          <else-if type="chapter" variable="collection-title" match="all">
            <!--Filter SBL 6.2.22-->
            <group>
              <text term="volume" form="short" suffix=" "/>
              <number variable="volume" form="numeric"/>
              <text value=" of "/>
            </group>
          </else-if>
        </choose>
        <text variable="collection-title" form="short" text-case="title" font-style="italic"/>
        <text variable="collection-number" prefix=" "/>
      </if>
      <else>
        <text variable="collection-title" form="short" text-case="title"/>
        <text variable="collection-number" prefix=" "/>
      </else>
    </choose>
  </macro>
  <macro name="collection-title-note">
    <choose>
      <if variable="volume number-of-volumes" match="any">
        <!-- Presence of Volume info indicates multivolume work rather than series -->
        <choose>
          <!-- This section required here rather than in title-note because the group delimiter inserts an unneeded comma otherwise-->
          <if type="chapter paper-conference" match="any">
            <choose>
              <if variable="container-title" match="none">
                <text term="in" suffix=" "/>
              </if>
            </choose>
          </if>
        </choose>
        <text variable="collection-title" form="short" text-case="title" font-style="italic"/>
        <text variable="collection-number" prefix=" "/>
      </if>
      <else>
        <text variable="collection-title" form="short" text-case="title"/>
        <text variable="collection-number" prefix=" "/>
      </else>
    </choose>
  </macro>
  <macro name="container-title">
    <choose>
      <!-- Added dictionary and encyclopedia to get page and volume information-->
      <if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
        <group delimiter=" " suffix=" ">
          <label variable="page" form="long" text-case="capitalize-first"/>
          <text variable="page"/>
          <text term="in"/>
          <choose>
            <!-- Added dictionary and encyclopedia to get volume information-->
            <if type="entry-dictionary entry-encyclopedia" match="any">
              <choose>
                <if match="any" variable="volume">
                  <label suffix=" " variable="volume" form="short"/>
                  <number variable="volume"/>
                  <text value="of" suffix=" "/>
                </if>
              </choose>
            </if>
          </choose>
        </group>
      </if>
    </choose>
    <choose>
      <if type="article-journal">
        <text variable="container-title" font-style="italic" text-case="title" form="short"/>
      </if>
      <else>
        <text variable="container-title" font-style="italic" text-case="title"/>
      </else>
    </choose>
  </macro>
  <macro name="edition-note">
    <choose>
      <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
        <choose>
          <if is-numeric="edition">
            <group delimiter=" ">
              <number variable="edition" form="ordinal"/>
              <text term="edition" form="short"/>
            </group>
          </if>
          <else>
            <text variable="edition" suffix="."/>
          </else>
        </choose>
      </if>
    </choose>
  </macro>
  <macro name="edition">
    <choose>
      <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
        <choose>
          <if is-numeric="edition">
            <group delimiter=" ">
              <number variable="edition" form="ordinal"/>
              <text term="edition" form="short"/>
            </group>
          </if>
          <else>
            <text variable="edition" text-case="capitalize-first" suffix="."/>
          </else>
        </choose>
      </if>
    </choose>
  </macro>
  <macro name="locators-note">
    <choose>
      <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
        <group delimiter=", ">
          <!--Repositioned Edition to proceed volume-->
          <text macro="edition-note"/>
          <choose>
            <if variable="volume">
              <!--If volume-->
              <choose>
                <if type="book" variable="collection-title" match="all">
                  <!--SBL 6.2.21-->
                  <group>
                    <text term="volume" form="short" suffix=" "/>
                    <number variable="volume" form="numeric"/>
                    <text value=" of"/>
                  </group>
                </if>
                <else-if type="chapter" variable="collection-title" match="all">
                  <!--SBL 6.2.23-->
                  <group>
                    <text term="volume" form="short" suffix=" "/>
                    <number variable="volume" form="numeric"/>
                    <text value=" of"/>
                  </group>
                </else-if>
                <else-if variable="locator page" match="none">
                  <group>
                    <text term="volume" form="short" suffix=" "/>
                    <number variable="volume" form="numeric"/>
                  </group>
                </else-if>
              </choose>
            </if>
            <else>
              <group>
                <number variable="number-of-volumes" form="numeric"/>
                <text term="volume" form="short" prefix=" " plural="true"/>
              </group>
            </else>
          </choose>
        </group>
      </if>
    </choose>
  </macro>
  <macro name="locators">
    <choose>
      <if type="article-journal">
        <group prefix=" " delimiter=".">
          <text variable="volume"/>
          <number variable="issue"/>
        </group>
      </if>
      <else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
        <group prefix=". " delimiter=". ">
          <!--Repositioned Edition to proceed volume-->
          <text macro="edition"/>
          <choose>
            <if variable="volume">
              <!--If volume-->
              <choose>
                <if type="book" variable="collection-title" match="all">
                  <!--SBL 6.2.21-->
                  <group>
                    <text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
                    <number variable="volume" form="numeric"/>
                    <text value=" of"/>
                  </group>
                </if>
                <else-if type="chapter" variable="collection-title" match="all">
                  <!--SBL 6.2.23-->
                  <group>
                    <text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
                    <number variable="volume" form="numeric"/>
                    <text value=" of"/>
                  </group>
                </else-if>
                <else-if variable="locator page" match="none">
                  <group>
                    <text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
                    <number variable="volume" form="numeric"/>
                  </group>
                </else-if>
              </choose>
            </if>
            <else>
              <group>
                <number variable="number-of-volumes" form="numeric"/>
                <text term="volume" form="short" prefix=" " plural="true"/>
              </group>
            </else>
          </choose>
        </group>
      </else-if>
      <!-- Added dictionary and encyclopedia to properly display volume information-->
      <else-if type="entry-dictionary entry-encyclopedia" match="any">
        <group prefix=". ">
          <number variable="number-of-volumes" form="numeric"/>
          <text term="volume" form="short" prefix=" " plural="true"/>
        </group>
      </else-if>
    </choose>
  </macro>
  <macro name="locators-newspaper">
    <choose>
      <if type="article-newspaper">
        <group delimiter=", ">
          <group delimiter=" ">
            <text variable="edition"/>
            <text term="edition"/>
          </group>
          <group>
            <text term="section" form="short" suffix=" "/>
            <text variable="section"/>
          </group>
        </group>
      </if>
    </choose>
  </macro>
  <macro name="event">
    <group>
      <text term="presented at" suffix=" "/>
      <text variable="event"/>
    </group>
  </macro>
  <macro name="publisher">
    <choose>
      <if type="thesis">
        <text variable="publisher"/>
      </if>
      <else>
        <group delimiter=": ">
          <text variable="publisher-place"/>
          <text variable="publisher"/>
        </group>
      </else>
    </choose>
  </macro>
  <macro name="issued">
    <choose>
      <if variable="issued">
        <choose>
          <if type="graphic report" match="any">
            <date variable="issued">
              <date-part name="month" suffix=" "/>
              <date-part name="day" suffix=", "/>
              <date-part name="year"/>
            </date>
          </if>
          <else-if type="legal_case">
            <text variable="authority" suffix=" "/>
            <date variable="issued">
              <date-part name="year"/>
            </date>
          </else-if>
          <else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis article-journal" match="any">
            <date variable="issued">
              <date-part name="year"/>
            </date>
          </else-if>
          <else>
            <date variable="issued">
              <date-part name="day" suffix=" "/>
              <date-part name="month" suffix=" "/>
              <date-part name="year"/>
            </date>
          </else>
        </choose>
      </if>
      <else>
        <text term="no date" form="short"/>
      </else>
    </choose>
  </macro>
  <macro name="point-locators-subsequent">
    <group>
      <choose>
        <if locator="page" match="none">
          <choose>
            <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
              <group delimiter=", ">
                <group delimiter=" ">
                  <text term="volume" form="short"/>
                  <number variable="volume" form="numeric"/>
                </group>
                <!-- When section-based citations are used, SBL prefers no space following the section symbol(s). E.g., https://sblhs2.com/2017/04/20/citing-reference-works-7-greek-language-tools/ -->
                <choose>
                  <if locator="section">
                    <group>
                      <label variable="locator" form="short"/>
                      <text variable="locator"/>
                    </group>
                  </if>
                  <else>
                    <group delimiter=" ">
                      <label variable="locator" form="short"/>
                      <text variable="locator"/>
                    </group>
                  </else>
                </choose>
              </group>
            </if>
          </choose>
        </if>
        <else-if variable="volume">
          <choose>
            <if type="book" variable="collection-title" match="all">
              <!--Filter SBL 6.2.21-->
              <text variable="locator"/>
            </if>
            <else-if type="chapter" variable="container-title" match="all">
              <!--Filter SBL 6.2.23-->
              <text variable="locator"/>
            </else-if>
            <else-if type="chapter" variable="collection-title" position="subsequent" match="all">
              <!--Filter SBL 6.2.22-->
              <text variable="locator"/>
            </else-if>
            <else-if type="article-journal">
              <!--Filter SBL 6.3.1-->
              <text variable="locator"/>
            </else-if>
            <else>
              <group delimiter=":">
                <number variable="volume" form="numeric"/>
                <text variable="locator"/>
              </group>
            </else>
          </choose>
        </else-if>
        <else>
          <text variable="locator"/>
        </else>
      </choose>
    </group>
  </macro>
  <macro name="point-locators">
    <choose>
      <if variable="locator" match="none">
        <text macro="pages"/>
      </if>
      <else-if type="article-journal">
        <text variable="locator" prefix=": "/>
      </else-if>
      <else-if type="entry-dictionary entry-encyclopedia" match="any">
        <choose>
          <if position="first" variable="volume" match="all">
            <text macro="point-locators-subsequent" prefix=" "/>
            <!--SBL 6.3.6 prefers space in first entry before vol info.-->
          </if>
          <else>
            <text macro="point-locators-subsequent" prefix=", "/>
            <!--SBL 6.3.6 prefers comma in subsequent entries before vol info.-->
          </else>
        </choose>
      </else-if>
      <else>
        <text macro="point-locators-subsequent" prefix=", "/>
      </else>
    </choose>
  </macro>
  <macro name="pages">
    <choose>
      <if type="article-journal">
        <text variable="page" prefix=": "/>
      </if>
      <else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
        <choose>
          <if variable="volume">
            <choose>
              <if type="chapter" variable="container-title" match="all">
                <!--Filter SBL 6.2.23-->
                <text variable="page" prefix=", "/>
              </if>
              <else-if type="chapter" variable="collection-title" position="subsequent" match="all">
                <!--Filter SBL 6.2.22-->
                <text variable="page" prefix=", "/>
              </else-if>
              <else>
                <number variable="volume" prefix=" " suffix=":"/>
                <text variable="page"/>
              </else>
            </choose>
          </if>
          <else>
            <text variable="page" prefix=", "/>
          </else>
        </choose>
      </else-if>
    </choose>
  </macro>
  <macro name="locators-journal">
    <choose>
      <if type="article-journal">
        <text variable="page" prefix=": "/>
      </if>
    </choose>
  </macro>
  <macro name="archive-note">
    <group delimiter=", ">
      <text variable="archive_location"/>
      <text variable="archive"/>
      <text variable="archive-place"/>
    </group>
  </macro>
  <macro name="archive">
    <group delimiter=". ">
      <text variable="archive_location" text-case="capitalize-first"/>
      <text variable="archive"/>
      <text variable="archive-place"/>
    </group>
  </macro>
  <macro name="issue-note">
    <choose>
      <if type="article-journal">
        <text variable="volume" prefix=" "/>
        <text variable="issue" prefix="."/>
        <text macro="issued" prefix=" (" suffix=")"/>
      </if>
      <else-if variable="publisher-place publisher" match="any">
        <group prefix=" (" suffix=")">
          <group delimiter=", ">
            <group delimiter=" ">
              <choose>
                <if variable="title" match="none"/>
                <else-if type="thesis speech" match="any">
                  <text variable="genre"/>
                </else-if>
              </choose>
              <text macro="event"/>
            </group>
            <text macro="publisher"/>
            <text macro="issued"/>
          </group>
        </group>
      </else-if>
      <else>
        <text macro="issued" prefix=", "/>
      </else>
    </choose>
  </macro>
  <macro name="issue">
    <choose>
      <if type="article-journal">
        <text macro="issued" prefix=" (" suffix=")"/>
      </if>
      <else-if type="speech">
        <choose>
          <if variable="title" match="none"/>
          <else>
            <text variable="genre" text-case="capitalize-first" prefix=". "/>
          </else>
        </choose>
        <text macro="event" prefix=" "/>
        <text variable="event-place" prefix=". "/>
        <text macro="issued" prefix=", "/>
      </else-if>
      <else-if variable="publisher-place publisher" match="any">
        <group prefix=". " delimiter=", ">
          <choose>
            <if type="thesis">
              <text variable="genre" text-case="capitalize-first"/>
            </if>
          </choose>
          <text macro="publisher"/>
          <text macro="issued"/>
        </group>
      </else-if>
      <else>
        <text macro="issued" prefix=", "/>
      </else>
    </choose>
  </macro>
  <macro name="access-note">
    <group delimiter=", ">
      <choose>
        <if type="graphic report" match="any">
          <text macro="archive-note"/>
        </if>
        <else-if type="article-journal article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="none">
          <text macro="archive-note"/>
        </else-if>
      </choose>
      <text variable="URL"/>
    </group>
  </macro>
  <macro name="access">
    <group delimiter=". ">
      <choose>
        <if type="graphic report" match="any">
          <text macro="archive"/>
        </if>
        <else-if type="article-journal article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="none">
          <text macro="archive"/>
        </else-if>
      </choose>
      <text variable="URL"/>
    </group>
  </macro>
  <macro name="unsigned-dictionary-note">
    <group delimiter=", ">
      <group>
        <text variable="container-title" font-style="italic" text-case="uppercase"/>
        <number variable="volume" prefix=" "/>
        <text variable="collection-title" text-case="uppercase"/>
        <text variable="collection-number" prefix=" "/>
      </group>
      <group delimiter=" ">
        <text term="sub-verbo" form="short"/>
        <text variable="title" text-case="title" quotes="true"/>
      </group>
    </group>
  </macro>
  <macro name="signed-dictionary-note">
    <choose>
      <if position="subsequent">
        <group delimiter=", ">
          <text macro="contributors-short"/>
          <text macro="title-short"/>
          <text macro="point-locators-subsequent"/>
        </group>
      </if>
      <else>
        <group delimiter="">
          <group delimiter=", ">
            <text macro="contributors-note"/>
            <text macro="title-note"/>
            <text macro="container-title-note"/>
          </group>
          <text macro="point-locators"/>
        </group>
      </else>
    </choose>
  </macro>
  <macro name="signed-dictionary-bib">
    <group delimiter="">
      <group delimiter=". ">
        <text macro="contributors"/>
        <text macro="title-note"/>
        <text macro="container-title-note"/>
      </group>
      <text macro="point-locators"/>
    </group>
  </macro>
  <citation et-al-min="4" et-al-use-first="1" disambiguate-add-names="true">
    <layout suffix="." delimiter="; ">
      <choose>
        <!-- Support custom citations via the annote variable. For discussion, see https://forums.zotero.org/discussion/comment/317370 -->
        <if variable="annote">
          <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">
          <choose>
            <if match="none" variable="author">
              <!-- Unsigned Lexicon/Dictionary/Encyclopedia -->
              <text macro="unsigned-dictionary-note"/>
            </if>
            <else>
              <!-- Signed Lexicon/Dictionary/Encyclopedia -->
              <text macro="signed-dictionary-note"/>
            </else>
          </choose>
        </else-if>
        <!-- Not Lexicon/Dictionary/Encyclopedia -->
        <else-if position="subsequent">
          <group delimiter=", ">
            <text macro="contributors-short"/>
            <text macro="title-short"/>
            <text macro="disambiguate-chapter"/>
            <text macro="point-locators-subsequent"/>
          </group>
        </else-if>
        <else>
          <group delimiter=", ">
            <text macro="contributors-note"/>
            <text macro="title-note"/>
            <text macro="description-note"/>
            <text macro="secondary-contributors-note"/>
            <text macro="container-title-note"/>
            <text macro="container-contributors-note"/>
            <choose>
              <if variable="volume collection-title" match="all">
                <!--If Volume # and collection-title -->
                <group delimiter=" ">
                  <!--Added group to prevent comma between vol # of...and collection-title-->
                  <text macro="locators-note"/>
                  <text macro="collection-title-note"/>
                </group>
              </if>
              <else>
                <text macro="locators-note"/>
                <text macro="collection-title-note"/>
              </else>
            </choose>
            <text macro="collection-editor-note"/>
          </group>
          <text macro="issue-note"/>
          <text macro="locators-newspaper" prefix=", "/>
          <text macro="point-locators"/>
          <text variable="DOI" prefix=", https://doi.org/"/>
          <text macro="access-note" prefix=", "/>
        </else>
      </choose>
    </layout>
  </citation>
  <bibliography hanging-indent="true" et-al-min="10" et-al-use-first="9" subsequent-author-substitute="&#8212;&#8212;&#8212;" entry-spacing="0">
    <sort>
      <key macro="contributors-sort"/>
      <key variable="title"/>
      <key variable="genre"/>
    </sort>
    <layout suffix=".">
      <choose>
        <!-- Dictionary -->
        <if type="entry-dictionary entry-encyclopedia" match="any">
          <choose>
            <if match="none" variable="author">
              <!-- Unsigned Not Listed -->
            </if>
            <else>
              <!-- Signed -->
              <text macro="signed-dictionary-bib"/>
            </else>
          </choose>
        </if>
        <!-- Not Dictionary -->
        <else>
          <group delimiter=". ">
            <text macro="contributors"/>
            <text macro="title"/>
            <text macro="description"/>
            <text macro="secondary-contributors"/>
            <text macro="container-title"/>
            <text macro="container-contributors"/>
          </group>
          <choose>
            <if variable="volume collection-title" match="all">
              <!--If Volume # and collection-title -->
              <text macro="locators"/>
              <text macro="collection-title" text-case="title" prefix=" "/>
            </if>
            <else>
              <text macro="locators"/>
              <text macro="collection-title" text-case="title" prefix=". "/>
            </else>
          </choose>
          <text macro="collection-editor"/>
          <text macro="issue"/>
          <text macro="locators-newspaper" prefix=", "/>
          <text macro="locators-journal"/>
          <text variable="DOI" prefix=". https://doi.org/"/>
          <text macro="access" prefix=". "/>
        </else>
      </choose>
    </layout>
  </bibliography>
</style>
