← Prev in month ← Prev in thread

programlisting hyphernate.verbatim problem

From
Sean Wheller <>
Date
2006-06-09T14:04:42+00:00
ID
Thread
programlisting hyphernate.verbatim problem
Hi,

Using:

Saxon 6.5.5
FOP 0.20.5

To fix over run lines in programlisting I applied Bobs fix from 
http://www.sagehill.net/docbookxsl/ProgramListings.html

"the hyphenate.verbatim parameter to 1"
<xsl:attribute-set name="monospace.verbatim.properties">
    <xsl:attribute name="wrap-option">wrap</xsl:attribute>
    <xsl:attribute name="hyphenation-character">\</xsl:attribute>
</xsl:attribute-set>

This results in bad hyphenation as such on all lines in the listing:
xxx -yyyy -zzzz -aaaa 	\
-bbbb

Instead of
xxx yyyy zzzz aaaa	\
bbbb

I narrow the problem to FOP, since when I use XEP it does no such thing.

Can anyone confirm this and have a work around. I really don't want to manuall 
break the lines in the whole books listing.

Thanks,

-- 
Ask me about the Monkey.

Sean Wheller
Technical Author

+27-84-854-9408
http://www.inwords.co.za
← Prev in month ← Prev in thread