[Dev-luatex] Fixing \shapemode

Marcel Krüger tex at 2krueger.de
Thu Apr 11 15:11:34 CEST 2019


I attached a patch fixing the problem Ulrike Fischer described in https://tug.org/pipermail/luatex/2019-April/007127.html and https://tug.org/pipermail/luatex/2017-November/006641.html :
\shapemode=2 and \shapemode=3 should mirror the parshape, but until now this has only been done for the final entry in the parshape list, leading to inconsistant behaviour.
The fix seems easy: Add `swap_parshape_indent` to ext_post_line_break in the same way as in ext_do_line_break.

A reproducing example in plain TeX can be found in Ulrike's mails linked above.

Best regards
Marcel Krüger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-parshape-mirroring-in-non-final-lines.patch
Type: application/octet-stream
Size: 981 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-luatex/attachments/20190411/990fdf74/attachment.obj>

More information about the dev-luatex mailing list