From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sven Bretfeld Subject: Using the file as 1st level headline Date: Wed, 16 Sep 2015 18:49:51 +0200 Message-ID: <877fnqqpg0.fsf@ntnu.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcFuG-0001vJ-Up for emacs-orgmode@gnu.org; Wed, 16 Sep 2015 12:50:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcFuA-0002nt-Ue for emacs-orgmode@gnu.org; Wed, 16 Sep 2015 12:50:04 -0400 Received: from hylle06.itea.ntnu.no ([129.241.56.235]:55042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcFuA-0002nd-Oj for emacs-orgmode@gnu.org; Wed, 16 Sep 2015 12:49:58 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle06.itea.ntnu.no (Postfix) with ESMTP id 22554664BD3 for ; Wed, 16 Sep 2015 18:49:53 +0200 (CEST) Received: from kamaloka (84-52-228.194.3p.ntebredband.no [84.52.228.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: svenbre) by hylle06.itea.ntnu.no (Postfix) with ESMTPSA id 565F566480D for ; Wed, 16 Sep 2015 18:49:52 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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