From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32345 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Bernardo C. D. A. Vasconcelos" Newsgroups: gmane.text.pandoc Subject: Re: Issue chaining Lua Filters Date: Wed, 15 Mar 2023 15:49:46 -0700 (PDT) Message-ID: <022d6e2f-c5f7-4786-a811-ad089ceb8864n@googlegroups.com> References: <05538ba3-fd8c-41ca-b0c4-09fa9d9ba71en@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2244_92322865.1678920586833" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11679"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDUKFWODQ4ARBDEXZGQAMGQE3T74E7Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Mar 15 23:49:51 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f64.google.com ([209.85.219.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pcZwN-0002sd-02 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 15 Mar 2023 23:49:51 +0100 Original-Received: by mail-qv1-f64.google.com with SMTP id l18-20020ad44bd2000000b005a9cf5f609esf74352qvw.15 for ; Wed, 15 Mar 2023 15:49:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1678920590; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=coJYx3M/iRsO9CJFNpUjdJQZq1924xSAgAf6GqGsddo=; b=JszggefKfQpkhjBvxbvGjJl1KylTaweOi7OojEpF+5NuZsHirHL5Sv04B64BaoNaEW PhTRWPXYReQOATUrk0MDgLdilwqE0Wtwm/HihT3KsEj7116lctDbLJKcoimF3QJpADcy YkWy1T3MKE9KcvWvDFENTL5FwS5EpU5+x4J0Lx9PzdyRpGd8Dc9DeWdyANixMWLZ8XIS eYfM5sHV49nMLPSUAT1v8hBTacPZFDnDTCtsKfC56YUeaZaGllC5AWGFXcBMyz/f+VyV 43rXUM/SogrKnC13LR7VS19D1IjdPNZyjZDNu20Nqf+EXgu9XtwoS0r2btEvu8tjq4RG 4daQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678920590; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=coJYx3M/iRsO9CJFNpUjdJQZq1924xSAgAf6GqGsddo=; b=pYR1TNVGUlhpcV6HiLrjvB9Q7TeT5oNRItnv7r6asFujlNqwZmDbeeD0SNcLVslr35 ewRvHYf4apK7lcI5XDcZUAAMog8As50Fe8irVJoRZOoe0hSRTSK+uFr91YpVLyEKgTaQ zXaT4PF3tnHOPoxXGXpKSsP3vw8fQx0QedfY5dOeIHtyoq3Vhpc8CIAS1ynHqPsCVZt1 QztWDvCVgdwHeAC5vw95ax09b5KkAGmscpE3E6dVAUdWxuexEVZewtjnvLCku3qNRL++ e2wWNeZ76RGD9scOGZG2vH9dOYi6gvc6279v1+M/nRCxmC8ppbagXYMfA7PqgPvs11gJ PelQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678920590; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=coJYx3M/iRsO9CJFNpUjdJQZq1924xSAgAf6GqGsddo=; b=vnEY/XyUO9HMyU99RG1TAcE3nCmrwd7Ayz5nMmsLjrN31KGnf0KBE23Anl6v0tnGfQ ZFzgSIZkwrO1Cj6gIr4EqHLipS6/dW86Br4SshQbVZoAmKPhIfHMtWoxJqyGOzx6NOGD pMlrWJ4XsbAnbUtj9T1tKaDJyZkpu4idb7H/H2kBQEapivHsU2all7anpRRJBDQWS0+n MRKhCETwJbk8ZZBgjsIpGB2T96aBx0nYjQ7G0ue0n4lIY7fO1FqP0MA6VRik1l03o4H5 w8Dd+oWKhqF4su5bvv4oDgxN3IrZT9vx2Gd+DU/WTYYtNdXM2Gh5Zek/kyqZmn72rOKk Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKU/grO3In/mgWEPpKvdYOyoTDBhMGGqKmx2fkg/oKlmAy9v6tKG j05sPYJRw6XwdGUhKCEM0XE= X-Google-Smtp-Source: AK7set/agChdMfioMSnPMAH+Vt9+mfwpTNcPPYI5VLLbPuDnZpq8nUEqq06JKxXjMNw5dTquXKlkmQ== X-Received: by 2002:ac8:4044:0:b0:3bd:142a:cb21 with SMTP id j4-20020ac84044000000b003bd142acb21mr407226qtl.0.1678920590049; Wed, 15 Mar 2023 15:49:50 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:622a:2448:b0:3d2:22ea:ef7a with SMTP id bl8-20020a05622a244800b003d222eaef7als109056qtb.1.-pod-prod-gmail; Wed, 15 Mar 2023 15:49:47 -0700 (PDT) X-Received: by 2002:ac8:8f:0:b0:3d3:36eb:27ca with SMTP id c15-20020ac8008f000000b003d336eb27camr408887qtg.4.1678920587571; Wed, 15 Mar 2023 15:49:47 -0700 (PDT) In-Reply-To: <05538ba3-fd8c-41ca-b0c4-09fa9d9ba71en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bernardovasconcelos-Re5JQEeQqe8AvxtiuMwx3w@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:32345 Archived-At: ------=_Part_2244_92322865.1678920586833 Content-Type: multipart/alternative; boundary="----=_Part_2245_2028668195.1678920586833" ------=_Part_2245_2028668195.1678920586833 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It turns out I had to add `doc.meta.references =3D pandoc.utils.references(= doc )` to the multibib filter and that's it.=20 Issue closed. On Wednesday, March 15, 2023 at 4:58:50=E2=80=AFPM UTC-3 Bernardo C. D. A.= =20 Vasconcelos wrote: > Hello everyone, > > I posted this issue to= =20 > Github and wanted to ask you for input. In short, the problem is that the= =20 > citefield=20 > =20 > filter works when run after citeproc=20 > ,=20 > but not when run after multibib=20 > .=20 > These are different filters, so there is no surprise there. I am trying t= o=20 > understand how the citeproc and the multibib filters differ in terms of= =20 > what they pass on to the filters that come next in the chain. Is it=20 > possible that the multibib is altering the AST content in some=20 > irrecoverable way and can't work together with the citefield filter? Or= =20 > should this just be a matter of retrieving the information in the correct= =20 > way? > > Thanks for any comments and insights, > B. > --=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/022d6e2f-c5f7-4786-a811-ad089ceb8864n%40googlegroups.com. ------=_Part_2245_2028668195.1678920586833 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It turns out I had to add `doc.meta.r= eferences =3D pandoc.utils.refer= ences(doc)` to the multibib filter and that's it.=C2=A0=
Issue closed.

On Wednesday, March 15, 2023 at 4:58:50=E2=80=AF= PM UTC-3 Bernardo C. D. A. Vasconcelos wrote:
Hello everyone,

I pos= ted this issue to Github and wanted to ask you for input. In short, the pr= oblem is that the citefield filter works when run after ci= teproc, but not when run after multibib. These are different filters, so the= re is no surprise there. I am trying to understand how the citeproc and the= multibib filters differ in terms of what they pass on to the filters that = come next in the chain. Is it possible that the multibib is altering the AS= T content in some irrecoverable way and can't work together with the ci= tefield filter? Or should this just be a matter of retrieving the informati= on in the correct way?

Thanks for any comments and= insights,
B.

--
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/pandoc-discuss/022d6e2f-c5f7-4786-a811-ad089ceb8864n%40googlegroups.= com.
------=_Part_2245_2028668195.1678920586833-- ------=_Part_2244_92322865.1678920586833--