[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Using the file as 1st level headline
From: |
Suvayu Ali |
Subject: |
Re: [O] Using the file as 1st level headline |
Date: |
Sat, 19 Sep 2015 12:25:56 +0200 |
User-agent: |
Mutt/1.5.23.1 (2014-03-12) |
On Thu, Sep 17, 2015 at 07:55:07PM +0200, Sven Bretfeld wrote:
>
> * TODO Write book on XY
> ** Introduction
> Text.
> ********************* NEXT Something 1
> ********************* END
>
> ** Chapter 1
> Text.
> ******************** TODO Something 2
> ******************** END
If you are using latex export, you should be able to get the above
structure to work with a custom latex-class. Here is an example:
(add-to-list 'org-latex-classes
'("withtodos" "\\documentclass[11pt]{scrreprt}"
("%%%% %s" . "%%%% %s")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
This will insert the top level headline as a comment.
--
Suvayu
Open source is the future. It sets us free.