On Fri, 12 Nov 2004, Michael Kay wrote:
This very strongly suggests that you have an xsl:output declaration
somewhere that requests an encoding such as iso-8859-1.
Writing toc.hhc
Error at xsl:copy-of on line 338 of
file:/usr/share/sgml/docbook-xsl/html/chunker.xsl:
Output character not available in this encoding (decimal 8220)
OK, I think this a a bug, or a weirdness, but it is localized:
something is wrong with the writing of the htmlhelp toc file, when
one or more section titles contain quotation marks.
Could I somehow be implying the declaration you speak of? The
invocation of saxon is this:
saxon manual.xml gretlhlp.xsl "tex.math.in.alt=latex"
and gretlhlp.xsl is:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import
href="/usr/share/sgml/docbook-xsl/htmlhelp/htmlhelp.xsl"/>
<xsl:param name="lang" select="'en'"/>
<xsl:template match="command">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
<xsl:param name="htmlhelp.hhp" select="'gretl.hhp'"/>
<xsl:param name="htmlhelp.chm" select="'gretl.chm'"/>
<xsl:param name="admon.graphics" select="1"/>
<xsl:param name="admon.graphics.extension" select="'.gif'"/>
<xsl:param name="admon.graphics.path">figures/</xsl:param>
<xsl:param name="navig.graphics" select="1"/>
<xsl:param name="graphic.default.extension" select="'gif'"/>
</xsl:stylesheet>
On my system, /usr/share/sgml/docbook-xsl is a symlink: if I point
it at docbook-xsl-1.59.1 the htmlhelp files are generated without
complaint; if I point it at docbook-xsl-1.67.0 I get the error with
character 8220 in the toc file.
Allin Cottrell
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--