From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33191 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joao Martins Newsgroups: gmane.text.pandoc Subject: Re: References not being imported from docx with zotero Date: Fri, 13 Oct 2023 02:22:26 -0700 (PDT) Message-ID: <4bf39b46-dfbc-4b36-a8a8-a93fb1abd216n@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_9396_802002877.1697188946759" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9669"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCRPLE7R44GRBVEYUSUQMGQE43ILEVQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 13 11:22:32 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f63.google.com ([209.85.160.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qrENM-0002EN-2n for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 13 Oct 2023 11:22:32 +0200 Original-Received: by mail-oa1-f63.google.com with SMTP id 586e51a60fabf-1dd886536f2sf2569901fac.3 for ; Fri, 13 Oct 2023 02:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1697188951; x=1697793751; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=wqvYNW9vCFIeJ2t+xAPxbFjcO1sxsD6Tlcng6H5Ui0Q=; b=qlwNNrXPW4Stjj6kyNFf5PDRMb3wTTN/MsXOFhzRpx02tz10thBIMk0zlItZBYJshJ 2laYABdSNtgrolZSX0DgQHyX4qQKxJmwghpWvzjxHRYQ8HDbrIsqoTgqc/DDI2p05XiK EzmGSpHimgz23VVVnLVxYUG7B8ZSRBt+UVXJIGQr3iOfWfc+73CTMiNr4WJq6HFN44Bo ntFKDRrd22w72kOQCm5ErjToAXwAxp8YP3aDNWHBUtnHeZbqFHMoeAaUuPRcY0HrFDM2 Qr9wspWeWZmUDlSjP5jTpk7iiDsldzy8gyzg+HtZMiXT5m7fmkTf9Pi82vdQUjSGKKHf pf+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697188951; x=1697793751; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=wqvYNW9vCFIeJ2t+xAPxbFjcO1sxsD6Tlcng6H5Ui0Q=; b=FAylwlrUqOj0/S6kYC9Jtgua8WgVcAnDn6WfUsQia6PPIgx4/eX7lNpf6AfiNDZSzx lqdFfiY2bQLiqc1idIQtNQvbs5N3qCRER4zfG3gdCIhCa4PSb1VgR67Yw7it4G3tfGrM /in5UoXPf4LaNUL5UrQrpnoaBoPTW8CPH6/Xg0Xf2l9Le+yCfo47KtWyNJq82OXYuK5U a4/sy+E3BZg/ZGtvoBYt75tojMSL0UI1hazUIxIOORqoMrECTKIFQ440tQdW5aOsA5qJ /ZrJEdtdp1EBLwQ79k7tYavSMgQX1KGmbXC2yjn37z97G7Ct0t Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0Ywgzt3TgzU0DEAvCDfG3Tv57rrJBtGktPvI0nfCIk0+qDGIS3Ob b6sdZnYqEOoUAEwG4pP3gZQ= X-Google-Smtp-Source: AGHT+IFAzc8cAK2Zr8bfYtqNxYwNNYnTceDpSudEka2ANbzBoCkHCPbIN1h/sFSRZB8sVO+c2Fi8Bg== X-Received: by 2002:a05:6871:4595:b0:1e9:68b5:d418 with SMTP id nl21-20020a056871459500b001e968b5d418mr9821838oab.34.1697188950913; Fri, 13 Oct 2023 02:22:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:d209:b0:1e1:5989:cb9f with SMTP id g9-20020a056870d20900b001e15989cb9fls1603441oac.2.-pod-prod-04-us; Fri, 13 Oct 2023 02:22:27 -0700 (PDT) X-Received: by 2002:a05:6808:309b:b0:3ae:554b:583e with SMTP id bl27-20020a056808309b00b003ae554b583emr14151072oib.6.1697188947702; Fri, 13 Oct 2023 02:22:27 -0700 (PDT) In-Reply-To: X-Original-Sender: martins-v/APnlCU9ZqwgyPIWsbfGQ@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:33191 Archived-At: ------=_Part_9396_802002877.1697188946759 Content-Type: multipart/alternative; boundary="----=_Part_9397_303673775.1697188946760" ------=_Part_9397_303673775.1697188946760 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Bastien and Pablo, =20 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= =20 some references, but not all. You can swap to APA or IEEE and the reference= =20 will be then parsed correctly by pandoc. * Also in the chicago-note, trying to edit the reference in the text=20 instead of the footer will break the reference.=20 With another document, with many references, I also found some problems=20 with references being broken in the APA style as well, but redoing them=20 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= =20 > 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)= =20 > escribi=C3=B3: > >> If you suppress and recreate the second note, is it still broken? Since= =20 >> there is no issue about this in the bug tracker, the splitting you obser= ve=20 >> in the uncompressed DOCX file may be rare (in fact, it should not even= =20 >> happen). >> >> Le Thursday 12 October 2023 =C3=A0 07:15:57AM, Joao Martins a =C3=A9crit= : >> > 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 i= n=20 >> the >> > references. >> > Many thanks >> > Joao >> >=20 >> > Bastien DUMONT schrieb am Donnerstag, 12. Oktober 2023 um 15:38:09=20 >> UTC+2: >> >=20 >> > Could you show what is the result and what you are expecting? >> >=20 >> > Le Thursday 12 October 2023 =C3=A0 06:21:21AM, Joao Martins a =C3= =A9crit : >> > > I should add that the pandoc recognizes the footnote and places= =20 >> the >> > correct >> > > reference there, but it will not treat it as a citation and it= =20 >> not >> > appear in >> > > the bibliography after running=20 >> > > >> > > `pandoc test-20231005-1good-1bad.docx -f docx+citations=20 >> --citeproc -t >> > markdown >> > > -o out.md --csl=3Dchicago-note-bibliography.csl --standalone` >> > > >> > > >> > > >> > > -- >> > > You received this message because you are subscribed to the=20 >> Google Groups >> > > "pandoc-discuss" group. >> > > To unsubscribe from this group and stop receiving emails from it= ,=20 >> 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=3Demail& >> > utm_source=3Dfooter >> >=20 >> >=20 >> > -- >> > You received this message because you are subscribed to the Google=20 >> Groups >> > "pandoc-discuss" group. >> > To unsubscribe from this group and stop receiving emails from it, send= =20 >> 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.co= m >> . >> >=20 >> > References: >> >=20 >> > [1] https://groups.google.com/d/msgid/ >> > [2] http://40googlegroups.com/ >> > [3]=20 >> https://groups.google.com/d/msgid/pandoc-discuss/da33d5ed-1c71-4b20-942e= -47ea49c4ce62n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter >> > [4] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [5]=20 >> https://groups.google.com/d/msgid/pandoc-discuss/bd4dcab6-41e3-4dbe-bf26= -fbff426f90a5n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter >> >> >> --=20 >> You received this message because you are subscribed to the Google Group= s=20 >> "pandoc-discuss" group. >> > To unsubscribe from this group and stop receiving emails from it, send an= =20 >> email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/ZSgLiZm_HS_h4Lag%40loca= lhost >> . >> > --=20 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 e= mail 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. ------=_Part_9397_303673775.1697188946760 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Bastien and Pablo,=C2=A0=C2=A0
I tried to do what you told = me to and I got the following conclusions:
* Using the chicago-no= te 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 t= he reference in the text instead of the footer will break the reference.=C2= =A0

With another document, with many references,= I also found some problems with references being broken in the APA style a= s 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=C3=B3:
If you suppress and recreate the second= note, is it still broken? Since there is no issue about this in the bug tr= acker, the splitting you observe in the uncompressed DOCX file may be rare = (in fact, it should not even happen).

Le Thursday 12 October 2023 =C3=A0 07:15:57AM, Joao Martins a =C3=A9crit :<= br> > 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 i= n the
> references.
> Many thanks
> Joao
>
> Bastien DUMONT schrieb am Donnerstag, 12. Oktober 2023 um 15:38:09 UTC= +2:
>
>=C2=A0 =C2=A0 =C2=A0Could you show what is the result and what you are = expecting?
>
>=C2=A0 =C2=A0 =C2=A0Le Thursday 12 October 2023 =C3=A0 06:21:21AM, Joao= Martins a =C3=A9crit :
>=C2=A0 =C2=A0 =C2=A0> I should add that the pandoc recognizes the fo= otnote and places the
>=C2=A0 =C2=A0 =C2=A0correct
>=C2=A0 =C2=A0 =C2=A0> reference there, but it will not treat it as a= citation and=C2=A0 it not
>=C2=A0 =C2=A0 =C2=A0appear in
>=C2=A0 =C2=A0 =C2=A0> the bibliography after running=C2=A0
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> `pandoc test-20231005-1good-1bad.docx -f docx+= citations --citeproc -t
>=C2=A0 =C2=A0 =C2=A0markdown
>=C2=A0 =C2=A0 =C2=A0> -o out.md =C2=A0--csl=3Dchicago-note-bibliogra= phy.csl --standalone`
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> --
>=C2=A0 =C2=A0 =C2=A0> You received this message because you are subs= cribed to the Google Groups
>=C2=A0 =C2=A0 =C2=A0> "pandoc-discuss" group.
>=C2=A0 =C2=A0 =C2=A0> To unsubscribe from this group and stop receiv= ing emails from it, send an
>=C2=A0 =C2=A0 =C2=A0email
>=C2=A0 =C2=A0 =C2=A0> to [1]
pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>=C2=A0 =C2=A0 =C2=A0> To view this discussion on the web visit [2][1= ]https://groups.google.com/ >=C2=A0 =C2=A0 =C2=A0d/msgid/
>=C2=A0 =C2=A0 =C2=A0> pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c= 4ce62n%[2]
>=C2=A0 =C2=A0 =C2=A040googlegroup= s.com.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> References:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>=C2=A0 =C2=A0 =C2=A0> [2] [3]https://groups.google.com/d/= msgid/pandoc-discuss/
>=C2=A0 =C2=A0 =C2=A0da33d5ed-1c71-4b20-942e-47ea49c4ce62n%40= googlegroups.com?utm_medium=3Demail&
>=C2=A0 =C2=A0 =C2=A0utm_source=3Dfooter
>
>
> --
> You received this message because you are subscribed to the Google Gro= ups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email
> to [4]pandoc-discus...@goog= legroups.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://gr= oups.google.com/d/msgid/
> [2] http://40googlegroups.com/=
> [3] https:/= /groups.google.com/d/msgid/pandoc-discuss/da33d5ed-1c71-4b20-942e-47ea49c4c= e62n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter
> [4] mailto:pandoc-discus...= @googlegroups.com
> [5] https:/= /groups.google.com/d/msgid/pandoc-discuss/bd4dcab6-41e3-4dbe-bf26-fbff426f9= 0a5n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter


--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discus...@googleg= roups.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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-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.
------=_Part_9397_303673775.1697188946760-- ------=_Part_9396_802002877.1697188946759--