summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkxl/node-pro.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkxl/node-pro.lmt')
-rw-r--r--Master/texmf-dist/tex/context/base/mkxl/node-pro.lmt8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkxl/node-pro.lmt b/Master/texmf-dist/tex/context/base/mkxl/node-pro.lmt
index 9ad78bb204b..eea2457a6b6 100644
--- a/Master/texmf-dist/tex/context/base/mkxl/node-pro.lmt
+++ b/Master/texmf-dist/tex/context/base/mkxl/node-pro.lmt
@@ -106,7 +106,7 @@ do
local setlist = nodes.setlist
local getsubtype = nodes.getsubtype
- local linelist_code = nodes.listcodes.line
+ local linelist_code <const> = nodes.listcodes.line
local lineactions = tasks.actions("contributers")
local adjustactions = tasks.actions("adjusters")
@@ -143,9 +143,11 @@ do
local actions = tasks.actions("alignments")
- function processors.alignment_filter(head,where,attr,preamble)
+ function processors.alignment_filter(head,where,callback,attr,preamble)
-- todo: add timing
- actions(head,where,attr,preamble)
+ if callback then
+ actions(head,where,callback,attr,preamble)
+ end
end
callbacks.register("alignment_filter", processors.alignment_filter, "things done with alignments")