Re: Bug#283949: allow generation of plain text
On Wed, Dec 08, 2004 at 07:02:44PM +0100, Frans Pop wrote:
> Could you have a look at how to set up things so the single HTML file will
> be generated in UTF-8? You seem to be better at that kind of thing than I
> am :-P
Done. It's a small patch on the stylesheet....
Index: style-html-single.xsl
===================================================================
--- style-html-single.xsl (revision 24326)
+++ style-html-single.xsl (working copy)
@@ -5,6 +5,8 @@
<xsl:import
href="file:///usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl"/>
+<xsl:output method="html" encoding="UTF-8" indent="no"/>
+
<!-- Include our common parameters -->
<xsl:include href="style-common.xsl"/>
BTW, we also should consider generating strict XHTML...... ;)
--
Nikolai Prokoschenko
nikolai@prokoschenko.de / Jabber: pronik@jabber.org
Reply to: