Dear list,
I am facing a problem with importing some of my references with the chicago-note style.

By unzipping the docx and inspecting the files, the problem seems to be that inside the docx footnote.xml the reference is being split in inside multiple xml tags.

```
    <w:footnote w:id="2">
        <w:p w:rsidR="00E07E28" w:rsidRDefault="00E07E28">
            <w:pPr>
                <w:pStyle w:val="Funotentext"/>
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
            </w:pPr>
            <w:r w:rsidRPr="006E3384">
                <w:rPr>
                    <w:rStyle w:val="Funotenzeichen"/>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:footnoteRef/>
            </w:r>
            <w:r>
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:t xml:space="preserve"></w:t>
            </w:r>
            <w:r>
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:fldChar w:fldCharType="begin"/>
            </w:r>
            <w:r w:rsidR="00B8660B">
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:instrText xml:space="preserve"> ADDIN ZOTERO_ITEM CSL_CITATION {"citationID":"NZSIcfhH","properties":{"formattedCitation":"Elgin, \\uc0\\u8222{}Die kognitiven Funktionen der Fiktion\\uc0\\u8220{}, 67.","plainCitation":"Elgin, </w:instrText>
            </w:r>
            <w:r w:rsidR="00B8660B">
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:instrText>„</w:instrText>
            </w:r>
            <w:r w:rsidR="00B8660B">
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:instrText>Die kognitiven Funktionen der Fiktion</w:instrText>
            </w:r>
            <w:r w:rsidR="00B8660B">
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:instrText>“</w:instrText>
            </w:r>
            <w:r w:rsidR="00B8660B">
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:instrText>, 67.","noteIndex":2},"citationItems":[{"id":808,"uris":["http://zotero.org/groups/4776909/items/GJN74WAS"],"itemData":{"id":808,"type":"chapter","container-title":"Kunst denken: die Beiträge dieses Bandes gehen größtenteils auf Vorträge der Konferenz \"Kunst und Kognition\" zur</w:instrText>
            </w:r>
            <w:r w:rsidR="00B8660B">
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:instrText>ü</w:instrText>
            </w:r>
            <w:r w:rsidR="00B8660B">
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:instrText>ck, die vom 9. bis zum 11. Juni 2005 in Erfurt stattgefunden hat","event-place":"Paderborn","ISBN":"978-3-89785-579-3","language":"ger","page":"77</w:instrText>
            </w:r>
            <w:r w:rsidR="00B8660B">
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:instrText>–</w:instrText>
            </w:r>
            <w:r w:rsidR="00B8660B">
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:instrText xml:space="preserve">89","publisher":"mentis-Verl","publisher-place":"Paderborn","source":"K10plus ISBN","title":"Die kognitiven Funktionen der Fiktion","editor":[{"family":"Burri","given":"Alex"},{"family":"Huemer","given":"Wolfgang"}],"author":[{"family":"Elgin","given":"Catherine Z."}],"issued":{"date-parts":[["2007"]]}},"label":"page","suffix":", 67"}],"schema":"https://github.com/citation-style-language/schema/raw/master/csl-citation.json"} </w:instrText>
            </w:r>
            <w:r>
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:fldChar w:fldCharType="separate"/>
            </w:r>
            <w:r w:rsidR="0088644B" w:rsidRPr="0088644B">
                <w:rPr>
                    <w:rFonts w:cs="Times New Roman"/>
                    <w:szCs w:val="24"/>
                </w:rPr>
                <w:t>Elgin, „Die kognitiven Funktionen der Fiktion“, 67.</w:t>
            </w:r>
            <w:r>
                <w:rPr>
                    <w:rFonts w:hint="eastAsia"/>
                </w:rPr>
                <w:fldChar w:fldCharType="end"/>
            </w:r>
        </w:p>
    </w:footnote>
```
I have tried to put the json reference inside just one of the  <w:r w:rsidR="00B8660B"> tags but that just breaks the docx file. Any help is appreciated.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ff8c32ee-b58e-4cf0-8e80-409486d3c9d8n%40googlegroups.com.