Hi Alan, Alan Schmitt writes:
> Is there a way to have arbitrary code stored in the file being exported > being evaluated before an export? I think you can use org-export-before-processing-hook for this. """ 12.13 Advanced configuration ============================ Hooks ----- Two hooks are run during the first steps of the export process. The first one, 'org-export-before-processing-hook' is called before expanding macros, Babel code and include keywords in the buffer. The second one, 'org-export-before-parsing-hook', as its name suggests, happens just before parsing the buffer. Their main use is for heavy duties, that is duties involving structural modifications of the document. For example, one may want to remove every headline in the buffer during export. """ Myles