[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Break long programlisting lines without spaces?
On 04/14/2011 03:06 AM, Jirka Kosek wrote: > David Cramer wrote: > >> I've done a little research on this and found on the fop list some >> discussion (pasted below). The fop developers feel that using the >> hyphenation character to achieve this is an abuse of the >> hypenation-character property. > I don't think so. Are FOP developers aware of the fact that DocBook > stylesheets insert soft-hyphen (U+00AD) character at all places of > possible break? This characters marks possible places for hyphenation. > >> However, it is to my mind an obvious and >> important thing to want to do, so I would say that it's an omission from >> the FO-spec. > Of course U+00AD is defined in Unicode and not in XSL-FO. > >> I've meant to post on the fop list asking for an extension >> feature of some kind to allow for this situation without abusing any >> features, but haven't gotten around to it. > It would be nice to ask FOP developers why they think it is abuse. I > don't see any evidence for this neither in Unicode nor in XSL-FO spec. I > think that this probably lives in area where exact behaviour is > implementation dependent. So obvious thing to do is to follow useful > behavior of market leaders (XEP, XSL Formatter). > > Jirka > In that case, we should take this over to the fop list. I think you'll do a better job at making the argument than I would, but I'll be there to give what you say a +1. Fop has come a long way and produces good output, but for many users this one issue will be a deal killer. David