Variable: htmlfontify-manual

htmlfontify-manual is a variable defined in htmlfontify.el.gz.

Value

"Htmlfontify Manual"

Documentation

Copy and convert buffers and files to HTML.

Add hyperlinks between files driven by etags) if requested.

Interactive functions:
  htmlfontify-buffer
  htmlfontify-run-etags
  htmlfontify-copy-and-link-dir
  htmlfontify-load-rgb-file
  htmlfontify-unload-rgb-file

In order to:

fontify a file you have open: M-x htmlfontify-buffer (htmlfontify-buffer)
prepare the etags map for a directory: M-x htmlfontify-run-etags (htmlfontify-run-etags)
copy a directory, fontifying as you go: M-x htmlfontify-copy-and-link-dir (htmlfontify-copy-and-link-dir)

The following might be useful when running non-windowed or in batch mode:
(note that they shouldn't be necessary - we have a built in map)

load an X11 style rgb.txt file: M-x htmlfontify-load-rgb-file (htmlfontify-load-rgb-file)
unload the current rgb.txt file: M-x htmlfontify-unload-rgb-file (htmlfontify-unload-rgb-file)

And here's a programmatic example:

(defun rtfm-build-page-header (file style)
  (format "#define TEMPLATE red+black.html
#define DEBUG 1
#include <build/menu-dirlist|>\\n
html-css-url := /css/red+black.css
title := rtfm.etla.org ( %s / src/%s )
bodytag :=
head <=STYLESHEET;\\n
%s
STYLESHEET
main-title := rtfm / %s / src/%s\\n
main-content <=MAIN_CONTENT;\\n" rtfm-section file style rtfm-section file))

(defun rtfm-build-page-footer (file) "\\nMAIN_CONTENT\\n")

(defun rtfm-build-source-docs (section srcdir destdir)
  (interactive
   "s section[eg- emacs / p4-blame]:\\nD source-dir: \\nD output-dir: ")
  (require 'htmlfontify)
  (hfy-load-tags-cache srcdir)
  (let ((hfy-page-header #'rtfm-build-page-header)
        (hfy-page-footer #'rtfm-build-page-footer)
        (rtfm-section section)
        (hfy-index-file "index"))
    (htmlfontify-run-etags srcdir)
    (htmlfontify-copy-and-link-dir srcdir destdir ".src" ".html")))

Source Code

;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defconst htmlfontify-manual "Htmlfontify Manual"
  "Copy and convert buffers and files to HTML.
Add hyperlinks between files driven by etags) if requested.

Interactive functions:
  `htmlfontify-buffer'
  `htmlfontify-run-etags'
  `htmlfontify-copy-and-link-dir'
  `htmlfontify-load-rgb-file'
  `htmlfontify-unload-rgb-file'

In order to:

fontify a file you have open:           \\[htmlfontify-buffer]
prepare the etags map for a directory:  \\[htmlfontify-run-etags]
copy a directory, fontifying as you go: \\[htmlfontify-copy-and-link-dir]

The following might be useful when running non-windowed or in batch mode:
\(note that they shouldn't be necessary - we have a built in map)

load an X11 style rgb.txt file:         \\[htmlfontify-load-rgb-file]
unload the current rgb.txt file:        \\[htmlfontify-unload-rgb-file]

And here's a programmatic example:

\(defun rtfm-build-page-header (file style)
  (format \"#define  TEMPLATE red+black.html
#define  DEBUG    1
#include <build/menu-dirlist|>\\n
html-css-url := /css/red+black.css
title        := rtfm.etla.org ( %s / src/%s )
bodytag      :=
head         <=STYLESHEET;\\n
%s
STYLESHEET
main-title   := rtfm / %s / src/%s\\n
main-content <=MAIN_CONTENT;\\n\" rtfm-section file style rtfm-section file))

\(defun rtfm-build-page-footer (file) \"\\nMAIN_CONTENT\\n\")

\(defun rtfm-build-source-docs (section srcdir destdir)
  (interactive
   \"s section[eg- emacs / p4-blame]:\\nD source-dir: \\nD output-dir: \")
  (require \\='htmlfontify)
  (hfy-load-tags-cache srcdir)
  (let ((hfy-page-header  #\\='rtfm-build-page-header)
        (hfy-page-footer  #\\='rtfm-build-page-footer)
        (rtfm-section                     section)
        (hfy-index-file                   \"index\"))
    (htmlfontify-run-etags srcdir)
    (htmlfontify-copy-and-link-dir srcdir destdir \".src\" \".html\")))")