From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30638 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Shane Liesegang Newsgroups: gmane.text.pandoc Subject: Re: Separating multiple citations in generated footnote Date: Tue, 31 May 2022 10:08:04 +0300 Message-ID: <4A0B350D-9C10-4473-AEBB-0FBF67CCF040@gmail.com> References: <87wne3cfem.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_AF7DE21F-BEA4-4904-B796-9DC332BA5656" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31542"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBC2OTJELV4GRBWH522KAMGQEXNXS7TI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 31 09:08:14 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f63.google.com ([209.85.167.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nvvzB-00086A-G9 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 31 May 2022 09:08:13 +0200 Original-Received: by mail-lf1-f63.google.com with SMTP id s12-20020a056512202c00b00478f00fcb3dsf851082lfs.7 for ; Tue, 31 May 2022 00:08:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1653980893; cv=pass; d=google.com; s=arc-20160816; b=N+AresKdUPkJ6FcWHW72WpIlAWuQ2sMZiOcLMdiRVjqCezeYmUqxIwH2ILFx5GFXvf t5nKPdzcZCoZAzSsP2ov6b8Bh3VOXamcp4lnU+W7Jcy0dEDL3ouxY/IlCzxgPd8oRieO VNZfNEcXk/zo+q78a73ya9BW0JdpB6Ap5p/BU+3OmJHn4tozcp5SGtT8X1MPdc46VhOP wUP+AtlcKQkPyGl+tKW4Pc1Z87XQvGsSqJ4WAmL3R0WrEsBoIqmw1nxiZMlO81DBsjSc E1aEhtvOn9bXrenLP+nkq+wBTjzSzVYXHy2WjQPIUYCdl+yjAZjk5AZ3ZZiupIRH2pBC U9+Q== 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:message-id:in-reply-to:to :references:date:subject:mime-version:from:sender:dkim-signature :dkim-signature; bh=eWxGLzOGec8Pqk1Scn75rUmsxKxWd6mag+tiz3S4jM0=; b=zCHGaf0GFXrdloPQ49dkMVw5KTxpP0JqJdOLiNbtEXCvqFh/ICPAdpg1Rfu0K8fPT5 QSd4UqVJDcIet91ivKHs8msCxTNNNEInDEWrqHL0JtM3qzEhEMYxfg5TmkgwtpkssdZ7 LnzVdLaOD71cL2p3TFXmXAshwXM0mGUB3PKcIlmxbk5M1btlEg/RUXR6cf2EIi5WLeZc n+ONUotk0gqbMNsVvUqLK2PqE34oBe+4yx+MUBh1HsYOuQ00H/FtaOYsp/6rP4ngCT0N xj+MOyP2m5y2ggrii271thGMmZHVKPfDQz/6/x/S5XuTawt1l2fIum/rx9dHJ9ZZbcmo FUKg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=g6wyBwv1; spf=pass (google.com: domain of liesegang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=liesegang-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=20210112; h=sender:from:mime-version:subject:date:references:to:in-reply-to :message-id: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=eWxGLzOGec8Pqk1Scn75rUmsxKxWd6mag+tiz3S4jM0=; b=VAzD4cZ/sjtqQQteia54wi7iC/rn1tsgyW/zlxT+yDG/t0lIeTLNxvkAmFwQ2Kntyp a6+RCX1VgPcV/DGc3tcEqhtu1LoVpydsjLptZh/+TZvEMkMrKH/2B85amya70oUFkviO aEikhWoGy56/pdKwYNa2aVdLxFhKv19ZyTBa3PtgZgLSxxwOZNRx5E9vfacIW46NZeJA SRiRURh47NxB7+wVbTLKKJTd1OynZPFfxJh/Yy0YpR1a1c+sVYMcCU+jQN2irNsmuKQ9 QVld1GcsPafdCiObb46Tq5Qft7JoxxmENrIBtJghmr6kak+AKrgJ4dlv+Jzi3d4PO4cR m76Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:mime-version:subject:date:references:to:in-reply-to:message-id :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=eWxGLzOGec8Pqk1Scn75rUmsxKxWd6mag+tiz3S4jM0=; b=ZCrq7Z75dX/P9t7Tgo6k6orn+dPBb9AH/UvM2oNMSmKPkbBJyf4w/PJRGihbU+SPig OYM5ZGGBxLgLWdKwGtY3F+gUGzBpYSYGlw/Zdp2UuuXqVn+oZpeWiPy6tQhQs8qW9qCx Ot9XKPQSJzteZ3ZcyJ4qiQ+m7bED6gPRnnFbGLFNOVkL1Qmm3YqWzQCerbRMxKfmQQTs Td0CWIWAE7SELoAYszU/NZg4cnPuhKUo0CdZ/moDW+nlAE7H1A36xv07t+pVzT0cT6tC 5zcgl9C7nSpIqIpKrckNdrNbaMwGSCHlagk4CGGLT+bKPSLQKj+qtJQatvKCVH3SGG3t NEOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:mime-version:subject:date:references :to:in-reply-to:message-id: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=eWxGLzOGec8Pqk1Scn75rUmsxKxWd6mag+tiz3S4jM0=; b=4PCjIatmkVm7qyKquci73HCrQHga1Oscq7Hf9VGuE3lncUMkQ9QhszoUSFtf0gAyqf ENEtW6l6yP9zMDkNuTPpqjbXycHWXeG+I2VhHw8IdzJ7RJG5Uv9oRUh6CbtJ06O4LfV2 VG9xLCagNePwGeC3Ms26owFPmzThvQMyCBzPhudsTU9hY5K0p863poxyFHSikhsefV8Z 1by+cQb/V79n0ZSe1n4A1UK/PJuSJXj/KFofhmLIZJp8cCYni6UMkj/z+KcrLWwc5i0X T29P8nXzs0pnWrNZgy2+OXlvzKxjupFCpbvhR4qTBQQ+ihOTeVL8Axz/+YMYzJ8ffDUD oBnA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530eGcRMw70A7HifnWxB5qCNMrYPzSa8EFOZImJuGGKMn7HdXjw3 FfJyUszhV4RwNBJ/g6XTuyk= X-Google-Smtp-Source: ABdhPJx/nh39BWTQy0StiRFhjXxcbKzpZ22Tw9rZhpgB3RMHVFuIoaDulsWC7I1S0hYoE4IUpPas/w== X-Received: by 2002:a05:651c:1612:b0:253:d535:d7c0 with SMTP id f18-20020a05651c161200b00253d535d7c0mr33302276ljq.33.1653980892936; Tue, 31 May 2022 00:08:12 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:b896:0:b0:254:c65:c6d8 with SMTP id r22-20020a2eb896000000b002540c65c6d8ls2640730ljp.6.gmail; Tue, 31 May 2022 00:08:07 -0700 (PDT) X-Received: by 2002:a2e:b892:0:b0:253:f271:1b5d with SMTP id r18-20020a2eb892000000b00253f2711b5dmr22548942ljp.48.1653980887737; Tue, 31 May 2022 00:08:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653980887; cv=none; d=google.com; s=arc-20160816; b=UrdCsisWg3HCYs/pV6SJ4WMsxfT6JtQCAU5XxlX6nN+q7JG8UzADao1Kfi9cA3qETZ mnPCCHoVV8X4K/E/tYL3Djf0Kcdyc8Hq5n83yw5qP0sNS564iwSf1q49PKCrAfCqQnJw nolv6PLF7PF3XAjCS2e7gJuaD7nq/sO+zUdyPvhpY5obipPiyzB6GggbTY8FsFqST64t 0YChYOB2ZkJATACJO8GkQbtCVpduDA71D94DBgUUDD/gAY0B7mahBJtmXUqjRDmUOccr 15OKH4LVJRTs858BNz2rOFWV2/i+PqWRPTYvv8G29gx1IL4b1XNDztdTbjwGW+A42h4+ PljQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :dkim-signature; bh=4JrT8JLd9tu+6fZKwdSDcVVtZ++pR/2t/kblPFColT0=; b=DR2weZ9kpNExwLjJPZE19fdUyQJNi9uZg6jAZLrUWCF31Qd4wmdmsTjMEfykyuwbq7 4DzlBBiH9d0Xjmt2g8LzEHdrPFTJEwpNKnnAHSl++Sx2SN6QQzNPcklCfeQg0bb4uH8q qw4HfrRpZ2WqeQk9R1gWr9km5sVtR1PzAISwVEGTOleJgkwAGJhG+GR42ni2ySMo95lT vk1+dX47ICxUCY54MlxDT2fqXKj8WpMIdQiVsRE+IBzo4MAFKFLcaUnoOXOD2/bINRik gIBrGS36Ue13UVusMemndeeYbPHvx6K3z9ck6yoiLDhacw0Gwh+YaNgE5x35pRhw9ktV uPnQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=g6wyBwv1; spf=pass (google.com: domain of liesegang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=liesegang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com. [2a00:1450:4864:20::32d]) by gmr-mx.google.com with ESMTPS id u16-20020a05651220d000b00478f1faa988si48718lfr.13.2022.05.31.00.08.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 May 2022 00:08:07 -0700 (PDT) Received-SPF: pass (google.com: domain of liesegang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32d as permitted sender) client-ip=2a00:1450:4864:20::32d; Original-Received: by mail-wm1-x32d.google.com with SMTP id c5-20020a1c3505000000b0038e37907b5bso685414wma.0 for ; Tue, 31 May 2022 00:08:07 -0700 (PDT) X-Received: by 2002:a05:600c:3d1b:b0:39b:1743:4d84 with SMTP id bh27-20020a05600c3d1b00b0039b17434d84mr10618700wmb.118.1653980886870; Tue, 31 May 2022 00:08:06 -0700 (PDT) Original-Received: from smtpclient.apple ([213.175.171.122]) by smtp.gmail.com with ESMTPSA id i8-20020adfefc8000000b002102af52a2csm8791970wrp.9.2022.05.31.00.08.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 May 2022 00:08:06 -0700 (PDT) In-Reply-To: <87wne3cfem.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> X-Mailer: Apple Mail (2.3696.100.31) X-Original-Sender: liesegang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=g6wyBwv1; spf=pass (google.com: domain of liesegang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=liesegang-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:30638 Archived-At: --Apple-Mail=_AF7DE21F-BEA4-4904-B796-9DC332BA5656 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" On Mon, May 30, 2022 at 4:35 PM Albert Krewinkel > wrote: The closest thing is probably the `pandoc.utils.references` function (added in pandoc 2.17). It gives you access to the structured reference entries. Theoretically one could write a custom citation handler by using that function and filtering `Cite` elements; it might or might not be worth the effort in your case. Yeah, I'm making heavy use of that already for my filtering. It works fine = for single citations, but I don't want to just totally swallow the existing= citation in case it's part of a Cite that has other citations, though. Thi= s is what I mean about somehow filtering during citeproc so I could directl= y replace the emitted elements that form the footnote -- if I could do that= I could wrap them in a span, change with greater confidence, etc. (Sorry for the double-message to Alfred, but accidentally sent this only to= him at first.) --=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/4A0B350D-9C10-4473-AEBB-0FBF67CCF040%40gmail.com. --Apple-Mail=_AF7DE21F-BEA4-4904-B796-9DC332BA5656 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8"
On Mon, May 30, 2022 at 4:35 PM Albert Krewinkel <albert+pandoc@zeitkrau= t.de> wrote:

The cl= osest thing is probably the `pandoc.utils.references`
functio= n (added in pandoc 2.17). It gives you access to the
structur= ed reference entries. Theoretically one could write a
custom = citation handler by using that function and filtering
`Cite` = elements; it might or might not be worth the effort in your
c= ase.


Yeah, I'm making heavy use of that already for my = filtering. It works fine for single citations, but I don't want to just tot= ally swallow the existing citation in case it's part of a Cite that has oth= er citations, though. This is what I mean about somehow filtering during ci= teproc so I could directly replace the emitted elements that form the footn= ote -- if I could do that I could wrap them in a span, change with greater = confidence, etc.

=
(Sorry for the double-message to Alfre= d, but accidentally sent this only to him at first.)

--
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://groups.google.com/d/msgid/p= andoc-discuss/4A0B350D-9C10-4473-AEBB-0FBF67CCF040%40gmail.com.
--Apple-Mail=_AF7DE21F-BEA4-4904-B796-9DC332BA5656--