Consider the following file:
* My Book #+OPTIONS: toc:nil #+OPTIONS: num:nil ** DONE chapter 1 [2/2] content... *** DONE section 1.1 *** DONE section 1.2 ** DONE chapter 2 ** TODO chapter 3 ** superseded :noexport:
I place my point at the top heading (My Book) and press
C-c C-e C-s l o
This produces a pdf file with the following headings:
DONE chapter 1 [2/2] content... DONE section 1.1 DONE section 1.2 DONE chapter 2 TODO chapter 3
However, I want the exported pdf file to look like this:
chapter 1 content... section 1.1 section 1.2 chapter 2 chapter 3
I tried to use the option
#+OPTIONS: tasks:nil with the effect that the DONE headings are not exported at all.
Ideally, I could choose that the DONE keyword should not be exported with the heading, while e.g. the TODO keyword should be exported.