Re: [docbook-apps] Break long programlisting lines without spaces?

From
Jirka Kosek <>
Date
2011-04-13T21:32:40+00:00
ID
Thread
Re: [docbook-apps] Break long programlisting lines without spaces?
Peter Desjardins wrote:

> Has anyone developed a customization that will do this?

There is parameter for this:

http://docbook.sourceforge.net/release/xsl/current/doc/fo/hyphenate.verbatim.characters.html

If you want to allow breaking after any character you can put complete
alphabet inside this parameter.

However I'm not sure if this will work in FOP. This is known to work in
XEP, but AFAIK it was not working in FOP 0.20.x/0.9x. I have never
tested it with FOP 1.0.

			Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------