diff options
Diffstat (limited to 'tex/context/base/mkiv/strc-pag.mkiv')
-rw-r--r-- | tex/context/base/mkiv/strc-pag.mkiv | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/strc-pag.mkiv b/tex/context/base/mkiv/strc-pag.mkiv index 0a55fb45f..cf2533c46 100644 --- a/tex/context/base/mkiv/strc-pag.mkiv +++ b/tex/context/base/mkiv/strc-pag.mkiv @@ -307,12 +307,16 @@ \installdirectcommandhandler \??pagenumbering {pagenumbering} +% some day ifsinglesided and ifdoublesided will become obsolete + \appendtoks \singlesidedfalse \setfalse\layoutisdoublesided \doublesidedfalse \setfalse\layoutissinglesided + \resetsystemmode\v!singlesided + \resetsystemmode\v!doublesided \processallactionsinset[\directpagenumberingparameter\c!alternative] - [ \v!singlesided=>\singlesidedtrue\settrue\layoutissinglesided, - \v!doublesided=>\doublesidedtrue\settrue\layoutisdoublesided]% + [ \v!singlesided=>\setsystemmode\v!singlesided\singlesidedtrue\settrue\layoutissinglesided, + \v!doublesided=>\setsystemmode\v!doublesided\doublesidedtrue\settrue\layoutisdoublesided]% \ifdefined\trackingmarginnotestrue \ifdoublesided \trackingmarginnotestrue |