From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26104 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Albert Krewinkel Newsgroups: gmane.text.pandoc Subject: Re: WIP: better citation processing Date: Fri, 11 Sep 2020 18:02:03 +0200 Message-ID: <87imckl2tg.fsf@zeitkraut.de> 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="33512"; mail-complaints-to="usenet@ciao.gmane.io" Cc: FI Apps To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRBAN7535AKGQEALKKRAQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 11 18:02:13 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f188.google.com ([209.85.208.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kGlV7-0008bo-L0 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 11 Sep 2020 18:02:13 +0200 Original-Received: by mail-lj1-f188.google.com with SMTP id l1sf3790698ljj.2 for ; Fri, 11 Sep 2020 09:02:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1599840133; cv=pass; d=google.com; s=arc-20160816; b=m/yJDjAGg37PI0lgTUu0vE551ghPakbpXtHLTTcwj+5KGMCNKhFaPOBT5SL+hibT3d kMrbatMKgzKM/Tr12H+sQusr/c9ZqHAv70laCM5nuu7znnTIgFuPkNmfkD0ehoenrRqR B7hnQLEJCYkm36FNdxYTp8CQHpEe9QLc4AzL23J8rVgI2CBae8sxlojRYXt96wyG3PHy AmB41tErDvCuCt7s98qE4dEX7wjsV6msHwlQ/5tOLgF3wZk0avSles7L9zlurnCxw2Hd 0Cb9ZMmWobHb7I15OjPfEqvoNLTzdWiFREX/UEk0pfRhe8KLGLmmzuG2UpYnKHuREjh1 HCJQ== 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:in-reply-to:subject:cc:to:from:references:sender :dkim-signature; bh=LAN8Z4ZlLo44sQ1gwrCfW3NnWlLJbYEKzNUaMGyt3B0=; b=I+RSHH2jZgfsKv2ReNEPT+b5d0Vn+6KyRp5bpnHCoo3mzpN7ejK/lditgd9+h6ulML QLbvZd0RC+JLOOWLLTq1AbD2x8Bol2hSqNVySbSsj691IrReJhzbaLiSYWo4/Dg/Ni/v nATzygm96SByRp2HIeP3DLCvfXyh5p6qn/Uyyzr6IcScUOgMWvRVxgvJjwadG43KJ58t 1dG8HcZMYsSPda3ZJcOlfzRPhf8uWFDl4Ha6NF52MES+M6o9nPcZtFYnzedc+sjQHPI6 z1lyBWBwPKY0u7ShAqxqu2rDW/EtQ5oJnROIjjjBWYD0KhPGYLI4mi8zmSJ/XkeguGGS 1jMA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050::465:101 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:references:from:to:cc:subject:in-reply-to: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=LAN8Z4ZlLo44sQ1gwrCfW3NnWlLJbYEKzNUaMGyt3B0=; b=eFj8imXSSlkcCLtXeMoXefeziU5g9Nqzi3cZgQD3X+rfJY4iBk80RH75es4lUyWxDr hJ1T7hKzlmAQoh4UhWnP1mjwwk2sVIhEV5QOaPWS05W3HJ1Xba4ZKnpVTUf4/GI3RzCc aID7RBVZp5Kl+fKFWBDlLAcfuYKfcYBHvcxdg8HgXosxQise/06YKmMDxdNYp0pDYZO7 KJaAMTRHvs8iI5T/wVyqXBTVV0JqvNkwbbOX+nvOSO14fx5EkDH6vjrRLH2jf+Xrt3MX /JVZGeyMFUkcZk6pOLTqyM/11c9rIxZfktvNDNKWu0zxNwJvkvYpeQLX7Zh/0h86pjvG ZHgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:references:from:to:cc:subject:in-reply-to :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=LAN8Z4ZlLo44sQ1gwrCfW3NnWlLJbYEKzNUaMGyt3B0=; b=fW7DKS4c5Hf/zPHMk6kkuNHzYXo4yX99GsgH/eshLW04gYTW6vXtnDWkiINt2Oy6Je rotvg2zU1PtbuPVg8jKJvN6qe+7atYf87Wa91YpCHwH06G0tGtYuBBZIcc4l/5QSfMAF /tpNrby4k5QAtezttHebV2rKjWcoWfQlsqYpedVLAQ7GIzIcmuQUvqgCbMJ9OsZapPGB cARwQPGmL9t/11UmJ9Ti7+AGuSGuJg4zh499F/Pm2PxnjJUNhfWaKiD47nA5my9k043E V5AjmBiNztFJ03mDKB4HzYJHA+50oh4YJ3m5VNOSQ673/g4JEGAEvApBx3FsUFPzsTUU cTjg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533zd6XY4sdpip/NKMXMWNbnqR/B9abnEF0mk+CMuWHqfWYmrlTR b9JQGclqMHh3bRuX0bJ0Va8= X-Google-Smtp-Source: ABdhPJwslTOLGxaAr7me/j+gug15MRdSn3SdeqVGa3g61yqkHLHRipIJfIsxPiSyFqcTEcYQdG91zw== X-Received: by 2002:a2e:b522:: with SMTP id z2mr1147071ljm.141.1599840133208; Fri, 11 Sep 2020 09:02:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:7e02:: with SMTP id z2ls530542ljc.2.gmail; Fri, 11 Sep 2020 09:02:08 -0700 (PDT) X-Received: by 2002:a2e:b813:: with SMTP id u19mr993367ljo.396.1599840128504; Fri, 11 Sep 2020 09:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599840128; cv=none; d=google.com; s=arc-20160816; b=pQBBfSydZsDSucl/LW3iss5J2aY61LQUJ/cAoAfmHaqqRidbzqX0IHcUgK/ioHDnSW AFtTg4KhbJ6GqWuDHfT46Tjq0cFEoNKiaSmM3/jjBP9lqgyjaGS0CYpKgW3jyrvIbQ++ eAImkfbtOdkYPXE5IzCY+1WIfMXOh9HFIkehWhoKG6QRUpSFO69p2tG9M/JUqTVBf/Gi vkFDz4SZgWWuqZ1W8f8WWjIfVEs/FBtRoKYmGIsgknfDIy4jpJQViI6ZChhEhExnsnFc eSne+2D/t6UqMQMi9BIc4NxjgawiRGpTPpKmdAL9jva5XE9EgS19LN9inJV5RHe7khV8 u9uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :references; bh=IhGYBLx/ny94p/RT3xIQKqhlrmfvI5NjLZwn1CbYotM=; b=zTihtlhLNEGPZANujeaXnTlj6OTkxLypW3ifoubZoC7Rfgp9lYkfxFIhXlAE9TLP60 WV3R3ARf+6bXDGRN64rHMYYGwDF9zYURTtz/JNfqfqqFh0gUL18DPZU0xchQQzVLNa7W k09H6gpBtkCjyB+/HriNF783/Ftdii6zCCtAJqBLXWT/F+ZMj0vrhKYkSniK2Mp+KGdw C5SFBdUiLGklJXCm/BXdDxiPLdT+9os019veUOQhrdA2lWXeR8XVN6HNAHUE3dSbPsE+ cRUgA3ZzvxfOHCGPEpVn0lv8SSON4/z2LuSXIwx0sKosIAhbm/ac+RGpZ8CCcFuzRkKb AeCQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050::465:101 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org Original-Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org. [2001:67c:2050::465:101]) by gmr-mx.google.com with ESMTPS id 138si29584lfb.12.2020.09.11.09.02.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 09:02:08 -0700 (PDT) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050::465:101 as permitted sender) client-ip=2001:67c:2050::465:101; Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Bp0rH5CL9zKmsg; Fri, 11 Sep 2020 18:02:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id U8a5581R4U4y; Fri, 11 Sep 2020 18:02:04 +0200 (CEST) In-reply-to: X-Rspamd-Score: -1.00 / 15.00 / 15.00 X-Rspamd-Queue-Id: 8B2DE4F6 X-Rspamd-UID: 53bc08 X-Original-Sender: albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050::465:101 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@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:26104 Archived-At: John MacFarlane writes: > Currently it's hardcoded that the citation processing occurs > before the filters, as if it's part of the reader. I believe that will break a couple of filters, including pandoc-crossref. Maybe there could be a `--citeproc` option which acts as a special filter? I'll take a look and see if we can expose the function to Lua filters. There are a couple of filters in pandoc/lua-filters which call out to pandoc-citeproc and rely on a freely choosable filter order. -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124