From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26103 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, 11 Sep 2020 08:12:50 -0700 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: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11766"; mail-complaints-to="usenet@ciao.gmane.io" To: FI Apps , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBAFI535AKGQEDIPX5BA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 11 17:13:08 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f62.google.com ([209.85.161.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kGkjc-0002vP-J7 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 11 Sep 2020 17:13:08 +0200 Original-Received: by mail-oo1-f62.google.com with SMTP id p15sf4698980oop.22 for ; Fri, 11 Sep 2020 08:13:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1599837187; cv=pass; d=google.com; s=arc-20160816; b=W1eRlPoxk6Z4Srs1rudSl9b06j3JAMJ5twFimSWycv+5mS7IptaUGpiEoRjyKHoaRo 4xaUfEdsx8skorI+bASJbDgNFHMClzHHnIiu6KOhvAiU98iSNRxKcfsX6nmWAr9Hy3A7 Lm4PFlp3+MRSyubj7R9JCEAbyfOmi5WXQQn863ofmHUjRv8EsqWF5f+8EgFy0HLCi8+N 7nf8CoV7cV5S6NXqFGYYI7PKnPDL4rpQz1fDlMua/tEeRHoVcUu/AkfsJxOoYsFt9uFj yA2wBCQuGOtXNVU2dV01qDtIJQ6IvHCmXLfxDGLHWdBz5tQS7BLB8mPGWlwrNq4qwEiT occQ== 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=o90K4qowJ7mhdiY07aydRQUjbPfRqLgrmhIC43WQp2M=; b=S+gmkaD6LbrvS0Z6Hd0S/RyjUq8h/nom9VXhpOQP+ax0wi7cwRz1IL37vkcfeiV7cc 2xIrlbJGARtOv/HQrpKsYMoA3fAfOTRnma/K3y0Kr3GVsxlh0ip+rE7tmcAvYGoM8lc+ kcP350aXhvJT2+6hmsJZ8IHCSa7WXtoaZrFOTi05BkeGvCaIoYPY61GAd+GY+u2BoszK LeFBhb8ElCxShFe4J2xHJnX38k+dkJdfjQM3Ll4BD2eCCz+VNTOuvV8ABaYw5yvP3RXN 7Qk9Fy8588ikbGj31vMYA75htkY9wMElxSbpYKzg07A9a9gnLs0orT+u/jd/Vh6GSGTZ CWPg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Nx2Tfdw0; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::433 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=o90K4qowJ7mhdiY07aydRQUjbPfRqLgrmhIC43WQp2M=; b=HQBEV116Hqj7xMxSfAoGo4xAnVpF7qsq0wKhBeHVlYkqNM1Xqx28gF/g+qPVn7o+Gg /dXTNuaxfiaN9dSKyIZBNLw5YNo6OT/IYaOwLPmcJ0m9l8MujvQaft6cvT3J3SiQ/U9k U+Syr9rpS+MbWFvZNFqbDS6t3jQo2YABjhZ7kVHtFZEzLmm8+RtACtFZUvedUFjmIYoa fNeLAVkceRePGwCWXJNya6jSbG6N6s8ddYdWCTG4E2om/M44FjvNVckT5NH1o2S6bxRk lM0xL4d5J2qWzZG1yBPCz6vLtxJITxg7zvypXK2TG4dRhbhp121r0wSXJ95Krtw+tMB4 72+Q== 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=o90K4qowJ7mhdiY07aydRQUjbPfRqLgrmhIC43WQp2M=; b=YfSNE61k3q6s3NhU8gJSHH5PvPPpPnrequ7dOeJc/0NnMI2f4NGzvJRI8g2bO7eDaB PpCPeXC9FZxVZJJ6kequWV8kwx66VBqSzRrJ9kVdjxeOWz1trm0pv/SMgtKeyOysar1k eY1YQdQiCfdaHnq0Tsn8qMiFgLl8cOHnQ4rYhrPkmP07k5A9P4hBRad7B0n1IzZ9eO/A tQih41qVLMbCDFS9pR3KxGdpSfSfyEGY4SqRjpvZrDCxSZVlnoW1vDUdKrzBh/OsZjRL yS4EyX4ekfdzgYcprJxbLHW8yykqp1ndXb2UJlpXCU5uUsYJ5EA2aMowkBFHNtzI9pHC Gimg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532IF+3uWz2IF4mk6NBtIFZHxU2vnBtMD5qwqYBRvwsMyO+OTv4J Z/1G2+dFG6bMP8rUevCli2I= X-Google-Smtp-Source: ABdhPJwwnPbUidgTT41x42AJVlu9Rb3dfsEsHLFXweJKx3mLNH59pKEoZbXGb0lEtx7GK30eFPOauw== X-Received: by 2002:a9d:1444:: with SMTP id h62mr1532886oth.195.1599837186574; Fri, 11 Sep 2020 08:13:06 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:9413:: with SMTP id h19ls149140ooi.2.gmail; Fri, 11 Sep 2020 08:13:04 -0700 (PDT) X-Received: by 2002:a4a:a58f:: with SMTP id d15mr1969117oom.36.1599837184252; Fri, 11 Sep 2020 08:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599837184; cv=none; d=google.com; s=arc-20160816; b=gSWFsuBw8qnhC1l8ASZ4Hj6xEE0uDzcQvtEc6sqlFcJnAHRWjY320mmHAPiYUrYoys mAygIt9StH5SITB95ryCOdisZht2dBwqGJqCkaC2qAtJXJcqTfud007YyZm+kMdF9rW8 AgOmT2mmcQC5K6OXgsYZxAun27TIBYuZ29DCtoCnwmxghEnL4Wtj6Ebcwl4tdWmbwrXK xJnIOT8N3WkUmG+pC0UMmDxu5jwz4BlU1Cl2XgiqieybFhfJZYwX6R6rHacS36W8JQmO lbKr3g6ravVBs9n99UqCwyodqVNF+u3lNjPus5/vE9Uj3xKl9VQlGCr503p2ng0uOEQ/ k3pg== 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=9alPkYAupI3FH90byN2MQGVyC1omS5dSFEj50IRisho=; b=sWqde8OBXoj/EKd3n9nFxqsYIpY2bUH/jDc4QVIKgmp1GR1geiQ41THoNXJ/oqGDGf JEPYgWWRKfjnULyt1bX61QZP5PYN44bbqb+t9P0w/v7nr+wnTql1UNdPSMGyxPZi2MMA m2nhnJOrjbyyZ+HLEmIENoWFsq3CRJ3kvLSAmSjfUO1RolZALKveimHQRAnDs9ifr6ix +tOl/wLlyiEM1plPjvKT1S+rm/ry2KncL15nGA5MA/oP9BUSKjEWwWpITZfPhFrqUZAe llFjUNqVhqjm5fKOm3d06rF9XMH6zy+jqgAxIrJxVkrn+Bh0eCL52aOLQdXJra7k35ab H55w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Nx2Tfdw0; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::433 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com. [2607:f8b0:4864:20::433]) by gmr-mx.google.com with ESMTPS id d11si209521oti.2.2020.09.11.08.13.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2020 08:13:04 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::433 as permitted sender) client-ip=2607:f8b0:4864:20::433; Original-Received: by mail-pf1-x433.google.com with SMTP id o68so7711984pfg.2 for ; Fri, 11 Sep 2020 08:13:04 -0700 (PDT) X-Received: by 2002:a63:ff06:: with SMTP id k6mr1930953pgi.321.1599837183242; Fri, 11 Sep 2020 08:13:03 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id i9sm2671440pfq.53.2020.09.11.08.13.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 08:13:01 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id E968AA2A1; Fri, 11 Sep 2020 11:12:50 -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=Nx2Tfdw0; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::433 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:26103 Archived-At: Currently it's hardcoded that the citation processing occurs before the filters, as if it's part of the reader. FI Apps writes: > 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.