emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sven Bretfeld <sven.bretfeld@gmx.ch>
To: emacs-orgmode@gnu.org
Subject: Using the file as 1st level headline
Date: Wed, 16 Sep 2015 18:49:51 +0200	[thread overview]
Message-ID: <877fnqqpg0.fsf@ntnu.no> (raw)

Hi all

Is it possible to have a file header which is counted as a first level
headline? 

If that sounds weird, this is what I like to do: I'm using Bernt
Hansen's setup of orgmode for GTD (http://doc.norang.ca/org-mode.html).
In this setup a project is defined as each headline which has a TODO
keyword AND has sublevel tasks also containing a TODO keyword:

* TODO Project
** NEXT step 1
** TODO step 2
** TODO step 3

Now, I'm using org to write scientific books and articles. Therefore,
I want to use 1st level headlines as section titles for LaTeX export.
Of course, not every section is an individual project---the article in
total is the project and its doable steps are defined by inline tasks.
So, what I want to do is something like this:

,---- xy.org
| 
| #+TITLE: XY
| #+AUTHOR: Sven Bretfeld
| #+HEADLINE: TODO Write article on XY
| #+CATEGORY: XY article
| #+EXCLUDE_TAGS: noexport
| 
| * Introduction and Methodology
| Some text. Some text. Some text. Some text. Some text. Some text. Some
| text. Some text.  
| ***************************** NEXT Write summary of Smith's thesis   @office:noexport:
| ***************************** END
| Some text. Some text. Some text. Some text. Some text. Some text. Some
| text. Some text.  
| ***************************** TODO Look up other theories            @library:noexport:
| ***************************** END
|
`----

The purpose is making org-export print the pure article (no TODOs, all
headlines are sections, subsections etc.) while making org-agenda say:

,----Org Agenda
| 
| Projects
| TODO Write article on XY
| Project Next Tasks
| XY article: NEXT Write summary of Smith's thesis   @office:noexport:
| Project Subtasks
| XY article: TODO Look up other theories            @library:noexport:
| 
`----

Is that possible?

Thank you very much for any help.

Sven

-- 
Sven Bretfeld
Department of Philosophy and Religious Studies
NTNU Trondheim

             reply	other threads:[~2015-09-16 16:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-16 16:49 Sven Bretfeld [this message]
2015-09-17  9:42 ` Using the file as 1st level headline Eric S Fraga
2015-09-17 17:55   ` Sven Bretfeld
2015-09-18  7:54     ` Eric S Fraga
2015-09-19  9:05       ` Sven Bretfeld
2015-09-19 10:25     ` Suvayu Ali
2015-09-19 10:59       ` Sven Bretfeld
2015-09-21  8:25       ` Eric S Fraga

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=877fnqqpg0.fsf@ntnu.no \
    --to=sven.bretfeld@gmx.ch \
    --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).