From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6OAFO6s0k16LOQAA0tVLHw (envelope-from ) for ; Sun, 12 Apr 2020 15:32:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UFjqF640k17NZQAAbx9fmQ (envelope-from ) for ; Sun, 12 Apr 2020 15:33:02 +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 25BF0942D8B for ; Sun, 12 Apr 2020 15:33:00 +0000 (UTC) Received: from localhost ([::1]:34434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNebS-00006E-It for larch@yhetil.org; Sun, 12 Apr 2020 11:32:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38462) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNeb0-0008Vp-0A for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 11:32:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNeay-0000oo-FY for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 11:32:29 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:43661) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jNeay-0000mD-9m for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 11:32:28 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 3ABB7200006; Sun, 12 Apr 2020 15:32:24 +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> <87h7xp0z1y.fsf@nicolasgoaziou.fr> <874kto245n.fsf@nicolasgoaziou.fr> Mail-Followup-To: "Bruce D'Arcus" , "emacs-orgmode\@gnu.org" , denis.maier.lists@mailbox.org Date: Sun, 12 Apr 2020 17:32:23 +0200 In-Reply-To: (Bruce D'Arcus's message of "Sun, 12 Apr 2020 10:25:51 -0400") Message-ID: <87sgh8zpmg.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.178.232 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: aspmx1.migadu.com; dkim=none; dmarc=none; 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-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.57953527097727]; 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: jw9AVYgPwHXD "Bruce D'Arcus" writes: > On Sun, Apr 12, 2020 at 10:02 AM Nicolas Goaziou wrote: >> Yes, and a "t-styled" citation would be: >> >> [citet:see;@doe2020;@doe2019] >> >> Barring the prefix, the syntax of the citation does not change wrt to >> "wip-cite" branch. However, this is enough to be slightly incompatible, >> hence the "wip". > > Good; no issues that I see with this at all. Great! I'll wait a bit for others to comment. If there is no objection, I'll implement this in "wip-cite" and rebase that branch on top of "master" for easier testing and feedback. > Only question is I see you removed whitespace after the prefix on your > citet: example. > > Is the expectation (which is reasonable; am just asking) that prefixes > would add the whitespace after it on output, so users don't have worry > about this? > > So in other words, the value of an affix would be a trimmed string? That was a typo. But that's a good question anyway. Generally speaking, I'd rather avoid any magic, so the parser should not add any space whatsoever. However, should it remove some? AFAICT, Biblatex would probably ignore spacing since it provides its own mechanism to separate multiple cites. I don't know about Citeproc. Maybe trimming prefixes and postfixes is the way to go. What would you suggest here? In any case, consecutive spaces ought to be packed into a single one. This allows auto-filling a paragraph at a citation, e.g., Some very long explanation [cite:see @doe2020 pp. 12-15]. is equivalent to Some very long explanation [cite:see @doe2020 pp. 12-15]