[luatex] Hyphen char vs discretionary (bug?)

Hans Hagen j.hagen at xs4all.nl
Tue May 1 10:04:58 CEST 2018


On 4/30/2018 5:02 PM, Javier Bezos wrote:
> Hans,
> 
>>> 2) If not possible, which is the best alternative? A possibility
>>> is to read the 'replace' list in the disc node, but I wonder if
>>> there is a simpler approach.
> 
>> in case of a disc node you can look at the subtype
> 
> Sure, but the subtype only tells us there is an automatic
> disc (=2), not the glyph (which may be changed with
> \exhyphenchar). May I assume there is only a single glyph
> in the 'replace' node list (namely, the char = \exhyphenchar
> when the node list was built)?
yes because the character code only codes one character

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the luatex mailing list