diff options
Diffstat (limited to 'tex/context/base/mkxl/page-ini.lmt')
-rw-r--r-- | tex/context/base/mkxl/page-ini.lmt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/page-ini.lmt b/tex/context/base/mkxl/page-ini.lmt index bb5ea2b5d..ef34687c6 100644 --- a/tex/context/base/mkxl/page-ini.lmt +++ b/tex/context/base/mkxl/page-ini.lmt @@ -354,3 +354,19 @@ implement { ctx_doifelse(p) end, } + +-- implement { +-- name = "pagestate", +-- public = true, +-- usage = "value", +-- actions = function() +-- local result = 0 +-- if nodes.nuts.getspeciallist("contribute_head") then +-- result = result | 1 +-- end +-- if nodes.nuts.getspeciallist("page_head") then +-- result = result | 2 +-- end +-- return tokens.values.integer, result +-- end +-- } |