org-export-with-tasks

org-export-with-tasks is a variable defined in `ox.el'.
Its value is
t


Documentation:
Non-nil means include TODO items for export.

This may have the following values:
t include tasks independent of state.
`todo' include only tasks that are not yet done.
`done' include only tasks that are already done.
nil ignore all tasks.
list of keywords include tasks with these keywords.

This option can also be set with the OPTIONS keyword,
e.g. "tasks:nil".

You can customize this variable.