diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-09-10 03:48:41 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-09-10 03:48:41 +0200 |
commit | 809177a0640771ac59eb13a1b52c91acb644e3a1 (patch) | |
tree | 8c616d0045d905f78555d5be9bdd9285bddac42d /tex/context/base/mkxl/node-shp.lmt | |
parent | 0a51e22e296356871498d2925dff025680be8779 (diff) | |
download | context-809177a0640771ac59eb13a1b52c91acb644e3a1.tar.gz |
2022-09-10 02:44:00
Diffstat (limited to 'tex/context/base/mkxl/node-shp.lmt')
-rw-r--r-- | tex/context/base/mkxl/node-shp.lmt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/mkxl/node-shp.lmt b/tex/context/base/mkxl/node-shp.lmt index 7848c623e..7d73d9390 100644 --- a/tex/context/base/mkxl/node-shp.lmt +++ b/tex/context/base/mkxl/node-shp.lmt @@ -49,17 +49,17 @@ do local report = logs.reporter("shipout") - local trace = false trackers.register("backend", "cleanup", function(v) trace = v end) + local trace = false trackers.register("backend.cleanup", function(v) trace = v end) - local flatten = true -- always true + local flatten = true -- also done as line option local soften = true -- true by default nodes.handlers.cleanuppage = function(head) - local count = 0 + -- local count = 0 local found = 0 local replaced = 0 if flatten then - head, count = flattendiscretionaries(head) + head, count = flattendiscretionaries(head,true) -- nested end if soften then head, found, replaced = softenhyphens(head) -- could have been a lua loop |