public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* URL in bibliography metadata?
@ 2018-12-31 20:13 Jack Bates
       [not found] ` <be995e54-c71b-8d40-7e08-785d7cfc4f8c-dGoucM6QAyFhr70sJ4iBzQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jack Bates @ 2018-12-31 20:13 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Would you consider a patch to replace `UTF8.readFile` in `readBibtex` 
[1] with `fetchItem`, like in `readCSLFile` [2], to make pandoc-citeproc 
handle the case where the bibliography metadata is the URL of a remote file?

[1] 
https://github.com/jgm/pandoc-citeproc/blob/a8415e37f6a8c589157ac9a88529a91d2d584728/src/Text/CSL/Input/Bibtex.hs#L115
[2] 
https://github.com/jgm/pandoc-citeproc/blob/1d597c855e3a4933804a5815dd36fb88e740461b/src/Text/CSL/Parser.hs#L61


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: URL in bibliography metadata?
       [not found] ` <be995e54-c71b-8d40-7e08-785d7cfc4f8c-dGoucM6QAyFhr70sJ4iBzQ@public.gmane.org>
@ 2019-01-01 22:02   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2019-01-01 22:02 UTC (permalink / raw)
  To: Jack Bates, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


Yes. This seems a good idea. It's possible there's
some reason not to do it, but I can't think of one
now.

Jack Bates <m68giy-dGoucM6QAyFhr70sJ4iBzQ@public.gmane.org> writes:

> Would you consider a patch to replace `UTF8.readFile` in `readBibtex` 
> [1] with `fetchItem`, like in `readCSLFile` [2], to make pandoc-citeproc 
> handle the case where the bibliography metadata is the URL of a remote file?
>
> [1] 
> https://github.com/jgm/pandoc-citeproc/blob/a8415e37f6a8c589157ac9a88529a91d2d584728/src/Text/CSL/Input/Bibtex.hs#L115
> [2] 
> https://github.com/jgm/pandoc-citeproc/blob/1d597c855e3a4933804a5815dd36fb88e740461b/src/Text/CSL/Parser.hs#L61
>
> -- 
> 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/be995e54-c71b-8d40-7e08-785d7cfc4f8c%40nottheoilrig.com.
> For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-01 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-31 20:13 URL in bibliography metadata? Jack Bates
     [not found] ` <be995e54-c71b-8d40-7e08-785d7cfc4f8c-dGoucM6QAyFhr70sJ4iBzQ@public.gmane.org>
2019-01-01 22:02   ` John MacFarlane

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).