From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32227 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Julien Dutant Newsgroups: gmane.text.pandoc Subject: Re: Recursive citeproc with the multibib lua filter Date: Thu, 23 Feb 2023 06:40:39 -0800 (PST) Message-ID: <8719e317-4d02-4206-8f84-e6c394b32946n@googlegroups.com> References: <473da17f-5a82-4d44-9b83-eb1cf35d43e6n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1460_459836055.1677163239771" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17485"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC5Y3356IYIOT5O5T4DBUBDMLBR6C-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Feb 23 15:40:44 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f57.google.com ([209.85.219.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pVCm4-0004OG-FO for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 23 Feb 2023 15:40:44 +0100 Original-Received: by mail-qv1-f57.google.com with SMTP id l13-20020ad44d0d000000b004c74bbb0affsf5223585qvl.21 for ; Thu, 23 Feb 2023 06:40:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=11VGolujhlRVzJdJca5O3WwLjqvd4dOwLxdMDemBP90=; b=sjZu+2yzEj3sXXAFkcagDH4Hwq2mDanK0ekwJu3dzDKUJB5rNVdGs/pyYvcm0EKnhv np7bLFZDwp/AHeqALchd6M5om7SSxKjzMFbaymqAsr2/HkYUvaH5/W5ydlY+Wj/JNi0O JtuUloLnT+gVyBhn4D/ZcPPiy7R4WhxgEbmIi7H0G3JDSIKzS09LJ5tTr42K37q8LxGY 8BUoNxFXErTmOvq7w2zI7rdXcJ4+IzaxLFtXqsu7BYjq9RptDXwDch/QZRuGoLtKV731 KOGK7/cK0wg2/aS53C/RC5WpKtHWJZUJKeZebFYsZ2aPxP0diYDKYvMmLuRy+iY0qSgJ GBzg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=11VGolujhlRVzJdJca5O3WwLjqvd4dOwLxdMDemBP90=; b=Js8SgGplerZ5eRa4/04EnwamXkBUs2CUMBWMjGVRnHrDA+kJR9261YLLSglkeFK9S4 xOfh9pCicWrrJ7lz5j4U4rzI+bwHi7bHoQ4MTg1z5jm2HDL32y9F0A2/ixUlJ7qR/TuC IZKSDsxY341H7GK/emsRjtwGaXJIPCC4DPkce2lXZNjUFrR/73xVfq07zNg9jpZcqstx uAt07NzpSXiB55vyPEbrnaOtvpntOECzl4KXjlDTMplOT66Vw5axH3tBHH7F8OdIcQ2r 7dYaGrV5SCF1ywwldSwaV6s//5rJgc23CUoVX3jWOsyYP90n1gz8z/WQW4UqZd4/tgmN jqjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=11VGolujhlRVzJdJca5O3WwLjqvd4dOwLxdMDemBP90=; b=EoXit6WnsGG5/t+yqPw7O3cJt/wAtb83tqDahtDiPizGOyCuHyyIfz/T1WTONrJ3kA gNKOKvzWEubqaKf2qaHsSPWGZJtQDBoEgg7dvkzWAlXa0xB5Afeai7xuJiVINXQBM3px 6yOlxdz4osbghlgoFYRbo70hJAsNUdWxa9kQ3vOt+kWI554ChRD1XyOiowWuJfZRyQPF a8KGjRNRRFirDKF8IWGh2gisfCuSfwWPUsxuTLArITqYAlTe6VCY45ymFCGwWtrsVxTZ fsEfSk94AzlbwaASqPJjsSCsM0AWWD/p+gu0b7y48CCWEISqpGc5sayIlmYVS/TmZT4n 1nxg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKUUtevNtMjz0+HSrfrSA7u26QvVk7DEwFvetV6j6YHB7Qw9dFBw Q1hYcGQaEo+7JZL1XOo/44w= X-Google-Smtp-Source: AK7set9p03c/ftqKJtsXFVRHO4BRJCOStyrl14TqWg4iPfmc1QJ+1hM1XiEZ8e4u9PMGK8F4B40MYQ== X-Received: by 2002:a05:6214:1912:b0:56b:f17d:eba9 with SMTP id er18-20020a056214191200b0056bf17deba9mr1825588qvb.4.1677163243401; Thu, 23 Feb 2023 06:40:43 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:622a:59c3:b0:3bf:a488:a7cf with SMTP id gc3-20020a05622a59c300b003bfa488a7cfls7178770qtb.4.-pod-prod-gmail; Thu, 23 Feb 2023 06:40:41 -0800 (PST) X-Received: by 2002:a05:622a:620b:b0:3bf:a99f:474e with SMTP id hj11-20020a05622a620b00b003bfa99f474emr1549966qtb.0.1677163240326; Thu, 23 Feb 2023 06:40:40 -0800 (PST) In-Reply-To: <473da17f-5a82-4d44-9b83-eb1cf35d43e6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: julien.dutant-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:32227 Archived-At: ------=_Part_1460_459836055.1677163239771 Content-Type: multipart/alternative; boundary="----=_Part_1461_303412177.1677163239771" ------=_Part_1461_303412177.1677163239771 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I'd be interested in developing this feature for Pandoc-ext's multibib and= =20 especially section-bibliographies and multi-bib=20 (https://github.com/pandoc-ext/section-bibliographies), if Albert is=20 willing to consider the addition. I've already developed a recursive=20 bibliography filter: https://github.com/dialoa/dialectica-filters/tree/main/recursive-citeproc It's not the most efficient solution for more recent versions of Pandoc=20 (this was back in 2.6 I think, and my code isn't the most elegant), but it= =20 works.=20 It was developed for the journal Dialectica, which has citations within the= =20 bibliography. I'm thinking of porting dialectica to Quarto and make use of= =20 section-bibliographies, so I'd be needing that feature anyway.=20 Against the inclusion of such a feature: citations within bibliography=20 entries are a Bib(La)Tex only feature, they may disappear as CSL/JSON takes= =20 over. J On Monday, February 20, 2023 at 3:01:35=E2=80=AFAM UTC Bernardo C. D. A.=20 Vasconcelos wrote: > Hello everyone, I hope you are all doing well. > Basically, this is a case of using the multi bib lua filter=20 > with other citations within the= =20 > bibliography. I was wondering if this could be pulled off. For context, o= ne=20 > of the bibliography files is actually a glossary that could contain other= =20 > citations in the `note` field of the BibTeX entry. Here is a MWE=20 > to=20 > illustrate what looks like in practice. What do you think? > Thanks, > Bernardo > --=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/8719e317-4d02-4206-8f84-e6c394b32946n%40googlegroups.com. ------=_Part_1461_303412177.1677163239771 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'd be interested in developing this fe= ature for Pandoc-ext's multibib and especially section-bibliographies and m= ulti-bib (https://github.com/pandoc-ext/section-bibliographies), if Albert = is willing to consider the addition. I've already developed a recursive bib= liography filter:
https://github.com/dialoa/dialectica-filters/tr= ee/main/recursive-citeproc
It's not the most efficient solution f= or more recent versions of Pandoc (this was back in 2.6 I think, and my cod= e isn't the most elegant), but it works.

= It was developed for the journal Dialectica, which has citations within the= bibliography. I'm thinking of porting dialectica to Quarto and make use of= section-bibliographies, so I'd be needing that feature anyway.

Against the inclusion of such a feature: citations w= ithin bibliography entries are a Bib(La)Tex only feature, they may disappea= r as CSL/JSON takes over.

J

O= n Monday, February 20, 2023 at 3:01:35=E2=80=AFAM UTC Bernardo C. D. A. Vas= concelos wrote:
Hello everyone, I hope you are all doing well.
Basically, this i= s a case of using the multi bib lua filter with other citations within the bibliography. I w= as wondering if this could be pulled off. For context, one of the bibliogra= phy files is actually a glossary that could contain other citations in the = `note` field of the BibTeX entry. Here is a MWE= =C2=A0to illustrate what looks like in practice. What do you think?
Thanks,
Bernardo

--
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/8719e317-4d02-4206-8f84-e6c394b32946n%40googlegroups.= com.
------=_Part_1461_303412177.1677163239771-- ------=_Part_1460_459836055.1677163239771--