In the org-mode documentation regarding export settings, it describes
arch as follows.
Configure export of archived trees. Can be set to headline to only process the headline, skipping its contents (org-export-with-archived-trees).
That's almost what I want, but it skips all the contents, including the subheadings. I want those subheadings too (without their contents). Take this example:
#+OPTIONS: arch:headline * I want to see this :ARCHIVE: But not this. ** and also this. And definitely not this.
If I export this file,
I want to see this is the only thing that comes through. But I was expecting/hoping
and also this to be exported underneath it as well.
How do I make that happen? I tried adding an extra
:ARCHIVE: tag to the second level heading, but that does nothing.