emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] columnview with #+INCLUDE:, org-export-org?


From: Myles English
Subject: Re: [O] columnview with #+INCLUDE:, org-export-org?
Date: Mon, 12 Mar 2012 11:59:21 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

>> 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:

#+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:
#+TITLE:     test-include-include.org
#+AUTHOR:    Myles English
#+EMAIL:     address@hidden
#+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
Thanks again for orgmode.

Myles

reply via email to

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