\startenvironment still-environment

% \enabletrackers[fonts.usage,graphics.usage]

\usemodule[abr-02]

\setupbodyfont[modern]
\setupbodyfont[xits]
\setupbodyfont[pagella]
\setupbodyfont[cambria]
\setupbodyfont[lucidaot]

\setupbodyfont
  [dejavu]

\setuplayout
  [topspace=2cm,
   header=0pt,
   footer=1.5cm,
   bottomspace=1cm,
   width=middle,
   height=middle]

\definecolor[maincolor][darkblue]

\setuptype
  [color=maincolor]

\setuptyping
  [color=maincolor]

\setuphead
  [color=maincolor]

\setuphead
  [chapter]
  [style=\bfc]

\setuphead
  [section]
  [style=\bfb]

\setuphead
  [subsection]
  [style=\bf]

\setuppagenumbering
  [alternative=doublesided]

\setupfootertexts
  [][{\getmarking[chapter]\hbox to 2em{\hss\pagenumber}}]
  [{\hbox to 2em{\pagenumber\hss}\getmarking[chapter]}][]

\setupwhitespace
  [big]

\setuplist
  [chapter]
  [width=3em,
   before={\testpage[3]\blank},
   after={\blank[samepage]},
   color=maincolor,
   style=bold]

\setuplist
  [section]
  [width=3em,
   before={\blank[nowhite]},
   after={\blank[nowhite]}]

\stopenvironment
