From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29327 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Citations: lookup online and fetch metadata? Date: Sat, 02 Oct 2021 12:31:24 -0700 Message-ID: References: <86fd3cd3-ada6-406a-9aa6-7929aeb254fen@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34898"; mail-complaints-to="usenet@ciao.gmane.io" To: Ilia Zaihcuk , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBGPH4KFAMGQE5WENNUI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Oct 02 21:31:40 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-io1-f61.google.com ([209.85.166.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mWkjU-0008y5-8y for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 02 Oct 2021 21:31:40 +0200 Original-Received: by mail-io1-f61.google.com with SMTP id o19-20020a0566022e1300b005d66225622dsf12046832iow.3 for ; Sat, 02 Oct 2021 12:31:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1633203098; cv=pass; d=google.com; s=arc-20160816; b=aWd60UuB0zudRzxKmSsmVWA8yaQTBJBdvO9S4ejojRqY/mZ5j+qM65LRyHsmnUHKp6 p/SHFM9YO6BNc1MYk9mk93IW0AUXhlTZDi7nWwqZfzy4EcEt5+Qy7CtczoAJvZDrR6ys Wo0uVUgGQj++T1NNLndlJpojXKFQ1IjPGud38WI5xfGD6syEybdzKfTZinToRnk9Bqbd BEXUhMDdS9m7HS8yPei8llVTAq2GRU2pm5FOEMZ5AMiHHJJddgOuaWYVoG7chZSfIqrm WEJu4xQAMNell8aVLOz9fYXAQj/+9aDtapUVEOZzA6Vf8MqNevXb6/RKkZa2212TH2mh K6pw== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=+l382PmYLKFBU48m7HRpR79R3k7bJ24XT9PfAZEOU9s=; b=N5rPvpZaNLQ4rai5VpP+iC6krCZSOg+gDwEyTsv8vCncpPBB+Gl6IQ9BJ0hO6AYU7l 8WFn1u7EnPhSHkd7kLjIVUb9trzVZAhMCq1eq24tehx8rUu6FHB4wil8OIfv9zbVWDvA jyMxzvA0hQ7yiV3ZNHIVnobXvnJsTu7SeErvascibBIxQ6QEqbUws/ev7dnT3Ekw7Cky SIObbpX17SK3DSrepUS/uzHTvr75w0zBBkAtZze/P1mr5hxCXy0DAX03/uKAwWEiY66g JEtBec8XNViASEygFc+NokENMNzDVp38nREjj/2EV5fCRMRweQT6ADeknHPpOedai2vS oqrw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=aJC+xwTJ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::633 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=+l382PmYLKFBU48m7HRpR79R3k7bJ24XT9PfAZEOU9s=; b=ZnhPWYfOAJklb8XzWO0EbAiLdPM24k14NfabYRTdU3jF1lw5svxRT3XR2sqWEXO1w4 Ext8Xw2kAg2t8rv6RZvHsuR05Q8BHOSVCS+2enGowkuFOpyYFg1u/QBPVrP7DspQhqO1 fVnQuWzjD3peB2tx5TI99k5GScwJOAmWnkV5hfwD2DsYVsgY+oLTFAt7+kNTxUf/TxyL GYd/kiIadjPmLgfRJ592nMmyEXbzy+AvYq2hlxfG+EjZy44iSQofKhso1w8ZMoEXl3Ha ynkcilBq9J63mVtGaNJGu5e9IevlUtdmGPrsF4LIkuJ82cVMfaAXtcu/anvWgS9BO4CX ZCyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=+l382PmYLKFBU48m7HRpR79R3k7bJ24XT9PfAZEOU9s=; b=wd7MpDpTiRfUrAKfBt8v/6DiQrgCebUjTBhOVbnoYo+71/RjKszqwGBmE9pn9Rr/l/ Li7CL8yT8kJ1KLp/gBPdH6xb5XTZ/vdBdLsvoUgZYgZfqaw8ZaJsaYtMfaaxPrEGyFHR XMEOo/yyknRgIgLR7sntUmMln4C7z3b50Py1X4GCSI1X0hKYD8wXAjhF7hwGgaQZzoq8 4E3oOQW79zHIK/aohRJd17nLv0NzPAPL2soGkloJ8Z1TQnZC9Oj9Whf53+snL77udmOK gZ2QziCMRQOG6k1EqxaUgTXyJ93t+r34V6UQl6P29LoELRt0RTO0H8rxJkSN71UnJ8bV CwXQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM53112MkxHLeSGE3unFpG2Ga+eTr2uzt0uI1DdGl5DqFsnY7o7Y8s TTc4aRcbf1J9E23sHllGiMU= X-Google-Smtp-Source: ABdhPJyaO0GOHumDl3SaxU97V7pQoNJy03atkjUPcc2J5iCPdMjFxtbNLalvIoH+5XyJNjqj/Y2PZg== X-Received: by 2002:a05:6e02:1a26:: with SMTP id g6mr3434864ile.215.1633203098637; Sat, 02 Oct 2021 12:31:38 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6e02:1b8c:: with SMTP id h12ls3184158ili.4.gmail; Sat, 02 Oct 2021 12:31:37 -0700 (PDT) X-Received: by 2002:a05:6e02:d86:: with SMTP id i6mr3706248ilj.272.1633203097149; Sat, 02 Oct 2021 12:31:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633203097; cv=none; d=google.com; s=arc-20160816; b=Q86oVyzVLCSvNJnUWseL+bc/4sg5O7E8rXbfJreQfD9YdmY8thBJS5fxf8B991+vPf fZkuoPLPv153x7QBkkTwU/sNFutsS5pb5OmEfmMMW/5B+Tl/RD25gVWnBdPnVeuQQ1kZ Op9i3aGMX2QCJ2IeC1QlsC68X29CfiIV/vJfzrxolTpERWRUD0HWJfhgWSmg91FoTMoL tq1zSeYqV6WuzGvYRumjl+PoJFfc9SxuMQ3U6gCpQyd2Wu4aiyYHLTS/2B+sQ4Bqofyt 87Us/DeJojn9+sX1MSOfEj7tJXhbkOqWwVn578uQ7v8wbEdtRy4zhszeN5Csj1uhzhdD EVwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=kLFk6Eo1OIxFOlUKSsCB1BkktVIkbg89hrQlzopvibo=; b=OBDIm3JCLlWQHpEunPlQuswE47f9K5uX64htgIgAIvt7axTemcB7bog01UM5tLA0RS KcK3kj6vnMc0ox6/IfwZXY6hvWLNfi51mQ7PrhxSZu1S8bmyLixank4FhCjAP7Xz5uc8 vxKM51hLhw9G1YZHPsNc/NF5fRx/7YvVlkfTbwduCq1+nLA8rqlsUe+M2pFjMmgByECk kVw5L3PsUxiR5jzOlR74YbzhBErtzjbDAGcHPz1rGE+znG4fdl4ZodA/eOyUOKUhNoXw fVrbCwEosz0B5c0dabBh2ekI7onYJcL9/5B8gR4SLBLSQn2mGLq2w42c+nHaz5ZE/I3R 1umg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=aJC+xwTJ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::633 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com. [2607:f8b0:4864:20::633]) by gmr-mx.google.com with ESMTPS id e5si578207ios.3.2021.10.02.12.31.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Oct 2021 12:31:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::633 as permitted sender) client-ip=2607:f8b0:4864:20::633; Original-Received: by mail-pl1-x633.google.com with SMTP id j4so6993842plx.4 for ; Sat, 02 Oct 2021 12:31:37 -0700 (PDT) X-Received: by 2002:a17:902:aa0a:b0:13e:1658:2a68 with SMTP id be10-20020a170902aa0a00b0013e16582a68mr15526792plb.24.1633203096403; Sat, 02 Oct 2021 12:31:36 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id e12sm9694869pgv.82.2021.10.02.12.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Oct 2021 12:31:35 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 1658DA1A8; Sat, 2 Oct 2021 15:31:25 -0400 (EDT) In-Reply-To: <86fd3cd3-ada6-406a-9aa6-7929aeb254fen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=aJC+xwTJ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::633 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:29327 Archived-At: 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-discuss+unsubscribe-/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.