From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MBF7EZVoG2ZSUAAAe85BDQ:P1 (envelope-from ) for ; Sun, 14 Apr 2024 07:24:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MBF7EZVoG2ZSUAAAe85BDQ (envelope-from ) for ; Sun, 14 Apr 2024 07:24:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=LRdciz+d; dmarc=pass (policy=none) header.from=gmail.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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713072277; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Wc0HOm3hh5EzUyOJSk+j5G5y0c/t7BpPQfJ1SnhxgcU=; b=VMuoVSF/fdC4DXR6D30ZnZSry3d45qA0cfytykChzPClSlj92GPC4Yvxny9tBhPixImEoQ yiEqRhCLJVYB6w5RTba00pq71mqEG6HAZVp8SlZRH+NK6hsds32VpBgaPL5Y3M3LdHylY2 4wAelODDyF1SGPsm9Kqzbr+N1HajvpOMden6CQOqGWZ/Gilai4uzXQhIJ1V0eE/ATh4c83 qEUhjubeFtZ4oJwNeBwQZb5T3VEh5mo1XOxRBTB47mjHyAaQJanLfHumV/50dpL/l5gTh9 k1LvRLX94vSdQ1ThU3SlWmiriSZ1qUm2smN6ADNP+pwgauLUq6AKWinZTWlsNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=LRdciz+d; dmarc=pass (policy=none) header.from=gmail.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=1713072277; a=rsa-sha256; cv=none; b=DPvfKHI9Y2dQo+aqK8C5XMvAmBokB6vtRycrkyxr8NiJQemyixpRpPNg9B55pbrqyQZ4Yx nE09EoYqMEYFEw4NSEiXOUVl4E7YLlRXymM+km8bYSnGv/A9QoHcBXIg7F2z2ZSMFOQQgl juqeFufwgph1BEOwFDCva68zAr7BhF0dnROS9Rbk/oRjgoXd4uPZsdsBlwMHZIuFNpAPyt WhRp49ohJmbVpF3Vkky+o+myolmcPCsCZiQ4cxTXpgbZY7EBqo/k4kcftScjJgc3SAyV0R wcgPjExCcRm669PmRi/ozXzYazBpkBtVCVALCHlzreg09xIMuwjOQR7sCPjG6Q== 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 8B037E35C for ; Sun, 14 Apr 2024 07:24:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvsL1-0002A7-Hr; Sun, 14 Apr 2024 01:23:35 -0400 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 1rvsKs-000281-Nw for emacs-orgmode@gnu.org; Sun, 14 Apr 2024 01:23:28 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rvsKq-0005Yx-4J for emacs-orgmode@gnu.org; Sun, 14 Apr 2024 01:23:25 -0400 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-56c5d05128dso2005297a12.0 for ; Sat, 13 Apr 2024 22:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713072202; x=1713677002; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Wc0HOm3hh5EzUyOJSk+j5G5y0c/t7BpPQfJ1SnhxgcU=; b=LRdciz+dgwwJv7GDHdcJm3jvZUTxlyXGDJ6IQ63BjJO3WYnFbNHEfVxmTiCiC7S1x+ jCGgvYmL9AYamCL92cbR4ViTQ6Mrsb+Rur6AF0qvQ0+lSm/QmqB5uuvqZGdqMnNiBZxv AxaCaUfx+H2sFb+GswFVSXBMLBUFcc9mnpeucnpqckrMSNWSZNzhieAz1/JjjMFMd7O+ 72cMj+fCdelbtO6jyMZTII/6ewpyXUXH5/wSvgJLiA2jmOb061C5vkqc5oRP4qoZstKX vGnF0vL0AItxGC5YXakEc4dqJ3GxNEmRnXT2t3v341DlImjYasNmBKSixrYphQXWuijY wSZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713072202; x=1713677002; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Wc0HOm3hh5EzUyOJSk+j5G5y0c/t7BpPQfJ1SnhxgcU=; b=pf1LFPwa9Z3qcdEx6db1AJnTk9TnwYBuw+uHcxYwT+J5QbGehSQLsEA/RtDOW5OAWG LYjpcFhVC9gm8JhnhKLqx2rn74kt1sTwAlvU4vb1cyiUTZ1GLQBjA5PeCVmaKFvDNbHt TSk/wO6GlalJ1olOyfXl1B4aveQ6m+StXP3d7Ma7S667zoNdipv1kuuoCIjQyuMe+Hvh 3df8GcDyhx2Z03aO9S09XCTvoCpwcDL8e4HkVpono5jZTvVD+mhEFfp768lBLW5eLSX7 esJGoTSCuiUmlKMKnAGwkKuMWsZZiCRhVctv/acChjDg3XOgNm6Fz3NN9JYOJ3pEi1c2 elUQ== X-Gm-Message-State: AOJu0YxZfbhAQdCNxDoDX8yMhHUtrE/I2ob6RsfAWOWk5bbgnVoNU4i6 LsTMzHRGLZPrgau8J7Dz0LgBspkzPGudjPVqsW+Qp7p5+ad2WLraKAk7vghRPMhbEU+gwhK4Nc2 PEvSfZc902+QpuEchI4/gFqQ68j/fTA== X-Google-Smtp-Source: AGHT+IHx0hivLWuanJtwUGWSv73i1pXV3lzNcFidVRs0kWwrhqeEejQtMg951PTg+Xu+9+LF0LxBnp1OB1wSAlaSB04= X-Received: by 2002:a50:ab11:0:b0:56e:99e:1fac with SMTP id s17-20020a50ab11000000b0056e099e1facmr4356615edc.39.1713072202246; Sat, 13 Apr 2024 22:23:22 -0700 (PDT) MIME-Version: 1.0 References: <2E7CA21A-ADA7-49EA-89BF-784045D1F777@gmail.com> <87ttk5bads.fsf@localhost> In-Reply-To: <87ttk5bads.fsf@localhost> From: Pedro Andres Aranda Gutierrez Date: Sun, 14 Apr 2024 07:22:56 +0200 Message-ID: Subject: Re: PATCH allow explicit style= in #+cite_export: biblatex To: Ihor Radchenko Cc: Org Mode List Content-Type: multipart/alternative; boundary="00000000000016f212061607b4c5" Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52f.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, HTML_MESSAGE=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.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.17 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -9.17 X-Migadu-Queue-Id: 8B037E35C X-TUID: l8e9daRCHrxB --00000000000016f212061607b4c5 Content-Type: text/plain; charset="UTF-8" Hi, Maybe not... because style= is a keyword for the biblatex package, while bibstyle or citestyle aren't. Best, /PA On Sat, 13 Apr 2024 at 16:32, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > HI, > > Attached is a small patch to allow explicitly adding style= in the > biblatex export options, to increase consistency with > > Customisation variables. > > Thanks! > > > (style-options > > (cond > > ((null style) nil) > > + ;; allow the user to include "style=" anywhere in the style > options > > + ((string-match "\\(^s\\|,s\\)tyle=" style) (list style)) > > ((not (string-match "/" style)) (list (concat "style=" > style))) > > (t > > (list (concat "bibstyle=" (substring style nil > (match-beginning 0))) > > If we allow style=..., may as well allow bibstyle= and citestyle=. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --00000000000016f212061607b4c5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Maybe not... because style=3D is a = keyword for the biblatex package, while bibstyle or citestyle aren't.= =C2=A0

Best, /PA

On Sat, 13 Apr 2024 at 16:32= , Ihor Radchenko <yantar92@posteo= .net> wrote:
Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> HI,
> Attached is a small patch to allow explicitly adding style=3D in the b= iblatex export options, to increase consistency with
> Customisation variables.

Thanks!

>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (style-options
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(cond
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ((null style) nil)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; allow the user to include "= ;style=3D" anywhere in the style options
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ((string-match "\\(^s\\|,s\\)= tyle=3D" style) (list style))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ((not (string-match "/&q= uot; style)) (list (concat "style=3D" style)))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (t
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(list (concat "bib= style=3D" (substring style nil (match-beginning 0)))

If we allow style=3D..., may as well allow bibstyle=3D and citestyle=3D.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>


--
Fragen sind nicht da, um bea= ntwortet zu werden,
Fragen sind da um gestellt zu werden
= Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should ru= n a leader-deposed hook here, but we can't yet

--00000000000016f212061607b4c5--