summaryrefslogtreecommitdiff
path: root/tex/context/base/node-fin.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/node-fin.mkiv')
-rw-r--r--tex/context/base/node-fin.mkiv14
1 files changed, 6 insertions, 8 deletions
diff --git a/tex/context/base/node-fin.mkiv b/tex/context/base/node-fin.mkiv
index 2f90e699b..09bac6c08 100644
--- a/tex/context/base/node-fin.mkiv
+++ b/tex/context/base/node-fin.mkiv
@@ -18,19 +18,17 @@
\unprotect
+\registerctxluafile{node-shp}{1.001}
\registerctxluafile{node-fin}{1.001} % we might generalize this one
-\definesystemattribute[trigger][public]
-
-% There will be two: (1) page i.e. before shipout cq. impose cache
-% (2) at shipout
+% we might have two variants at some point (efficiency)
-\def\finalizeobjectbox #1{\ctxlua{nodes.handlers.finalize(tex.box[\number#1])}}
-\def\finalizeshipoutbox#1{\ctxlua{nodes.handlers.finalize(tex.box[\number#1])}}
+\def\finalizeobjectbox #1{\ctxcommand{finalizebox(\number#1)}}
+\def\finalizeshipoutbox#1{\ctxcommand{finalizebox(\number#1)}}
-% tricky stuff:
+% Tricky stuff: this might become obsolete.
-% THIS MIGHT BECOME OBSOLETE.
+\definesystemattribute[trigger][public]
\newcount\attributeboxcount