% Translation: 2006-07-27 Martina Plach�
% Checking:    2006-11-13 zyka
\startcomponent ma-cb-cz-enumerations
\project ma-cb
\product ma-cb-cz
\environment ma-cb-env-cz

%\chapter{Numbered definitions}
\chapter{��slovan� pozn�mky}

%\index{numbered definition}
\index{��slovan� pozn�mky}

\Command{\tex{defineenumeration}}
\Command{\tex{setupenumerations}}

%With \type{\defineenumeration} you can number text elements
%like remarks or questions. If you want to make numbered
%remarks in your document you use:
%
%\shortsetup{defineenumeration}

U�it�m p��kazu \type{\defineenumeration} m��eme o��slovat ��sti textu, 
jako pozn�mky nebo ot�zky. Pokud chceme takov�to o��slovan� pozn�mky 
v dokumentu vytvo�it, pou�ijeme:

\shortsetup{defineenumeration}

%For example:
Nap��klad:

% \startbuffer[a]
% \defineenumeration
%   [remark]
%   [location=top,
%    text=Remark,
%    inbetween=\blank,
%    after=\blank]
% \stopbuffer

% \typebuffer[a]

\startbuffer[a]
\defineenumeration
  [remark]
  [location=top,
   text=Pozn�mka,
   inbetween=\blank,
   after=\blank]
\stopbuffer

\typebuffer[a]

%Now the new commands \type{\remark}, \type{\subremark},
%\type{\resetremark} and \type{\nextremark} are available and
%you can type remarks like this:

Nyn� jsou k~dispozici p��kazy \type{\remark}, \type{\subremark},
\type{\resetremark} a \type{\nextremark}, tak�e m��eme ps�t pozn�mky typu:


% \startbuffer[b]
% \remark In the early medieval times Hasselt was a place of
% pilgrimage. The {\em Heilige Stede} (Holy Place) was torn down during
% the Reformation. In 1930, after 300 years the {\em Heilige Stede} was
% reopened.
%
% \subremark Nowadays the {\em Heilige Stede} is closed again but once
% a year an open air service is held on the same spot. \par
% \stopbuffer

\startbuffer[b]
\remark Na za��tku st�edov�ku byl Hasselt poutn�m m�stem.
Toto {\em Heilige Stede} (Posv�tn� m�sto) bylo str�eno a zni�eno
b�hem obdob� reformace. V roce 1930 po 300 letech
bylo {\em Heilige Stede} znovu vybudov�no a otev�eno.

\subremark Nyn� je {\em Heilige Stede} op�t uzav�eno,
ale jednou ro�n� se na tomt� m�st� kon� bohoslu�ba
pod �ir�m nebem. \par
\stopbuffer


\typebuffer[b]

\start
\getbuffer[a]\getbuffer[b]
\stop

% You can reset numbering with \type{\resetremark} or
% \type{\resetsubremark} or increment a number with
% \type{\nextremark} of \type{\nextsubremark}. This is
% normally done automatically per chapter, section or
% whatever.

Pomoc� \type{\resetremark} nebo \type{\resetsubremark} 
m��eme op�t ��slovat od za��tku. ��slo zv���me pomoc�
\type{\nextremark} nebo \type{\nextsubremark}. Norm�ln� se pozn�mky
��sluj� automaticky po kapitol�ch nebo ��stech knihy.

%You can set up the layout of \type{\defineenumeration} with:
%\shortsetup{setupenumerations}

�pravu \type{\defineenumeration} si m��eme nastavit takto:

\shortsetup{setupenumerations}

%You can also vary the layout of {\bf Remark} and {\bf
%Subremark} in the example above by:

�pravu {\bf Pozn�mky} a \quote{\bf Podpozn�mky} ve v��e uveden�m
p��kladu nastav�me pomoc�:

% \starttyping
% \setupenumeration[remark][headstyle=bold]
% \setupenumeration[subremark][headstyle=slanted]
% \stoptyping

\starttyping
\setupenumeration[remark][headstyle=bold]
\setupenumeration[subremark][headstyle=slanted,text=Podpozn�mka]
\stoptyping


% If the remark contains more than one paragraph you will
% have to use the command pair
% \type{\startremark} $\cdots$ \type{\stopremark} that becomes
% available after defining {\bf Remark} with
% \type{\defineenumeration[remark]}.

Obsahuje-li pozn�mka v�ce ne� jeden odstavec, mus�me pou��t p�rov� p��kaz
\type{\startremark} $\cdots$ \type{\stopremark}, se kter�m lze
pracovat po p�edchoz�m nadefinov�n� {\bf Pozn�mky} u�it�m
\type{\defineenumeration[remark]}.

%So the example above would look like this:
P�edchoz� p��klad bude vypadat takto:

% \startbuffer[c]
% \startremark
% In the early medieval times Hasselt was a place of pilgrimage. The
% {\em Heilige Stede} (Holy Place) was torn down during the
% Reformation.

% After 300 years in 1930 the {\em Heilige Stede} was reopened.
% Nowadays the {\em Heilige Stede} is closed again but once a year an
% open air service is held on the same spot.
% \stopremark
% \stopbuffer

\startbuffer[c]
\startremark
Na za��tku st�edov�ku byl Hasselt poutn�m m�stem.
Toto {\em Heilige Stede} (Posv�tn� m�sto) bylo str�eno
a zni�eno b�hem obdob� reformace.

V roce 1930 po 300 letech bylo {\em Heilige Stede}
znovu vybudov�no a otev�eno. Nyn� je {\em Heilige Stede}
op�t uzav�eno, ale jednou ro�n� se na tomt� 
m�st� kon� bohoslu�ba pod �ir�m nebem.
\stopremark
\stopbuffer

\typebuffer[c]

\start
\getbuffer[a]\getbuffer[c] \par
\stop

%If a number becomes obsolete you can type:

% \starttyping
% \remark[-] or startremark[-]
% \stoptyping

Pokud nechceme danou pozn�mku ��slovat, pou�ijeme:

\starttyping
\remark[-] nebo \startremark[-]
\stoptyping

%For example:
Nap��klad:

% \startbuffer[d]
% \startremark[-]
% In the early medieval times Hasselt was a place of pilgrimage. The
% {\em Heilige Stede} (Holy Place) was torn down during the
% Reformation.

% After 300 years in 1930 the {\em Heilige Stede} was reopened.
% Nowadays the {\em Heilige Stede} is closed again but once a year an
% open air service is held on the same spot.
% \stopremark
% \stopbuffer

\startbuffer[d]
\remark[-]
Na za��tku st�edov�ku byl Hasselt poutn�m m�stem.
Toto {\em Heilige Stede} (Posv�tn� m�sto) bylo str�eno
a zni�eno b�hem obdob� reformace.\par
\stopbuffer

\typebuffer[d]

\start
\getbuffer[a]\getbuffer[d] \par
\stop

\stopcomponent
