%D \module
%D   [      file=s-mod-01,
%D        version=very-old,
%D          title=\CONTEXT\ Style File,
%D       subtitle=Documentation Paper Environment,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for 
%C details. 

%D This module looks like crap, is not documented, will 
%D change, and used to be called modu-*.tex. 

\input s-mod-00.tex 

\unprotect

\setupbodyfont
  [10pt,ams]

\mainlanguage 
  [en]

\setupwhitespace
  [\v!groot]

\setuptolerance
  [\v!soepel]

\emergencystretch=5em

\setuplayout
  [\c!rugwit=3.5cm,
   \c!linkermarge=1.75cm,
   \c!rechtermarge=0cm,
   \c!margeafstand=.5cm,
   \c!linkerrandafstand=.25cm,
   \c!rechterrandafstand=.5cm,
   \c!rand=1.5cm,
   \c!breedte=15.55333cm,         % 13.998cm at 9pt => 15.55333 at 10pt
   \c!kopwit=2cm,
   \c!hoofd=1.25cm,
   \c!voet=1.25cm,
   \c!hoogte=25cm,
   \c!letter=\ss]

\stelsetupin
  [\c!verwijzing=1]

\startnotmode[single]

  \setuppagenumbering
    [\c!variant={\v!dubbelzijdig,\v!enkelzijdig}]

\stopnotmode

\stelnummeringin
  [\c!plaats=]

\setupfootertexts
  [\v!rand]
  [][\v!paginanummer]

\startmode[single]

  \setupfootertexts
    [\v!marge]
    [\tt\Modulefile][]  

\stopmode

\startnotmode[single]

  \setupfootertexts
    [\v!marge]
    [\tt\Modulefile][]  
    [\tt\Modulefile][]  

\stopnotmode

\setupfootertexts
  [\v!tekst]
  [\CONTEXT]
  [\Moduletitle]

\setupheadertexts
  [\v!tekst]
  []
  [\Modulesubtitle]

\stelinmargein
  [\c!plaats=\v!links]

\stelkoppenin
  [\c!variant=\v!inmarge]

\stelkopin
  [\v!hoofdstuk]
  [\c!letter=\ssc,
   \c!pagina=\v!rechts,
   \c!hoofd=\v!leeg]

\stelkopin
  [\v!paragraaf]
  [\c!letter=\ssb,
   \c!pagina=\v!rechts]

\stellijstin
  [\v!hoofdstuk]
  [\c!letter=\v!vet,
   \c!na=\blanko]

\stelsamengesteldelijstin
  [\v!inhoud]
  [\c!breedte=3em,
   \c!titeluitlijnen=\v!ja]

\stelregisterin
  [\v!index]
  [\c!balanceren=\v!ja,
   \c!aanduiding=\v!nee]

\startnotmode[nocolor]

\setupcolors
  [\c!status=\v!start]

\stopnotmode

\startnotmode[color]

  \setupcolors 
    [\c!conversie=\v!altijd]

  \setuptyping
    [\c!palet=graypretty]

\stopnotmode

\setupinteraction
  [\c!status=\v!start,
   \c!kleur=,
   \c!letter=]

\protect \endinput 
