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 17%D and code from other modules will move here. This will make 18%D the dependencies somewhat cleaner. 19 20\unprotect 21 22%D We need to check this in case a smaller format is loaded. 23 24\ifdefined\layoutisdoublesided \else \newconditional\layoutisdoublesided \fi 25\ifdefined\layoutissinglesided \else \newconditional\layoutissinglesided \fi 26\ifdefined\pagenoshift \else \newcount \pagenoshift \fi 27\ifdefined\realpageno \else \newcount \realpageno \fi 28 29\registerctxluafile{layo-ini}{} 30 31\protect \endinput 32 |