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: Nick Dokos
Subject: Re: [O] Org babel does not work properly with included files
Date: Sun, 01 May 2011 21:33:03 -0400

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]