public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* References not being imported from docx with zotero
@ 2023-10-12 13:13 Joao Martins
       [not found] ` <ff8c32ee-b58e-4cf0-8e80-409486d3c9d8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Joao Martins @ 2023-10-12 13:13 UTC (permalink / raw)
  To: pandoc-discuss


[-- 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 --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: References not being imported from docx with zotero
       [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>
  0 siblings, 1 reply; 9+ messages in thread
From: Joao Martins @ 2023-10-12 13:21 UTC (permalink / raw)
  To: pandoc-discuss


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

I should add that the pandoc recognizes the footnote and places the correct 
reference there, but it will not treat it as a citation and  it not appear 
in the bibliography after running 

`pandoc test-20231005-1good-1bad.docx -f docx+citations --citeproc -t 
markdown -o out.md  --csl=chicago-note-bibliography.csl --standalone`


-- 
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/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: References not being imported from docx with zotero
       [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
  0 siblings, 1 reply; 9+ messages in thread
From: Bastien DUMONT @ 2023-10-12 13:38 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Could you show what is the result and what you are expecting?

Le Thursday 12 October 2023 à 06:21:21AM, Joao Martins a écrit :
> I should add that the pandoc recognizes the footnote and places the correct
> reference there, but it will not treat it as a citation and  it not appear in
> the bibliography after running 
> 
> `pandoc test-20231005-1good-1bad.docx -f docx+citations --citeproc -t markdown
> -o out.md  --csl=chicago-note-bibliography.csl --standalone`
> 
> 
> 
> --
> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com.
> 
> References:
> 
> [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups.google.com/d/msgid/pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
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/ZSf2uUNpq-QSX4Dn%40localhost.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: References not being imported from docx with zotero
  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>
  0 siblings, 1 reply; 9+ messages in thread
From: Joao Martins @ 2023-10-12 14:15 UTC (permalink / raw)
  To: pandoc-discuss


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

Sure, I will paste the files here. The docx shows the document with 
bibliography created by Zotero. The out.md file shows only one entry in the 
references.
Many thanks
Joao

Bastien DUMONT schrieb am Donnerstag, 12. Oktober 2023 um 15:38:09 UTC+2:

> Could you show what is the result and what you are expecting?
>
> Le Thursday 12 October 2023 à 06:21:21AM, Joao Martins a écrit :
> > I should add that the pandoc recognizes the footnote and places the 
> correct
> > reference there, but it will not treat it as a citation and  it not 
> appear in
> > the bibliography after running 
> > 
> > `pandoc test-20231005-1good-1bad.docx -f docx+citations --citeproc -t 
> markdown
> > -o out.md  --csl=chicago-note-bibliography.csl --standalone`
> > 
> > 
> > 
> > --
> > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit [2]
> https://groups.google.com/d/msgid/
> > pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com.
> > 
> > References:
> > 
> > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [2] 
> https://groups.google.com/d/msgid/pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com?utm_medium=email&utm_source=footer
>
>

-- 
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/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com.

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

[-- Attachment #2: 20231005_142044-test-zotero-references.zip --]
[-- Type: application/x-zip, Size: 24343 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: References not being imported from docx with zotero
       [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
  0 siblings, 1 reply; 9+ messages in thread
From: Bastien DUMONT @ 2023-10-12 15:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

If you suppress and recreate the second note, is it still broken? Since there is no issue about this in the bug tracker, the splitting you observe in the uncompressed DOCX file may be rare (in fact, it should not even happen).

Le Thursday 12 October 2023 à 07:15:57AM, Joao Martins a écrit :
> Sure, I will paste the files here. The docx shows the document with
> bibliography created by Zotero. The out.md file shows only one entry in the
> references.
> Many thanks
> Joao
> 
> Bastien DUMONT schrieb am Donnerstag, 12. Oktober 2023 um 15:38:09 UTC+2:
> 
>     Could you show what is the result and what you are expecting?
> 
>     Le Thursday 12 October 2023 à 06:21:21AM, Joao Martins a écrit :
>     > I should add that the pandoc recognizes the footnote and places the
>     correct
>     > reference there, but it will not treat it as a citation and  it not
>     appear in
>     > the bibliography after running 
>     >
>     > `pandoc test-20231005-1good-1bad.docx -f docx+citations --citeproc -t
>     markdown
>     > -o out.md  --csl=chicago-note-bibliography.csl --standalone`
>     >
>     >
>     >
>     > --
>     > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>     > To view this discussion on the web visit [2][1]https://groups.google.com/
>     d/msgid/
>     > pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%[2]
>     40googlegroups.com.
>     >
>     > References:
>     >
>     > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>     > [2] [3]https://groups.google.com/d/msgid/pandoc-discuss/
>     da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com?utm_medium=email&
>     utm_source=footer
> 
> 
> --
> 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 [4]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit [5]https://groups.google.com/d/msgid/
> pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com.
> 
> References:
> 
> [1] https://groups.google.com/d/msgid/
> [2] http://40googlegroups.com/
> [3] https://groups.google.com/d/msgid/pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com?utm_medium=email&utm_source=footer
> [4] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [5] https://groups.google.com/d/msgid/pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com?utm_medium=email&utm_source=footer


-- 
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/ZSgLiZm_HS_h4Lag%40localhost.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: References not being imported from docx with zotero
  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>
  0 siblings, 1 reply; 9+ messages in thread
From: Pablo Serrati @ 2023-10-12 16:56 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 4110 bytes --]

Hi,
What if you change the citation style in word before converting? Perhaps
that is a simple solution to the problem.
Pablo

El jue, 12 oct 2023 a la(s) 12:06, Bastien DUMONT (bastien.dumont-VwIFZPTo/vqzQB+pC5nmwQ@public.gmane.orgt)
escribió:

> If you suppress and recreate the second note, is it still broken? Since
> there is no issue about this in the bug tracker, the splitting you observe
> in the uncompressed DOCX file may be rare (in fact, it should not even
> happen).
>
> Le Thursday 12 October 2023 à 07:15:57AM, Joao Martins a écrit :
> > Sure, I will paste the files here. The docx shows the document with
> > bibliography created by Zotero. The out.md file shows only one entry in
> the
> > references.
> > Many thanks
> > Joao
> >
> > Bastien DUMONT schrieb am Donnerstag, 12. Oktober 2023 um 15:38:09 UTC+2:
> >
> >     Could you show what is the result and what you are expecting?
> >
> >     Le Thursday 12 October 2023 à 06:21:21AM, Joao Martins a écrit :
> >     > I should add that the pandoc recognizes the footnote and places the
> >     correct
> >     > reference there, but it will not treat it as a citation and  it not
> >     appear in
> >     > the bibliography after running
> >     >
> >     > `pandoc test-20231005-1good-1bad.docx -f docx+citations --citeproc
> -t
> >     markdown
> >     > -o out.md  --csl=chicago-note-bibliography.csl --standalone`
> >     >
> >     >
> >     >
> >     > --
> >     > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >     > To view this discussion on the web visit [2][1]
> https://groups.google.com/
> >     d/msgid/
> >     > pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%[2]
> >     40googlegroups.com.
> >     >
> >     > References:
> >     >
> >     > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> >     > [2] [3]https://groups.google.com/d/msgid/pandoc-discuss/
> >     da33d5ed-1c71-4b20-942e-47ea49c4ce62n%
> 40googlegroups.com?utm_medium=email&
> >     utm_source=footer
> >
> >
> > --
> > 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 [4]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit [5]
> https://groups.google.com/d/msgid/
> > pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com.
> >
> > References:
> >
> > [1] https://groups.google.com/d/msgid/
> > [2] http://40googlegroups.com/
> > [3]
> https://groups.google.com/d/msgid/pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com?utm_medium=email&utm_source=footer
> > [4] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [5]
> https://groups.google.com/d/msgid/pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com?utm_medium=email&utm_source=footer
>
>
> --
> 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/ZSgLiZm_HS_h4Lag%40localhost
> .
>

-- 
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/CACTSqG7cPu3V0Kgsrcxd53%2B8eeY8y%2BaTMyh5AHyz%2B0YjmtRq3w%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 6757 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: References not being imported from docx with zotero
       [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>
  0 siblings, 1 reply; 9+ messages in thread
From: Joao Martins @ 2023-10-13  9:22 UTC (permalink / raw)
  To: pandoc-discuss


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

Thanks Bastien and Pablo,  
I tried to do what you told me to and I got the following conclusions:
* Using the chicago-note csl will break the xml format of the docx file for 
some references, but not all. You can swap to APA or IEEE and the reference 
will be then parsed correctly by pandoc.
* Also in the chicago-note, trying to edit the reference in the text 
instead of the footer will break the reference. 

With another document, with many references, I also found some problems 
with references being broken in the APA style as well, but redoing them 
fixed the problem.

Thanks for your help.

Joao

Pablo Serrati schrieb am Donnerstag, 12. Oktober 2023 um 18:56:34 UTC+2:

> Hi,
> What if you change the citation style in word before converting? Perhaps 
> that is a simple solution to the problem.
> Pablo
>
> El jue, 12 oct 2023 a la(s) 12:06, Bastien DUMONT (bastien...-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org) 
> escribió:
>
>> If you suppress and recreate the second note, is it still broken? Since 
>> there is no issue about this in the bug tracker, the splitting you observe 
>> in the uncompressed DOCX file may be rare (in fact, it should not even 
>> happen).
>>
>> Le Thursday 12 October 2023 à 07:15:57AM, Joao Martins a écrit :
>> > Sure, I will paste the files here. The docx shows the document with
>> > bibliography created by Zotero. The out.md file shows only one entry in 
>> the
>> > references.
>> > Many thanks
>> > Joao
>> > 
>> > Bastien DUMONT schrieb am Donnerstag, 12. Oktober 2023 um 15:38:09 
>> UTC+2:
>> > 
>> >     Could you show what is the result and what you are expecting?
>> > 
>> >     Le Thursday 12 October 2023 à 06:21:21AM, Joao Martins a écrit :
>> >     > I should add that the pandoc recognizes the footnote and places 
>> the
>> >     correct
>> >     > reference there, but it will not treat it as a citation and  it 
>> not
>> >     appear in
>> >     > the bibliography after running 
>> >     >
>> >     > `pandoc test-20231005-1good-1bad.docx -f docx+citations 
>> --citeproc -t
>> >     markdown
>> >     > -o out.md  --csl=chicago-note-bibliography.csl --standalone`
>> >     >
>> >     >
>> >     >
>> >     > --
>> >     > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >     > To view this discussion on the web visit [2][1]
>> https://groups.google.com/
>> >     d/msgid/
>> >     > pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%[2]
>> >     40googlegroups.com.
>> >     >
>> >     > References:
>> >     >
>> >     > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> >     > [2] [3]https://groups.google.com/d/msgid/pandoc-discuss/
>> >     da33d5ed-1c71-4b20-942e-47ea49c4ce62n%
>> 40googlegroups.com?utm_medium=email&
>> >     utm_source=footer
>> > 
>> > 
>> > --
>> > 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 [4]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> > To view this discussion on the web visit [5]
>> https://groups.google.com/d/msgid/
>> > pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com
>> .
>> > 
>> > References:
>> > 
>> > [1] https://groups.google.com/d/msgid/
>> > [2] http://40googlegroups.com/
>> > [3] 
>> https://groups.google.com/d/msgid/pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com?utm_medium=email&utm_source=footer
>> > [4] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> > [5] 
>> https://groups.google.com/d/msgid/pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com?utm_medium=email&utm_source=footer
>>
>>
>> -- 
>> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/ZSgLiZm_HS_h4Lag%40localhost
>> .
>>
>

-- 
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/4bf39b46-dfbc-4b36-a8a8-a93fb1abd216n%40googlegroups.com.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: References not being imported from docx with zotero
       [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
  0 siblings, 1 reply; 9+ messages in thread
From: Bastien DUMONT @ 2023-10-13  9:41 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

You should search there to see if it has already been discussed: https://forums.zotero.org

If not, it may be a good idea to open a thread. It may be a bug in the Zotero plugin for Word, or the result of the stupid behaviour of Word itself (which is very good at producing dirty code). If the culprit is Word, they will probably not be able to do anything, but you may get some advice.

Le Friday 13 October 2023 à 02:22:26AM, Joao Martins a écrit :
> Thanks Bastien and Pablo,  
> I tried to do what you told me to and I got the following conclusions:
> * Using the chicago-note csl will break the xml format of the docx file for
> some references, but not all. You can swap to APA or IEEE and the reference
> will be then parsed correctly by pandoc.
> * Also in the chicago-note, trying to edit the reference in the text instead of
> the footer will break the reference. 
> 
> With another document, with many references, I also found some problems with
> references being broken in the APA style as well, but redoing them fixed the
> problem.
> 
> Thanks for your help.
> 
> Joao
> 
> Pablo Serrati schrieb am Donnerstag, 12. Oktober 2023 um 18:56:34 UTC+2:
> 
>     Hi,
>     What if you change the citation style in word before converting? Perhaps
>     that is a simple solution to the problem.
>     Pablo
> 
>     El jue, 12 oct 2023 a la(s) 12:06, Bastien DUMONT (bastien...@posteo.net)
>     escribió:
> 
>         If you suppress and recreate the second note, is it still broken? Since
>         there is no issue about this in the bug tracker, the splitting you
>         observe in the uncompressed DOCX file may be rare (in fact, it should
>         not even happen).
> 
>         Le Thursday 12 October 2023 à 07:15:57AM, Joao Martins a écrit :
>         > Sure, I will paste the files here. The docx shows the document with
>         > bibliography created by Zotero. The out.md file shows only one entry
>         in the
>         > references.
>         > Many thanks
>         > Joao
>         >
>         > Bastien DUMONT schrieb am Donnerstag, 12. Oktober 2023 um 15:38:09
>         UTC+2:
>         >
>         >     Could you show what is the result and what you are expecting?
>         >
>         >     Le Thursday 12 October 2023 à 06:21:21AM, Joao Martins a écrit :
>         >     > I should add that the pandoc recognizes the footnote and places
>         the
>         >     correct
>         >     > reference there, but it will not treat it as a citation and  it
>         not
>         >     appear in
>         >     > the bibliography after running 
>         >     >
>         >     > `pandoc test-20231005-1good-1bad.docx -f docx+citations
>         --citeproc -t
>         >     markdown
>         >     > -o out.md  --csl=chicago-note-bibliography.csl --standalone`
>         >     >
>         >     >
>         >     >
>         >     > --
>         >     > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>         >     > To view this discussion on the web visit [2][1][1]https://
>         groups.google.com/
>         >     d/msgid/
>         >     > pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%[2]
>         >     [2]40googlegroups.com.
>         >     >
>         >     > References:
>         >     >
>         >     > [1] mailto:pandoc-discus...@googlegroups.com
>         >     > [2] [3][3]https://groups.google.com/d/msgid/pandoc-discuss/
>         >     da33d5ed-1c71-4b20-942e-47ea49c4ce62n%[4]40googlegroups.com?
>         utm_medium=email&
>         >     utm_source=footer
>         >
>         >
>         > --
>         > 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 [4]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>         > To view this discussion on the web visit [5][5]https://
>         groups.google.com/d/msgid/
>         > pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%[6]
>         40googlegroups.com.
>         >
>         > References:
>         >
>         > [1] [7]https://groups.google.com/d/msgid/
>         > [2] [8]http://40googlegroups.com/
>         > [3] [9]https://groups.google.com/d/msgid/pandoc-discuss/
>         da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com?utm_medium=
>         email&utm_source=footer
>         > [4] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>         > [5] [10]https://groups.google.com/d/msgid/pandoc-discuss/
>         bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com?utm_medium=
>         email&utm_source=footer
> 
> 
>         --
>         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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>         To view this discussion on the web visit [11]https://groups.google.com/
>         d/msgid/pandoc-discuss/ZSgLiZm_HS_h4Lag%40localhost.
> 
> --
> 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 [12]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit [13]https://groups.google.com/d/msgid/
> pandoc-discuss/4bf39b46-dfbc-4b36-a8a8-a93fb1abd216n%40googlegroups.com.
> 
> References:
> 
> [1] https://groups.google.com/
> [2] http://40googlegroups.com/
> [3] https://groups.google.com/d/msgid/pandoc-discuss/
> [4] http://40googlegroups.com/?utm_medium=email&
> [5] https://groups.google.com/d/msgid/
> [6] http://40googlegroups.com/
> [7] https://groups.google.com/d/msgid/
> [8] http://40googlegroups.com/
> [9] https://groups.google.com/d/msgid/pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com?utm_medium=email&utm_source=footer
> [10] https://groups.google.com/d/msgid/pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com?utm_medium=email&utm_source=footer
> [11] https://groups.google.com/d/msgid/pandoc-discuss/ZSgLiZm_HS_h4Lag%40localhost
> [12] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [13] https://groups.google.com/d/msgid/pandoc-discuss/4bf39b46-dfbc-4b36-a8a8-a93fb1abd216n%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
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/ZSkQvBqss1sVz5he%40localhost.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: References not being imported from docx with zotero
  2023-10-13  9:41                       ` Bastien DUMONT
@ 2023-10-13 14:23                         ` Joao Martins
  0 siblings, 0 replies; 9+ messages in thread
From: Joao Martins @ 2023-10-13 14:23 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi Bastien,
I opened a thread in Zotero but since I am new to the forum is still 
waiting for moderation. I am will post a link here as soon as I have some 
more information.
Many thanks
Joao

Bastien DUMONT schrieb am Freitag, 13. Oktober 2023 um 11:41:24 UTC+2:

> You should search there to see if it has already been discussed: 
> https://forums.zotero.org
>
> If not, it may be a good idea to open a thread. It may be a bug in the 
> Zotero plugin for Word, or the result of the stupid behaviour of Word 
> itself (which is very good at producing dirty code). If the culprit is 
> Word, they will probably not be able to do anything, but you may get some 
> advice.
>
> Le Friday 13 October 2023 à 02:22:26AM, Joao Martins a écrit :
> > Thanks Bastien and Pablo,  
> > I tried to do what you told me to and I got the following conclusions:
> > * Using the chicago-note csl will break the xml format of the docx file 
> for
> > some references, but not all. You can swap to APA or IEEE and the 
> reference
> > will be then parsed correctly by pandoc.
> > * Also in the chicago-note, trying to edit the reference in the text 
> instead of
> > the footer will break the reference. 
> > 
> > With another document, with many references, I also found some problems 
> with
> > references being broken in the APA style as well, but redoing them fixed 
> the
> > problem.
> > 
> > Thanks for your help.
> > 
> > Joao
> > 
> > Pablo Serrati schrieb am Donnerstag, 12. Oktober 2023 um 18:56:34 UTC+2:
> > 
> > Hi,
> > What if you change the citation style in word before converting? Perhaps
> > that is a simple solution to the problem.
> > Pablo
> > 
> > El jue, 12 oct 2023 a la(s) 12:06, Bastien DUMONT (bastien...-VwIFZPTo/vqzQB+pC5nmwQ@public.gmane.orgt
> )
> > escribió:
> > 
> > If you suppress and recreate the second note, is it still broken? Since
> > there is no issue about this in the bug tracker, the splitting you
> > observe in the uncompressed DOCX file may be rare (in fact, it should
> > not even happen).
> > 
> > Le Thursday 12 October 2023 à 07:15:57AM, Joao Martins a écrit :
> > > Sure, I will paste the files here. The docx shows the document with
> > > bibliography created by Zotero. The out.md file shows only one entry
> > in the
> > > references.
> > > Many thanks
> > > Joao
> > >
> > > Bastien DUMONT schrieb am Donnerstag, 12. Oktober 2023 um 15:38:09
> > UTC+2:
> > >
> > >     Could you show what is the result and what you are expecting?
> > >
> > >     Le Thursday 12 October 2023 à 06:21:21AM, Joao Martins a écrit :
> > >     > I should add that the pandoc recognizes the footnote and places
> > the
> > >     correct
> > >     > reference there, but it will not treat it as a citation and  it
> > not
> > >     appear in
> > >     > the bibliography after running 
> > >     >
> > >     > `pandoc test-20231005-1good-1bad.docx -f docx+citations
> > --citeproc -t
> > >     markdown
> > >     > -o out.md  --csl=chicago-note-bibliography.csl --standalone`
> > >     >
> > >     >
> > >     >
> > >     > --
> > >     > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > >     > To view this discussion on the web visit [2][1][1]https://
> > groups.google.com/
> > >     d/msgid/
> > >     > pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%[2]
> > >     [2]40googlegroups.com.
> > >     >
> > >     > References:
> > >     >
> > >     > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > >     > [2] [3][3]https://groups.google.com/d/msgid/pandoc-discuss/
> > >     da33d5ed-1c71-4b20-942e-47ea49c4ce62n%[4]40googlegroups.com?
> > utm_medium=email&
> > >     utm_source=footer
> > >
> > >
> > > --
> > > 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 [4]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > > To view this discussion on the web visit [5][5]https://
> > groups.google.com/d/msgid/
> > > pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%[6]
> > 40googlegroups.com.
> > >
> > > References:
> > >
> > > [1] [7]https://groups.google.com/d/msgid/
> > > [2] [8]http://40googlegroups.com/
> > > [3] [9]https://groups.google.com/d/msgid/pandoc-discuss/
> > da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com?utm_medium=
> > email&utm_source=footer
> > > [4] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > > [5] [10]https://groups.google.com/d/msgid/pandoc-discuss/
> > bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com?utm_medium=
> > email&utm_source=footer
> > 
> > 
> > --
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit [11]https://groups.google.com/
> > d/msgid/pandoc-discuss/ZSgLiZm_HS_h4Lag%40localhost.
> > 
> > --
> > 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 [12]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit [13]
> https://groups.google.com/d/msgid/
> > pandoc-discuss/4bf39b46-dfbc-4b36-a8a8-a93fb1abd216n%40googlegroups.com.
> > 
> > References:
> > 
> > [1] https://groups.google.com/
> > [2] http://40googlegroups.com/
> > [3] https://groups.google.com/d/msgid/pandoc-discuss/
> > [4] http://40googlegroups.com/?utm_medium=email&
> > [5] https://groups.google.com/d/msgid/
> > [6] http://40googlegroups.com/
> > [7] https://groups.google.com/d/msgid/
> > [8] http://40googlegroups.com/
> > [9] 
> https://groups.google.com/d/msgid/pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40googlegroups.com?utm_medium=email&utm_source=footer
> > [10] 
> https://groups.google.com/d/msgid/pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f90a5n%40googlegroups.com?utm_medium=email&utm_source=footer
> > [11] 
> https://groups.google.com/d/msgid/pandoc-discuss/ZSgLiZm_HS_h4Lag%40localhost
> > [12] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [13] 
> https://groups.google.com/d/msgid/pandoc-discuss/4bf39b46-dfbc-4b36-a8a8-a93fb1abd216n%40googlegroups.com?utm_medium=email&utm_source=footer
>
>

-- 
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/4f5930d0-2a11-4ec4-b314-63346527dbcdn%40googlegroups.com.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-10-13 14:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-12 13:13 References not being imported from docx with zotero Joao Martins
     [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

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).