[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Break long programlisting lines without spaces?
David Cramer wrote: > I was thinking here at a higher level. As a stylesheet developer, I need > some way to solve the problem of specifying that in verbatim > environments, the lines be automatically broken (at a configurable set > of characters) when they exceed the available space and a special > character be added to indicate to the user that the line was broken for > typographical reasons. The hyphenation approach does indeed feel like a > hack. I think it would be better if I just told the fo renderer what I > want (break-long-lines="yes" break-at="/*();. " > break-character="⇦") and have it decide how to deal with the problem. Something very similar is part of XSL-FO 2.0 requirements (see http://www.w3.org/TR/xslfo20-req/#N66916). But it will be long way before it got implemented. -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz 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 ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]