emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* columnview with #+INCLUDE:, org-export-org?
@ 2012-03-12 10:40 Myles English
  2012-03-12 11:59 ` Myles English
  0 siblings, 1 reply; 2+ messages in thread
From: Myles English @ 2012-03-12 10:40 UTC (permalink / raw)
  To: emacs-orgmode Mode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: columnview with #+INCLUDE:, org-export-org?
  2012-03-12 10:40 columnview with #+INCLUDE:, org-export-org? Myles English
@ 2012-03-12 11:59 ` Myles English
  0 siblings, 0 replies; 2+ messages in thread
From: Myles English @ 2012-03-12 11:59 UTC (permalink / raw)
  To: emacs-orgmode Mode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-12 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-12 10:40 columnview with #+INCLUDE:, org-export-org? Myles English
2012-03-12 11:59 ` Myles English

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).