I'm using sparse trees to find tasks I need to work on in my buffer. The matching headlines are shown, without siblings but with their parents. For example, imagine I have the following tree:
* A
** A1
* B
** B1
And I use sparse trees to match and highlight B1, so emacs shows me the tree:
* A
* B
** B1
I find it very useful to print the whole buffer (export to PDF). However, when I set Visibile only
to True
and Export scope
to buffer
, top-level headlines that were not matched are also printed (in this case, A
).
I tried to create a top-level headline that includes everything:
* Top
** A
*** A1
** B
*** B1
That way, the sparse tree is:
* Top
** B
*** B1
And, therefore, unmatched (now) second-level headlines, like A
, won't be printed.
However, at this point, a second issue emerges: Most of my tasks are 7-levels deep in the tree. This is far too deep for emacs by default, so anything below level 5 is printed at the same level (meaning that tasks and subtasks are printed as if they were siblings).
If I use export options to include deeper headlines (H: 10
), then they are printed as paragraphs instead of lists.
Any suggestions?