>>===== MODE =====>>
citation
<<===== MODE =====<<


Test string prompted by Mark Bruffey.

To avoid false positives, collapsing the Chicago-style page-n-note format
takes place only if the full literal pinpoint is written out at both ends
of the range.

>>===== RESULT =====>>
..[0] Book Title
>>[1] Ibid., 8n8-9, 8n10–14, ix–xv
<<===== RESULT =====<<


>>===== CITATIONS =====>>
[
    [
        {
            "citationID": "CITATION-1", 
            "citationItems": [
                {
                    "id": "ITEM-1"
                }
            ], 
            "properties": {
                "noteIndex": 1
            }
        }, 
        [], 
        []
    ], 
    [
        {
            "citationID": "CITATION-2", 
            "citationItems": [
                {
                    "id": "ITEM-1", 
                    "label": "page", 
                    "locator": "8n8-9, 8n10-8n14, ix-xv"
                }
            ], 
            "properties": {
                "noteIndex": 1
            }
        }, 
        [
            [
                "CITATION-1", 
                1
            ]
        ], 
        []
    ]
]
<<===== CITATIONS =====<<


>>===== CSL =====>>
<style 
      xmlns="http://purl.org/net/xbiblio/csl"
      class="note"
      version="1.0"
      page-range-format="chicago">
  <info>
    <id />
    <title />
    <updated>2009-08-10T04:49:00+09:00</updated>
  </info>
  <citation>
    <layout delimiter="; ">
      <choose>
        <if position="ibid-with-locator">
          <group delimiter=", ">
            <text term="ibid"/>
            <text variable="locator"/>
          </group>
        </if>
        <else>
          <text variable="title"/>
        </else>
      </choose>
    </layout>
  </citation>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
    {
        "title": "Book Title",
        "id": "ITEM-1", 
        "type": "book"
    }
]
<<===== INPUT =====<<
