public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Joao Martins <martins-v/APnlCU9ZqwgyPIWsbfGQ@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: References not being imported from docx with zotero
Date: Thu, 12 Oct 2023 06:13:35 -0700 (PDT)	[thread overview]
Message-ID: <ff8c32ee-b58e-4cf0-8e80-409486d3c9d8n@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 5534 bytes --]

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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ff8c32ee-b58e-4cf0-8e80-409486d3c9d8n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 7726 bytes --]

             reply	other threads:[~2023-10-12 13:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-12 13:13 Joao Martins [this message]
     [not found] ` <ff8c32ee-b58e-4cf0-8e80-409486d3c9d8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-12 13:21   ` Joao Martins
     [not found]     ` <da33d5ed-1c71-4b20-942e-47ea49c4ce62n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-12 13:38       ` Bastien DUMONT
2023-10-12 14:15         ` Joao Martins
     [not found]           ` <bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-12 15:06             ` Bastien DUMONT
2023-10-12 16:56               ` Pablo Serrati
     [not found]                 ` <CACTSqG7cPu3V0Kgsrcxd53+8eeY8y+aTMyh5AHyz+0YjmtRq3w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-10-13  9:22                   ` Joao Martins
     [not found]                     ` <4bf39b46-dfbc-4b36-a8a8-a93fb1abd216n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-10-13  9:41                       ` Bastien DUMONT
2023-10-13 14:23                         ` Joao Martins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ff8c32ee-b58e-4cf0-8e80-409486d3c9d8n@googlegroups.com \
    --to=martins-v/apnlcu9zqwgypiwsbfgq@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).