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: Re: [docbook-apps] Break long programlisting lines without spaces?


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

-- 
------------------------------------------------------------------
  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
------------------------------------------------------------------

OpenPGP digital signature



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