emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: simon@psilas.com
To: emacs-orgmode@gnu.org
Subject: Separate Org file from Subtree
Date: Mon, 16 Feb 2015 10:41:10 +0000	[thread overview]
Message-ID: <1424083270.1791871.228021221.7DB94916@webmail.messagingengine.com> (raw)

Hi there,

I think I must be missing something.

I have  a collection of articles in one org file (under separate
headings). I can export these as a subtree using Org's normal export
function as html etc., but I want to export the selected subtree as an
individual org file using the properties under each heading.)

In other words I want to export this subtree ...
* DONE Article One
:PROPERTIES:
:EXPORT_TITLE: An Interesting Article
:EXPORT_AUTHOR: Simon Jones
:EXPORT_FILENAME: an-interesting-article
:EXPORT_DATE: 2015-02-16
:END:

Article content ....

into an Org file entitled 'an-interesting-article.org' that looks like
this ...

#+TITLE: An Interesting Article
#+AUTHOR: Simon Jones
#+DATE: 2015-02-16

Article content...

Can anyone help me with this? I'm very sorry if I'm missing something
obvious.

Simon.

             reply	other threads:[~2015-02-16 10:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-16 10:41 simon [this message]
2015-02-16 12:54 ` Separate Org file from Subtree John Kitchin
2015-02-16 14:40   ` simon
2015-02-16 14:59     ` John Kitchin
2015-02-16 15:30       ` simon
2015-08-05  0:00 ` Bastien Guerry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424083270.1791871.228021221.7DB94916@webmail.messagingengine.com \
    --to=simon@psilas.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).