Suvayu Ali writes: > 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.
This is great! I'd have never thought about this. Works perfectly. Thank you very much Sven -- Sven Bretfeld Department of Philosophy and Religious Studies NTNU Trondheim