From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iBe9EcVbfGAYwQAAgWs5BA (envelope-from ) for ; Sun, 18 Apr 2021 18:18:13 +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 yJxHDcVbfGBnJgAAB5/wlQ (envelope-from ) for ; Sun, 18 Apr 2021 16:18:13 +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 996B2242AA for ; Sun, 18 Apr 2021 18:18:12 +0200 (CEST) Received: from localhost ([::1]:39096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYA7e-0006pN-Qf for larch@yhetil.org; Sun, 18 Apr 2021 12:18:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYA77-0006mI-JC for emacs-orgmode@gnu.org; Sun, 18 Apr 2021 12:17:37 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:47137) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYA75-0007Ze-J0 for emacs-orgmode@gnu.org; Sun, 18 Apr 2021 12:17:37 -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 relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 681F0C0004; Sun, 18 Apr 2021 16:17:32 +0000 (UTC) From: Nicolas Goaziou To: emacs-orgmode@gnu.org Subject: Re: wip-cite status question and feedback References: <87mu5xpm4x.fsf@gnu.org> <87img81ad7.fsf@gnu.org> <20210324182751.GA8721@atlantis> <87czuzprmh.fsf@nicolasgoaziou.fr> <20210417191330.GA17788@atlantis> Mail-Followup-To: emacs-orgmode@gnu.org, Bruce D'Arcus , =?utf-8?Q?Andr=C3=A1s?= Simonyi Date: Sun, 18 Apr 2021 18:17:31 +0200 In-Reply-To: <20210417191330.GA17788@atlantis> ("M. =?utf-8?Q?=E2=80=98qui?= =?utf-8?Q?ntus=E2=80=99_G=C3=BClker=22's?= message of "Sat, 17 Apr 2021 21:13:30 +0200") Message-ID: <87k0ozefdw.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.198; envelope-from=mail@nicolasgoaziou.fr; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bruce D'Arcus , =?utf-8?Q?Andr=C3=A1s?= Simonyi Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618762692; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=/fN6e4pgHsFEhCb3nQYCVSMwRl/BHtKxmhCS5+/YRTE=; b=NBx53xUk+p3EexQ+011uT3xgJ+GNesn9nZoD3fm6uYCbnp5OjpW4ucBfg9OSVBd4klZMCT xqDRGzJLTIprCw/P4cR8ueUTGzUWivLex6GU4t0Frk8CjeUgXziqHsDrIO+je86Hh/oNxW 6V8LHKTskScSseqB48Qdo/okE1HTyu9JBBr2LJLV/nQUt5U0XYCsVdEjpDzhW9Masjoma5 t6WfEzSO7LkEReB/2Te6O2xTbO1JPe8eMQSx5RRNqOmCBlC1msr1xa62cQ58RM9wnv6bNi zZrk0tgF+aN8cw+fSL1vISS7gU5G8ebQbfQIK3lWq02iup6I/QIpirb6MOHv1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618762692; a=rsa-sha256; cv=none; b=m9HF84bSnwGmpP1JyXdWh5L6XtPluwcDsEN45pztm/r9HGjEmX0KP/m2S1fCmrUyVT+9dy epK8CIoAKnQRD2Iv47HMYUHdLHeHonwZncqOSjvzPJQLXX8gky+4R5n4xwcZJumCpAgJYY S5dIfskkfoa/GDabzlZu8iO5t0IdxoFCn2w3ZrgPB27Oz6Js4LMAotUSz6+/IJoD7kjXaO 7BaXlZ/AI/yn+cbzEVcGliSzEc51OVhcLraAdlDMz7AH+n9DTR+QyMGvP7du0KAA3ExnyX Cq/UTUvQkGJ/pxPPLARje1cYwvBW7dxHfcdYmJYHVLSP7QBpuOIhmh0YpeC3rg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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-Migadu-Spam-Score: -2.44 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-Migadu-Queue-Id: 996B2242AA X-Spam-Score: -2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: p0nHFSaCw70d Hello, M. =E2=80=98quintus=E2=80=99 G=C3=BClker writes: > The citation object will provide access to all elements of the new > cite syntax I assume, including things like key, prefix and suffix? Indeed. Also global prefix and suffix. > Several styles I am normally confronted with require crossreferencing > in citation footnotes (example: =E2=80=9CDoe (see above Fn. 24), pp. 35-3= 7=E2=80=9D). > Formatting this requires access to the place where an @key first > occured in a footnote. The full list of citation objects probably > suffices for that information; on a first thought I would either use > the first citation object from that list with the @key at hand unequal > to the active citation object=20 This would work. If it is a common need, Org could also provide such a helper function. > or use the citation object whose footnote label has the lowest number > and is unequal to the active citation object (if the list is not > guaranteed to be in said order). I would prefer the former approach, > because sometimes I deal with footnotes with numbers like =E2=80=9C4a=E2= =80=9D (a > footnote inserted at a late stage in the authoring process between > footnotes 4 and 5), which defeats the lowest-number approach. Note that export process provides its own footnote numbering, which does not rely on the label used. See `org-export-get-footnote-number'. So you can also use the second method. > For non-footnote-based citations, the =E2=80=9Chelper function to determi= ne > the footnote containing a citation=E2=80=9D should probably return nil. Indeed. If there is no footnote definition containing the citation, it returns nil. Regards, --=20 Nicolas Goaziou