%%% SETUPS %%%
\setupoutput
   [pdftex]
\enableregime
   [utf]
\usetypescript
   [modern][ec]
\setupbodyfont
   [ss,10pt]
\mainlanguage
   [cz]
\setuppapersize
   [A4][A4]
\setupcolors
   [state=start]
\setuppagenumber
   [state=stop]
\setuppagenumbering
   [location=inmargin,alternative=doublesided]
\setuphead
   [chapter]
   [header=chapter,page=no,command=\indigo,number=no]

%%% COLORS %%%
\definecolor
   [indigo]
   [r=.0, g=.0, b=.5]

%%% PDFINFO %%%
\pdfinfo{
   /Title (Root.cz: Serial ConTeXt: Tabulky)
   /Author (Jakub Stastny)
   /Subject ()
   /CreationDate (11/04/2006) 
   /ModDate (\currentdate)
   /Producer (ConTeXt)
   /Keywords (tables)
}

\starttext

% tabulate environment
\chapter{Prostředí \type{tabulate}}
\starttabulate[|l|p|]
\NC question \NC Sometimes it is surprising to notice that writers,
independently of each other, explore the same theme along similar lines.
Three of the four books mentioned here fall into this category. Which
books do not belong in this list? \NC \NR
\stoptabulate

\starttabulate[|l|p|]
\NC \bf a) \NC 345 \NC\NR
\NC \bf b) \NC 485 \NC\NR
\NC \bf c) \NC 468 \NC\NR
\stoptabulate

% table environment

% easy table
\chapter{Prostředí \type{table}}
\placetable{Prostě tabulka.}
\starttable[|l|r|r|]
\HL
\VL \bf Rok   \VL \bf Výdaje \VL \bf Příjmy \VL \FR
\VL \bf 2005  \VL 120 358 Kč \VL 359 421 Kč \VL \FR
\VL \bf 2006  \VL 142 557 Kč \VL 521 451 Kč \VL \FR
\VL \bf 2007  \VL 168 597 Kč \VL 754 125 Kč \VL \FR
\HL
\stoptable

% the better one
\startlocalfootnotes[n=0]
\placetable{Prostě tabulka.}
\placelegend
\starttable[|l|r|r|]
\HL
\VL \bf Rok                              \VL \bf Výdaje \VL \bf Příjmy \VL \FR
\VL \bf 2005\footnote{Před dvěma lety.}  \VL 120 358 Kč \VL 359 421 Kč \VL \FR
\VL \bf 2006\footnote{Minulý rok.}       \VL 142 557 Kč \VL 521 451 Kč \VL \FR
\VL \bf 2007\footnote{Letošní rok.}      \VL 168 597 Kč \VL 754 125 Kč \VL \FR
\HL
\stoptable
{\placelocalfootnotes}
\stoplocalfootnotes

\stoptext
