From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33193 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: References not being imported from docx with zotero Date: Fri, 13 Oct 2023 09:41:16 +0000 Message-ID: References: <4bf39b46-dfbc-4b36-a8a8-a93fb1abd216n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28406"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBQFBUSUQMGQEQ7UGJFY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 13 11:41:26 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f61.google.com ([209.85.167.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qrEfe-0007Dp-IR for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 13 Oct 2023 11:41:26 +0200 Original-Received: by mail-lf1-f61.google.com with SMTP id 2adb3069b0e04-5042178944esf1630373e87.1 for ; Fri, 13 Oct 2023 02:41:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697190086; cv=pass; d=google.com; s=arc-20160816; b=qTCj5RRnfyTqG8Lo4cMGu56h+FOqh+LQobcibxBzVsDK8c9QjSCpFGRG5QGh/0qjEe JayuSDm5KxcXnuOh1qCYMJ/Do45n4kJit4o0uQbzWnG1GnxbRTN3yZOfQUPHE5FO9KqJ cZ3Ewb4XZW4GIteX9bzpMMjH89/Qkten0snXoGb8kMPjOR6B2lvwNj4pa9ZaGn2esphF Pe1B0hr5N5QnCbGAm83Um0KbpOvSUn/s63F+EA1foGxkW9XHNV06dtG7CuGGE31wCKMV klS5GlEGrqxmW7CasE9NpZyiTzpF9kl5qESQweAcvWAaoBzhiahH2NoMSi37tlNnxETR qlxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=YkwijBxqpCdn4Sbx6QRDWYxTYFYlNP0lWsvsdAfLGq4=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=SD7jx7OPfXbPSwI/cviOzX9+jpZ9skLf2K2D8yGIQR+SpPSV2HAxraYmNpUuMwvmb8 /x7iicStaI3UaNtzCZ6c7yKbTaeO7o2bxsQA43Tqaj4iiGm/beGlUYZajH4i9dgttNaD 5+odgq+E47OTJEvvvuOEkH99nbso45Lp8AZIJDmXJW7RydRvWGsSwyyxqd8xRTKm0yOJ Dv5yvCg9Lp5vg/WUhbsWhX6KQiIT7XsU9sVe2UEgu7iL6IoBtrD57/IU//Xkvo2RNsxy fVzj/YG1j3i9qPPMopFNpRt7qxu1y9YUrc3bYM/2IqeAlXBTvtQAn7+cpRgN5RXrlQah +AfQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=MAnfSpqm; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1697190086; x=1697794886; 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-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=YkwijBxqpCdn4Sbx6QRDWYxTYFYlNP0lWsvsdAfLGq4=; b=bncPRm7yafQ5L1HvkkC8TzYGTpK/m9AgzCCUPnGXz/CvcwPRy+X2sK8+LE0Lw/gmP3 utCK4QrknLIBLPqVlLDYDVZP3DT72tLX/xNCyer2rYjDzKzWwLcjTv2QEyFxVQMreJIK 8OqpkEkYQg4E4CoygVMUNNvg7ZXKzlQUR7AaLXPn5n1fsoIPXf1QG6FdBDcSCJHB+jeR GUOrz9u0XPF/xTwF0KUvxVMLfI0cXDZ5EPP5kdX2Hx1p++GrxfQP5w9NVr/AbnjeBHiu X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697190086; x=1697794886; 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-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=YkwijBxqpCdn4Sbx6QRDWYxTYFYlNP0lWsvsdAfLGq4=; b=vy0ptUgfEOAHuiHiE7jxU1wvOtD4ETkLtqkn0b3Fo7s9nI5P5EHNfgO7+UGVmaicM9 DGUrx77KIjP2R+NNiC03hm6RUVA/fyNE33sXH+VgjcYViHZanItUOnGP9T1JC9evo4T4 hT6TlU1WLDsEeOwzyrOrEIUUkgr89ImmqliZH5qRBB8v7w+YsBrkrEK6VMH3g5IzRNZr o5ALRicuZ1ehoU7Rxc2h6hSK0ZGw Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YxmLNqCNIujEvfmydFc0srmdbFo4ILEIfwIHcSVjA+nieNEsXDG rOvEzWKGuCxZV3Oqm7M9Tx8= X-Google-Smtp-Source: AGHT+IES43DoFcajm5Ljn8WLgQFR/NBAPz91suos1aGTN0wAU3gSgOzwSV8LZq01N4F4XGqrBDAJxA== X-Received: by 2002:a05:6512:3f03:b0:4fe:2815:8ba7 with SMTP id y3-20020a0565123f0300b004fe28158ba7mr15918570lfa.25.1697190084758; Fri, 13 Oct 2023 02:41:24 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:33ce:b0:507:98a4:993b with SMTP id d14-20020a05651233ce00b0050798a4993bls309490lfg.1.-pod-prod-00-eu; Fri, 13 Oct 2023 02:41:19 -0700 (PDT) X-Received: by 2002:a05:6512:2354:b0:4fe:b97:e361 with SMTP id p20-20020a056512235400b004fe0b97e361mr21587202lfu.18.1697190078978; Fri, 13 Oct 2023 02:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697190078; cv=none; d=google.com; s=arc-20160816; b=ioWixhKHxuwhLjmeuCsh1vQky2oML/enKkq4NeH1T8SzBobYjWqOUqXq6ktr8fJBQ/ WqDZiErcwUfCC+qneTDNf+d0sgrFPpfU9Bb47MtcO/Bc839hXAz78WymO/wEjZIPe9LS gsKr/0u9rcUyS40DF/sRxPO8k50q5oBpG4ZOkaK/tParWJmDIKK7AEZSpeuUrIlvl1u1 ec0yikj2hSgROz+zSEgirJlmXfGV0sRpYeBodySuaCoGU1+ygeYr0LGmLMIQG5V/uNB4 JvjMdLpZwFYjKk/Fh75VtodKWf6+wg2PYQ1ruO3M3njp0G+5slM0SMi+HTiHAvnJVv7P OZgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=pcFzrz2y/Yetpk9SV2h1q0cTSms9Ab/E2nl6BQ3NXBk=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=rCN6RunWNoRG229yvuv5bsW0SsxvqB5XH0V+XtjfU50suV3Tm7bXZOYp8vLraFX0En 1Wt4i2z+H7Yg+R2mEdh3Tam7VrtWmyMAf+JfUFYZBX2H7SG4MU7ye/DEYKgNpB3mnSXK 5CfCG+KKW34A9R7u0rca98Dy5K51OcpTTkjwlD9j3+xe3FlQWeH9UGM+m+Xh83vRX4F5 k7fVKhcggVJGCh0LeX+whLeaOR2MUflPhAgOFGU9h6tqXwEeTEKJpW7JxHhtuM3J2YOw B2TNjyP8vPn2KuL5NrnIu6bjH5ymsxmA9cLi0Zh3okcXPvTVRSB9Wl/wUhED7GZgYgBE z3YQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=MAnfSpqm; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id m7-20020a056512114700b005008765a16fsi833746lfg.13.2023.10.13.02.41.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 02:41:18 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6AA7A240027 for ; Fri, 13 Oct 2023 11:41:18 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S6M2k0V42z6tx3 for ; Fri, 13 Oct 2023 11:41:18 +0200 (CEST) Content-Disposition: inline In-Reply-To: <4bf39b46-dfbc-4b36-a8a8-a93fb1abd216n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=MAnfSpqm; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:33193 Archived-At: You should search there to see if it has already been discussed: https://fo= rums.zotero.org If not, it may be a good idea to open a thread. It may be a bug in the Zote= ro plugin for Word, or the result of the stupid behaviour of Word itself (w= hich is very good at producing dirty code). If the culprit is Word, they wi= ll probably not be able to do anything, but you may get some advice. Le Friday 13 October 2023 =C3=A0 02:22:26AM, Joao Martins a =C3=A9crit : > 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-note csl will break the xml format of the docx file f= or > some references, but not all. You can swap to APA or IEEE and the referen= ce > will be then parsed correctly by pandoc. > * Also in the chicago-note, trying to edit the reference in the text inst= ead of > the footer will break the reference.=C2=A0 >=20 > With another document, with many references, I also found some problems w= ith > references being broken in the APA style as well, but redoing them fixed = the > problem. >=20 > Thanks for your help. >=20 > Joao >=20 > Pablo Serrati schrieb am Donnerstag, 12. Oktober 2023 um 18:56:34 UTC+2: >=20 > Hi, > What if you change the citation style in word before converting? Perh= aps > that is a simple solution to the problem. > Pablo >=20 > El jue, 12 oct 2023 a la(s) 12:06, Bastien DUMONT (bastien...@posteo.= net) > escribi=C3=B3: >=20 > 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 yo= u > observe in the uncompressed DOCX file may be rare (in fact, it sh= ould > not even happen). >=20 > 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 > in 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 y= ou are expecting? > > > >=C2=A0 =C2=A0 =C2=A0Le Thursday 12 October 2023 =C3=A0 06:21:21A= M, Joao Martins a =C3=A9crit : > >=C2=A0 =C2=A0 =C2=A0> I should add that the pandoc recognizes th= e footnote 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 d= ocx+citations > --citeproc -t > >=C2=A0 =C2=A0 =C2=A0markdown > >=C2=A0 =C2=A0 =C2=A0> -o out.md =C2=A0--csl=3Dchicago-note-bibli= ography.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 = subscribed 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 re= ceiving emails from > it, send an > >=C2=A0 =C2=A0 =C2=A0email > >=C2=A0 =C2=A0 =C2=A0> to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >=C2=A0 =C2=A0 =C2=A0> To view this discussion on the web visit [= 2][1][1]https:// > groups.google.com/ > >=C2=A0 =C2=A0 =C2=A0d/msgid/ > >=C2=A0 =C2=A0 =C2=A0> pandoc-discuss/da33d5ed-1c71-4b20-942e-47e= a49c4ce62n%[2] > >=C2=A0 =C2=A0 =C2=A0[2]40googlegroups.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...@googlegroups.c= om > >=C2=A0 =C2=A0 =C2=A0> [2] [3][3]https://groups.google.com/d/msgi= d/pandoc-discuss/ > >=C2=A0 =C2=A0 =C2=A0da33d5ed-1c71-4b20-942e-47ea49c4ce62n%[4]40g= ooglegroups.com? > utm_medium=3Demail& > >=C2=A0 =C2=A0 =C2=A0utm_source=3Dfooter > > > > > > -- > > You received this message because you are subscribed to the Goo= gle > Groups > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from i= t, > 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_medi= um=3D > email&utm_source=3Dfooter > > [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_medi= um=3D > email&utm_source=3Dfooter >=20 >=20 > -- > You received this message because you are subscribed to the Googl= e > Groups "pandoc-discuss" group. >=20 > 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.googl= e.com/ > d/msgid/pandoc-discuss/ZSgLiZm_HS_h4Lag%40localhost. >=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= 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. >=20 > References: >=20 > [1] https://groups.google.com/ > [2] http://40googlegroups.com/ > [3] https://groups.google.com/d/msgid/pandoc-discuss/ > [4] http://40googlegroups.com/?utm_medium=3Demail& > [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-9= 42e-47ea49c4ce62n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > [10] https://groups.google.com/d/msgid/pandoc-discuss/bd4dcab6-41e3-4dbe-= bf26-fbff426f90a5n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote= r > [11] https://groups.google.com/d/msgid/pandoc-discuss/ZSgLiZm_HS_h4Lag%40= localhost > [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=3Demail&utm_source=3Dfoote= r --=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/ZSkQvBqss1sVz5he%40localhost.