This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
in XML Mind was the fact that although their param.xsl stylesheet had the monospace.verbatim.properties attribute-set, it didn't have the wrap-option attribute at all...I had added it. Whereas in the new (ver 1.66.1) DocBook stylesheets, it already had the wrap-option attribute; I just changed the value to "wrap". When I did the transform in saxon and fop using the old XML Mind stylesheets where I had added the attribute, the programlistings didn't wrap.
1) Does changing the wrap-option on this attribute-set only affect "programlisting"?
2) Is there a way to fix this problem in the html? I tried adding the declaration to docbook-xsl-1.66.1/html/param.xsl, but got a stylesheet compile error that said "No attribute-set exists named monospace.properties"
<xsl:template match="programlisting"> <xsl:param name="suppress-numbers" select="'0'"/> <xsl:variable name="id"> <xsl:call-template name="object.id"/> </xsl:variable>
<xsl:variable name="rtf"> <xsl:apply-templates/> </xsl:variable>
<xsl:variable name="content"> <p class="programlisting"> <xsl:call-template name="make-verbatim"> <xsl:with-param name="rtf" select="$rtf"/> </xsl:call-template> </p> </xsl:variable>
<xsl:choose> <xsl:when test="$shade.verbatim != 0"> <table xsl:use-attribute-sets="shade.verbatim.style"> <tr> <td> <xsl:copy-of select="$content"/> </td> </tr> </table> </xsl:when> <xsl:otherwise> <xsl:copy-of select="$content"/> </xsl:otherwise> </xsl:choose> </xsl:template>
-- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz ------------------------------------------------------------------ Profesionální školení a poradenství v oblasti technologií XML. Podívejte se na náš nově spuštěný web http://DocBook.cz Podrobný přehled školení http://xmlguru.cz/skoleni/ ------------------------------------------------------------------
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |