OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
sean@inwords.co.za
+27-84-854-9408
http://www.inwords.co.za


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]