Hi, 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
On Thu, Apr 11, 2019 at 3:12 PM Marcel Krüger
Hi,
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.
Thank you very much for the patch, I will see i asap. Given that practically TeXLive 2019 is done https://tug.org/pipermail/tex-live/2019-April/043549.html this weekend I will sync the texlive repo with the luatex repo and make the tags/1.10 Then I will see the patches. I think than now patch adoptions will be a bit slower, because we have to carefully consider the side effects on the formats like context, lualatex and on the packages using lua. -- luigi
Marcel Krüger
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.
Does this solve my original question wrt \parshape's inside \vbox'es? ( https://tug.org/pipermail/luatex/2019-April/007126.html ). Javier
participants (3)
-
listas@tex-tipografia.com
-
luigi scarso
-
Marcel Krüger