1%D \module 2%D [ file=regi-ini, 3%D version=2005.04.25, 4%D title=\CONTEXT\ Regime Macros, 5%D subtitle=Regime Support, 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\registerctxluafile{regi-ini}{autosuffix} 15 16\unprotect 17 18%D \macros 19%D {enableregime,disableregime, 20%D startregime,stopregime, 21%D pushregime, popregime, 22%D currentregime} 23%D 24%D Beware, the enable and disable commands are global switches, so best use the 25%D start|/|stop commands. 26 27\mutable\lettonothing\currentregime 28 29%D These are defined at the \LUA\ end: 30%D 31%D \starttyping 32%D \enableregime[#1] 33%D \disableregime 34%D \startregime [#1] 35%D \stopregime 36%D \pushregime 37%D \popregime 38%D \stoptyping 39 40\protect \endinput 41 |