Samuel Wales <samolog...@gmail.com> writes: > when org-export-with-tasks is set to nil, tasks will not be exported, > but non-task entries will. > > you can make non-exported todo items and notes about your exported text. > > * REF this is the top level of the subtree > *** NOTE this is just a note and should not be exported > *** but this i want to export of course > > you can specify other values for the variable that have a similar > effect. let's use nil for this example. > > this is highly useful, but in my case, there is an unintended > consequence. the REF todo kw prevents anything from being exported, > for subtree or region export. not exporting is not a useful behavior. > i would prefer the top level of the subtree to be exported in all > cases, because i have asked org to export. it does not matter what kw > it is set to or what the variable is set to.
You can set org-export-with-tasks to '("REF"). It will make Org export REF todo keywords, but not other todo keywords. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>