[luatex] Hyphen char vs discretionary (bug?)
Hans Hagen
j.hagen at xs4all.nl
Mon Apr 30 16:12:06 CEST 2018
On 4/30/2018 3:24 PM, Javier Bezos wrote:
> > \automatichyphenmode
>
>
> Well, I'm optimistc by nature and I thought this would fix my
> problem. But it doesn't.
>
> The change in the behaviour of luatex wrt hyphens breaks bidi in
> babel. So, I have a couple of more or less urgent questions
> (I'm investigating, of course, but I'd like to fix it asap).
>
> 1) How can I see if there is a real char - in pre_linebreak_filter,
> to apply the Unicode rule for number-hyphen-number (so that 19-29
> doesn't become 29-19 in R contexts).
>
> 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
-----------------------------------------------------------------
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