% Translation: busaj
% Checking:    2006-11-15 zyka
\startcomponent ma-cb-cz-setupcommands
\project ma-cb
\product ma-cb-cz
\environment ma-cb-env-cz

%\chapter[sec:setupcommands]{Setup commands}
\chapter[sec:setupcommands]{Nastavovac� p��kazy}

%\index{set up}
%\index{layout}
\index{nastaven�}
\index{form�tov�n�}

\Command{\tex{setupparagraphs}}

%Global commands are placed in the setup area of your input
%file, before \type{\starttext}. In \in{appendix}[comdefs]
%there is a complete overview of the available commands and
%their parameters.
Glob�ln� p��kazy se umis�uj� v~deklara�n� oblasti vstupn�ho
souboru, p�ed povelem \type{\starttext}. V~\in{p��loze}[comdefs] je
uveden p�ehled dostupn�ch p��kaz� a~jejich parametr�.

%The set up commands all have the same structure. They look
%something like:
Nastavovac� p��kazy maj� stejnou strukturu. Vypadaj� t�eba takto:

\startbuffer
\setup{setupparagraphs}
\stopbuffer

\getbuffer

%A set up command consist of a more or less logical name and a
%number of bracket pairs. Bracket pairs may be optional and
%in that case the \type{[]} are typeset slanted {\tt \sl []}.
%In the definition the bracket pairs may contain:
Deklara�n� povely se v�ce nebo m�n� skl�daj� z~logick�ho jm�na
a~ur�it�ho po�tu dvojic hranat�ch z�vorek. Tyto m��ou b�t nepovinn�,
v~tom p��pad� je pod nimi naps�no slovo
\unprotected\expandafter\type\expandafter{\c!setup!internal!{optional}}. 
Dvojice hranat�ch z�vorek mohou v~definici obsahovat:

\starttyping
\setupacommand[.1.][.2.][..,..=..,..]
\stoptyping

%The commas indicate that a list of parameters can be
%enclosed. In the options list following the definition, the
%\type{.1.} and \type{.2.} show the possible options that can
%be set in the first and second bracket pair respectively.
%The parameters and their possible values are placed in the
%third bracket pair.
��rky ve t�et� z�vorce nazna�uj�, �e zde m��e b�t vlo�en seznam
parametr�, rovn�tko zna��, �e jde o~parametry typu {\em kl��=hodnota}.
��sla \type{.1.} a~\type{.2.} odkazuj� na vysv�tlivky za definic�.
Ty n�m ��kaj�, jak� volby m��eme uv�st v~prvn�, druh� a~t�et� hranat�
z�vorce.

%The default options and parameter values are underlined.
%Furthermore you will notice that some values are typeset in
%a slanted way: {\sl section}, {\sl name}, {\sl dimension},
%{\sl number}, {\sl command} and {\sl text}. This indicates
%that you can set the value yourself.
Implicitn� volby a~hodnoty parametr� jsou podtr�eny.
Nav�c si m��eme v�imnout, �e n�kter� hodnoty jsou vys�zeny
%sklon�n�m �ezem p�sma: {\sl section}, {\sl name}, {\sl dimension}, 
%{\sl number}, {\sl command} and {\sl text}.
verz�lkami: {\small\tt\uppercase{section}}, {\small\tt\uppercase{name}},
  {\small\tt\uppercase{dimension}}, {\small\tt\uppercase{number}},
  {\small\tt\uppercase{command}}, and {\small\tt\uppercase{text}}.
Toto nazna�uje, �e nejde o~konstantn� hodnoty, ale o~hodnoty ur�it�ho
typu:

%\starttabulate[|S||]
%\NC section   \NC a section name like chapter, section, subsection etc. \NC\NR
%\NC name      \NC an identifier (logical name) \NC\NR
%\NC dimension \NC a dimension with a unit in \type{cm}, \type{pt},
%                  \type{em}, \type{ex}, \type{sp} or \type{in} \NC\NR
%\NC number    \NC an integer \NC\NR
%\NC command   \NC a command \NC\NR
%\NC text      \NC text \NC\NR
%\stoptabulate
\starttabulate[|S||]
\NC {\small\tt\uppercase{section}}   \NC n�zev odd�lu, nap��klad chapter, section, subsection atd.; \NC\NR
\NC {\small\tt\uppercase{name}}      \NC identifik�tor (logick� jm�no); \NC\NR
\NC {\small\tt\uppercase{dimension}} \NC rozm�r v~jednotk�ch \type{cm}, \type{pt},
                  \type{em}, \type{ex}, \type{sp} nebo \type{in}; \NC\NR
\NC {\small\tt\uppercase{number}}    \NC cel� ��slo; \NC\NR
\NC {\small\tt\uppercase{command}}   \NC p��kaz s~dan�m po�tem parametr�; \NC\NR
\NC {\small\tt\uppercase{text}}      \NC text. \NC\NR
\stoptabulate

\stopcomponent
