From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IH55KeJn32NXzAAAbAwnHQ (envelope-from ) for ; Sun, 05 Feb 2023 09:25:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8L+ZKeJn32P6EgAAauVa8A (envelope-from ) for ; Sun, 05 Feb 2023 09:25:06 +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 3F62CFF44 for ; Sun, 5 Feb 2023 09:25:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOaJc-0003t9-Rf; Sun, 05 Feb 2023 03:24:00 -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 1pOaJa-0003s4-B7 for emacs-orgmode@gnu.org; Sun, 05 Feb 2023 03:23:58 -0500 Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOaJX-0006BB-P4 for emacs-orgmode@gnu.org; Sun, 05 Feb 2023 03:23:58 -0500 Received: from hologram (hologram.co-bxl [10.2.0.17]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id E6EA8437 for ; Sun, 5 Feb 2023 09:23:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1675585431; s=20210208-e7xh; d=mailfence.com; i=edgarlux@mailfence.com; h=Date:From:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; l=2336; bh=ktrh1LpT7Ig9uXtrRXBu6mAXkexQq/iBZOAAEeQe2fg=; b=zOVlPnjj2TvtByjbtia4M+bdnPJYYVYybH0QxM7gOOAeU3rEgdEAp+kmMCu385Bk uQ674zvKQ1Q1X3uzwdQjasq96AshJTS7i5GlkJNrB903GTNfe613gDUsFgbaYwM5qyP xmpRtcOGiGgFLu8LWYodycLXtwHy+berSwX6yRiKsHL8aFk8dSR02OJrNfbezwS/msL eWZfYD4Ck0LK8Z4loBnRpe14tVvisGYBJqsmrH+kGgYgzJndfE72ftdQPEXXMyxPE2g /8RLbwLAQX5tdJUMQiryQBkYuarfhHGspwnALZ/PA3VO36Be0eRwkCfRw/6DyUN4Gnf QkJlpHT7Uw== Date: Sun, 5 Feb 2023 00:14:59 +0100 (CET) From: Edgar Lux To: emacs-orgmode@gnu.org Message-ID: <410672479.277068.1675552498838@fidget.co-bxl> In-Reply-To: <87ilghfyzs.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> <746321315.112536.1675416834079@ichabod.co-bxl> <87ilghfyzs.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 X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:195124330 Received-SPF: pass client-ip=212.3.242.97; envelope-from=edgarlux@mailfence.com; helo=mailout-l3b-97.contactoffice.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, 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=1675585506; 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=ktrh1LpT7Ig9uXtrRXBu6mAXkexQq/iBZOAAEeQe2fg=; b=deicemS3+oxnnPLeMK4GNakKH0a6kFFxtboaVYua0mTIg5cbjoU9MarA4aOAnkcE8HP/tk 6OaI5PBt7oFc2KoN3YY3wdJpTopb8OQXTpn0Qu/h8E+UpCqMzqpXPakh4TLba2+LNp4YwI 31BDSGBSza/F1I2FRyZtvOnIDL4bj12XcbK2sRJuA/ryb3D525vqKglb/yOjnwGBhdwavE 6Cqdbtd5/oNtkAPyugB6ywPHoUT+ekEEB8+hxMKjQcYPCv/IzCwhfPK2xJaaKLMBZDVxnk S2dApuJghsGA/OpxtPba46Z5haxF8SU4sye4+RsYu+J71oKWqRE0MEldBu2VFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=zOVlPnjj; dmarc=pass (policy=quarantine) header.from=mailfence.com; 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=1675585506; a=rsa-sha256; cv=none; b=fpo84KkQecjiFLi23hdH9OO6ERymRtWzA44u//tUx1JNPsVhv1UIFm7TF/iY8feZMWU1ap 58mECfE1UDPSJas4kDWmxyP+smJNZj5anbp1HMdINlILbj172G5Frrbgs4Tp696s88XljQ XjWUeY4iQXtjK2lfSuEmgcG+QCItbtSVOWMc6hFibmFAlIOc04EwX1CsRhcQqGcaVZkHhL x+rH9YDwx1pP0SNoVTOUYQWesfWM+f91bvzivajacj8hEjpkscI9TEEus7Ou7YcNOQTqpk xVUAIm2r6dIhTcCb9NXGKix1/QbKhgMp9ZfWRdgWjHI4Nit9HFbXq+6k2HDDiA== X-Migadu-Queue-Id: 3F62CFF44 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=zOVlPnjj; dmarc=pass (policy=quarantine) header.from=mailfence.com; 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: -7.90 X-Spam-Score: -7.90 X-TUID: TZJX8U4W9Eft Dear Ihor, On Feb 4, 2023 at 12:31 PM, Ihor Radchenko wrote:Edgar Lux writes: > For example, ... the proposed idea is > a bit awkward: > > ... > #+cite_export: processor[opt1=val1,opt2=val2,...] bibliography-style[...] > citation-style[...] > > I assumed that there is one "major" bibliography-style/citation-style. > However, it is not really the case in practice. The styles are combined. First of all, I quickly glanced at the other citation processors, and they seem to have been implemented with a different design in Org. This *may* have to do with biblatex being more advanced (disclaimer: I'm not saying that it actually is, it's a possibility only). If the idea is that all processors are going to get the same syntax, I think that the implementation may not suit one of them. At that point, it may be that the filters will have to be adapted to specific processors in contrived ways. This of course will be much dependent on the choice of processors chosen to be supported by Org. Some other groups may decide to implement, for example, the JabRef #+cite_export (this does not imply that JabRef is a citation processor, it's just a colourful example). > For example, adding links to bibliography to citations is applied > regardless of the particular citation command being used. > > So, I am not leaning closer to only allowing options being passed to > "processor", but not to styles. This will at least come closer to > certain settings being citation package global config applied to > everything. If we have options applied to specific citation commands, > they will rather fit into citation-style/sub-style. > > #+cite_export: processor[opt1=val1,opt2=val2,...] bibliography-style > citation-style If it were me, I would consider just having the options as =#+cite_export: processor :options "anything"=. If the bibliography-style is important for the user and processor, may be default values can be provided; and let the user read some documentation option which are needed to run her particular processor (provided by them, not necessarily Org). Again, being completely honest, I don't think that you should put a dummy (like me) making these very relevant decisions. -- Sent with https://mailfence.com Secure and private email