emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bad footnotes when including org files
@ 2014-03-15 23:44 Xavier Garrido
  2014-03-16  1:32 ` James Harkins
  0 siblings, 1 reply; 6+ messages in thread
From: Xavier Garrido @ 2014-03-15 23:44 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hi Orgers,

I am having some troubles with several org files that I want to include 
into one general org file. To do that I use the #+INCLUDE: keywords and 
actually, everything is working well until I add some footnotes in both 
files. Let me show you a minimal example where the footnote numbering is 
getting weird

a.org :
-------

* A1
This is A1 section[fn:1].
* A2
This is A2 section.

* Footnotes

[fn:1] this is a footnote in A file.

b.org :
-------

* B1
This B1 section[fn:1].
* B2
This B2 section.

* Footnotes

[fn:1] this a footnote in B file.

ab.org :
--------

#+INCLUDE: "a.org" :minlevel 1
#+INCLUDE: "b.org" :minlevel 1

When I export to LaTeX the latest file, I get two footnotes with the 
same number. The problem can be solved by changing the label of the 
second footnote to [fn:2] but it means that I have to reorganize and 
reorder footnotes within all the org files I will include. I am 
wondering if it is possible to run, for example, 
=org-footnote-renumber-fn:N= function when including files in such way 
the user will not have to take care footnote labels.

Thanks for your help,
Xavier

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-12 13:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-04-12 13:10         ` Nicolas Goaziou

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).