public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Ilia Zaihcuk <zoickx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Citations: lookup online and fetch metadata?
Date: Sat, 02 Oct 2021 12:31:24 -0700	[thread overview]
Message-ID: <m2ilyfmdf7.fsf@Johns-Air.hsd1.ca.comcast.net> (raw)
In-Reply-To: <86fd3cd3-ada6-406a-9aa6-7929aeb254fen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>



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 <zoickx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 <https://www.zotero.org/>). 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 
> <https://hackage.haskell.org/package/citeproc-hs>, zotxt 
> <https://github.com/egh/zotxt>, zotero-better-bibtex 
> <https://retorque.re/zotero-better-bibtex/exporting/pandoc/>, 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 <Name, Year, Title>, 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.


  parent reply	other threads:[~2021-10-02 19:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-02  9:04 Ilia Zaihcuk
     [not found] ` <86fd3cd3-ada6-406a-9aa6-7929aeb254fen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-10-02 19:31   ` John MacFarlane [this message]
     [not found]     ` <m2ilyfmdf7.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-10-03 12:27       ` Martin Fenner
     [not found]         ` <145362a0-b797-40f7-8610-9dd3b5e42f20n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-10-03 17:46           ` John MacFarlane
2023-01-06 13:01       ` J

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ilyfmdf7.fsf@Johns-Air.hsd1.ca.comcast.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=zoickx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).