From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Multiple footnote references in included file Date: Mon, 07 Sep 2015 20:58:59 +0200 Message-ID: <87k2s2hx8s.fsf@nicolasgoaziou.fr> References: <87vbbni9i1.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ1bX-00065T-V7 for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 14:57:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZ1bX-0000Fy-84 for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 14:57:23 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:53742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ1bX-0000Fg-2a for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 14:57:23 -0400 In-Reply-To: (Leonard Randall's message of "Mon, 7 Sep 2015 15:54:35 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Leonard Randall Cc: emacs-orgmode Leonard Randall writes: > One issue that I noticed, however, is that the exporter will still give an > error for an undefined footnote if a footnote is undefined in a heading > that is excluded from export via the exclude tags function. For example if > I have tagged a heading 'noexp' in one of my included files, and list noexp > on the excluded tags line of the header of my master file the exporter will > still complain if there is an undefined footnote under this header. This is because expanding INCLUDE keywords happens very early in the export process, before exported areas are known. In any case, I agree this is an annoying behaviour. I changed the algorithm so it shouldn't throw an error during this phase. Thank you. Regards,