Next: , Previous: DocBook, Up: Publishing Styles


9.4 Publishing in HTML or XHTML form

This publishing style is capable of producing HTML or XHTML documents.

Styles provided
html
Supports publishing to HTML 4.0 and HTML 4.01, Strict or Transitional.
xhtml
Supports publishing to XHTML 1.0 and XHTML 1.1, Strict or Transitional.
Options provided

If an HTML option does not have a corresponding XHTML option, it will be used for both of these publishing styles.

muse-html-extension
Default file extension for publishing HTML files.
muse-xhtml-extension
Default file extension for publishing XHTML files.
muse-html-style-sheet
Store your stylesheet definitions here.

This is used in muse-html-header. You can put raw CSS in here or a <link> tag to an external stylesheet. This text may contain <lisp> markup tags.

If you are using XHTML, make sure to close the <link> tag properly.

muse-html-header
Header used for publishing HTML files.

This may be text or a filename.

muse-html-footer
Footer used for publishing HTML files.

This may be text or a filename.

muse-xhtml-header
Header used for publishing XHTML files.

This may be text or a filename.

muse-xhtml-footer
Footer used for publishing XHTML files.

This may be text or a filename.

muse-html-anchor-on-word
When true, anchors surround the closest word.

This allows you to select them in a browser (i.e. for pasting), but has the side-effect of marking up headers in multiple colors if your header style is different from your link style.

muse-html-table-attributes
The attribute to be used with HTML <table> tags.

Note that since Muse supports direct insertion of HTML tags, you can easily create any kind of table you want, as long as each line begins at column 0 (to prevent it from being blockquoted).

muse-html-markup-regexps
List of markup rules for publishing a Muse page to HTML.
muse-html-markup-functions
An alist of style types to custom functions for that kind of text.
muse-html-markup-strings
Strings used for marking up text as HTML.

These cover the most basic kinds of markup, the handling of which differs little between the various styles.

muse-xhtml-markup-strings
Strings used for marking up text as XHTML.

These cover the most basic kinds of markup, the handling of which differs little between the various styles.

muse-html-markup-tags
A list of tag specifications, for specially marking up HTML. See muse-publish-markup-tags, for more information.
muse-html-markup-specials
A table of characters which must be represented specially. By default, this includes `"', `<', `>', and `&'.
muse-html-meta-http-equiv
The http-equiv attribute used for the HTML <meta> tag.
muse-html-meta-content-type
The content type used for the HTML <meta> tag.

If you are striving for XHTML 1.1 compliance, you may want to change this to “application/xhtml+xml”.

muse-html-meta-content-encoding
The charset to append to the HTML <meta> tag.

If set to the symbol 'detect, use muse-html-encoding-map to try and determine the HTML charset from emacs's coding. If set to a string, this string will be used to force a particular charset.

muse-html-charset-default
The default HTML meta charset to use if no translation is found in muse-html-encoding-map.
muse-html-encoding-default
The default Emacs buffer encoding to use in published files. This will be used if no special characters are found.
muse-html-encoding-map
An alist mapping emacs coding systems to appropriate HTML charsets. Use the base name of the coding system (i.e. without the -unix).