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 14:01:07 +0100 Message-ID: <87h9zodjvw.fsf@newcastle.ac.uk> References: <87d2acf9w1.fsf@newcastle.ac.uk> <871tqsjh5x.fsf@gmx.us> <87vbo4dmto.fsf@newcastle.ac.uk> <877g0kx9fi.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZJWu-00044v-Lr for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 09:01:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZJWr-0002C3-2u for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 09:01:16 -0400 Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:60377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZJWq-0002Bb-QV for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 09:01:13 -0400 In-Reply-To: <877g0kx9fi.fsf@gmx.us> (rasmus@gmx.us's message of "Wed, 1 Oct 2014 14:26:41 +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 Hmmm. I seem to have trashed by org install by loading from ELPA; currently, interactively, I can't export at all. debugger entered--Lisp error: (invalid-function org-with-silent-modificatio= ns) org-with-silent-modifications(nil) org-refresh-category-properties() org-get-category() It's still working through by batch process which is using cask and probably has a different version of org. Is there a stable org-mode package repo? At the moment, both ELPA and the org-mode repo appear to be bleeding egde... Phil Rasmus writes: > phillip.lord@newcastle.ac.uk (Phillip Lord) writes: > >> 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. > > > Here's a complete example that works as expected (footnotes and > hyperlinks). Perhaps one needs to specify :minlevel to get the > desired output. I don't know if this is desired behavior. If not you > can make another bug report. > > >>$ for f in $(ls -A /tmp/include); do echo ""; echo "=E2=86=92 $f =E2=86= =90"; echo >> "~~~~~~~~~~~~~~~"; echo ""; cat /tmp/include/$f; done > > > =E2=86=92 c1.org =E2=86=90 > ~~~~~~~~~~~~~~~ > > * chapter 1 > txt1[fn:1] > > * Footnotes > > [fn:1] fn1 > > > =E2=86=92 c2.org =E2=86=90 > ~~~~~~~~~~~~~~~ > > * chapter 2 > txt2[fn:1] > > * Footnotes > > [fn:1] fn2=20 > > > > =E2=86=92 m.org =E2=86=90 > ~~~~~~~~~~~~~~~ > > > #+OPTIONS: toc:nil > #+TITLE: Overall title > > #+INCLUDE: "/tmp/include/c1.org" :minlevel 1=20 > #+INCLUDE: "/tmp/include/c2.org" :minlevel 1 > > * chapter 3 > Everything was said in [[*chapter 1]] and [[*chapter 2]]... > > =E2=86=92 m.txt =E2=86=90 > ~~~~~~~~~~~~~~~ > > =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81 > OVERALL TITLE > =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81 > > > 1 chapter 1 > =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90 > > txt1[1] > > > 2 chapter 2 > =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90 > > txt2[2] > > > 3 chapter 3 > =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90 > > Everything was said in 1 and 2=E2=80=A6 > > > > Footnotes > =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80 > > [1] fn1 > > [2] fn2 > > > >> 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). > > I was not able to reproduce. But please make a receipt to get this > behavior and it can be looked into. > > =E2=80=94Rasmus --=20 Phillip Lord, Phone: +44 (0) 191 222 7827 Lecturer in Bioinformatics, Email: phillip.lord@newcastle.ac.uk School of Computing Science, http://homepages.cs.ncl.ac.uk/phill= ip.lord Room 914 Claremont Tower, skype: russet_apples Newcastle University, twitter: phillord NE1 7RU=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20