emacs-orgmode
[Top][All Lists]
Advanced

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

[O] #+INCLUDE: file in code block results does not work?


From: KDr2
Subject: [O] #+INCLUDE: file in code block results does not work?
Date: Wed, 26 Mar 2014 15:48:59 +0800

I wrote a piece of code like below:

#+NAME: inc-file
#+BEGIN_SRC elisp :results value raw :exports results :var file="common.inc.org"
  (concat "#+INCLUDE: /path/to/include-dir/" file) ;; path is cal-ed from path of current-buffer file
#+END_SRC

#+CALL: inc-file(file="a.org") :results raw

but this does not work, anyone knows why?

By the way, #+HTML_HEAD in code block results works well:

#+NAME: d-header
#+BEGIN_SRC elisp :results value raw :exports results
  (concat "#+HTML_HEAD: <link rel=\"stylesheet\" type=\"text/css\" href="" "/style.css" "\" />")
#+END_SRC

#+CALL: d-header() :results raw


Thanks.

--
-- 


reply via email to

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