summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-tsk.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-07-18 18:32:31 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2018-07-18 18:32:31 +0200
commite09328e5e3230ee408f6af2cd454848c4d056702 (patch)
treec57a1aca26d55550ba7d07bb2a419cd68485bef7 /tex/context/base/mkiv/node-tsk.lua
parent57dbee16f3a8e09e688f792c6e36a53de798e6cb (diff)
downloadcontext-e09328e5e3230ee408f6af2cd454848c4d056702.tar.gz
2018-07-18 17:40:00
Diffstat (limited to 'tex/context/base/mkiv/node-tsk.lua')
-rw-r--r--tex/context/base/mkiv/node-tsk.lua39
1 files changed, 26 insertions, 13 deletions
diff --git a/tex/context/base/mkiv/node-tsk.lua b/tex/context/base/mkiv/node-tsk.lua
index b61515aed..aa59d1d5d 100644
--- a/tex/context/base/mkiv/node-tsk.lua
+++ b/tex/context/base/mkiv/node-tsk.lua
@@ -277,22 +277,12 @@ function tasks.table(name) --maybe move this to task-deb.lua
end
end
--- -- shipouts -- --
+-- -- shipouts everypar -- --
-- the shipout handlers acts on boxes so we don't need to return something
-- and also don't need to keep the state (done)
-tasks.new {
- name = "shipouts",
- processor = nodeprocessor,
- sequence = {
- "before", -- users
- "normalizers", -- system
- "finishers", -- system
- "after", -- users
- "wrapup", -- system
- },
- templates = {
+local templates = {
default = [[
return function(head)
@@ -330,7 +320,30 @@ nonut = [[
%action%(nuthead)
]],
- }
+}
+
+tasks.new {
+ name = "shipouts",
+ processor = nodeprocessor,
+ sequence = {
+ "before", -- users
+ "normalizers", -- system
+ "finishers", -- system
+ "after", -- users
+ "wrapup", -- system
+ },
+ templates = templates
+}
+
+tasks.new {
+ name = "everypar",
+ processor = nodeprocessor,
+ sequence = {
+ "before", -- users
+ "normalizers", -- system
+ "after", -- users
+ },
+ templates = templates,
}
-- -- finalizers -- --