emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org babel does not work properly with included files


From: Robert P. Goldman
Subject: Re: [O] Org babel does not work properly with included files
Date: Sun, 01 May 2011 20:48:58 -0500
User-agent: K-9 Mail for Android

Sorry, I think I have created a red herring here by leaving that code block in both files. To see what the problem really is, consider the case where the source code block appears ONLY in the included file.

(I tested the source block in the master file to make sure it worked before I copied it into the included file and forgot to remove it from the master file.)

Best,
R
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Nick Dokos <address@hidden> wrote:
Robert Goldman <address@hidden> wrote: foo.org: > * Purpose > > This document is intended to demonstrate that src buffer evaluation in > subsidiary, included files, does not work. > > * Demo > > #+include "~/src/org-test/bar.org" > > bar.org: > * Here's the demo > > #+begin_src sh :exports results :results output > echo "foo!" > #+end_src > As a workaround, try making the headings identical, i.e. bar.org looks like this: --8<---------------cut here---------------start------------->8--- * Demo #+begin_src sh :exports results :results output echo "foo!" #+end_src --8<---------------cut here---------------end--------------->8--- Nick

reply via email to

[Prev in Thread] Current Thread [Next in Thread]