summaryrefslogtreecommitdiff
path: root/tex/context/base/meta-pag.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/meta-pag.mkiv')
-rw-r--r--tex/context/base/meta-pag.mkiv10
1 files changed, 8 insertions, 2 deletions
diff --git a/tex/context/base/meta-pag.mkiv b/tex/context/base/meta-pag.mkiv
index 6cea270e3..ef53d4753 100644
--- a/tex/context/base/meta-pag.mkiv
+++ b/tex/context/base/meta-pag.mkiv
@@ -33,6 +33,12 @@
\stopMPinitializations
\startMPinitializations
+ CurrentColumn:=\number\mofcolumns;
+ NOfColumns:=\number\nofcolumns;
+ % todo: ColumnDistance
+\stopMPinitializations
+
+\startMPinitializations
def LoadPageState =
OnRightPage:=\MPonrightpage;
OnOddPage:=\MPonoddpage;
@@ -75,8 +81,8 @@
InnerEdgeWidth:=\the\inneredgewidth;
OuterEdgeDistance:=\the\outeredgedistance;
OuterEdgeWidth:=\the\outeredgewidth;
- PageOffset:=\the\pageoffset;
- PageDepth:=\the\pagedepth;
+ PageOffset:=\the\pagebackgroundoffset;
+ PageDepth:=\the\pagebackgrounddepth;
LayoutColumns:=\the\layoutcolumns;
LayoutColumnDistance:=\the\layoutcolumndistance;
LayoutColumnWidth:=\the\layoutcolumnwidth;