From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp1 ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id mEe9MP9qpmBdxAAAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 20 May 2021 15:58:23 +0200
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1 with LMTPS
	id yA9gLP9qpmAkOwAAbx9fmQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 20 May 2021 13:58:23 +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 A132C21E5B
	for <larch@yhetil.org>; Thu, 20 May 2021 15:58:22 +0200 (CEST)
Received: from localhost ([::1]:45604 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1ljjBs-0004wl-Fj
	for larch@yhetil.org; Thu, 20 May 2021 09:58:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53894)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <denismaier@mailbox.org>)
 id 1ljjAk-0004tR-90
 for emacs-orgmode@gnu.org; Thu, 20 May 2021 09:57:13 -0400
Received: from mout-p-102.mailbox.org ([2001:67c:2050::465:102]:31330)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <denismaier@mailbox.org>)
 id 1ljjAd-0006GF-Ft
 for emacs-orgmode@gnu.org; Thu, 20 May 2021 09:57:08 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org
 [IPv6:2001:67c:2050:105:465:1:2:0])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4FmBB33fcgzQj5F;
 Thu, 20 May 2021 15:56:59 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h=
 content-transfer-encoding:content-type:content-type:in-reply-to
 :mime-version:date:date:message-id:from:from:references:subject
 :subject:received; s=mail20150812; t=1621519016; bh=FQkZgt3o9mUW
 uFg2+kW7AIVP4mJUslZ1k4MR7Hd3Ot8=; b=TiiDIeEsRuh1aiuugBYaRkQtn//b
 ibxS/GdpCeEk8EqDrns+FdCgcutT+IT1MnIYhyMplIOKEfUsayifarTbacv0b95I
 nXzNGvjnEpScOadA6ZMwSLOGZWzvkf6GMCPXkZLZsyRQxSRxweBlMrFp95DawOBT
 WRAiSjeh4BDVfcchJKP9tyhItHL9VJhv4h7uvSo4NuncCNvWFPG8V5nMLnptRsLI
 116pmOV21WUMm1y7p2p+n/cQuuXo4Vex3M5KzBjH2h46y5fA6X4wB+2rCcxPz8k/
 cDyMVv5DunUSzN6369JYBqecOCcvd7Q8SWLiWoLkdl0nsH0rIbkmR/4zNw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1621519017;
 h=from:from: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;
 bh=DqSP9g9AYzmAEYu3TTApWUnxhMsESrnMuJKe7RTvy50=;
 b=ymMciNqUKvJUeA/CLsjjGS3tj6IfNAf0mrrf+Pw28saBm33LR31baXYSYQlCt5gD1jDvxF
 wEMg+xH7CoVBsvwUsrHyT9owuZtJYEMfwy0A9+fh0DOT9L2qoNeKfcuVMgL9Kz2dqIJfEZ
 PCcIroccPKFqP9DXoyCWINNRG3/CCRiFnIWVE17J4ClqA0efFugcRfO/KqEg/Sd4WM8P7W
 r+rafw7kLMDzPKPuOTHojPdw8NHqtwY/uBSVzqpaJXDBDtLGvEMI7JN4zMXVhSly5xGekK
 w4Ytj/0fc8BexYY4BGD/q7RUvnqhhMxBUMcM+NqmNF1AkkmWWKrC6RcpwekHNg==
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp2.mailbox.org ([80.241.60.241])
 by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de
 [80.241.56.116]) (amavisd-new, port 10030)
 with ESMTP id Wtq2ksbax_cp; Thu, 20 May 2021 15:56:56 +0200 (CEST)
Subject: Re: [wip-cite-new] Initial implementation of `biblatex' citation
 processor
To: Bruce D'Arcus <bdarcus@gmail.com>, org-mode-email <emacs-orgmode@gnu.org>
References: <87bl985b3h.fsf@nicolasgoaziou.fr>
 <10eb58b2-5da3-b768-cf56-87aa447346d7@mailbox.org>
 <CAF-FPGOz8bRH602p0hzRDQJF4+YQGMY+ppRyEz4QFfiP=1GboQ@mail.gmail.com>
 <5a23225d-118a-d08e-a1d7-f9fe3791c1bf@mailbox.org>
 <87lf8a4z3a.fsf@nicolasgoaziou.fr>
 <52aade3f-3e8e-bd56-109e-c6cfd9254915@mailbox.org>
 <87mtsq3fy1.fsf@nicolasgoaziou.fr>
 <605c9586-384c-c4d4-d827-f97b1baf7c84@mailbox.org>
 <CAF-FPGOZNo4tnj3Zt0CRufm9GN2uVhoujzhve-gmUPZwFR7cqQ@mail.gmail.com>
 <8959af45-54f3-da9f-5af2-e23a64bebadd@mailbox.org>
 <CAF-FPGP7830CX8qCQeitKRkZSckpNCrjRVyWxLC-KWONJ90e1A@mail.gmail.com>
From: Denis Maier <denismaier@mailbox.org>
Message-ID: <d09020a9-8d8b-8d6a-2892-ecb6869a2d09@mailbox.org>
Date: Thu, 20 May 2021 15:56:57 +0200
MIME-Version: 1.0
In-Reply-To: <CAF-FPGP7830CX8qCQeitKRkZSckpNCrjRVyWxLC-KWONJ90e1A@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-MBO-SPAM-Probability: ***
X-Rspamd-Score: 3.07 / 15.00 / 15.00
X-Rspamd-Queue-Id: 9D5C23B
X-Rspamd-UID: b98d4c
Received-SPF: pass client-ip=2001:67c:2050::465:102;
 envelope-from=denismaier@mailbox.org; helo=mout-p-102.mailbox.org
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
 RCVD_IN_DNSWL_LOW=-0.7, 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1621519103;
	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=DqSP9g9AYzmAEYu3TTApWUnxhMsESrnMuJKe7RTvy50=;
	b=TsVdVsPnleOfWgTg8HOMC681DwHCzHMoVDp+Jt8iXCuD2M03Zmsd/azS/e7tBci2csSewJ
	5PUsz01u3Vu0KQ+9y+kn52y6Hkp2g27K69d2EwizXQ0ncsV/d0CXVoHQJ/uoAjduveC8dj
	tR3T/7SREk3shgJomC714QS0f2nTGIOFD+RWhbdgfdFio42K3qx138ehUIncr3j93TuUxa
	qqt58LW5CSbpfVuxjBEZ8vsF2mWIq7MZrZv08XRv0/Ods8LytjPluiO6uFPGjxgOtELNYW
	DHciHlpthMotehMHKKq108MM4fkzLwHPHwIRKwRG5R/pWlNbKHpw1DDjpLjAYg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621519103; a=rsa-sha256; cv=none;
	b=ddEEEyQhdKH8IG62IYSGfjKRlC9mcLHWmJejlhIMmqTbsvUBBYYd61EtKLjnhdOfZbRwDT
	78DcLspT5ATNeQo6Fcr5w7AASMHbdgTVJWLC67LwYKKqEom0xPLYSL6BsMasj/13R7xKZq
	/Z8ce030nYc2ZWJDYsUsmDdDlt9d7/PDalJ/owMm9ew2bv6WoQ+50lJqcNcPNlKV3JczEd
	wVvSu5SZXyIXORSJzDBfasjdPm/5jVzVHUfZf8kmmuDbKnQ7Pl9y1+mNmoWBSp1sPKsNUK
	7Xbnrrs7LamNghFW4pvZwESgwauD5OaKfhCk5kiy/y9vkGcFLlBG4R9pT5e0jQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=TiiDIeEs;
	dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=ymMciNqU;
	dmarc=pass (policy=reject) header.from=mailbox.org;
	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.14
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=TiiDIeEs;
	dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=ymMciNqU;
	dmarc=pass (policy=reject) header.from=mailbox.org;
	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: A132C21E5B
X-Spam-Score: -3.14
X-Migadu-Scanner: scn0.migadu.com
X-TUID: xZFhSoMLbi/s

Am 20.05.2021 um 15:22 schrieb Bruce D'Arcus:
> On Thu, May 20, 2021 at 9:07 AM Denis Maier <denismaier@mailbox.org> wrote:
>>
>> Am 20.05.2021 um 12:36 schrieb Bruce D'Arcus:
>>> On Thu, May 20, 2021 at 4:18 AM Denis Maier <denismaier@mailbox.org> wrote:
> 
>>>> But maybe cite/plain or cite/basic or so?
>>>
>>> First, are those two suggestions just synonyms for cite/bare?
>>
>> Yes. Nicolas complained about cite/bare so I've thought cite/plain may
>> be nicer. (See autocite=plain) But the biblatex manual uses itself the
>> term "bare".
> 
> OK.
> 
> I don't care; I suggested "bare" because the earlier "alt" was super vague.
> 
>>> Or are you indeed suggesting completely changing the current logic of
>>> these styles and substyles? E.g "bare' substyle becomes rather a
>>> "plain" or "basic" style?
>>
>> I'm not really sure we need bare substyles at all. At least in biblatex
>> it's the basis for the other commands.
> 
> Though see my followup message on autocite config.
> 
> Does that change this discussion?

Why?

[...]

>>
>> #+begin_example
>> At the beginning Doe argues this and that (2020, p. 20). He goes on to
>> say blabla, see ibid., p. 23.
>> #+end_example
>>
>> In order to get the ibid., you'll need a \cite* instead of just a
>> \citeyear or so.
> 
> Shouldn't that example be covered in org-cite by, respectively ...
> 
> cite/year
> cite/bare (or plain)

Hmm, yes. The example was not ideal. Works better in an author title style:

#+begin_example
At the beginning Doe argues this and that (Title, p. 20). Later, Doe 
then says blabla, see ibid., p. 23.
#+end_example

You'd get that with
#+begin_example
At the beginning Doe argues this and that \parencite*[20]{doe}. Later, 
Doe then says blabla, see \cite*[23]{doe}.
#+end_example

cite/year => \citeyear won't work as this will just print the year 
without wrapping it in parentheses. It also won't trigger the ibid. in 
the next citation.
cite/bare = \cite would also work in that particular citation, but an 
author might remove the preceding sentence, which will make the ibid. 
disappear. You will then have a regular bare citation (= "Doe 2020", or 
"Doe, Title") instead of just the year or the title in parentheses.

> 
> ...?
> 
>>> And how would all of this map to natbib and citeproc? >
>>> The style+substyles really should work well across the output formats,
>>> and gracefully fallback if certain variants, particularly in biblatex,
>>> aren't available in other formats.
>>>
>>> Is that the case with your suggested changes?
>>
>> The problem is indeed portability between csl and biblatex (and natbib).
>> I think it's unavoidable that users who use biblatex specific commands
>> loose that to a certain degree. Fallback mappings should be added, of
>> course, but they will only get you so far. We should probably indicate
>> which commands work in all packages so users can make their decisions
>> consciously.
> 
> Yes, it seems highly likely that some of biblatex just won't fully
> work in other formats.
> 
> But ideally we'd limit that.

Absolutely!

Denis