I want to use org-mode's sparse trees to export some of the headings in a document. Specifically, I want headlines and entries for all matches of a tag search, plus parents.
org-show-context-detail controls this, but doesn't have quite the right setting.
local is closest, but
local also includes the next heading at the same level of match; I do not want next heading.
* Heading :PROPERTIES: :EXPORT: yes :END: * Subheading :PROPERTIES: :EXPORT: yes :END: I am some content! I should be exported and visible! * Definitely Don't Want This Subheading :PROPERTIES: :EXPORT: NO :END
So how do I make and export a sparse tree using an
EXPORT=yes tag search, containing
Subheading, and the entry of
Subheading, without including the next heading? (Note: I do know about
C-v in the org export dispatcher -- but it will still include a visible-but-folded headline, like
Definitely Don't Want This Subheading.)