From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 YP05MTx3gWEv+AAAgWs5BA (envelope-from ) for ; Tue, 02 Nov 2021 18:37:00 +0100 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 gNW+LDx3gWGJGgAAbx9fmQ (envelope-from ) for ; Tue, 02 Nov 2021 17:37:00 +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 685E91FFC8 for ; Tue, 2 Nov 2021 18:37:00 +0100 (CET) Received: from localhost ([::1]:44614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhxiV-0003li-Jo for larch@yhetil.org; Tue, 02 Nov 2021 13:36:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhxhO-0002rm-4l for emacs-orgmode@gnu.org; Tue, 02 Nov 2021 13:35:50 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:58947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhxhI-0007Y3-QV for emacs-orgmode@gnu.org; Tue, 02 Nov 2021 13:35:49 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 80E7E100006; Tue, 2 Nov 2021 17:35:40 +0000 (UTC) From: Nicolas Goaziou To: =?utf-8?Q?Andr=C3=A1s?= Simonyi Subject: Re: [PATCH] oc-csl: Fix footnote status reporting for wrapped citations References: Date: Tue, 02 Nov 2021 18:35:35 +0100 In-Reply-To: (=?utf-8?Q?=22Andr=C3=A1s?= Simonyi"'s message of "Tue, 2 Nov 2021 17:51:03 +0100") Message-ID: <87bl32wjdk.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.178.231; envelope-from=mail@nicolasgoaziou.fr; helo=relay11.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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode list 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=1635874620; 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=o33w4vl6F8285IeCjd+f7AQBlm9QuFIj9rNeszvoCQg=; b=eR12Ug1vQqBXdtwokRlWh1FzfODkXPjCe5dbcgkCiR18bkh6l6w+02c7Fv5XOJN5UoE/jH QAVFJtYQ+uKBbbInTOggvWmJ6gOuQ3oeZHdE6JhtQT3fzhgw1F8SimIzS73VFrsVyCN9zC PlAaesXd//AMAQbUA5EYd1OYXVAM+7lDCDo/TyTojuEii+gRH8PcoUGAIw4C15pKTwnnHK BnJLOf4xig259657TVos27AxIw4KV9Q4ejcXxHP+/DrDBDELvxE381a59ER7JOalBn6Tmi nstgBizsHhChEioIsPE9DCMmiWEB9j/szgXJIx3Qman9k64BOF/p4snDrxOgZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635874620; a=rsa-sha256; cv=none; b=NsUAit1oZN9I20/rliW8dCC0Hx0jZuBs2XSgPKEZzTCSHWvZsD8pgqPVDUmCf1eeCfCiIe uTvMZ0hHGxpByRm87TazyKdO0SyEzqie9vqI6UUiUTYeCiWpEGhijHEbueSLF1iFSSBQyk i3pRusOf3wd0nkyEsrfxlZsCicgAyfvrADBmP1JDBiEyDgrgu3wz7HYtRFrKcJ2feg0Ddb E7tsxrDogjTD5BO7ML7UbJDxsY5NYLU7LvE7IU+hcmpHvM3VjXBrK2mXuEISVpeRysvP0O PyGI4es44MvPZnx0uzJY9Y3YFMpjcYVtNwl6tFE5u2CGHMIi6XVxkkinI9WrDQ== 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.42 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: 685E91FFC8 X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: FEZ3sPWFPNUb Hello, Andr=C3=A1s Simonyi writes: > the attached simple patch fixes a problem in oc-csl.el which led to > missing footnote number information for citations that were > automatically footnote-wrapped based on the used CSL style. Applied with a small change. Thank you. > + (setq footnote (org-element-lineage citation > + '(footnote-definition footnote= -reference)))) I removed `footnote-definition', which cannot happen after a call to `org-cite-wrap-citation'. Regards, --=20 Nicolas Goaziou