From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31436 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Year appears twice in biblio item from @online biblatex entry Date: Fri, 23 Sep 2022 06:26:05 +0000 Message-ID: References: <826a8e3a-24ed-407d-bc2b-8320ac9a75e0n@googlegroups.com> <6300be55-0355-4427-9e48-730a1656ffc9n@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="14152"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRB75CWWMQMGQECNO55LA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 23 08:26:11 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f58.google.com ([209.85.221.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1obc8Z-0003Rd-G5 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 23 Sep 2022 08:26:11 +0200 Original-Received: by mail-wr1-f58.google.com with SMTP id h20-20020adfaa94000000b0022af8c26b72sf3640374wrc.7 for ; Thu, 22 Sep 2022 23:26:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663914371; cv=pass; d=google.com; s=arc-20160816; b=IoTWr3IHUTaTdiLRg9qjMEzLgKu1d5HL+6sdIsjWCXeQtYfvhNQ/tSpa1n3ud5xTVK QdrR4qYLaROrPUa4ibSmyIxhGLERfHSoJFksCIlXVEz9L488gX5SFqq/a/o0I559oNiC Stkr83sxMSLR0TTMDLV5z/wtO+KvXfrt/BwkotRFpiFwhJOL0miZGkUZmXGv0kOn83yg 0GG6zrCJ+eIgSmre0V/wrX+kso1zvP+crDYhgGE+dNDYntt6eI8iz3PIF3ID90wyVuyR RT8T39pAHHwg2fXruh/TbMpg+1pozbFj7cpNPI8BlSQPQhrsmFAKSA+eAPXAmu9qosu6 JHHQ== 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=OsA1vaxJ9qY8aczC884Nk3NfOwq0ArPshpLO7vJUGd0=; b=mjr1RzPN9thouqOQwjgj3Cf9mPHd+0ezjnC21W4VhStQOPELGJd8fMs3JPnlj5DO7G tnJX49DJl6JjDeA6QeXhljOmLuBJzUTIDDw7ZYHZGshhYHthCuhvNSy+PKfqk7M2GcY2 ovZC0FNOQwXhqZHQH9dheMXD6Mnirgc924EBrDU20AqIvKtL82+EIk7su7/xxKFw0v5A DGxuHy41yFXtjNKWyHfzhl0G0g6S6kfSnpeBLMpTDHUZjQ83Fv3Lg39L0uSAgySIU/0z oqd68G/0Szx/YYLnqrbEgHQgy4Pv+SCsQ3uDGogo8K6F/i6/f48ectf6pGNK+SHeI/gl 9y0w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=JR6oNRDg; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 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=20210112; 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; bh=OsA1vaxJ9qY8aczC884Nk3NfOwq0ArPshpLO7vJUGd0=; b=tzEDGEdbS9oqLwyZfEi0n5+2Z2ntSQyRFwpSQohuNLFn/evDh+ybdqD1o1Y5Qfm+lo +BfAbWV1HmkZhmIuuHrxzpW9C6xLgZbSczqFB7d93USVb4b1gX+HlPZ/9mDNaovQO366 k1vYtUdFKCXLLLBB0jMshT/1wHIrWMTgmR+3i0MAQY5Zaic8sUg2pXbeFJzf6R/WzK1I UOjFVSJww/qVhjwg4ZLfICHeEajhwXb087ht1esKYl2UejEQxUdC5xiZ39QoPg4DBOhz WEerfGp6Ao4jvXAJwHErZpcvActwqyT5Wx//YPt+HKQDcBVypczTvVraDNqUkDD7y X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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-gm-message-state :sender:from:to:cc:subject:date; bh=OsA1vaxJ9qY8aczC884Nk3NfOwq0ArPshpLO7vJUGd0=; b=UEPbm5wZpBKdRujGIex5LB14RPhYxDgdeAM6toUkWyvYeiVo7cXiMfn4Y5TL4b+Ub4 zO8U/qrbW4WfrFPwaQOo6NRmjH+Rej8HCO/8T9U6sHghN/fqOJx7ypRz7WmNwoJaGT6r 6mPQ/WJ0Ffj/VK0Tz1yAxeUHs3+U56yQKU7EAAlNuPdLIAxovzVRjQ9O6dBvaGXbvlji a5bUxZ1e4rvwAkBM3eA1rVdQgY29HjfPH3phqlkl7X2fyn+ii+9Pqy0Zi7tvkp1X+d4a 9IqGUCa5hqo3/nzc2+wd Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf3bSV95sdIPhiasRMLfxLeAbU4YYqrXqU6bmY3ps9w5F5NGX2la EQSYMR+0eFUSqQn4MmUVgnU= X-Google-Smtp-Source: AMsMyM49Zv8Qvv6gc6clpYU89hSs2WoJos5iL5K/3sH7G3NxvV8tepAzpLnL6FADP9r3X5p744H3qQ== X-Received: by 2002:a05:6000:1547:b0:22b:5c7:a241 with SMTP id 7-20020a056000154700b0022b05c7a241mr4053432wry.207.1663914370992; Thu, 22 Sep 2022 23:26:10 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6000:255:b0:228:a25b:134a with SMTP id m21-20020a056000025500b00228a25b134als783257wrz.0.-pod-prod-gmail; Thu, 22 Sep 2022 23:26:07 -0700 (PDT) X-Received: by 2002:adf:f2c9:0:b0:228:63f6:73c2 with SMTP id d9-20020adff2c9000000b0022863f673c2mr4081049wrp.554.1663914367041; Thu, 22 Sep 2022 23:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663914367; cv=none; d=google.com; s=arc-20160816; b=JSzuJcMKIn6Qmkb+Dwg63Fg7EXTkuFuGbPszPThsl2oKtky+N6lYrNUxSIAUlZHEka XRRrYVIqWCoFPLTMN2wwzp0WWa+mgzxujf/5XLbpYPVMP21k0cicY2DBZbnKtsr3535q mp53gQguIAkPWTAUbqey8zqyfe8bqSiqjSzBHSRVbuAnE/uMzbhCktbqKXl3D1uEW+u3 cE7CVxAJSjom5N+2iYmmk/qNv3tr6s6wCmXC8R8vh+beaIM9NbZQ8i8j7y7gffpxb05P DBBehgda0oNlDwQnoyRJXdL1DFFHQTWY+DcIEsT3+NU7ANaEaOZOyBEvEjfPBm8Eux6R yRbQ== 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=3cQjzUiDUPOP+lZTet6t0EwFCoANYUkROihY63HVXac=; b=e4Di/zC9MxurLxOdhV3NiUB9nq+N90IItYLoFVvBFFkaFvjUVgu1P33TeVQGCUgY0c /osBvJnCl4zHSD/8UWQ7bwg68GMqOVgJJTDUt5BnV/9c+je7BmMwEv7AfIhOwJMK+srz nluEpxvDaQ7Cr5wRb971JwGSWboySH7laCCP+3ThGvR7V97CeYgmttODaewRXBTxfhqD hHBpKnDRwslnANI3lrbeZHDRi2yGgaFlF2D9AYxiJSxIkrX39LhuDMgdeGYGoY8kFOIz ichnk8dhHoTUVhBUsWRM957G2aVcwfp2ehc1/Tt2zsI1yU30qxc1rgiFhLFAhwpY7Waz Bskg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=JR6oNRDg; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 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 mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id m188-20020a1ca3c5000000b003a6787eaf57si238941wme.2.2022.09.22.23.26.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 23:26:07 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B2CD7240101 for ; Fri, 23 Sep 2022 08:26:06 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MYhxB1t4Tz6tn5 for ; Fri, 23 Sep 2022 08:26:06 +0200 (CEST) Content-Disposition: inline In-Reply-To: <6300be55-0355-4427-9e48-730a1656ffc9n-/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=JR6oNRDg; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 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:31436 Archived-At: Here is a sample I got by exporting an item from Zotero and converting the = CSL JSON file to BibLaTeX via Pandoc: @online{PageWebSimple, author =3D {Author, First Name}, title =3D {Title of the Web Page}, date =3D {2000-10-20}, urldate =3D {2019-07-20}, url =3D {http://placeholder.url} } Le Thursday 22 September 2022 =C3=A0 03:03:21PM, Antonio Piccolboni a =C3= =A9crit : > In what field am I suppose to enter that "June 8, 2021"? I tried year and > urldate. The former is repeated twice verbatim, the latter ignored. Thank= s > On Thursday, September 22, 2022 at 1:45:43 PM UTC-7 Bastien Dumont wrote: >=20 > Or to write a Lua filter, of course! >=20 > Le Thursday 22 September 2022 =C3=A0 08:44:17PM, Bastien DUMONT a =C3= =A9crit : > > This is because the group ending with a dot contains the author-yea= r form > of the reference with the year only, whereas the second date is part = of the > full reference and would contain the full date if it were provided. T= he > solution is to provide more information in order to get an output lik= e this > one: > > > > Doe, John. 2021. =E2=80=9CA DSL That Is Concise and Fun.=E2=80=9D T= witter. June 8, 2021. > [1]https://web.archive.org/web/20211216060806/https://twitter.com/sca= lding. > > > > Le Thursday 22 September 2022 =C3=A0 12:49:11PM, John MacFarlane a = =C3=A9crit : > > > the CSL has > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > and I think the first date is coming from the "date" macro, while= the > second is coming from "access," which for web_page uses "issued" date= . > > > > > > I don't know if this is a bug in the style or if there's some sub= tlety > that's wrong in pandoc's CSL processing. Maybe a CSL expert can chime= in > here? Or try using Zotero with chicago-author-date.csl to see what it= does. > > > > > > > On Sep 22, 2022, at 12:35 PM, Antonio Piccolboni > wrote: > > > > > > > > Hi, I am producing pdf and epub from markdown. The bibliography= is in > biblatex. There is a problem with @online items in that the year is > repeated twice in the output, be it pdf or epub. This is an entry: > > > > > > > > > > > > > > > > @online{scalding, > > > > title=3D{A DSL that is concise and fun}, > > > > url=3D{[2]https://web.archive.org/web/20211216060806/https:// > twitter.com/scalding}, > > > > year=3D{2021} > > > > } > > > > > > > > And this is the result: > > > > > > > > =E2=80=9CA DSL That Is Concise and Fun.=E2=80=9D 2021. 2021. [3= ]https:// > web.archive.org/web/20211216060806/https://twitter.com/scalding. > > > > > > > > I am using the options --citeproc --bibliography biblio.biblate= x > > > > > > > > Other item types look just fine. > > > > Any suggestions? Thanks > > > > > > > > > > > > Antonio > > > > > > > > -- > > > > 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 pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > > To view this discussion on the web visit [4]https://groups.goog= le.com > /d/msgid/pandoc-discuss/ > 826a8e3a-24ed-407d-bc2b-8320ac9a75e0n%40googlegroups.com. > > > > > > -- > > > You received this message because you are subscribed to the Googl= e > 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 [5]https://groups.google= .com/d > /msgid/pandoc-discuss/B3269C33-2E6B-403C-BC73-4139FC900699%40gmail.co= m. > > > > -- > > 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, s= end an > email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [6]https://groups.google.c= om/d/ > msgid/pandoc-discuss/YyzJIbTFWQuWhF0R%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 [7]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [8]https://groups.google.com/d/m= sgid/ > pandoc-discuss/6300be55-0355-4427-9e48-730a1656ffc9n%40googlegroups.com. >=20 > References: >=20 > [1] https://web.archive.org/web/20211216060806/https://twitter.com/scaldi= ng > [2] https://web.archive.org/web/20211216060806/https://twitter.com/scaldi= ng > [3] https://web.archive.org/web/20211216060806/https://twitter.com/scaldi= ng > [4] https://groups.google.com/d/msgid/pandoc-discuss/826a8e3a-24ed-407d-b= c2b-8320ac9a75e0n%40googlegroups.com > [5] https://groups.google.com/d/msgid/pandoc-discuss/B3269C33-2E6B-403C-B= C73-4139FC900699%40gmail.com > [6] https://groups.google.com/d/msgid/pandoc-discuss/YyzJIbTFWQuWhF0R%40l= ocalhost > [7] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [8] https://groups.google.com/d/msgid/pandoc-discuss/6300be55-0355-4427-9= e48-730a1656ffc9n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter --=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/Yy1RfXUAj7JJBwdn%40localhost.