From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id oEZpKJxfpmC+rQAAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 20 May 2021 15:09:48 +0200
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id MO0OJJxfpmBPXwAAB5/wlQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 20 May 2021 13:09:48 +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 EBE3820F49
	for <larch@yhetil.org>; Thu, 20 May 2021 15:09:47 +0200 (CEST)
Received: from localhost ([::1]:34766 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 1ljiQt-0007Vy-4T
	for larch@yhetil.org; Thu, 20 May 2021 09:09:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41782)
 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 1ljiQ9-0007F1-Cm
 for emacs-orgmode@gnu.org; Thu, 20 May 2021 09:09:01 -0400
Received: from mout-p-201.mailbox.org ([2001:67c:2050::465:201]:14270)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <denismaier@mailbox.org>)
 id 1ljiQ1-0001Ru-LB
 for emacs-orgmode@gnu.org; Thu, 20 May 2021 09:09:01 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241])
 (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-201.mailbox.org (Postfix) with ESMTPS id 4Fm96V6HyTzQjBM;
 Thu, 20 May 2021 15:08:50 +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=1621516128; bh=Iadf8MMs2dlg
 klVRninnWL2nj8AKvgqAm4e4pNkbE4A=; b=kIcViUa1v0H2WsmavAGgFg0wAATW
 q9CG+ILtp6CpwJv0Q0usMeX1HWOCsj8L6V44z8xP5GrjKf17Mc2P+9jrbkg9wRF5
 jla2TGZ3BE9eXLsLUxps5Ut3hn9Z+lcMOJQDsGxGbjWCuKpfQ9oBxGFm87fQpZpO
 P2P0zkGlOUU73/zAy31tTindgHdpfD6WpcQCBeaNFrZxS5Eew2vGaFog4DHEqFzA
 5n8FvsusGshr52Y0mdSbimUAIoJ2BxEUR2GX/3Fj7UXgDxRkj0aAdjQO9Z/jBB40
 HAjvgSRuh3VX+t5aaMPLbI8Bv3zrftRl+IDbaERd7gKFCBTEmJ7r6bwoow==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1621516129;
 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=Wx6igqEuRzXAozvL+wbDzgbc1J3k48WF9u5b07PF1Rk=;
 b=JsHngGatzr7whlR0vjzjJKoXY+PmQ/1nYn7lcf3TTjs/TW71PO45QOLi3owycjMR7WP163
 OWlRf75vmHn11rqCSgsVoKIvkYPCZ828RWuEiT7Q6FlpNjcZlgn0fVcReTx13CFHvLe5dx
 v80qK6565svSegi9IPIX3q+x8eDyOb5CdPVJoZPspuSIGrwBjV9nyyQXVJNflbTk/MeSl+
 vxrf3RerIAZuZ0MFqbML6alLUYe7UpMp2hIe949mZ+HXA53A4fA0LX0+q52reGmJo9znEs
 idnRKLaSUDVwxnEqkBXIySwbYv6EAeZ2B9/5paXYczfcxhg1Ch6rR9vQBZ6cfw==
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp2.mailbox.org ([80.241.60.241])
 by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de
 [80.241.56.122]) (amavisd-new, port 10030)
 with ESMTP id DqKUQyVgsrcB; Thu, 20 May 2021 15:08:48 +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>
From: Denis Maier <denismaier@mailbox.org>
Message-ID: <dede33d6-c937-3827-a201-a2cc91fd0e97@mailbox.org>
Date: Thu, 20 May 2021 15:08:49 +0200
MIME-Version: 1.0
In-Reply-To: <CAF-FPGOZNo4tnj3Zt0CRufm9GN2uVhoujzhve-gmUPZwFR7cqQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -3.93 / 15.00 / 15.00
X-Rspamd-Queue-Id: 0068117FD
X-Rspamd-UID: d7e916
Received-SPF: pass client-ip=2001:67c:2050::465:201;
 envelope-from=denismaier@mailbox.org; helo=mout-p-201.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=1621516188;
	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=Wx6igqEuRzXAozvL+wbDzgbc1J3k48WF9u5b07PF1Rk=;
	b=JgxwS0SNxkoby6xFLrqkMpL3cGn9wDcRvTXV3J53w7uzXZt7Z4vr6ERTALm77c4iXsva/8
	XMQK/tMrxwUBnv/2K/P84sMwGLmowYoz3JVhL4RUhq8H0hQT6A0OD/ILeSZNrjjKd6N+6M
	VpIH1KvZRkNCgxS1TXify/c7IBxGAr39C1rRYSy2bkVePR8mQ3K2/rF5kYrKgntoX3F1HH
	VB1NyeJrcPzpaGle39TEldPc40qAaCF3uSHzDzGU5/XQoAsdOWaA+EB2L0ngavasPoa2I7
	oYCeIGblBIgnQ76xxjdfW72HmNawWfhKdQc38eNcTXfF7RyuUINSIz7CMaeRrw==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621516188; a=rsa-sha256; cv=none;
	b=pSvEYRBWF7QyVqeBtQcjigHgTtnbDRAv/OxO4N8KDgDh0EY4H0PmR5fOWjJwCVy/cMbTkt
	ow9MXKCu/BgWV+xnJjnJy3/gcn4kuoo74GjIKWZFgpAHKCGABjHql4ov1a5wPahYc4A3aj
	7eJ8sXLfZv0jfRuJ4g7IHUkwxnpDY3TyM/lOp+s5ufqSaB2B5czo/woPuGvWcQfCwgvZvJ
	GT5/6QeQcf27YrYLJ4SSngZ1v8j/mdSiAZlyoZme4mlBJ+jgYCS1srBO+Gg5O7r2Rb16eA
	WSXXLiFk4SH+1lOYFrgLOYTgjLHXPBedSaPlwBkJ4Y2w24ujxWCm/TElCn8OLw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=kIcViUa1;
	dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=JsHngGat;
	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=kIcViUa1;
	dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=JsHngGat;
	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: EBE3820F49
X-Spam-Score: -3.14
X-Migadu-Scanner: scn0.migadu.com
X-TUID: 5/GBXL652AlT

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:
 >
 >> Could be, but also [cite/text/bare] or cite/foot/bare or cite/super/bare
 >> as they all are essentially just wrappers around the plain cite command
 >> (textcite is a bit different, but parencite and footcite really have the
 >> same definition as cite, the only difference being that they add some
 >> kind of wrapper.)
 >> So, starting from parencite and then removing the wrapper would my logic
 >> instead ;-)
 >> 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".


 >
 > 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.
But anyway: My first suggestion was cite/bare, and the reasoning behing 
that was:
cite: is equal to cite/default:
cite/default is equal to cite/auto
cite/auto is equal to cite/parens or cite/note
cite/bare could be understood as cite/auto/bare, which is cite/note/bare 
or cite/parens/bare

I just don't really like the notion of first adding a wrapper just to 
remove it afterwards.

 >
 > If yes, I need to think on this more.
 >
 >> |-----------+---------------+--------------|
 >> | parens    | noauthor-caps | Parencite*   |
 >> | parens    | noauthor      | parencite*   |
 >> | parens    | caps          | Parencite    |
 >> | parens    |               | parencite    |
 >> |-----------+---------------+--------------|
 >> | plain     | noauthor-caps | Cite*        |
 >> | plain     | noauthor      | cite*        |
 >> | plain     | caps          | Cite         |
 >> | plain     |               | cite         |
 >> |-----------+---------------+--------------|
 >
 > Second, I don't understand some of the above.
 >
 > Why "noauthor", for example? Is that not handled currently with a 
"year" style?
 >
 > cite/year/caps
First of all, what does capitalization of a number mean? There's no 
\Citeyear in biblatex, after all.
But that aside, \citeauthor, \citetitle and \citeyear are lower level 
commands than \cite*{}.
\cite* will work in author-date styles and in author-title styles. It 
will either print the date or the title. When using \citeyear directly 
you cannot easily switch to a different style. And: citeyear etc. don't 
use the internal trackers (ibid., idem., etc.).

#+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.

 >
 > 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.

Perhaps we should start thinking from the high level commands:

| CSL             | biblatex                            |
|-----------------+-------------------------------------|
| default         | autocite (=parencite or footcite)   |
| in-text         | textcite                            |
| suppress author | autocite* (=parencite* or footcite* |
|-----------------+-------------------------------------|

FWIW, footcite* does not exist in all styles, so it will just behave 
like the regular footcite.

Denis