Hello Rasmus and Thomas, Rasmus wrote: >> My question: how to change the value of org-export-async-init-file when I >> export the subtree? > > Perhaps babel and org-element? I'm not sure of the order of > execution, but perhaps you can can check the title and set the init > file condtional on that.
A detail: maybe checking on some tags (instead of the title), to make the solution applicable in many more documents? Best regards, Seb -- Sebastien Vauban