emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Leonard Randall <leonard.a.randall@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Multiple footnote references in included file
Date: Sun, 06 Sep 2015 22:21:58 +0200	[thread overview]
Message-ID: <87vbbni9i1.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAMRQoA=tefyUPaO1Wp1jp7LbA=VejtFp9E+UzoKbFcSrdoo87w@mail.gmail.com> (Leonard Randall's message of "Sun, 6 Sep 2015 01:30:17 +0100")

Hello,

Leonard Randall <leonard.a.randall@gmail.com> 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

  reply	other threads:[~2015-09-06 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-06  0:30 Multiple footnote references in included file Leonard Randall
2015-09-06 20:21 ` Nicolas Goaziou [this message]
2015-09-07 14:54   ` Leonard Randall
2015-09-07 18:58     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vbbni9i1.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=leonard.a.randall@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).