From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Multiple footnote references in included file Date: Sun, 06 Sep 2015 22:21:58 +0200 Message-ID: <87vbbni9i1.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYgQH-0002IB-Sj for emacs-orgmode@gnu.org; Sun, 06 Sep 2015 16:20:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYgQH-0005Ef-10 for emacs-orgmode@gnu.org; Sun, 06 Sep 2015 16:20:21 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:35806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYgQG-0005EM-Qj for emacs-orgmode@gnu.org; Sun, 06 Sep 2015 16:20:20 -0400 In-Reply-To: (Leonard Randall's message of "Sun, 6 Sep 2015 01:30:17 +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 Hello, Leonard Randall writes: > I have my thesis divided into several chapters each with its own org file. > I was trying to use org's Include function to compile a pdf of the complete > draft using a master file. However, I found that if there was more than one > reference to the same footnote in one of my chapter files, the exporter > would complain that a footnote was undefined. > [...] > Suppose this is the master file: > > ---- Begin Master.org --- > * Here is my master file > It has an include command. > #+INCLUDE: "./Included.org" > --- End Master.org --- > > If I try to export this file it will throw up an error with either one of > the following include files. > --- begin Included.org --- > #+EXCLUDE_TAGS: noexp archive notes > #+ARCHIVE: ::* Archived > * This is a headline. > > This is some text. [fn:dd1cd1f9] > * Archive :archive: > ** This is a headline (draft 0) > Here is a previous version of the text to which I affixed the same > footnote. [fn:dd1cd1f9] > * Footnotes > > [fn:dd1cd1f9] Here is the footnote Fixed. Thank you. > --- begin Included.org --- > * This is a headline. > This is some text. [fn:dd1cd1f9] > > Here is some more text to which I wish to affix the same footnote. > [fn:dd1cd1f9] This is a footnote /definition/ since it starts at column 0. > * Footnotes > > [fn:dd1cd1f9] Here is a footnote This is a second footnote definition for the same label. Syntax is too much faulty for a clean export. Regards, -- Nicolas Goaziou