% output=pdftex engine=pdftex language=uk
%
% copyright=pragma-ade readme=readme.pdf licence=cc-by-nc-sa

\startcomponent mfun-025

\environment mfun-000

\startstandardmakeup[doublesided=no,page=right]
  % back page
\stopstandardmakeup

\setupbackgrounds
  [leftpage]
  [background=back page]

\setuplayout
  [cutspace=2cm,
   backspace=8cm,
   header=0pt,
   footer=0pt,
   topspace=17cm,
   bottomspace=2cm]

\definecolor[twhite][s=1,t=.80,a=1]

\setupbackgrounds
  [text][text]
  [background=color,
   backgroundcolor=twhite,
   backgroundoffset=.5cm]

% back page

\startstandardmakeup[doublesided=no,page=left,top=,bottom=]

  \switchtobodyfont[big]

  \setupinterlinespace[stretch=.5]

  This document introduces you into the world of the
  graphic programming language \MetaPost. Not only the
  language itself is covered in detail, but also the way to
  interface with the typographic language \TeX. We also
  present the collection of \MetaPost\ graphic that come
  with the \ConTeXt\ typesetting system. This collection
  goes under the name \MetaFun.

  All aspects of the \MetaPost\ language are covered. The
  first chapters focus on the \MetaPost\ language, later
  chapters cover aspects like color, graphic inclusions,
  adding labels, and stepwise constructing graphics. We
  finish with an graphical overview of commands.

  \blank

  \WidthSpanningText
    {PRAGMA Advanced Document Engineering, Hasselt NL, \currentdate[year]}
    {\textwidth}
    {RegularBold}

\stopstandardmakeup

\setupbackgrounds
  [rightpage]
  [background=]

\stopcomponent
