Next: , Previous: DocBook, Up: Publishing Styles


9.5 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.

These publishing styles use the same options for markup up special characters as the “xml” publishing style. See XML, for details.

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 publishing to XHTML, then customize the muse-xhtml-style-sheet option instead.

muse-xhtml-style-sheet
Store your stylesheet definitions here.

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

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.

If you want to make more-complicated tables in HTML, surround the HTML with the literal tag, so that it does not get escaped.

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-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-xml-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-xml-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.