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...-/JYPxA39Uh5TLH3MbocFFw@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...@googlegroups.com.
> 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...@googlegroups.com
> [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...@googlegroups.com.
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-/JYPxA39Uh5TLH3MbocFFw@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.