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! Thank you, -- Elie
