layo-ini.mkxl /size: 1073 b    last modification: 2023-12-21 09:44
1%D \module
2%D   [       file=layo-ini,
3%D        version=2011.02.18,
4%D          title=\CONTEXT\ Layout Macros,
5%D       subtitle=Initialization,
6%D         author=Hans Hagen,
7%D           date=\currentdate,
8%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9%C
10%C This module is part of the \CONTEXT\ macro||package and is
11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12%C details.
13
14\writestatus{loading}{ConTeXt Layout Macros / Initialization}
15
16%D This module deals with the basic variables etc. for layout and code from other
17%D modules will move here. This will make the dependencies somewhat cleaner.
18
19\unprotect
20
21%D We need to check this in case a smaller format is loaded.
22
23\ifdefined\layoutisdoublesided \else \newconditional\layoutisdoublesided \fi
24\ifdefined\layoutissinglesided \else \newconditional\layoutissinglesided \fi
25\ifdefined\pagenoshift         \else \newinteger    \pagenoshift         \fi
26\ifdefined\realpageno          \else \newinteger    \realpageno          \fi
27
28\registerctxluafile{layo-ini}{autosuffix}
29
30\protect \endinput
31