From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26101 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: FI Apps Newsgroups: gmane.text.pandoc Subject: Re: WIP: better citation processing Date: Wed, 9 Sep 2020 11:10:52 +0200 Message-ID: References: <360dbe5b-f1ef-17f6-32e6-8c9f85204844@mailbox.org> <865f327e-d305-4409-dd6f-1659f6a884cc@mailbox.org> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000bcea3305aeddd441" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19804"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDQLFNXWVILBBP5E535AKGQEXT7K43I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 11 17:05:39 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qt1-f184.google.com ([209.85.160.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kGkcN-00052Q-Dn for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 11 Sep 2020 17:05:39 +0200 Original-Received: by mail-qt1-f184.google.com with SMTP id e6sf6831480qtg.13 for ; Fri, 11 Sep 2020 08:05:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1599836738; cv=pass; d=google.com; s=arc-20160816; b=EH5IVC53HYNRR7pSCzaBg0gx0nO3jia5ZmjKp6G4pmCIVALxr8kVp3HKqXhCXcMZr4 3wu3Ir0qjK3KlIfKeKxat8eUZxsdMNIRs97yxvJ22lH6n1Z2UkojJgLyYMUS71RZIHzK dd2A4gpm2xbdV15orh678qtst6z+DXMNML96f6f+fEyqwQF/Lg+LdXChdUErcGQI7qyr oCCsJdajMV43625+0hl6xhvFndEz8esbnk2nOXd6bPPgw6XAh/T/4um/PxA588eCttPK B6dKBTjS2nFykC6Zp8eNctzCzD8rgVZIiA+/jbDvCt5yPRdHZVGhnFckzNQAdoj13AvW 8DGw== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=wzRp6BJt1LehFFTEXDyTswZ6gOLNIZEgYXzNaYfkNtE=; b=ApGQooSVTIrUfHzdAEdQQ3K7B9sUD7ttgcy/7cYCRwW50MmS6XyBhpJhRkpbRV7Em/ hY2ZFVJSMe9jmpDpH8DwYsI5wGL9i6G6c2ybV5PplYoZx2iisGMQ2AMhy53P01BADulp RUoJ2N+6NRhBj01+KKhXmLXd3Do5h4PtHBnkyrEjvKFFkdJUr/P2lMY31BBf7Sg3/vAS 87nPpDfXAxaBEcTHxiN1yYHUvBNxULFe/1ZVRzlRgYLxK1LtP0kLnBaeDn9rkjG198gI OQtC8Flb/D/5jDf+WHX+8qj/AEATzgaa2zzKycmfEm6FQsScUgvubD+S8eXqOSraZR6U HN5Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RgyRaOVv; spf=pass (google.com: domain of ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::62b as permitted sender) smtp.mailfrom=ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to: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=wzRp6BJt1LehFFTEXDyTswZ6gOLNIZEgYXzNaYfkNtE=; b=OMM//9v5SNccehH9YToOCKoIdmXtFKH9RR5LfGPs6OhV8bGjs0eGJtcCeEV0MmvGok eNwoYFaX0+DCl+8hsQOldR7jnhcNpEbRJrP3L7r9ecfhMJYqBNYsQZeQMrGZZseIJ8Mf p8g0CMEDYGVFHXkMkPtOq3LI0LX8+EoREPTDbh+u3YkoXNDcCC1XCrLArPFI5VOYJ6QY gAUtCcsYzPjwo+Di5Zh6VaO6Ji79+6CA5tveLSPACivOem2mY0ve/j+YHOnsrMSSM+7r krmsggj5gi5IB5M/81haxSugSnxg/b9Up3GPBhywsu5orTcAduWmyO9Lx/YUc34tPTjw ASkw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :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=wzRp6BJt1LehFFTEXDyTswZ6gOLNIZEgYXzNaYfkNtE=; b=bWkLqNDMvm/Ya97DkOI/MvomLJT2oJxu5jo/sLcWKuGECGCUIz9Ke54amNxNN/0vkc S2KQFZ4j/KXv1gDdjWw1DFSK4SisOxBVEJGgfSDERMdB1kjyxFlfThH2625+q6B6yBfi WaTLA1SYm3ljW2cJerAgxCV8crlSJ6Syt/UEfA7W/f+OHBEoIE+MvDG6LMct5kehJLLm AP21s4R0KEj5KknDMfoQSStCw/Q1ZhHlYXxGgcKDMEsPHRK5nDEE3/+1zj0Y6mbSJnbr EDQ8ZZsoXk/3+lj5FRcNvsIu+LpL2xPcI8OMyuG+zpfBBfcwAHhsw+iEPjEO4/IhwyVo KiXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to: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=wzRp6BJt1LehFFTEXDyTswZ6gOLNIZEgYXzNaYfkNtE=; b=b80OwPcyJeE2ps9ZgaUA0d3NfJg5thGL9+FJQT2Myu6HNomqhI3ih937kKLewSmkVA ByL5yopp3KXmqSZ2C3QhR2tP9Mzd0wOhs46qD83p3+3BOQvlMZFcWT0m2K8oVgSBWChg PZpKvrcN4mu9aAaz3w20OWYUotwlo7EY8kLW4JpNokYMZnZN0WMBFJ5Yl4y8Gx96i/Wq UvKfCuCATld0vbGIJ1MJiH96+spIP3jFym/TCF8pTl+HarcbTp7zduAEJXlS08ORQ/xo /iUPGlK1fJcKg8fHoaLrLobPWDIaJzqq/eaAOIeiM06f2U6pCH+bYy4p6/w8Z6jwOTzp rQWA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533xT1GvkK69jB1w8t6QMhGNfragT3jC28WBdieaGGfvHA2mXSBe rOxBCsh+jNH7nRthrTaIJsE= X-Google-Smtp-Source: ABdhPJxatjyCih27klCMxEs+dFVknHSO/qLX2oc4wpHcR9E0IHByOCsTpb0ms/y64DfJcl8tnof4VA== X-Received: by 2002:ac8:614b:: with SMTP id d11mr2260227qtm.271.1599836738447; Fri, 11 Sep 2020 08:05:38 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:7511:: with SMTP id u17ls978317qtq.2.gmail; Fri, 11 Sep 2020 08:05:35 -0700 (PDT) X-Received: by 2002:ac8:6f21:: with SMTP id i1mr2181374qtv.89.1599836735597; Fri, 11 Sep 2020 08:05:35 -0700 (PDT) Original-Received: by 2002:a05:620a:15ee:b029:f9:71db:3eb4 with SMTP id p14-20020a05620a15eeb02900f971db3eb4msqkm; Wed, 9 Sep 2020 02:11:05 -0700 (PDT) X-Received: by 2002:a7b:c095:: with SMTP id r21mr2720384wmh.133.1599642664545; Wed, 09 Sep 2020 02:11:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599642664; cv=none; d=google.com; s=arc-20160816; b=Xw3rRdcPbPc5YGMQoD3w3osmAtbma5bWMZjCUoYHHlTTQHyPqNeFIIbCHAFr1s+SzT K4abn7liEKN4gQxnl+8blqsKB2qPSydGg/Hdd8Y6PQZE3MTSYSK/l/wF5gIzXPsr2NnA 6anoUZIK3BQTGT7HV8WyBlhLqc94U8Hs0pbLzTdzJ4oq+GoAOHL07YvMwst50c9H8Uh5 R0BBJTVaxg5rqej0YJ+nrkrePPnaE01jhkbGyjt+fBYOPO9xCg/G3uNVmZbQf49ZXfj/ qJJYSidXiOcIFDtIhmAtK9omDhOmuJQ1LUAUVxMQEBKFXxNYBI5AzWV8nQt3bC9PWLVP EU6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=n9sU3hkQ4EZQCbfoKxCqaN2+2LnmXeaLSWZm/hihQII=; b=rRBRNMJOJuDqKLZdijzIsAKz+pXD5whNWd48Hs1+GPUeKw9GvEKjSg5/FB80Z5eqNC u98kr2h87vgCp4dcTrZpZo89UuUQohYs6qNla+waoGq6WngR9xFbM9CsTk2EZ41n1Sx9 KHZ2OHPthW/T1pWi/j593XKwLaVHA7XVpk0RPczdZ0gmBKf47NaaRCkiGb33p9A1uXZF kW4qw9K2TUF5QquyarCGIZuYVdHTpV6t8kJ//WfgSzKM2U8ygfIl20FuxsY5vshpNnOh J6417OUiIiLpDTO6H6oqbWO7BxRLxgogBJoVPfzy5XW8gFZNFuYUIhRP0HRxcr+0NdCP kejA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RgyRaOVv; spf=pass (google.com: domain of ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::62b as permitted sender) smtp.mailfrom=ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com. [2a00:1450:4864:20::62b]) by gmr-mx.google.com with ESMTPS id g5si104843wmi.3.2020.09.09.02.11.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Sep 2020 02:11:04 -0700 (PDT) Received-SPF: pass (google.com: domain of ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::62b as permitted sender) client-ip=2a00:1450:4864:20::62b; Original-Received: by mail-ej1-x62b.google.com with SMTP id q13so2446297ejo.9 for ; Wed, 09 Sep 2020 02:11:04 -0700 (PDT) X-Received: by 2002:a17:906:8543:: with SMTP id h3mr2636116ejy.258.1599642663708; Wed, 09 Sep 2020 02:11:03 -0700 (PDT) In-Reply-To: X-Original-Sender: ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RgyRaOVv; spf=pass (google.com: domain of ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::62b as permitted sender) smtp.mailfrom=ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:26101 Archived-At: --000000000000bcea3305aeddd441 Content-Type: text/plain; charset="UTF-8" Will it be possible to control when citation processing happens relative to filters? Earlier in this thread, I saw that mancite could be emulated by running a filter after pandoc-citeproc. I can imagine other people might want to generate citations in a filter and have them processed. On Tue, Sep 8, 2020 at 8:16 PM John MacFarlane wrote: > > > Progress report: > > > > I have put the library at jgm/citeproc on GitHub. It still > > doesn't pass all the CSL tests, and it needs some work, but I > > think it's already quite a bit better than pandoc-citeproc. > > > > I've also been working on a version of pandoc that integrates the > > library (so that pandoc-citeproc won't be needed). That work is > > happening in the citeproc branch at jgm/pandoc. When I get a bit > > farther, I'll make a binary available so people can try it out. > > > > Citation processing will happen automatically if your document > > contains `bibliography` or `references` in the metadata, or if > > you use `--bibliography` on the command line. > > > > This is _much_ faster than using pandoc-citeproc. > > > > The pandoc-citeproc executable could also be used to convert > > between bibliographic formats. I'm planning to integrate that > > capability into pandoc, too. So, you can convert a bibtex > > bibliography to CSL json using `pandoc -f bibtex -t csljson`. > > You'll also be able to do, e.g., `pandoc -f bibtex -t html` to > > get a formatted HTML version of your bibliography. > > > > > > Denis Maier writes: > > > > > Am 21.08.2020 um 21:41 schrieb John MacFarlane: > > >>> That sounds amazing. As you know CSL 1.0.2 is about to appear soon, and > > >>> 1.1 is also already pretty advanced. It would be great if it were easy > > >>> to integrate the new features in your library. > > >> Is there a list of changes in CSL 1.0.2 somewhere, so I can see > > >> what will need to be supported when it comes out? > > >> > > > > > > Yeah, there's a summary of changes here: > > > > https://docs.google.com/document/d/1wY1cOOamDYYh8VNW7h_uleqieBDGOa_LYsRiVdQy1RI/edit#heading=h.wsywjzy5t4j6 > > > > > > As you can see it's a terms, types and variables release. That should be > > > trivial to support. (There were some changes to that list due to > > > comments during the comments period so that's not the final list of > > > changes.) > > > > > > 1.1 will be more complex, but we plan to document the new features with > > > a detailled changelog and new tests in the test-suite. > > > > -- > > You received this message because you are subscribed to a topic in the > Google Groups "pandoc-discuss" group. > > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pandoc-discuss/LaPbYbP8GU4/unsubscribe. > > To unsubscribe from this group and all its topics, 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/m2bligt9ra.fsf%40MacBook-Pro.hsd1.ca.comcast.net > . > > -- 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/CAGOSsd%3DXs6u6Xup9YugR-zd6FC_29QFs1asEcARA4m2UPts_vQ%40mail.gmail.com. --000000000000bcea3305aeddd441 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Will it be possible to control when citation processing h= appens relative to filters? Earlier in this thread, I saw that mancite coul= d be emulated by running a filter after =C2=A0pandoc-citeproc. I can imagin= e other people might want to generate citations in a filter and have them p= rocessed.

On Tue, Sep 8, 2020 at 8:16 PM John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:


Progress report:



I have pu= t the library at jgm/citeproc on GitHub.=C2=A0 It still

doesn't = pass all the CSL tests, and it needs some work, but I

think it's= already quite a bit better than pandoc-citeproc.



I've a= lso been working on a version of pandoc that integrates the

library = (so that pandoc-citeproc won't be needed).=C2=A0 That work is

ha= ppening in the citeproc branch at jgm/pandoc.=C2=A0 When I get a bit
farther, I'll make a binary available so people can try it out.


Citation processing will happen automatically if your document
=
contains `bibliography` or `references` in the metadata, or if

y= ou use `--bibliography` on the command line.



This is _much_ = faster than using pandoc-citeproc.



The pandoc-citeproc execu= table could also be used to=C2=A0 convert

between bibliographic form= ats.=C2=A0 I'm planning to integrate that

capability into pandoc= , too.=C2=A0 So, you can convert a bibtex

bibliography to CSL json u= sing `pandoc -f bibtex -t csljson`.

You'll also be able to do, e= .g., `pandoc -f bibtex -t html` to

get a formatted HTML version of y= our bibliography.





Denis Maier <denis.maier.lists@mailbox.= org> writes:



> Am 21.08.2020 um 21:41 schrieb John= MacFarlane:

>>> That sounds amazing. As you know CSL 1.0.2= is about to appear soon, and

>>> 1.1 is also already prett= y advanced. It would be great if it were easy

>>> to integr= ate the new features in your library.

>> Is there a list of ch= anges in CSL 1.0.2 somewhere, so I can see

>> what will need t= o be supported when it comes out?

>>

>

> Y= eah, there's a summary of changes here:

> https://d= ocs.google.com/document/d/1wY1cOOamDYYh8VNW7h_uleqieBDGOa_LYsRiVdQy1RI/edit= #heading=3Dh.wsywjzy5t4j6

>

> As you can see it'= ;s a terms, types and variables release. That should be

> trivia= l to support. (There were some changes to that list due to

> com= ments during the comments period so that's not the final list of
> changes.)

>

> 1.1 will be more complex, but we p= lan to document the new features with

> a detailled changelog an= d new tests in the test-suite.



--

You received this = message because you are subscribed to a topic in the Google Groups "pa= ndoc-discuss" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topi= c/pandoc-discuss/LaPbYbP8GU4/unsubscribe.

To unsubscribe from th= is group and all its topics, send an email to pandoc-discuss+unsubs= cribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.

To view this discussion on the web visit= ht= tps://groups.google.com/d/msgid/pandoc-discuss/m2bligt9ra.fsf%40MacBook-Pro= .hsd1.ca.comcast.net.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CAGOSsd%3DXs6u6Xup9YugR-zd6FC_29QFs1asE= cARA4m2UPts_vQ%40mail.gmail.com.
--000000000000bcea3305aeddd441--