diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-06-09 20:47:50 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-06-09 20:47:50 +0200 |
commit | be735a865e2bdc6b7ac57161a24e4911741024f1 (patch) | |
tree | 583ffc0d91324da3b4f1239449bbcdf8e28a8ec3 /tex/context/base/mkiv/luat-run.lua | |
parent | 4e4dcdd6d58631f6b260dbc16007152ac14d9677 (diff) | |
download | context-be735a865e2bdc6b7ac57161a24e4911741024f1.tar.gz |
2016-06-09 19:28:00
Diffstat (limited to 'tex/context/base/mkiv/luat-run.lua')
-rw-r--r-- | tex/context/base/mkiv/luat-run.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/luat-run.lua b/tex/context/base/mkiv/luat-run.lua index 7e81350f0..8b498eda7 100644 --- a/tex/context/base/mkiv/luat-run.lua +++ b/tex/context/base/mkiv/luat-run.lua @@ -26,10 +26,12 @@ local luatex = luatex local startactions = { } local stopactions = { } local dumpactions = { } +local pageactions = { } function luatex.registerstartactions(...) insert(startactions, ...) end function luatex.registerstopactions (...) insert(stopactions, ...) end function luatex.registerdumpactions (...) insert(dumpactions, ...) end +function luatex.registerpageactions (...) insert(pageactions, ...) end local function start_run() if logs.start_run then @@ -63,6 +65,9 @@ end local function stop_shipout_page() logs.stop_page_number() + for i=1,#pageactions do + pageactions[i]() + end end local function report_output_pages() |