Hi Karl, Maybe the following little function will work. If called from an org-mode file, it will try to export each subtree, respecting the values of EXPORT_FILE_NAME and EXPORT_TITLE.
--8<---------------cut here---------------start------------->8--- (defun org-export-parts () (interactive) (org-map-entries (lambda () (outline-mark-subtree) (org-export-as-html nil)))) --8<---------------cut here---------------end--------------->8--- it shouldn't be difficult to augment the above to set exporting options based on the values of subtree tags. If this isn't sufficient, and you want really powerful templating of different classes of html files you could try out jekyll [1], and some of the org-jekyll solutions [2]. Hope this helps -- Eric Footnotes: [1] http://jekyllrb.com/ [2] http://orgmode.org/worg/org-tutorials/org-jekyll.php _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode