summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/tex
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2019-03-16 14:22:44 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2019-03-16 14:22:44 +0000
commit090dff7b31108a1b2c2d7f11967cb414e9d5ac48 (patch)
tree772251ef37c388a42e2d798ff3c28caf61622b01 /Build/source/texk/web2c/luatexdir/tex
parenteb9deda90c9e0256f62b40599dd5661370d46abf (diff)
Additional wrapping of local boxes; updated luatex manual.
git-svn-id: svn://tug.org/texlive/trunk@50412 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/maincontrol.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/maincontrol.c b/Build/source/texk/web2c/luatexdir/tex/maincontrol.c
index 2768bff72a2..ef5fb64d601 100644
--- a/Build/source/texk/web2c/luatexdir/tex/maincontrol.c
+++ b/Build/source/texk/web2c/luatexdir/tex/maincontrol.c
@@ -2176,10 +2176,20 @@ void build_local_box(void)
p = vlink(head);
pop_nest();
if (p != null) {
- /*tex Somehow |filtered_hpack| goes beyond the first node so we loose it. */
- new_hyphenation(p, null);
+ /*tex
+ Somehow |filtered_hpack| goes beyond the first node so we loose it.
+ */
+ /*tex
+ There is no need for |new_hyphenation(p, null);| here as we're in
+ an |\hbox|.
+ */
(void) new_ligkern(p, null);
p = lua_hpack_filter(p, 0, additional, local_box_group, -1, null);
+ /*tex
+ We really need something packed so we play safe! This feature is inherited
+ but could have been delegated to a callback anyway.
+ */
+ p = hpack(p, 0, additional, -1);
}
if (kind == 0)
eq_define(local_left_box_base, box_ref_cmd, p);