On Saturday 13 January 2007 19:57, Vincent Hennebert wrote:
> Jeremias Maerki a écrit :
> > On 12.01.2007 09:25:59 Vincent Hennebert wrote:
> >> Jeremias Maerki a écrit :
> >>> Good to see that happen! Here's my take:
> >>>
> >>> On 11.01.2007 13:24:16 Manuel Mall wrote:
> >>>> Hi,
> >>>>
<snip/>
> Still don't agree. Overriding is not adding hyphenation points. The
> following sentence in the description of SHY is pretty clear to me:
> "The use of SHY is generally limited to situations where users need
> to override the behavior of [an automatic] hyphenator."
>
> [Manuel]
>
> > Interesting but moot point I think. FOP is the automatic hyphenator
> > in this case and the hyphenate property could be argued to control
> > which hyphenation algorithm FOP is using. If hyphenate="true" FOP
> > is allowed to add its own hyphenation breaks. If hyphenate="false"
> > it uses only user specified hyphenation breaks (= soft hyphens).
>
> Well, again, the description of the "hyphenate" property (§7.9.4)
> sounds clear to me: when false, "Hyphenation may not be used in the
> line-breaking algorithm".
>
I still think this can be interpreted both ways. It clearly forbids 
formatter generated hyphenation but does it also suppress user 
specified hyphenation?

In HTML there is no hyphenation but browsers are expected to honor the 
SHY, that is treat it as a possible line break and if chosen put a 
hyphen there otherwise discard the SHY. Given that XSL:FO is derived 
from the HTML/CSS rendering model one could argue that this is the 
default behaviour the XSL:FO authors most likely intended. If not it 
would be difficult to construct a FO document that behaves with respect 
to hyphenation and the SHY similar to HTML.

> <snip/>
>
> To summarize, my opinion is that:
> - if "hyphenate" = false, no automatic hyphenation is performed, and
>   soft hyphens are discarded
> - if "hyphenate" = true, automatic hyphenation is performed, except
> for any word that contains soft hyphens, in which case the soft
> hyphens are used to create legal breakpoints.
>
> Now if the majority is against me, I'll shut up right now to not
> prevent things moving on.
>

Fully agree - happy to go with the majority either way.

> Vincent

Manuel

Reply via email to