← Prev in month ← Prev in thread

hyphenation-character doesn't appear in <programlisting>

From
Xuan Ngo <>
Date
2007-12-20T16:48:18+00:00
ID
Thread
hyphenation-character doesn't appear in <programlisting>
I tried to change the hyphenation-character with a backslash in <programlisting> tag but it is not
appearing in the pdf output. However, long line in pdf are broken down to multiple lines.
Can some1 tell me what is wrong with my customization layer?
I'm using Docbook 1.73.2 and FOP v0.94.

Here is my customization layer:
    <xsl:param name="hyphenate.verbatim" select="1"></xsl:param>
    
    <xsl:attribute-set name="monospace.verbatim.properties"
use-attribute-sets="verbatim.properties monospace.properties">
      <xsl:attribute name="wrap-option">wrap</xsl:attribute>
      <xsl:attribute name="hyphenation-character">\</xsl:attribute>
    </xsl:attribute-set>

thx!



      Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
← Prev in month ← Prev in thread