I have a large org-mode file containing handouts for a class. Each handout is a separate toplevel subtree (*). At the top of my org file, I have options:
#+OPTIONS: author:nil email:nil
This is followed by various handouts subtrees:
* Handout #1
** Some things about this handout
** Other things
* Handout #2
** Some things
** More things
On these individual handouts, I sometimes wish to override the OPTIONS
settings at the top when I export to PDF. In the export settings section of the org manual, it suggests you can set specific export settings for a subtree, viz:
* Handout #1
#+EXPORT_OPTIONS: email:t
** Things
** More things
I've tried this, but it doesn't work as I'd like. Here, for instance, when I export the subtree for Handout #1 (C-c C-e C-s l o
) my email does appear at the top of the PDF, but then it also appears at the top of the Handout #2 PDF when I export the Handout #2 subtree.
I'd like to set persistent OPTIONS
at the top of the file that can be turned on or off for a subtree without affecting other subtrees. How could this be done? If it can't be, is there an approach that would work similarly to what I'm searching for?