emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xavier Garrido <xavier.garrido@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>,
	Xavier Garrido <xavier.garrido@gmail.com>
Cc: James Harkins <jamshark70@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Bad footnotes when including org files
Date: Wed, 26 Mar 2014 21:34:46 +0100	[thread overview]
Message-ID: <533339E6.4040205@gmail.com> (raw)
In-Reply-To: <874n2luimo.fsf@gmail.com>

Hi Nicolas,

Le 26/03/2014 15:41, Nicolas Goaziou a écrit :
> Hello,
>
> Xavier Garrido <xavier.garrido@gmail.com> writes:
>
>> Thanks for your answer. Maybe I will try your solution. Otherwise
>> I will run a "before-parse-hook" to change fn:XX to something unique
>> (by adding buffer name for example.
>
> We could do it by default.
>
> One problem is that INCLUDE keyword is a very simple feature. For
> example, if you include two files in a row and the first one ends with
> a footnote section, the other one will be included in that section and,
> therefore, not exported. So if we start to make it smart, we could be
> tempted to add too many other checks.
>
> Anyway, here's a patch for that.
>
> WDYT?
>

Applied, tested and it works like a charm. I still have some issues with 
a very big "book" I am writing but at least on the small example I sent 
it solves the issues.

Thanks a lot,
Xavier

  reply	other threads:[~2014-03-26 20:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-15 23:44 Bad footnotes when including org files Xavier Garrido
2014-03-16  1:32 ` James Harkins
2014-03-16 17:29   ` Xavier Garrido
2014-03-26 14:41     ` Nicolas Goaziou
2014-03-26 20:34       ` Xavier Garrido [this message]
2014-04-12 13:10         ` 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=533339E6.4040205@gmail.com \
    --to=xavier.garrido@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jamshark70@gmail.com \
    --cc=n.goaziou@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).