summaryrefslogtreecommitdiff
path: root/tex/context/base/layo-ini.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/layo-ini.mkiv')
-rw-r--r--tex/context/base/layo-ini.mkiv31
1 files changed, 31 insertions, 0 deletions
diff --git a/tex/context/base/layo-ini.mkiv b/tex/context/base/layo-ini.mkiv
new file mode 100644
index 000000000..463612978
--- /dev/null
+++ b/tex/context/base/layo-ini.mkiv
@@ -0,0 +1,31 @@
+%D \module
+%D [ file=layo-ini,
+%D version=2011.02.18,
+%D title=\CONTEXT\ Layout Macros,
+%D subtitle=Initialization,
+%D author=Hans Hagen,
+%D date=\currentdate,
+%D copyright=PRAGMA]
+%C
+%C This module is part of the \CONTEXT\ macro||package and is
+%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
+%C details.
+
+\writestatus{loading}{ConTeXt Layout Macros / Initialization}
+
+%D This module deals with the basic variables etc. for layout
+%D and code from other modules will move here. This will make
+%D the dependencies somewhat cleaner.
+
+\unprotect
+
+%D We need to check this in case a smaller format is loaded.
+
+\ifdefined\layoutisdoublesided \else \newconditional\layoutisdoublesided \fi
+\ifdefined\layoutissinglesided \else \newconditional\layoutissinglesided \fi
+\ifdefined\pagenoshift \else \newcount \pagenoshift \fi
+\ifdefined\realpageno \else \newcount \realpageno \fi
+
+\registerctxluafile{layo-ini}{1.001}
+
+\protect \endinput