[-- Attachment #1: Type: text/plain, Size: 681 bytes --]
>> On Mon, 12 Mar 2012 10:40:44 +0000, Myles English said:
> Hello, I would like to capture the columnview of a file including
> the view of an org file specified using #+INCLUDE. These includes
> are currently only expanded during export so I am thinking maybe I
> should export to a temporary org buffer first and then do a
> columnview on the temporary buffer.
> Has anyone else already solved this problem? In particular, has
> anyone already done org-export-org? Any other comments, as I don't
> really know my way around the code too well yet.
> Thanks,
> Myles
Turns out that everything is already included, and this works fine for
my purposes:
[-- Attachment #2: test-include.org --]
[-- Type: text/plain, Size: 994 bytes --]
#+TITLE: test-include.org
#+DATE: 2012-03-12 Mon
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE: en
#+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:
#+LINK_HOME:
#+XSLT:
#+BEGIN_SRC emacs-lisp
(org-export-as-org nil nil nil nil nil nil)
(find-file "test-include-source.org")
(org-export-handle-include-files-recurse)
#+END_SRC
#+RESULTS:
* Prologue
#+INCLUDE: "./test-include-include.org" :lines "19-"
* colview :noexport:
#+BEGIN: columnview :hlines 5 :id file:test-include-source.org
| Task | Effort | CLOCKSUM |
|--------------------+--------+----------|
| * Prologue | | |
|--------------------+--------+----------|
| * Included heading | | |
#+END:
[-- Attachment #3: inline --]
[-- Type: text/plain, Size: 586 bytes --]
#+TITLE: test-include-include.org
#+AUTHOR: Myles English
#+EMAIL: myles.english@ed.ac.uk
#+DATE: 2012-03-12 Mon
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE: en
#+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:
#+LINK_HOME:
#+XSLT:
* Don't want this heading included
* Included heading
This is included
[-- Attachment #4: Type: text/plain, Size: 34 bytes --]
Thanks again for orgmode.
Myles