From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MFVvH5Yp3WOQLAEAbAwnHQ (envelope-from ) for ; Fri, 03 Feb 2023 16:34:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uCJRH5Yp3WMWEwAA9RJhRA (envelope-from ) for ; Fri, 03 Feb 2023 16:34:46 +0100 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 181EDFFD2 for ; Fri, 3 Feb 2023 16:34:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNy4Q-00013T-Le; Fri, 03 Feb 2023 10:33:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNy46-0000vs-LM for emacs-orgmode@gnu.org; Fri, 03 Feb 2023 10:33:28 -0500 Received: from wilbur.contactoffice.com ([212.3.242.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNy43-0007NF-UK for emacs-orgmode@gnu.org; Fri, 03 Feb 2023 10:33:25 -0500 Received: from hologram (hologram.co-bxl [10.2.0.17]) by wilbur.contactoffice.com (Postfix) with ESMTP id 8B61222A3 for ; Fri, 3 Feb 2023 16:33:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1675438397; s=20210208-e7xh; d=mailfence.com; i=edgarlux@mailfence.com; h=Date:From:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:To; l=2925; bh=1n8zMHS1PTEJj9+6BSnnP3xqP0SzLLHEobBm43sl3NM=; b=reTVD6AN9nyY4g8Peh44b8v+wcvuRKhl/Y8gmF+D5VJ5w+cUqzgTVkm2UCxMR+R5 Bxq2Y89A3WkRXTJRYiw2dfrxARclKqy8hx7AeHwsckRZvFdvg3kUfYGic9iP65vsfts ikPJfOfqjFu/DgEOIdu5AS+CjzEuKA3hWwTflniME0GY31J1l708PG6n7q4DXtsrqtZ 9Q+34MsbWyJst63m1Mm8+CmkMP78zfaHYelrsoPOXBQVou97cgHs8/A2jDmM/RVSbRt tAkt9HBu7g0VUk/nzdHrM0knavJOvvT4qj+/TZNwB1WVREVfgxF6F8w+Kd+M04YylWd +5XxeNypbA== Date: Fri, 3 Feb 2023 10:33:54 +0100 (CET) From: Edgar Lux Message-ID: <746321315.112536.1675416834079@ichabod.co-bxl> In-Reply-To: <87fsc05hkl.fsf@localhost> References: <795525985.881228.1674077475456@ichabod.co-bxl> <87cz78qo5d.fsf@localhost> <101392154.966532.1674332749371@fidget.co-bxl> <873582om65.fsf@localhost> <865655434.1045612.1674415160995@fidget.co-bxl> <87tu0h5x33.fsf@localhost> <1897723911.54727.1674507511254@fidget.co-bxl> <87fsc05hkl.fsf@localhost> Subject: Re: [BUG] #+cite_export: ... bibstyle citestyle cannot be universally used as global defaults (was: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: emacs-orgmode@gnu.org X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:195124330 Received-SPF: pass client-ip=212.3.242.68; envelope-from=edgarlux@mailfence.com; helo=wilbur.contactoffice.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675438486; 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=1n8zMHS1PTEJj9+6BSnnP3xqP0SzLLHEobBm43sl3NM=; b=b2MRCRhF1SsVgVMtvVR/9MVqHV2PvHF94K2B0vg0Vtr0qp6PIIo7Ve9eevfeZoNIo0V0aO sCDJvIbmuC7CQbO3i/KBRG7D9WvIjSZaaPRMYx84iFn7FmA+bKHHhr2PZrtL8dDputhEmD aHpBHS45ArdLzq1iJyAV5/wSIWTUjWaVPWXcq3WtPfIB5NHYrch8ONoynQ2avMbiwRjCUU XTsTfvLpkgF6EfwNSRsDiD874blIbmxuOqwdgQ6AwNDm+d6Z3k+7ehPsxwmowuAu6JpTLS m58RjmsskIoxet5+trK01Tb2iQBPsho3e7+NbuGCh50ZIxYUMzEY6TuCWdz9gA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=mailfence.com header.s=20210208-e7xh header.b=reTVD6AN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mailfence.com (policy=quarantine); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675438486; a=rsa-sha256; cv=none; b=oKK3ZJgljMFifJ+zHOyJ7FMPCqEmCvZtAdS9BC7z8rhS8elVsbOOWQFicVT+WgwqmlK2KZ tUmrYDXEXFWDw8lkyKnN20Cwqk3woAlvpfs2oEl+GbKHa+2++yheTz3sS9qYzq+UHmL2jQ zEq/1cXu94ilH87Kuy456SMpDgLY2b2F+0qKpPYTXG57OYFJwO0U/qEFTUKKztgWvbMa+9 vQySn25/3qPfUloaFVNjBRVVzG4hD3q6eI3EL31f5FQjfCe7bdzNsJ42TZv8i1rhVnlAHO LFatXjkcnsBplMASPzjgO2QpaUcUzMapVToEcBcnxu1jqR8OIV+fIbi4FHz43w== X-Migadu-Queue-Id: 181EDFFD2 X-Migadu-Spam: Yes X-Migadu-Scanner: scn0.migadu.com X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=mailfence.com header.s=20210208-e7xh header.b=reTVD6AN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mailfence.com (policy=quarantine); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.00 X-Spam-Score: 6.00 X-TUID: dIPKApDbSiRu On Jan 24, 2023 at 11:54 AM, Ihor Radchenko wrote:Edgar Lux writes: > I understand. My takeaway from here is that there is a need to provide > extended global defaults for both bibliography style and citation style. > > Which is a questionable design choice. I was referring to higher-level > docstring for `org-cite-export-processors': > > (NAME BIBLIOGRAPHY-STYLE CITATION-STYLE) > > There, NAME is the name of a registered citation processor providing > export > functionality, as a symbol. BIBLIOGRAPHY-STYLE (respectively > CITATION-STYLE) > is the desired default style to use when printing a bibliography > (respectively > exporting a citation), as a string or nil. Both BIBLIOGRAPHY-STYLE and > CITATION-STYLE are optional. NAME is mandatory. > > oc-biblatex simply deviates from the global paradigm, making oc-biblatex > special compared to other citation processors. Not ideal. > > I think that we have a fundamental design flaw with org-cite: > > #+cite_export: processor bibliography-style citation-style > > introduces: > > - default bibliography style set document-wide > - default citation style set individually in every citation via > low-level commands, BUT NOT GLOBAL DEFAULT CITATION STYLE. > > Basically, CITATION_STYLE cannot currently affect document preamble by > design. > > That's why awkward workarounds in oc-biblatex, where default citation > style can be set globally, and we have to attach citation style to > BIBLIOGRAPHY_STYLE keyword. > > I suggest the following changes to the org-cite: > > 1. :export-finalizer should accept export processor triplet instead of > bibliography style as 4th argument. The assumption that only > bibliography style is required to finalize the export is clearly not > accurate. > > 2. Allow passing extra arguments in #+cite_export: > > #+cite_export: processor[opt1=val1,opt2=val2,...] bibliography-style[...] > citation-style[...] > > The options listed within the square brackets will pass extra default > options > to the processor/styles and used as needed by citation processor > implementations. > > WDYT? > -- > Ihor Radchenko // yantar92, > Learn more about Org mode at . > Support Org development at , > or support my work at Dear Ihor and Org mailing list, I wanted to answer last weekend, because I had the intention to contribute a little in terms of code. However, I was very busy, and I will be very busy this weekend as well. All in all, the idea sounds great. I appreciate that my opinion is taken into account, but I know very little about citation systems. I was only a bit concerned about the effort which is needed to implement the changes, as little as they may be. -- Sent with https://mailfence.com Secure and private email