Publishing works by providing Muse with the settings and environment for Planner publishing.
First, make sure that you have set up a proper
muse-project-alist (see Creating Your Planner).
Second, add:
(require 'planner-publish)
to your .emacs (or _emacs).
To publish your entire Planner project, hit C-c C-p
(muse-project-publish). To publish just the current buffer, hit
C-c C-t (muse-publish-this-file).
To automatically publish files when you save them, add the following code to your ~/.emacs (or _emacs):
(eval-after-load "muse-mode"
'(add-hook 'after-save-hook
#'(lambda ()
(when (planner-derived-mode-p 'muse-mode)
(muse-project-publish nil)))
nil t))
The following publishing styles are available.
planner-htmlplanner-xhtmlplanner-xmlThe following options may be customized to enhance your publishing experience.
planner-publish-markup-regexpsplanner-publish-markup-functionsplanner-publish-markup-tagsplanner-xml-markup-stringsplanner-xml-headerplanner-xml-footerplanner-html-markup-stringsplanner-html-style-sheetplanner-html-headerplanner-html-footerplanner-xhtml-headerplanner-xhtml-footerplanner-html-inner-headerplanner-html-header and planner-xhtml-header.
planner-html-inner-footerplanner-html-footer and planner-xhtml-footer.
planner-publish-prepare-regexpsplanner-publish-finalize-regexps