From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25959 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: WIP: better citation processing Date: Fri, 21 Aug 2020 16:03:07 -0700 Message-ID: References: <91c2cfed-7211-4194-72cf-5c01abf2315c@reagle.org> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40029"; mail-complaints-to="usenet@ciao.gmane.io" To: Joseph Reagle , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBOFFQH5AKGQECUTD2OQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Aug 22 01:03:24 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pg1-f192.google.com ([209.85.215.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k9G4C-000AJY-C3 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 22 Aug 2020 01:03:24 +0200 Original-Received: by mail-pg1-f192.google.com with SMTP id y10sf1781288pgo.6 for ; Fri, 21 Aug 2020 16:03:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1598051003; cv=pass; d=google.com; s=arc-20160816; b=xDMnYoWsZ6z6azdXrYzvLSLE6ZUA2WAWAwdkSjA1Kh2LZ+e47eX+P9nN3YMDwdmxf+ LWkolIINPVZEt3VYeLqbKU6BgwsgprFQU54JpVPSCoi/xwjSDSPHFDS8Z4hdEdogQjOL 9BXtPizjwJUkbN5sTSKf5OBiGD76JEOqUKwO4r5+u/aJTc7mx0Oh/ekqpPnAh97iRary qa3nxy2y1gDAoTmjSWjeuCspTkMdPeFk3ytXs/bcnmFBKN4yQ6BI0nvZlMvymDHpZVev xGUJw+pC9rQqvcKNBCoPlWzSPd/nt/HlCGIGzJWUUYInrlhLK8Qc5wPgYRNMSjUTmTtz MmzQ== 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:content-transfer-encoding:reply-to :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=V1byCoA3p9nMKYd9fPfp2HPafqBQNT8NMtyWC/KJf6U=; b=rZSFOvWIzohPC9b5Plg5KoSRGZ/mu+Hg/w0vX5ojYNe+KiMzrMiEGFmwRRbGRy3Srg /G8NlkP1l9rQJ4Z00Pfg/+64UVg1aBy6/QwMBQjyfRItU7COndbw+0g0XAmxX9mSxASv +VqkgCwQLyi2693i7yndDe5RGHQDWEGcMtGBygsXEGHo+j7UNJVPdYN1pYoe5V4/sc5m mJmf5xsahwz1O8+a5Q1XFPYF246NRjLali23va1gXnIP5qrqP29XouYqdc2wzlA6cEFk rq0jGDtf17ggUYwyMp54HIwu0DMxhbG5vRNee3HFwx/oT5rRuc8XN+viqaeM0yfHGK0P iX3A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=vUa7hHrc; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62a 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:content-transfer-encoding:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=V1byCoA3p9nMKYd9fPfp2HPafqBQNT8NMtyWC/KJf6U=; b=HH3mxVVOGmJr4+wGAKa5lkkEeUJDbEKIoouTizr+26FKwmWZ4h6Mf+xoOSnGJc0sh1 7vZTg2xXJuL3BCbxNaRJ8E1vUa5/faItyIwiMJIdyR0jh1zMPSGFzhg3QmYuasj5LC8A RRjS54evIwLGzvuYMkPwXAE8iU/aPa9tksqAT/EYWcg9A/nRuPvmk8MQQBuTo7Wr4k6d RZOpsTamj4ZyPeB0Ku6RAsHq/a125h9oPlp1YPNHQPuzf0zK7pVd2+WwlMBBJY3+ybog O74IsOnTviqlXOCKlVik+bmu4Mw08n/ftOmVMLDu1d43WhoBs8vccNMyWqF19kFyhoYJ HJXg== 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 :content-transfer-encoding:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=V1byCoA3p9nMKYd9fPfp2HPafqBQNT8NMtyWC/KJf6U=; b=eoCZNZpdepfdmx/z1bcoV2dhQ0MR4vBZgHgbqayvYHohwan+8j3I+fclcQzeB0Y6TA iyVj2fLkDi5KjPMD3caGhjWykSJx6hTh98ZBw9Ue8pICNuqv2slFGWfq33xHCnY0PXiz cmsEdu5VQi9MbvmTwWg7pMyJhnhKqUN2ct/DSjbu6EpgukTYd9TJ8UCa5RMW92l917fn BXkNH9W1ZnWbVl7Joc5K03zyZj4wf41uQoJdn34jG3Ulo6AOwWdlh6s6PXE4dTe3voW2 +iJ7mErgw/lQP53JR3ZncLdlgxs//899wB/l0vTR1SoRbWKZhBoXwgWDD/xeQ7RP Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533F4Q6C/STsKQEiksABxzkdzwFb75j+eqcWKjv+5kM0NZsjckWv BxOz3zAvQNMAhJdo1A7fvYA= X-Google-Smtp-Source: ABdhPJy64RVXpVZiEHkBGFKbEl9Tz8i0JZjlXgDjgguKwTpgLk7f29FfJ35a0K7ZQlA5ktwL5bcWdA== X-Received: by 2002:a17:902:8e85:: with SMTP id bg5mr4068484plb.306.1598051003061; Fri, 21 Aug 2020 16:03:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:c3d2:: with SMTP id j18ls1682123plj.7.gmail; Fri, 21 Aug 2020 16:03:20 -0700 (PDT) X-Received: by 2002:a17:902:bf01:: with SMTP id bi1mr4213096plb.118.1598050999875; Fri, 21 Aug 2020 16:03:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598050999; cv=none; d=google.com; s=arc-20160816; b=pINU/G4eX5xJy4B2TQtIPg+e8wuPMGfZLn6BHAMFePoA+M7iNJ3pf6JLQOirHBFbWV Lk/dxUhYwHiT48+t39ofvYAMqxRq3EtHos0fto+9mEaJKEyQDfOC7M0gvJfP2rGqgsvv KcHMD7MN/Pt10ZUiAYFlj3dzSbacmGFHfpbZQOR1zbI2PCbI1UQ68oo9S0ShL3kz8lyz 3W8gF+jriRhazgDAelve5w6EF4M+wiHZihbht92EPx37F+WTLAnTPIUPRJVrJS9HM5dO wflFWDH6LWmApMB1mgCpxsSeItclqcQPqpHrRFpC70nhWxp1XcEn3jpaIP235AQzLoKo 9M+A== 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=fKOk2LgcgrhEOtCn/ZUB60Gdvy2oplTv2mXzfdxQZOw=; b=SIb4hViN3vVNq3+QBzhFj+CIwjsjwcyAKYSIzON4w4M2NFj/NASbaWNA4AXww1oQiI GF02nW5Iur1kkmEeMEqHAsNq7jycmmSyX9HdaJYiV6Z2BjWQrHh619gCjRJla2tpjK2u wgltYFfxqh12ijyUCnC0VZapMEXYj9x2tg5NdqFSquAru8FygiX8KQC5CqGfKihyHNeA yjCYg5fmuSqCTa78TQWVUWZZWIKi4CjQZqOa6mye6/W0idfjaePDh+Q45QqlCmiDVqtl F2deau6TO+QMHT+rnn3igaKANpxCbYUy145RcxKBxuSmYI5RS9HmTgBESGSY4/nlumKY vBvg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=vUa7hHrc; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com. [2607:f8b0:4864:20::62a]) by gmr-mx.google.com with ESMTPS id j4si240234pjd.0.2020.08.21.16.03.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Aug 2020 16:03:19 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62a as permitted sender) client-ip=2607:f8b0:4864:20::62a; Original-Received: by mail-pl1-x62a.google.com with SMTP id bh1so1538630plb.12 for ; Fri, 21 Aug 2020 16:03:19 -0700 (PDT) X-Received: by 2002:a17:902:ff0f:: with SMTP id f15mr2120062plj.268.1598050999122; Fri, 21 Aug 2020 16:03:19 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id y196sm3550358pfc.202.2020.08.21.16.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2020 16:03:18 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 6E211A2A1; Fri, 21 Aug 2020 19:03:07 -0400 (EDT) In-Reply-To: <91c2cfed-7211-4194-72cf-5c01abf2315c-T1oY19WcHSwdnm+yROfE0A@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.20150623.gappssmtp.com header.s=20150623 header.b=vUa7hHrc; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62a 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:25959 Archived-At: Joseph Reagle writes: > Converting the full bibliography from YAML to JSON with pandoc-citeproc t= akes a similar 90 seconds Yes, because pandoc is being used to read the YAML. But you'd only need to do this when the bibliography changes, not every time you process the document. (A Makefile would make it easy to get this right.) > and then running the simple single-ref document build with the resulting = JSON never exits -- I killed it after four minutes. Perhaps this is because= I typically include the bibliography file as a second input file. (I forge= t why I do this, there's probably something on this list's archives from ye= ars ago.) You need to use --bibliography yourbib.json Otherwise it will be interpret as Markdown (and pandoc is probably getting flummoxed interpreting the JSON as Markdown). With YAML it works because this is a valid pandoc Markdown YAML metadata block. --=20 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 e= mail 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/m2sgcf8uvo.fsf%40johnmacfarlane.net.