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

%\chapter{Registers}
\chapter{Rejst��ky}

%\index{register}
\index{rejst��k}

\Command{\tex{index}}
\Command{\tex{placeindex}}
\Command{\tex{completeindex}}
\Command{\tex{defineregister}}
\Command{\tex{placeregister}}
\Command{\tex{completeregister}}
\Command{\tex{setupregister}}

%It is possible to generate one or more registers. By default
%the command \type{\index} is available. If you want to add
%a word to the index you type:
V~\CONTEXT{}u je mo�n� vytvo�it jeden nebo v�ce rejst��k�. Implicitn�
je k~dispozici p��kaz \type{\index}. Jestli�e chceme do
rejst��ku p�idat n�jak� slovo, nap��eme nap��klad: 

%\starttyping
%\index{town hall}
%\stoptyping
\starttyping
\index{radnice}
\stoptyping

%The word {\em town hall} will appear as an index entry. An
%index is sorted in alphabetical order by an auxilliary
%program. Sometimes the index word does not appear in normal alphabetic
%order. For example, entries such as symbols have to provide extra
%sorting information in order to produce a correct alphabetical
%list:
V�raz {\em radnice} se objev� jako heslo rejst��ku. Rejst��k je
pomocn�m programem se�azen podle abecedy. Pokud je n�kter� heslo
t�eba zat��dit mimo b�n� abecedn� po�ad�, nap��klad v~p��pad� symbolu,
mus� b�t dopln�no o~dal�� t��d�c� informaci:

%\starttyping
%\index[minus]{$-$}
%\stoptyping
\starttyping
\index[m�nus]{$-$}
\stoptyping

%Sometimes you have sub- or sub sub entries. These can be
%defined as follows:
N�kdy m�me pod- nebo podpodhesla. Ty se zad�vaj� n�sleduj�c�m zp�sobem:

%\starttyping
%\index{town hall+location}
%\index{town hall+architecture}
%\stoptyping
\starttyping
\index{radnice+poloha}
\index{radnice+architektura}
\stoptyping

%You can generate your indexlist with:
Rejst��k vygenerujeme p��kazem

\starttyping
\placeindex
\stoptyping

% or
nebo

\starttyping
\completeindex
\stoptyping

%The command \type{\index} is a predefined \CONTEXT\ command,
%but of course you can also define your own registers.
P��kaz \type{\index} je v~\CONTEXT{}u p�eddefinovan�, ale
samoz�ejm� m��eme tak� definovat sv� vlastn� rej\-st��\-ky:

\shortsetup{defineregister}

%For example if you want to make a new register based on the
%streets in Hasselt you could type:
Chceme-li nap��klad vytvo�it rejst��k ulic v~Hasseltu,
m��eme napsat:

%\starttyping
%\defineregister[street][streets]
%\stoptyping
\starttyping
\defineregister[ulice][ulice]
\stoptyping

%Now a new register command \type{\street} is available. An
%new index entry could be \type{\street{Ridderstraat}}. To
%produce a list of entries you could now use:
Nyn� je k~dispozici nov� p��kaz pro tvorbu rejst��ku \type{\ulice}. 
Heslem tohoto nov�ho rejst��ku m��e b�t t�eba \type{\ulice{Ridderstraat}}. 
Samotn� {\em seznam ulic\/} nyn� vytvo��me pou�it�m p��kaz�:

%\starttyping
%\placestreets
%\completestreets
%\stoptyping
\starttyping
\placeulice
\completeulice
\stoptyping

% You can alter the display of the registers with:
Vzhled rejst��k� m��eme m�nit p��kazem:

\shortsetup{setupregister}

\stopcomponent
