1%D \module 2%D [ file=typo-ini, 3%D version=2000.16.09, 4%D title=\CONTEXT\ Typographic 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%D Since \CONTEXT\ is dealing with typographics, isn't 15%D September 2000 a bit late to start writing this module? It 16%D may seem so, but since more and more languages are 17%D supported, we think it is time to isolate language specific 18%D typographic extensions in modules. The first language that 19%D demands this is Chinese, and more will follow. 20 21\writestatus{loading}{ConTeXt Typographic Macros / Initialization} 22 23\registerctxluafile{typo-ini}{} 24 25\unprotect 26 27% This will be done differently: 28% 29% %D \macros 30% %D {ifvertical} 31% %D 32% %D The following switch can be used to signal macros that they 33% %D should adapt their behaviour. 34% 35% \newif\ifvertical % maybe also ifreverse 36% 37% %D \macros 38% %D {vhbox} 39% %D 40% %D A stupid but useful macro. 41% 42% \def\vhbox{\ifvertical\vbox\else\hbox\fi} 43 44%D \macros 45%D {everyresettypesetting} 46 47\newtoks\everyresettypesetting 48 49\protect \endinput 50 |