public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Any reason to keep bibliography in YAML?
@ 2021-06-18 19:35 Joseph Reagle
       [not found] ` <d6d1c254-27f7-32ca-e19a-2ce96fe05197-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Joseph Reagle @ 2021-06-18 19:35 UTC (permalink / raw)
  To: pandoc-discuss


My biblio tool can now create JSON-CSL output -- in addition to bibtex, biblatex, YAML-CSL, and Wikipedia citation template.

The JSON functionality is rather redundant with YAML, which I'm inclined to delete.
pandoc is so much faster with JSON, and if JSON is YAML, I can't see much reason to keep YAML.
I can even embed JSON-CSL in markdown files, just like YAML-CSL, as seen in example below.

Before I gut the YAML functionality and tweak my build system for the CSL, is there any reason to keep it?


====================

[1]: https://reagle.org/joseph/2016/04/min-eg/cite-json-embed.md

...
# References

---
references:

   { "id": "BurkeKraut2008mum",
     "type": "chapter",
     "author": [
         {
       "family": "Burke",
       "given": "Moira"
         },
         {
       "family": "Kraut",
       "given": "Robert"
         }
       ],
     "container-title": "Proceedings of the ACM 2008 Conference on Computer Supported Cooperative Work",
     "custom2": "wikip-secondary.mm",
     "issued":
       {
       "date-parts": [ [
         2008,
         11,
         8
       ] ] },
     "keyword": "structure",
     "page": "37-46",
     "publisher": "ACM",
     "title-short": "Mopping up",
     "title": "Mopping up: modeling Wikipedia promotion decisions",
     "URL": "http://portal.acm.org/citation.cfm?id=1460571",
     "accessed":
       {
       "date-parts": [ [
         2009,
         5,
         27
       ] ] },
     "event-place": "San Diego"
   }

...


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

end of thread, other threads:[~2021-06-21 15:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18 19:35 Any reason to keep bibliography in YAML? Joseph Reagle
     [not found] ` <d6d1c254-27f7-32ca-e19a-2ce96fe05197-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2021-06-20  4:45   ` John MacFarlane
     [not found]     ` <m2k0mpf8jf.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-06-21 12:22       ` Joseph Reagle
2021-06-21 15:22       ` Joseph Reagle

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