From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28663 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Any reason to keep bibliography in YAML? Date: Sat, 19 Jun 2021 21:45:56 -0700 Message-ID: References: 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="38835"; mail-complaints-to="usenet@ciao.gmane.io" To: Joseph Reagle , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBEMQXODAMGQEI7MPDGQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jun 20 06:46:12 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-vs1-f59.google.com ([209.85.217.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lupLY-0009vA-6B for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 20 Jun 2021 06:46:12 +0200 Original-Received: by mail-vs1-f59.google.com with SMTP id u129-20020a672e870000b029025ee4624bbbsf3180053vsu.0 for ; Sat, 19 Jun 2021 21:46:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624164370; cv=pass; d=google.com; s=arc-20160816; b=U2Y1z42Aq158WdSYu+dhJBksuLe0v0iIqGnyW/OcwOh+wu8I6D48teUmUEY7NzoBUS YqUUuuM8YAwdIKsPgZFcmmm4xp5ESV+L/qc7VkMhj14cjYCCglEb4/7CgWB4NJSfhLRr srGANzbxYI2OLWlTi2GW9beGxj2WkEESbd9iSceOQR1MfRsl+vK2aJE7aSlhReW9M24I QfcwC1kbJAroPAlTDFX0pGWVWjpZYTOfdyrljgLrCIfLg2h0+Vu1cKO8+87GeP00tKVf 34Q/d2w61xqxt/7DsPSZohkLPPrjqOxh/3as4ScMqzSEtCIw2s4adlzVHzh7hOBmKuvw DFqw== 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=w0NYoeUtaH2VvfcNyeMFhMdUNqlaqZf57cgNyzpzNgk=; b=GgcG+yf5r9rbaS73AACbS2Dpe0jZhNuMcPbHwgs2C/zhA19GCQ62N9eO5ZDsv5npPv rPDVOxgqG99gMDfiDK4lsW4NPxRLuV53BxM1RVmjYy+lK5uGsaFuzDST4FwNE48a3/Ri v8TXKdTN4sf/rEcDatODmbNskZYob6z3Uc63dZgYG2jJ6e+y29Fu7D8YpOy/c1j6/U4w +yOp3AkutlBXt7px31ovIB960NLKwskA52mxfT8veWM15/63lvQcxzrqilG5onevSILw ZgSVPouoEDA7ja0pJ/Bj6o6zVlyZm93tQzRvF7NUc1XNkURDE/rJpfnXu4bAC8lkz5VH /JgA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="GA/ERx9q"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1032 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=20161025; 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=w0NYoeUtaH2VvfcNyeMFhMdUNqlaqZf57cgNyzpzNgk=; b=eonoOwUI1oTa8kCdHn0qOuz4D8FABgHG3vPlhxWXj3QrylfR9UZvmXGgYdke07pTYy wNcS2Uphali+B4g/dIFAHzVMfKea2Lh8yLrf743H9Ap70FWfnlM4TcHwYKJCZcqFnFOg PxVYFasn7/GmswwbFHsHm93PATohZSNIesbt52Qf+k+H6rrP5LLJFTdGZ76IG6pPpywM exvHaA+xEwBInefGYfTEdQb8OpciaXHbXki5dBxMxapgnbsqfD7V1xjXI5pUE0VIH771 8iROykr4B8ggjvXWqdxLFNFYkvQ4Pzc14RPQUIlrpQfLlxLJmim9Qe1IlTFRJqwmySg/ zYFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=w0NYoeUtaH2VvfcNyeMFhMdUNqlaqZf57cgNyzpzNgk=; b=T026S75YmfXtrU9N2n93uQlhmD7dqJXTsY7IEw4cTtuPQ8heFc2u8OqniQB6X7Pd+w PLQTP7/cKCC/I+7/BBmdNU6+GG0z15IsxklhpOWZePKKHH5ZDrsFZLkDhJ8qgr58a6Lb VH5p6au+dT2HhSTeQWylnhMsVolrmmRbccy4nGbc5/iWZbqH+eiVV4PoKoE1krFGLw0C iO2tqFYc6WjezOdoLM5uSyINupeTfaMFVDVz1VVHyU2J8ZsEowSaY6xOtbFcEAgEwp4V x03405vWYZ0L16xewSl4eqGeFCkigNwLBtn0tKAkitIbPGWw2p1q0DPQdytFPjHUtrgh J/Pw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530f22wuYM3LXof6n3wmrbKak+hMo6fSVR2y+F8pJE5+A9ILGVyo N5GagOKxAeIMcz1hLpayf/s= X-Google-Smtp-Source: ABdhPJyS6N42shhyYobhzgXTmoSSjDHOq9N0Uo6IkpEihWnJnH0Dle+WSRLLXF4CDW9ahgqTWL1ZHA== X-Received: by 2002:a67:c988:: with SMTP id y8mr12797579vsk.46.1624164370721; Sat, 19 Jun 2021 21:46:10 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a67:c398:: with SMTP id s24ls3606536vsj.6.gmail; Sat, 19 Jun 2021 21:46:08 -0700 (PDT) X-Received: by 2002:a05:6102:3048:: with SMTP id w8mr12955635vsa.44.1624164368743; Sat, 19 Jun 2021 21:46:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624164368; cv=none; d=google.com; s=arc-20160816; b=AjVi8odk4Cjy5BJihowUk3PP3BQHSkjRwDhP/rhiIHA8sqv6ciV5AxbVLVGpXzENIV cLdpnQxZ6ILC5KG+/elpUskKoMCb7+GMAm+hzQWZh0ZyKIW+NJCCMCLZB/HCVP4FyO3w cvbzXaZN6Dr2mwr1E7Vz76DXgZ6VRgDb5yq6X91Pe036ovNkW3XiYpAdFeRX/IHf6BGd h62xPxidSV9naLk2lRFBKyvO9YSqycs3q5ZxAz1I/j0xehFwxKdkq/WK6e/jNAHp5Rk4 MZWSBUbmaEgpLnugdJI3vACMG18pOUSqDVLGeVq7wNuoCezsdsuVsNpl8B99TS0/EH8d QQEg== 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=3L2KCWd1GUIvLKTUo4rJoeWwxXjH5dxI9k/N6fvHJyg=; b=WVLaA+/msVOIwhH/1/tC/QvYJ17dVIdcDOvrRhEUQTpRbUMK6Dvow9LZaIEzxiGC3z vxsUEu1mD/is8mJ4vePeb3IrmaywsObnTLZpnaIgE3qhdMyjJPlhxVPGW3Zme5M9WqKF +L21zy4PVR2TLB97wybpwtntOJGrp6kioin/edW8WwgfOLx4aioMCg8qq5JfGw/gtwC9 fDyTfa97tOKqoGhbUVp16ucy5uJVMM1BJDCx1fgDNpkxiWbs+VxUcOQZyd8r5nITl5SP 9RKA+cqhCU7bcrG+Enhm+llK9ISSK5VZSoNZbPnw8FarjP+MHj831WN7mM2tE/o8e0h9 hhQg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="GA/ERx9q"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1032 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com. [2607:f8b0:4864:20::1032]) by gmr-mx.google.com with ESMTPS id u20si173319vsp.2.2021.06.19.21.46.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Jun 2021 21:46:08 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1032 as permitted sender) client-ip=2607:f8b0:4864:20::1032; Original-Received: by mail-pj1-x1032.google.com with SMTP id g4so8006954pjk.0 for ; Sat, 19 Jun 2021 21:46:08 -0700 (PDT) X-Received: by 2002:a17:902:a5c4:b029:111:18bd:8b9a with SMTP id t4-20020a170902a5c4b029011118bd8b9amr11886061plq.80.1624164367754; Sat, 19 Jun 2021 21:46:07 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id h18sm12785357pgl.87.2021.06.19.21.46.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Jun 2021 21:46:07 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 4B434A23E; Sun, 20 Jun 2021 00:45:56 -0400 (EDT) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="GA/ERx9q"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1032 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:28663 Archived-At: There is one potentially important difference, regarding formatting. CSL JSON accepts some limited formatting using HTML tags. YAML, however, accepts the full range of Markdown formatting; so, for example, you can include tex math (which you can't do in the JSON format at present). Joseph Reagle writes: > 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" > } > > ... > > -- > 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/d6d1c254-27f7-32ca-e19a-2ce96fe05197%40reagle.org.