From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2J8ABcvvkl6mEwAA0tVLHw (envelope-from ) for ; Sun, 12 Apr 2020 10:39:07 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4AJyCs3vkl4wGgAA1q6Kng (envelope-from ) for ; Sun, 12 Apr 2020 10:39:09 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 6B9F3682D6F for ; Sun, 12 Apr 2020 10:39:06 +0000 (UTC) Received: from localhost ([::1]:60474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNa0w-0001l0-Mt for larch@yhetil.org; Sun, 12 Apr 2020 06:38:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45806) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNa0A-0001kU-8X for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 06:38:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNa07-0000K7-Mv for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 06:38:08 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:39677) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jNa07-0000J0-Gs for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 06:38:07 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 4DB1E20002; Sun, 12 Apr 2020 10:38:03 +0000 (UTC) From: Nicolas Goaziou To: "Bruce D'Arcus" Subject: Re: wip-cite status question and feedback References: <777184861.71192.1586510991834@office.mailbox.org> <87imi72bn0.fsf@nicolasgoaziou.fr> <1016821769.78551.1586641375789@office.mailbox.org> Mail-Followup-To: "Bruce D'Arcus" , "emacs-orgmode\@gnu.org" , denis.maier.lists@mailbox.org Date: Sun, 12 Apr 2020 12:38:01 +0200 In-Reply-To: (Bruce D'Arcus's message of "Sat, 11 Apr 2020 18:05:27 -0400") Message-ID: <87h7xp0z1y.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.200 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: denis.maier.lists@mailbox.org, "emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -1.01 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.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-Scan-Result: default: False [-1.01 / 13.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.57937495408503]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.29), country: US(-0.01), ip: 209.51.188.17(-0.58)]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[mail@nicolasgoaziou.fr,emacs-orgmode-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[nicolasgoaziou.fr]; HAS_LIST_UNSUB(-0.01)[]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: G0c6gJ8afyWO Hello, "Bruce D'Arcus" writes: > I'm not 100% sure, but I think citet meets that goal also, so Denis' > suggestion might work. I hadn't realised that AuthorInText was a Citeproc(-hs) interpretation of CSL. Anyway, Org cite syntax should: - fully support CSL, - allow changing globally style of cites, - be extensible enough to support =C2=AB advanced =C2=BB citation markup (N= atBib, Biblatex=E2=80=A6), - degrade gracefully when using less advanced markup, - be short enough Here's a proposal for a definitive citation syntax. This syntax implements one default cite command, and specialized (or typed) ones. The default citation command is, as usual: [cite: ... @key1...] with allowed global pre/post strings, and a minus marker to specify SuppressAuthor per cite.=20 I assume that [cite:@key] is common enough, so bare @key is a shorthand for it. Likewise, -@key is a shorthand for [cite:-@key]. Default citations uses the default citation style, which could be defined globally (by a defcustom), locally (keyword, or property), or per ".bib" file. The syntax also provides typed citations: [citeX: ... @key1...] where X stands for any alphanumeric character. A typed citation is meant to locally override default style. Each citation back-ends may interpret "X" type, but if they don't, "citeX" should be treated as "cite". For example, assuming Citeproc treats [cite:@doe] as (Doe, 2020), then [citet:@doe] could be interpreted as AuthorInText by Citeproc, i.e., Doe (2020) but [citep:@doe] could be ignored, and therefore become (Doe, 2020) Of course Biblatex may interpret it differently. Note that the following proposal drops support for [@key1], which I found awkward anyway. WDYT? --=20 Nicolas Goaziou