From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WN1EEiFmsmDE6wAAgWs5BA (envelope-from ) for ; Sat, 29 May 2021 18:04:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QNp4DSFmsmDYewAAbx9fmQ (envelope-from ) for ; Sat, 29 May 2021 16:04:49 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6DDA41C1F2 for ; Sat, 29 May 2021 18:04:48 +0200 (CEST) Received: from localhost ([::1]:38614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln1SB-0002Hq-IE for larch@yhetil.org; Sat, 29 May 2021 12:04:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln1RW-0002Hg-6M for emacs-orgmode@gnu.org; Sat, 29 May 2021 12:04:06 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:33554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ln1RU-0004LH-6U for emacs-orgmode@gnu.org; Sat, 29 May 2021 12:04:05 -0400 Received: by mail-wr1-x434.google.com with SMTP id n2so6324157wrm.0 for ; Sat, 29 May 2021 09:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=TQ2Z4fCZe9+mLCiWTtHLRAcMjF4wWRBxdLC6upQRY/8=; b=IquDiq/UL2xV2RxRpcPK6jryf9mwagHSog8HN2zxyNxHKSiBlvxuaCcx+oGOwge6r5 OdYrIOM79fIF+wxkMv9rBYCdMdFPGuatJtU7/h+mfM/xjtCPkUTOHnF/Il4dmDPkT/gY CUwtQYfiZ31IphraUGq6m4yr3YWN5Ln0gJFageXfkgWfZorGhViVG9SsSUIOjLRI/U8T 6N/Q1oJpJsTo4zKGtAvicTqEhbrH91HbNkTYqS2o3yXk9O74PFTCggGkAfy6iz5xe5dW Y+xKAExY9dEJp6wWKPag6AJLilPh8w0x1ANaJBDihMODeqjwk10lXg6gBAjIAZB6dN3X ASXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=TQ2Z4fCZe9+mLCiWTtHLRAcMjF4wWRBxdLC6upQRY/8=; b=cmI/WovqID/qTOEb4N8nojk7AcqzdiUu7O4ZizM0GxScVC7ex6ees2OQTehxOArJBk GMR6AqZNJm15uQiec2zLHcMJbbUBoZQhc+CKw42b3EXLOa/j5wwwEQf4f1x/e9i5VAN9 4JW9FXkYvsIwj7+EujdF9aaDrc+izRvUUoVXgfrjB2fu2d3wuajTOfclc4n2IByTlloJ V15UwLBPo6yL02ZXV20YKOGvu5kakE/bFq0URCOMNQoPmXbtcVAx25+Fo69ZvgH2pDTf wxQje6Pf8Vue9k4owk+02W6w8xuryaOLQRgJmPrvbs4XCAclB2fzJQxT/8y6FuejEmWX /ApQ== X-Gm-Message-State: AOAM530VgtFsi/wmuZRD0EHps7C4UP8VwXotzChaUa/xQ/FOkBEsxr1U iHo+PhBl8ioNQEx59RgmVAkZiXmLiw24oF0t+8o= X-Google-Smtp-Source: ABdhPJzv7lRDJinYInA9F99z01vS1Bvi6EF5tlMbiMjn3EH90I9CCDHzuqG4AzWh4I63u26PXwJTsWTvVrYs0mbcl8w= X-Received: by 2002:a05:6000:104d:: with SMTP id c13mr11584427wrx.232.1622304242455; Sat, 29 May 2021 09:04:02 -0700 (PDT) MIME-Version: 1.0 References: <87bl985b3h.fsf@nicolasgoaziou.fr> <87wnrhzi3o.fsf@nicolasgoaziou.fr> In-Reply-To: <87wnrhzi3o.fsf@nicolasgoaziou.fr> From: "Bruce D'Arcus" Date: Sat, 29 May 2021 12:03:51 -0400 Message-ID: Subject: Re: [org-cite, oc-csl] print_bibliography options To: "Bruce D'Arcus" , Org Mode List , =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622304288; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TQ2Z4fCZe9+mLCiWTtHLRAcMjF4wWRBxdLC6upQRY/8=; b=Efw9v1WgrOJZBWdOpMYqQAujeyCO/NC1vomfeqqUb0D/NLFQKW6whQkrhnyOYjxwJlTuka UobxxMHdfeVPqwLBYvfi+eeTwcPYk75d25WUpJIkRh/FgbLDNtwa72OPyC0ZRsuzG0e6OO h9ZJ6kaaQ8XTs52FXJXfNAFm/Sf+Pu+Olagw9oAJPpfnvnrY4ZWEeWLA27ZKTbVF7iLCjf +jQqXTUvl97ffMfpqhGQFSkpIgT3AyXNnFL6t3lqX917osZqseems2KAMICQ2zvdlmtxdS wC30nt8yOePsTt6odzE45rzR85QI/hqp/TG0cpwYtD0Ff0RLsniYu9AI333abg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622304288; a=rsa-sha256; cv=none; b=Ji2+nsFpUrWvTkHS2xLjdH4g5OstqrLETcZQyCIglsLbTk6GjcImgDZfBliE90GmMyrA+Y 3G9oDNGq7ht14i+shTbyf101Vt1gQZOJHMUKciL9iiLzM+u022EcnR5FtNValvjsbUcKG7 +RsUUIVEy0JTScgqeCKRJ2lnKIER8K3zcY8Zv2CYvevW7cdDzWwVPndqqXQryUupdcy1+2 UHqOMBkdt8oE0XJPOD71p99uOcTmbg5aZ4AwCchRbSh2HEsVvQ2x7SoF9RVfinRYBUnCqq KeBySkR8nu0q+UxUNLFooI9jweskOAHKk4CGo7N9Ln0lLE2+UorUVViZ0Z4n6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="IquDiq/U"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="IquDiq/U"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 6DDA41C1F2 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 73sgK3C37yOZ On Sat, May 29, 2021 at 11:15 AM Nicolas Goaziou w= rote: > > Hello, > > "Bruce D'Arcus" writes: > > >> Bibliography is printed using "\printbibliography" command. Additiona= l > >> options may be passed to it through a property list attached to the > >> "print_bibliography" keyword. E.g., > >> > >> #+print_bibliography: :section 2 :heading subbibliography > > > I don't believe citeproc-el currently supports any of these features, > > and it looks like the citeproc-el API doesn't even have an optional > > parameter to put details like these. > > > > As a consequence, if one adds an example like the above, so that one > > has two print_bibliography lines, one will get two, duplicate > > bibliography lists outside of oc-biblatex. > > I don't understand how you reach that consequence=E2=80=A6 If the citatio= n > processor does not understand the properties, it simply ignores them, > but obeys to "print_bibliography" directive anyhow. > > Have you tried it? I'm not sure to understand your concern. Yes. I think we're saying the same thing, but maybe I need to clarify the implications better? See below. Let me illustrate with a full example, where the @einstein entry has a "keyword" field of "primary." The use case is a user wanting a bibliography with two sections, which is a common case for this feature. Note that I am unsure of the exact invocation to achieve this with biblatex (as in, it's probably wrong), but I don't think that matters to illustrate the point. >>>>> #+language: en #+bibliography: test.bib #+cite_export: csl 1. simple: [cite:@latexcompanion] 2. primary source: [cite:@einstein] 3. affixes: [cite/text:see @latexcompanion chapter 2 p.23] 4. quote, punctuation: =E2=80=9Cmy quote=E2=80=9D [cite/text/caps:@latexcom= panion]. * Bibliography ** Primary Sources #+print_bibliography: :keyword primary :title "Primary Sources" ** Secondary Sources #+print_bibliography: :title "Secondary Source" <<<<< Here's the output from oc-csl: >>>>> 1. simple: (Goossens, Mittelbach, and Samarin 1993) 2. primary source: (Einstein 1905) 3. affixes: (see Goossens, Mittelbach, and Samarin 1993, chaps. 2 p.23) 4. quote, punctuation: =E2=80=9Cmy quote=E2=80=9D (Goossens, Mittelbach, an= d Samarin 1993). 1 Bibliography =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 1.1 Primary Sources =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80 Einstein, Albert. 1905. =E2=80=9CZur Elektrodynamik Bewegter K=C3=B6rper.= (German) [on the Electrodynamics of Moving Bodies].=E2=80=9D /Annalen Der Physik/ = 322 (10):891=E2=80=93921. Goossens, Michel, Frank Mittelbach, and Alexander Samarin. 1993. /The LaTeX Companion/. Reading, Massachusetts: Addison-Wesley. 1.2 Secondary Sources =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Einstein, Albert. 1905. =E2=80=9CZur Elektrodynamik Bewegter K=C3=B6rper.= (German) [on the Electrodynamics of Moving Bodies].=E2=80=9D /Annalen Der Physik/ = 322 (10):891=E2=80=93921. Goossens, Michel, Frank Mittelbach, and Alexander Samarin. 1993. /The LaTeX Companion/. Reading, Massachusetts: Addison-Wesley. <<<<< So two duplicate lists. Does that clarify? The other common case I am familiar with is a bibliography per section of a document. It may not be practical to do anything other than current behavior, but I was hoping some biblatex experts might have some thoughts. And, of course, wanting to flag this for Andr=C3=A1s to think about, since ideally citeproc-el would support this. Bruce