On 4/11/2023 3:25 PM, Udicoudco wrote:
Hello all,
Attached a file with what I believe to be a wrong output.
Strangely, if I do one of the following steps, the last "ab" returns
to the correct ocation (currently the last ab is at the left hand side
bottom corner):
* if I remove one of the "unnecessary" \textdir TLT
* if I remove the grouping around \textdir TRT
* if I add another group around {ab\texdir TRT ab}\textdir TLT
I can reproduce this result on both miktex and texlive with LaTeX 1.16.0.
Is this a bug? or am I somehow misusing the \textdir primitive?
you push a node onto the list but not in horizontal mode so that likely
confuses the direction recovery (just put something invisible in from of
the textdir that forces entering the paragraph migh thelp); patching
directional code is a bit tricky and likely not compatible
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-luatex