diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-12-15 10:48:33 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-12-15 10:48:33 +0100 |
commit | 377eff58f2e5c06e92619c353146324081b3b8cd (patch) | |
tree | f60c5a1ef2ed4f1b2af33a5d06f889701639b76e /tex/context/base/mkiv/strc-pag.lua | |
parent | 939f0304347947477f1552848b7fc8d5b2852901 (diff) | |
download | context-377eff58f2e5c06e92619c353146324081b3b8cd.tar.gz |
2020-12-15 10:12:00
Diffstat (limited to 'tex/context/base/mkiv/strc-pag.lua')
-rw-r--r-- | tex/context/base/mkiv/strc-pag.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/strc-pag.lua b/tex/context/base/mkiv/strc-pag.lua index 47fa9463c..6f9cdd429 100644 --- a/tex/context/base/mkiv/strc-pag.lua +++ b/tex/context/base/mkiv/strc-pag.lua @@ -35,6 +35,8 @@ local stopapplyprocessor = processors.stopapply local texsetcount = tex.setcount local texgetcount = tex.getcount +local texconditionals = tex.conditionals + local ctx_convertnumber = context.convertnumber -- storage @@ -319,6 +321,10 @@ function pages.on_right(n) end end +function pages.has_changed() + return texconditionals.layouthaschanged +end + function pages.in_body(n) return texgetcount("pagebodymode") > 0 end |