From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32255 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Bernardo C. D. A. Vasconcelos" Newsgroups: gmane.text.pandoc Subject: Re: Recursive citeproc with the multibib lua filter Date: Wed, 1 Mar 2023 06:15:47 -0800 (PST) Message-ID: <2c4287ce-ddf0-40b0-94ac-5d22ab3d5764n@googlegroups.com> References: <473da17f-5a82-4d44-9b83-eb1cf35d43e6n@googlegroups.com> <8719e317-4d02-4206-8f84-e6c394b32946n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_18410_305076976.1677680147391" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17412"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDUKFWODQ4ARBFN47WPQMGQEDXEZDZQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Mar 01 15:15:53 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f63.google.com ([209.85.219.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pXNFI-0004N4-70 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 01 Mar 2023 15:15:52 +0100 Original-Received: by mail-qv1-f63.google.com with SMTP id x18-20020ad44592000000b00571bb7cdc42sf7053354qvu.23 for ; Wed, 01 Mar 2023 06:15:52 -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=usQsMOxLb5u+GF1mtR7ZQEYkPZNIEBrxfmmoba+T4q0=; b=mcTXE2cSxl7ChpFEmQSBvnatc3P6I+odVQcucMKKjEMn6zQcyEfs5uO3WkcjhvX13C ScguXKBH3ncHS2Uk+PSBZYXjXiltpH34G2ZfDrj/eODaMMPjNtp+ujfC2EaheAnV7bsk XghRupZJV9RJkl67HrOSxl4rdu6M8KorTZATVf2Rx3SRoVDR5B0m4AA1Nmr4l7HgZRoY aYGA3sldrZF5s2Nnltk0flH7WEROOc8FGlvbmFq7gSWK9zD47nXC7bSa6rVZxTWkKDH3 povE6HwRfLiKELikotAYrshtRWaf/gXsSqdCa4NyJvlMleXNqznopjRoN3lAfJtWEa/C 3Sdg== 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=usQsMOxLb5u+GF1mtR7ZQEYkPZNIEBrxfmmoba+T4q0=; b=dQ3iK0pXTDXBQTdPHhbnd+i4tu6QH07S1/4GduBW78DiJcpovuT62n2clXsn3ZZBeO 3gTgQoX+5aYANqKptyYkN+mXSYS+hOZL/l/R+poL+fonobltbwQiTftNudGAct1wcBME lzYCmUyAhUpeMSHaUgdO7N7JY4G7ylNb4vl2lx9mJ5+OLLx0bOmQqq5QK+kcbtTHnBx7 Gd1Og1t9k3a99ZV3N0QG3Xjqpgx88qhBIS4T201HzH+zX+wO77aU7eJWFud4+fr+sOTn 7VieXZok5AuI4AVuYnPMPRMSp+1psXofiQjZNtKIbsn4yOqdv63PmFyfxrfeb8yo8otE AfpA== 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=usQsMOxLb5u+GF1mtR7ZQEYkPZNIEBrxfmmoba+T4q0=; b=UVBSLdDGmpt2eVVijQKAWXVOdWi7gUOlaO7Wh8Ocjnloux1KRWipWO73L1oYY8l2g7 P5KPk8jRia++NnTCFjki6rxugH9hSq/O79pjMgWVP8DNqvceAy1m4Uy/upjV93cNAznr wfKiqkSiZWMJAbOIMcNAwSkUE5b1OXoQh/oIlHj6hk4tJyvA97Oqi1CkALHFMG67lVCO ZsM4TmTa0uSH6w+n9wsECHhy+MP57hAGtPP2+eNGavl3qlw3MQ8ilwe2XLLpUp2IHhjS 1ga2HyQEgl+4lqvCSYfvvzeGwvJKgaziRFj6t6SHhznEIm+IvRHzPABac6EE4Udot4+K s9IQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKXhAOAJEFVwRtFl4d3OwHvYTZ4ErfOqbSoOlDV650DNBp7kdZK/ oMGHBNUy8J+uFdG+tw5+VRE= X-Google-Smtp-Source: AK7set8ku2RKhhHJGWnzEELCGzYB5xkuN4YDPhqiguVBRCkIS6uQS7H2CpvI573VZod1nBf27AZD3g== X-Received: by 2002:a05:620a:468e:b0:721:41a:f4f8 with SMTP id bq14-20020a05620a468e00b00721041af4f8mr2745459qkb.2.1677680150894; Wed, 01 Mar 2023 06:15:50 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:620a:27cf:b0:71b:3402:f9a1 with SMTP id i15-20020a05620a27cf00b0071b3402f9a1ls3604176qkp.0.-pod-prod-gmail; Wed, 01 Mar 2023 06:15:48 -0800 (PST) X-Received: by 2002:a05:620a:152f:b0:742:69db:3bf1 with SMTP id n15-20020a05620a152f00b0074269db3bf1mr1639466qkk.10.1677680148222; Wed, 01 Mar 2023 06:15:48 -0800 (PST) In-Reply-To: <8719e317-4d02-4206-8f84-e6c394b32946n-/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:32255 Archived-At: ------=_Part_18410_305076976.1677680147391 Content-Type: multipart/alternative; boundary="----=_Part_18411_1036766834.1677680147391" ------=_Part_18411_1036766834.1677680147391 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Julien, I was looking through your code. Do you have a good idea about= =20 how to implement your recursive solution to the current=20 multibib/multiple-bibliographies filter? Or do we need to rely on Albert's= =20 expertise in the multibib/multiple-bibliographies filter for this?=20 While we're at this subject, I just noticed, after a full day's work trying= =20 to figure it out, that the filter will cause Quarto to hang indefinitively= =20 unless one adds `verbosity: ERROR` to opts. This does not affect Pandoc=20 apparently. On Thursday, February 23, 2023 at 11:40:39=E2=80=AFAM UTC-3 Julien Dutant w= rote: > Hi, > > I'd be interested in developing this feature for Pandoc-ext's multibib an= d=20 > especially section-bibliographies and multi-bib ( > 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 i= t=20 > works.=20 > > It was developed for the journal Dialectica, which has citations within= =20 > the bibliography. I'm thinking of porting dialectica to Quarto and make u= se=20 > of 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 tak= es=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, = one=20 >> of the bibliography files is actually a glossary that could contain othe= r=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/2c4287ce-ddf0-40b0-94ac-5d22ab3d5764n%40googlegroups.com. ------=_Part_18411_1036766834.1677680147391 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Julien, I was looking through your code. Do you have a good idea about h= ow to implement your recursive solution to the current multibib/multiple-bi= bliographies filter? Or do we need to rely on Albert's expertise in the mul= tibib/multiple-bibliographies filter for this?=C2=A0

W= hile we're at this subject, I just noticed, after a full day's work trying = to figure it out, that the filter will cause Quarto to hang indefinitively = unless one adds `verbosity: ERROR` to opts. This does not affect Pandoc app= arently.

On Thursday, February 23, 2023 at 11:40:39=E2=80=AFAM UTC-= 3 Julien Dutant wrote:
Hi,

I'd be interested in develo= ping this feature for Pandoc-ext's multibib and especially section-bibl= iographies and multi-bib (https://github.com/pandoc-ext/section-bibl= iographies), if Albert is willing to consider the addition. I've al= ready developed a recursive bibliography filter:
It's not the most efficie= nt solution for more recent versions of Pandoc (this was back in 2.6 I thin= k, and my code isn't the most elegant), but it works.
It was developed for the journal Dialectica, which has citatio= ns within the bibliography. I'm thinking of porting dialectica to Quart= o and make use of section-bibliographies, so I'd be needing that featur= e anyway.

Against the inclusion of such a fea= ture: citations within bibliography entries are a Bib(La)Tex only feature, = they may disappear as CSL/JSON takes over.

J

On Monday, February 20, 2023 at 3:01:35=E2=80=AFAM UTC Bernardo C= . D. A. Vasconcelos wrote:
Hello everyone, I hope you are all doing well.
Basically, this= is a case of using the multi bib lua filter with other citations within the bibliography. I = was wondering if this could be pulled off. For context, one of the bibliogr= aphy 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?
<= div>Thanks,

--
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/2c4287ce-ddf0-40b0-94ac-5d22ab3d5764n%40googlegroups.= com.
------=_Part_18411_1036766834.1677680147391-- ------=_Part_18410_305076976.1677680147391--