On 7/9/2013 2:01 PM, Élie Roux wrote:
in the first pass there is no hyphenation at all, only the replace field
is consulted so there is no reason to take that penalty into account
This makes sense! Though one can argue that an explicit \discretionary
is not mandatorily an hyphen? The case of Gregorian scores is of course
very specific, but it's part of the exceptions...
In any case, such a difference with the TeX algorithm should be documented!
the first pass not being hyphenated has not to be documented as it's
standard tex behaviour (however, ignoring category 1-3 dics nodes in
pass one is, see a previous mail to you/taco, although that can become
optional)
concerning comparison with pdftex: as luatex separates the hyphenating,
ligaturing and kerning passes (and needs no reconstruction mechanisms
when unboxing and re-breaking is involved) there will always be some
incompatibilities, and these are mentioned in the manual
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------