I want to export an org mode document so that sections or subsections
with TODO
keywords do not appear in the exported output. How can
this be achieved?
The export-settings documentation does not explicitly mention anything related to this.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityI want to export an org mode document so that sections or subsections
with TODO
keywords do not appear in the exported output. How can
this be achieved?
The export-settings documentation does not explicitly mention anything related to this.
There is an export option to control exporting of TODO items:
tasks: Toggle inclusion of tasks (TODO items), can be nil to remove all tasks, todo to remove DONE tasks, or a list of keywords to keep (org-export-with-tasks).
Setting it to nil
will hide tasks from your exported document.
I used tasks:nil
. For example, I use this in a sub-tree where I want to exclude tasks from export:
:PROPERTIES:
:EXPORT_OPTIONS: tasks:nil
:END: