Tim Visher <tim.vis...@gmail.com> writes: > I like the filename of the exported file to always match the content of the > heading being exported. Is that possible? At the moment I basically duplicate > it > like: > > ** Foo Heading > :PROPERTIES: > :EXPORT_FILE_NAME: Foo Heading > :END:
I guess the simplest way would be to advise the org-export function with a function that sets that property in the heading being exported. You could even add another advice that would clear the property afterward. Otherwise, it probably wouldn't be too difficult to add an option to set the export file name to the heading when exporting a subtree--but I've never looked into the org-export code so maybe it would be. :)