xhtml5: handle link[@rel='meta'].

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Don't generate xml:id for XHTML5.

Chromium 13 doesn't handle it and so CSS stylesheets relying on ID elements
break.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Revert "Don't generate xml:id for XHTML5."

Chromium works fine if the CSS files use CSS 3 namespace support.  However,
trying to use plain id breaks when trying to generate Atom files for
website-bmc since no DTD is available to indicate that id attributes are of
type ID.

This reverts commit c6b2da490a5f2aec65c6cd42b4fe97292b1498fc.
Actually copy RDF through in XHTML5.

We don't copy through the xml:base attribute, since that's only inserted when we
XInclude the actual metadata from another file; it ends up making our rdf:about
refer to something else entirely.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Optionally expand verbatim tabs in to en spaces.

In some HTML/XHTML environments, such as ePUB, CSS is just not available or not
reliable.  This code allows the expansion of tabs in verbatim environments into
a set of en spaces so that they are properly expanded where CSS is not
available.  However, by default, the old behavior (of inserting a tab) is
enabled.  In either case, the class attribute is set; in CSS-free environments,
it will be ignored.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Add an ePUB conversion stylesheet.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Use font family parameters where possible.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
fo: include existing document metadata.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Work around a bug in funcsynopsis in 1.76.1.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Clean up xhtml5 output.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Handle multiple licenses with rdf:Alt.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Make Gentium the default font.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Work around bug in poppler's handling of empty titles.

Poppler treats an empty title for a PDF bookmark as a case where the item in
question is not a string; therefore, it does not display it or any of its
children (Debian bug #639614).  As a workaround, insert a single U+200B (ZERO
WIDTH SPACE) to trick libpoppler into displaying the bookmarks.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>