From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31437 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Antonio Piccolboni Newsgroups: gmane.text.pandoc Subject: Re: Year appears twice in biblio item from @online biblatex entry Date: Thu, 22 Sep 2022 23:35:32 -0700 (PDT) Message-ID: <568b34c1-c26d-4e14-8c7c-6c503d7a34een@googlegroups.com> 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: multipart/mixed; boundary="----=_Part_574_231259668.1663914932860" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21715"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC4KDA7JYIPRBNVHWWMQMGQEKHURZUQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 23 08:35:37 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f62.google.com ([209.85.160.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1obcHh-0005QS-1J for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 23 Sep 2022 08:35:37 +0200 Original-Received: by mail-oa1-f62.google.com with SMTP id 586e51a60fabf-12d7da515besf4107852fac.20 for ; Thu, 22 Sep 2022 23:35:36 -0700 (PDT) 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-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date; bh=1etUHxEdN58YwXNQDAPfw6TXC5YJKx0zZ7l9buozt6c=; b=AkNoeyAneTnSvnhq8X4k7ZVsDB92eWXMgVOc5UKlJZtKLX6ujmLKDea7PvZ0KEiTaa xUtBwk+BCb5s1T0kIiR1PgoFHP3zyvEabKbozsMbfKD4doqWB+6aR8N2gjtR950r6wxw aoM0BlsB+37z5TOyR0eXYwsSrU0xkSXG3jTla9IT8wf0CFl3DMD87u4i6c/Sf+J3ZGb7 b4BLAYwvmnlO8unwXy6iuFFDjC5gx9zRUPiOMqJJozpXrSkeymm4t3xHwnDAaa6Ks5rd LHZiW0L/SZuSTnXediDIyWQDq+GGmZKStL5aEEOi75DzlyxvPN3dRsmu4aEDSy08tpKF OqkQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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 :from:to:cc:subject:date; bh=1etUHxEdN58YwXNQDAPfw6TXC5YJKx0zZ7l9buozt6c=; b=L8HHU9XAiFpWGu/lFOLm0i923phN79o5pnXn5ArYoQvD2E/RSEZR5VjoURpjv+Fh9b KY2cy8VECiRdETwyx2qitxyjjbjqqlnY6h6dG1HaL5RRJHrcxDbPhRumlc0FJ5nYHo3b Wg7GrSP4ijYGXJpBLLrH+71CzOErnrQcYSwHmu0iWrG17S2DEJ4OHvkpqwfqoEjkTNEv BaTgFQUlaWOyRiEmOxeFk729AWkho4FVaaA7jgXwcqNCwEnL8iQADw/wHKn1u9cRImFh 7h0jrLu7hZEBba5rhXw1V/tCrNMqKvwiKkDJPpIAl4AenWMxWQJqCD8YryT6O3ftoF2w KwLA== 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-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date; bh=1etUHxEdN58YwXNQDAPfw6TXC5YJKx0zZ7l9buozt6c=; b=1egBFP8+7XaUE9d3GAaQHByeVVJP4zwjLZ8br6KZuBxYhC2IVFwTPBRWsBiLCBj0GW ntckUfFsFwyp4NV9kJX/5XC48SS2UfFj4rfDfATkA7WoD0TzNpNfkp2FBmPE0TBMNJXz lRH6F+xGXGppvs17fj0Zy1jFsFtE2x6PoUsQZ2KSThptuPwnvc+35nYRQk0rcnAYcCPp FSObWaJ9wcpeuw7tGq3WW2l5Wl/mv54E9+2wIcBpRX7T82m8LngT7ZYev1QGEgnM6KKW KEWZd1Eq3/qHSY2CpTPmynmli6MDma0Rda8KiOMRGVFm4YRNp9wHL2/lpzhBc28X8mP8 UDVQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf0JAxM5K0qo25xQ1CqAEUO6fBHg1egztsi2wKo1N0HbIlAUhIPm 0TtutC242VFQ6w/kZhDB8FM= X-Google-Smtp-Source: AMsMyM57YO/J+ozZroxqh9SYGo7SbthYy7j9hmmoyucioewgQ/dIn0SnauhEzdBiSwjwNm4m6fyDMw== X-Received: by 2002:a05:6808:148c:b0:350:c0f6:70f0 with SMTP id e12-20020a056808148c00b00350c0f670f0mr8296574oiw.197.1663914935915; Thu, 22 Sep 2022 23:35:35 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:160d:b0:657:57df:1613 with SMTP id g13-20020a056830160d00b0065757df1613ls3820697otr.11.-pod-prod-gmail; Thu, 22 Sep 2022 23:35:33 -0700 (PDT) X-Received: by 2002:a9d:6a8:0:b0:654:bbc:4558 with SMTP id 37-20020a9d06a8000000b006540bbc4558mr3304005otx.350.1663914933398; Thu, 22 Sep 2022 23:35:33 -0700 (PDT) In-Reply-To: X-Original-Sender: piccolbo-Re5JQEeQqe8AvxtiuMwx3w@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:31437 Archived-At: ------=_Part_574_231259668.1663914932860 Content-Type: multipart/alternative; boundary="----=_Part_575_1471855177.1663914932860" ------=_Part_575_1471855177.1663914932860 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, what I see in my case is that urldate is ignored if either year or= =20 date field are present. Year or date are mandatory or the key contains the= =20 letters n.d. I still find seeing the year twice redundant and not=20 consistent with how other entry types @book or @article display.=20 On Thursday, September 22, 2022 at 11:26:11 PM UTC-7 Bastien Dumont wrote: > Here is a sample I got by exporting an item from Zotero and converting th= e=20 > 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 a= nd > > urldate. The former is repeated twice verbatim, the latter ignored.=20 > Thanks > > On Thursday, September 22, 2022 at 1:45:43 PM UTC-7 Bastien Dumont wrot= e: > >=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-year= =20 > form > > of the reference with the year only, whereas the second date is part of= =20 > the > > full reference and would contain the full date if it were provided. The > > solution is to provide more information in order to get an output like= =20 > this > > one: > > > > > > Doe, John. 2021. =E2=80=9CA DSL That Is Concise and Fun.=E2=80=9D Twi= tter. June 8,=20 > 2021. > > [1] > https://web.archive.org/web/20211216060806/https://twitter.com/scalding. > > > > > > 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 t= he > > 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=20 > subtlety > > that's wrong in pandoc's CSL processing. Maybe a CSL expert can chime i= n > > here? Or try using Zotero with chicago-author-date.csl to see what it= =20 > does. > > > > > > > > > On Sep 22, 2022, at 12:35 PM, Antonio Piccolboni < > picc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > wrote: > > > > > > > > > > Hi, I am producing pdf and epub from markdown. The bibliography i= s=20 > 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]h= ttps:// > > web.archive.org/web/20211216060806/https://twitter.com/scalding. > > > > > > > > > > I am using the options --citeproc --bibliography biblio.biblatex > > > > > > > > > > Other item types look just fine. > > > > > Any suggestions? Thanks > > > > > > > > > > > > > > > Antonio > > > > > > > > > > -- > > > > > 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 [4] > https://groups.google.com > > /d/msgid/pandoc-discuss/ > > 826a8e3a-24ed-407d-bc2b-8320ac9a75e0n%40googlegroups.com. > > > > > > > > -- > > > > 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,= =20 > 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.com. > > > > > > -- > > > 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, sen= d=20 > an > > email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To view this discussion on the web visit [6] > https://groups.google.com/d/ > > msgid/pandoc-discuss/YyzJIbTFWQuWhF0R%40localhost. > >=20 > > -- > > You received this message because you are subscribed to the Google Grou= ps > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email > > to [7]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [8] > https://groups.google.com/d/msgid/ > > pandoc-discuss/6300be55-0355-4427-9e48-730a1656ffc9n%40googlegroups.com= . > >=20 > > References: > >=20 > > [1]=20 > https://web.archive.org/web/20211216060806/https://twitter.com/scalding > > [2]=20 > https://web.archive.org/web/20211216060806/https://twitter.com/scalding > > [3]=20 > https://web.archive.org/web/20211216060806/https://twitter.com/scalding > > [4]=20 > https://groups.google.com/d/msgid/pandoc-discuss/826a8e3a-24ed-407d-bc2b-= 8320ac9a75e0n%40googlegroups.com > > [5]=20 > https://groups.google.com/d/msgid/pandoc-discuss/B3269C33-2E6B-403C-BC73-= 4139FC900699%40gmail.com > > [6]=20 > https://groups.google.com/d/msgid/pandoc-discuss/YyzJIbTFWQuWhF0R%40local= host > > [7] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [8]=20 > https://groups.google.com/d/msgid/pandoc-discuss/6300be55-0355-4427-9e48-= 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/568b34c1-c26d-4e14-8c7c-6c503d7a34een%40googlegroups.com. ------=_Part_575_1471855177.1663914932860 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks,  what I see in my case is that urldate is ignored if either ye= ar or date field are present. Year or date are mandatory or the key contain= s the letters n.d. I still find seeing the year twice redundant and not con= sistent with how other entry types @book or @article display. 

=
On Thursd= ay, September 22, 2022 at 11:26:11 PM UTC-7 Bastien Dumont wrote:
Here is a sample I got= by exporting an item from Zotero and converting the CSL JSON file to BibLa= TeX 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= . Thanks
> 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 DUMON= T a =C3=A9crit :
> > This is because the group ending with a dot contains the = author-year form
> of the reference with the year only, whereas the second date i= s part of the
> full reference and would contain the full date if it were prov= ided. The
> solution is to provide more information in order to get an out= put like this
> one:
> >
> > Doe, John. 2021. =E2=80=9CA DSL That Is Concise and Fun.= =E2=80=9D Twitter. June 8, 2021.
> [1]https://web.arc= hive.org/web/20211216060806/https://twitter.com/scalding.
> >
> > Le Thursday 22 September 2022 =C3=A0 12:49:11PM, John Mac= Farlane a =C3=A9crit :
> > > the CSL has
> > >
> > > <layout suffix=3D".">
> > > <group delimiter=3D". ">
> > > <text macro=3D"contributors"/>
> > > <text macro=3D"date"/>
> > > <text macro=3D"title"/>
> > > </group>
> > > <text macro=3D"description"/>
> > > <text macro=3D"secondary-contributors" = prefix=3D". "/>
> > > <text macro=3D"container-title" prefix= =3D". "/>
> > > <text macro=3D"container-contributors"/= >
> > > <text macro=3D"edition"/>
> > > <text macro=3D"locators-chapter"/>
> > > <text macro=3D"collection-title-journal"= ; prefix=3D", " suffix=3D", "/>
> > > <text macro=3D"locators"/>
> > > <text macro=3D"collection-title" prefix= =3D". "/>
> > > <text macro=3D"issue"/>
> > > <text macro=3D"locators-article"/>
> > > <text macro=3D"access" prefix=3D".= "/>
> > > </layout>
> > >
> > >
> > > and I think the first date is coming from the "= date" macro, while the
> second is coming from "access," which for web_page u= ses "issued" date.
> > >
> > > I don't know if this is a bug in the style or if= there's some subtlety
> that's wrong in pandoc's CSL processing. Maybe a CSL e= xpert 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 Piccolbon= i <picc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 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 ye= ar is
> repeated twice in the output, be it pdf or epub. This is an en= try:
> > > >
> > > >
> > > >
> > > > @online{scalding,
> > > > title=3D{A DSL that is concise and fun},
> > > > url=3D{[2]https://web.archive.org/web/20211= 216060806/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 --bibliograph= y biblio.biblatex
> > > >
> > > > Other item types look just fine.
> > > > Any suggestions? Thanks
> > > >
> > > >
> > > > Antonio
> > > >
> > > > --
> > > > You received this message because you are subsc= ribed to the Google
> Groups "pandoc-discuss" group.
> > > > To unsubscribe from this group and stop receivi= ng emails from it,
> send an email to pa= ndoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> > > > To view this discussion on the web visit [4]https://groups.google.com
> /d/msgid/pandoc-discuss/
> 826a8e3a-24ed-407d-bc2b-8320ac9a75e0n%40googlegroups.com.
> > >
> > > --
> > > You received this message because you are subscribed= to the Google
> Groups "pandoc-discuss" group.
> > > To unsubscribe from this group and stop receiving em= ails from it, send
> an email to pandoc-= discus...-/JYPxA39Uh5TLH3MbocFFw@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.com.
> >
> > --
> > You received this message because you are subscribed to t= he Google Groups
> "pandoc-discuss" group.
> > To unsubscribe from this group and stop receiving emails = from it, send an
> email to pandoc-dis= cus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> > To view this discussion on the web visit [6]https://groups.google.com/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-discus...@= googlegroups.com.
> To view this discussion on the web visit [8]https://groups.google.com/d/msgid/
> pandoc-discuss/6300be55-0355-4427-9e48-730a1656ffc9n%40googlegroups.com.
>=20
> References:
>=20
> [1] https://web.archiv= e.org/web/20211216060806/https://twitter.com/scalding
> [2] https://web.archiv= e.org/web/20211216060806/https://twitter.com/scalding
> [3] https://web.archiv= e.org/web/20211216060806/https://twitter.com/scalding
> [4] https://groups.google.c= om/d/msgid/pandoc-discuss/826a8e3a-24ed-407d-bc2b-8320ac9a75e0n%40googlegro= ups.com
> [5] https://groups.google.com/d/msgid/pando= c-discuss/B3269C33-2E6B-403C-BC73-4139FC900699%40gmail.com
> [6] http= s://groups.google.com/d/msgid/pandoc-discuss/YyzJIbTFWQuWhF0R%40localhost
> [7] mailto:
pandoc-discu= s...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [8] https://groups= .google.com/d/msgid/pandoc-discuss/6300be55-0355-4427-9e48-730a1656ffc9n%40= googlegroups.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 pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/568b34c1-c26d-4e14-8c7c-6c503d7a34een%40googlegroups.= com.
------=_Part_575_1471855177.1663914932860-- ------=_Part_574_231259668.1663914932860--