From mboxrd@z Thu Jan 1 00:00:00 1970 From: phillip.lord@newcastle.ac.uk (Phillip Lord) Subject: Re: Multi-file and master files Date: Wed, 01 Oct 2014 12:57:39 +0100 Message-ID: <87vbo4dmto.fsf@newcastle.ac.uk> References: <87d2acf9w1.fsf@newcastle.ac.uk> <871tqsjh5x.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZIXS-0008Nr-Iz for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 07:57:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZIXO-0003Pc-TL for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 07:57:46 -0400 Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:48063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZIXO-0003PW-NK for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 07:57:42 -0400 In-Reply-To: <871tqsjh5x.fsf@gmx.us> (rasmus@gmx.us's message of "Wed, 1 Oct 2014 11:03:22 +0200") 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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > Hi Phillip, > > phillip.lord@newcastle.ac.uk (Phillip Lord) writes: > > I might be misunderstanding your question here, so bear(?) with me. > > I think #+INCLUDE: "$FILE" should take care of what you want. > Basically, at export time, INCLUDE is expanded to the content of $FILE > in the buffer. Footnotes should work. So master.org include file1.org include file2.org Now, in file1.org add a footnote gets -- [fn:1] * Footnote [fn:1] Footnote one In file2.org add a footnote gets [fn:1] * Foonote [fn:1] Footnote two And footnote two gets lost. I have a similar problem with hyperlinks. The normal store link remembers the input.org file that the link is too. So, if in the example, above I like between file2.org and file1.org using the Store Link menu item, the HTML is wrong (since there is no file2.html generated). With latex and reftex, to put in a crossref, reftex knows about the document structure and puts the hyperlink in as an internal reference, since it will be internal when generated. Phil