summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/layo-ini.mkiv
blob: 9097265c9c467c773e5834fa19dbcf4046a7cd53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 ADE \& \CONTEXT\ Development Team}]
%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