From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31959 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: J Newsgroups: gmane.text.pandoc Subject: Re: Citations: lookup online and fetch metadata? Date: Fri, 6 Jan 2023 05:01:00 -0800 (PST) Message-ID: References: <86fd3cd3-ada6-406a-9aa6-7929aeb254fen@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1154_468921202.1673010060541" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22230"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDMYDKFOZAOBBDVX4COQMGQETXDGP2Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 06 14:01:07 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f64.google.com ([209.85.160.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pDmLJ-0005Xg-Qn for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 06 Jan 2023 14:01:05 +0100 Original-Received: by mail-oa1-f64.google.com with SMTP id 586e51a60fabf-14261bd9123sf562027fac.21 for ; Fri, 06 Jan 2023 05:01:05 -0800 (PST) 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:message-id:reply-to; bh=Na0/M4vMso1T98bTKk8MAJTKnygvtqNnne0dveEj5W8=; b=rZOpu9LDiPw234bfhHy+E2ZC066jMK+Vx2q4lIREguocXXLpDfy8nqRJLbGEG4NT+A IBs6JBaHu+J7c63x/CI6Iq35LrVH0avWms5q9vDLI5s8I9tVP6U9uNoPCgQu1RGM/H8m fMcj5S6SCDD21wFBsVJV+i0kV5OMnEmqfgcIRh5keMq3yc+N5Q8BLOXRhLO5Rn8LnFXu Znp0spg2t1S/LdblEIGyl3tTHtuhnpuSNopsirV8NWWnd8lyyPOeU27daVScZw531hhZ Z0eJK9jzkc5EmsHtUtHdY3Ggzak+DXT+f8VfVT+Osv/JkR1qFHO1wEFTrV7ZCfTkm5FV GaVQ== 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:message-id:reply-to; bh=Na0/M4vMso1T98bTKk8MAJTKnygvtqNnne0dveEj5W8=; b=qzmPMIeI+vrOSTs5+pkZbUQrWVAJ+Gvkbz6TKs0AiFm3ltFSirH/Tvh5qr4XkHmrtR SWs6x0y8FrOjVCicPPK3561OIOq/OUaG+4J8O8LXNDZLZzhk9esEOM7XRL/st01owi/Z Wm2z10qOph7dRivV8xU+M7BJwxRqSIHACOWRWD1ac1h/626hx1A0zLpd11H1iu+ona9n gKadJj7uELFm2lNLCknICVvaisPX9bprwh1rcoPu15a6lVnPcQTZMaNKC01uabfhh0NV TKVWHxLTtEuQFgymsXW0TR+7yUdIsYmjEVL2gkaDvMFCXv2X+t9+WE1sqL7faU7AHAh6 k9EA== 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:message-id:reply-to; bh=Na0/M4vMso1T98bTKk8MAJTKnygvtqNnne0dveEj5W8=; b=hvt8Yve6BtMdFrgloKwHEVayJq47nXDVBkJNtS7j/hhFeugsqbnwjWZV8tiLm7gbIL sKYLpSL1cslw5R51jjEAXpmwtkZ1QgMEGr8C84aygCso4jNp1GzCMFw85eW3+OGWWHHk g2nW/9k/EXDcr3sAUqI+3kxxFbdabCUTwBekGfzVhadl4wFYsEVUZ7Eb8cbwXjUIBDpW Tyycze3+GeTEujvbSvANb8a6psOmx1mVE2jr5fedBSLnPyCxYn6ZPKLEdnAVnEQbw2kq sIpHceLEaxVbDjOqPHc0FwYsa6zhv4E9cJREzdEk2JxZ8gSGWAT5rjqFJXJIWVnfk6hb Q2Zg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2kq3ppKxSVWExotMsML+625relD+cXvVk2FyNGGt2Fy8gDhASqqR t13B/Y+ctxT587fEXpzTLEE= X-Google-Smtp-Source: AMrXdXsL98WxJJ+8ZErgaMYp/+sOV2F9DPQ6iqyDl7+yHseWx+eEsUrAYvuvBsxkII50JHrEGoT9mQ== X-Received: by 2002:a05:6808:3022:b0:363:b918:645b with SMTP id ay34-20020a056808302200b00363b918645bmr1090440oib.0.1673010064570; Fri, 06 Jan 2023 05:01:04 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:54b:b0:35b:dfea:7af0 with SMTP id i11-20020a056808054b00b0035bdfea7af0ls10917911oig.7.-pod-prod-gmail; Fri, 06 Jan 2023 05:01:01 -0800 (PST) X-Received: by 2002:aca:4257:0:b0:354:7326:8b07 with SMTP id p84-20020aca4257000000b0035473268b07mr2750007oia.43.1673010061374; Fri, 06 Jan 2023 05:01:01 -0800 (PST) In-Reply-To: X-Original-Sender: lixichen-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:31959 Archived-At: ------=_Part_1154_468921202.1673010060541 Content-Type: multipart/alternative; boundary="----=_Part_1155_2061574142.1673010060541" ------=_Part_1155_2061574142.1673010060541 Content-Type: text/plain; charset="UTF-8" Can we control the generation scheme when using https://github.com/pandoc/lua-filters/tree/master/doi2cite ? For example, last name of the first author - year - title ? On Sunday, October 3, 2021 at 3:31:39 AM UTC+8 John MacFarlane wrote: > > > This might interest you: > https://github.com/pandoc/lua-filters/tree/master/doi2cite > Use DOIs as cite keys and automatically fetch the data. > > Ilia Zaihcuk writes: > > > Hi all, > > > > Is it possible, within the "pandoc'osphere", to fetch more metadata > about a > > given citation from some online resource? > > > > Inspired by zbib.org (based on zotero ). > Given, > > for example, the simple search string "*Probability Neglect 2002*", the > > service returns as much as > > > > @article{sunstein_probability_2002, > > title = {Probability {Neglect}: {Emotions}, {Worst} {Cases}, and > > {Law}}, > > volume = {112}, > > issn = {00440094}, > > shorttitle = {Probability {Neglect}}, > > url = {https://www.jstor.org/stable/1562234?origin=crossref}, > > doi = {10.2307/1562234}, > > number = {1}, > > urldate = {2021-10-02}, > > journal = {The Yale Law Journal}, > > author = {Sunstein, Cass R.}, > > month = oct, > > year = {2002}, > > pages = {61}, > > } > > > > I see a lot of integrations with packages like citeproc-hs > > , zotxt > > , zotero-better-bibtex > > , etc., but > all > > of them are talking primarily about managing and formatting a > preexisting > > bibliography and I've seen *no* mention of anything about fetching *new > > data*. > > > > This can be very useful when citations in the source files are missing > > parts, or need to be converted into a format which requires more data > (e.g. > > input is only , but output requires DOI). > > > > Best, > > > > Ilia > > > > -- > > 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/86fd3cd3-ada6-406a-9aa6-7929aeb254fen%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, send an email 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/e0fcc7b2-906e-494b-9335-abb203768725n%40googlegroups.com. ------=_Part_1155_2061574142.1673010060541 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Can we control the generation scheme when using https://github.com/pandoc/= lua-filters/tree/master/doi2cite ? For example, last name of the f= irst author - year - title ?

On Sunday, October 3, 2021 at 3:31:39 AM UTC+8 J= ohn MacFarlane wrote:


This might interest you:
https://github.com/pandoc/lua-filters/tree/master/doi= 2cite
Use DOIs as cite keys and automatically fetch the data.

Ilia Zaihcuk <zoi...@gmai= l.com> writes:

> Hi all,
>
> Is it possible, within the "pandoc'osphere", to fetc= h more metadata about a=20
> given citation from some online resource?
>
> Inspired by zbib.org (based on zotero <https://www.zotero.org/>). Given,=20
> for example, the simple search string "*Probability Neglect 2= 002*", the=20
> service returns as much as
>
> @article{sunstein_probability_2002,=20
> title =3D {Probability {Neglect}: {Emotions}, {Worst} {Cases},= and=20
> {Law}},=20
> volume =3D {112},=20
> issn =3D {00440094},=20
> shorttitle =3D {Probability {Neglect}},=20
> url =3D {https://www.jstor.org/stable/1562234?origi= n=3Dcrossref},=20
> doi =3D {10.2307/1562234},=20
> number =3D {1},=20
> urldate =3D {2021-10-02},=20
> journal =3D {The Yale Law Journal},=20
> author =3D {Sunstein, Cass R.},=20
> month =3D oct,=20
> year =3D {2002},=20
> pages =3D {61},=20
> }
>
> I see a lot of integrations with packages like citeproc-hs=20
> <https://hackage.haskell.org/package/citeproc-hs>, zotxt=20
> <https://github.com/egh/zotxt<= /a>>, zotero-better-bibtex=20
> <
https://retorque.re/zotero-better-bibtex/e= xporting/pandoc/>, etc., but all=20
> of them are talking primarily about managing and formatting a pree= xisting=20
> bibliography and I've seen *no* mention of anything about fetc= hing *new=20
> data*.
>
> This can be very useful when citations in the source files are mis= sing=20
> parts, or need to be converted into a format which requires more d= ata (e.g.=20
> input is only <Name, Year, Title>, but output requires DOI).
>
> Best,
>
> Ilia
>
> --=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 pandoc-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/86fd3cd3-a= da6-406a-9aa6-7929aeb254fen%40googlegroups.com.

--
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/e0fcc7b2-906e-494b-9335-abb203768725n%40googlegroups.= com.
------=_Part_1155_2061574142.1673010060541-- ------=_Part_1154_468921202.1673010060541--