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

%\chapter{Paragraph spacing}
\chapter{Odsazen� odstavc�}

%\section{Introduction}
\section{�vod}

%\index{paragraph}
\index{odstavec}
\index{odstavec+ukon�en�}

\Command{\tex{par}}
\Command{\tex{paragraph}}

%In \TEX\ and \CONTEXT\ the most important unit of text is the
%paragraph. You can start a new paragraph by:
V~\TEX{}u a~\CONTEXT{}u je nejd�le�it�j�� jednotkou textu
odstavec. Nov� odstavec m��eme za��t

%\startitemize[packed]
%\item an empty line
%\item the \TEX\ command \type{\par}
%\stopitemize
\startitemize[packed]
\item pr�zdn�m ��dkem,
\item p��kazem \type{\par}.
\stopitemize

%In your \ASCII\ input file you should use empty lines as
%paragraph separators. This will lead to a clearly structured
%and well organized file and will prevent mistakes.
Ve vstupn�m \ASCII\ souboru je vhodn� jako odd�lova�e odstavc�
vyu��vat pr�zdn� ��dky. Dostaneme tak p�ehledn�j��
a~l�pe strukturovan� text, ve kter�m se snadn�ji odhaluj� p��padn�
chyby.

%In situations where a command has to be closed explicitly you
%should use \type{\par}.
Pokud si p�ejeme ukon�it odstavec v�slovn� p��kazem, pou�ijeme
\type{\par}. 

%\startbuffer
%During one of the wars Hasselt lay under siege. After some
%time the city was famine stricken, everything edible was
%eaten. Except for one cow. The cow was kept alive and
%treated very well. \par
%Once a day the citizens of Hasselt took the cow for a walk
%on the ramparts. The besiegers saw the well fed cow and
%became very discouraged. They broke up their camps and
%Hasselt was saved. \par
%In the Hoogstraat in Hasselt there is a stone tablet with a
%representation of the cow that commemorates the siege and
%the wisdom of the citizens of Hasselt.
%\stopbuffer

\startbuffer
Jednou byl ve v�lce Hasselt obl�h�n. Po n�jak�
dob� na m�sto dolehl hladomor a~v�e, co se dalo sn�st,
u� bylo sn�deno, krom� jedn� kr�vy. Ta byla ponech�na na�ivu
a~nav�c se j� dost�valo velice slu�n�ho zach�zen�. \par
Jednou denn� vyv�d�li obyvatel� Hasseltu tuto kr�vu 
na proch�zku po hradb�ch. Kdy� obl�hatel� vid�li
dob�e �ivenou kr�vu, propadali malomyslnosti. Nakonec 
obl�h�n� ukon�ili a~Hasselt byl zachr�n�n.\par
V~Hoogstraatu se dnes na pam�tku tohoto oble�en�
a~moudrosti obyvatel nach�z� kamenn� deska
s~vyobrazen�m kr�vy.
\stopbuffer

\typebuffer

%This could also be typed without \type{\par}s and a few empty
%lines.
M�sto p��kaz�  \type{\par} bychom mohli tak� pou��t n�kolik
pr�zdn�ch ��dk�: 

%\startbuffer
%During one of the wars Hasselt lay under siege. After some
%time the city was famine stricken, everything edible was
%eaten. Except for one cow. The cow was kept alive and
%treated very well.
%
%Once a day the citizens of Hasselt took the cow for a walk
%on the ramparts. The besiegers saw the well fed cow and
%became very discouraged. They broke up their camps and
%Hasselt was saved.
%
%In the Hoogstraat in Hasselt there is a stone tablet with a
%representation of the cow that commemorates the siege and
%the wisdom of the citizens of Hasselt.
%\stopbuffer

\startbuffer
Jednou byl ve v�lce Hasselt obl�h�n. Po n�jak�
dob� na m�sto dolehl hladomor a~v�e, co se dalo sn�st,
u� bylo sn�deno, krom� jedn� kr�vy. Ta byla ponech�na na�ivu
a~nav�c se j� dost�valo velice slu�n�ho zach�zen�.

Jednou denn� vyv�d�li obyvatel� Hasseltu tuto kr�vu 
na proch�zku po hradb�ch. Kdy� obl�hatel� vid�li
dob�e �ivenou kr�vu, propadali malomyslnosti. Nakonec 
obl�h�n� ukon�ili a~Hasselt byl zachr�n�n.

V~Hoogstraatu se dnes na pam�tku tohoto oble�en�
a~moudrosti obyvatel nach�z� kamenn� deska
s~vyobrazen�m kr�vy.
\stopbuffer

\typebuffer

%\section{Inter paragraph spacing}
\section{Mezera mezi odstavci}

\index{mezera+meziodstavcov�}

\Command{\tex{setupwhitespace}}
\Command{\tex{nowhitespace}}
\Command{\tex{whitespace}}
\Command{\tex{startlinecorrection}}
\Command{\tex{blank}}
\Command{\tex{setupblank}}
\Command{\tex{startpacked}}
\Command{\tex{startunpacked}}

%The vertical spacing between paragraphs can be specified by:
Velikost mezery mezi odstavci lze nastavit pomoc�:

\shortsetup{setupwhitespace}

%This document is produced with \type{\setupwhitespace[medium]}.
Tento dokument je vys�zen s~nastaven�m \type{\setupwhitespace[medium]}.

%When inter paragraph spacing is specified there are two
%commands available that are seldom needed:
Kdy� je velikost meziodstavcov� mezery nastavena,
 m�me k~dispozici dva p��kazy, kter� jsou nicm�n� pot�eba jen 
z��dka:

\starttyping
\nowhitespace
\whitespace
\stoptyping

%When a paragraph consists of a horizontal line or a framed
%text like this:
Pokud odstavec obsahuje vodorovn� linky, nebo or�movan�
text, jako nap��klad

\startbuffer
\framed{Ridderstraat 27, 8061GH Hasselt}
\stopbuffer

\getbuffer

%Sometimes spacing is suboptimal. For that purpose you could
%carry out a correction with:

pak se st�v�, �e rozestup nen� optim�ln�. V~takov�m p��pad� 
lze prov�st korekci pomoc�:

\shortsetup{startlinecorrection}

%So if you would type:
Pokud tedy nap��eme:

\startbuffer
\startlinecorrection
\framed{Ridderstraat 27, 8061GH Hasselt}
\stoplinecorrection
\stopbuffer

\typebuffer

%you will get a better output. Only use these commands if
%really needed!
dostaneme lep�� v�stup. Tyto p��kazy ale pou��vejme, jen
pokud je to opravdu nezbytn�!

\getbuffer

%Another command to deal with vertical spacing is:
Dal�� p��kaz pro ovl�d�n� mezery mezi odstavci je:

\shortsetup{blank}

%The bracket pair is optional and within the bracket pair you
%can type the amount of spacing. Keywords like \type{small},
%\type{medium} and \type{big} are related to the fontsize.
Hranat� z�vorky za p��kazem jsou nepovinn� a umo��uj� 
nastavit velikost mezery mezi odstavci.
Kl��ov� slova jako \type{small}, \type{medium} a~\type{big} nastavuj�
mezeru relativn� vzhledem k~velikosti dan�ho fontu.

%\startbuffer
%In official writings Hasselt always has the affix Ov. This is an
%abbrevation for the province of {\em Overijssel}.
%\blank[2*big]
%The funny thing is that there is no other Hasselt in the Netherlands.
%So it is redundant.
%\blank
%The affix is a leftover from the times that the Netherlands and
%Belgium were one country under the reign of King Philip II of Spain.
%\blank[2*big]
%Hasselt in Belgium lies in the province of Limburg. One wonders if
%the Belgian people write Hasselt (Li) on their letters.
%\stopbuffer

\startbuffer
Ofici�ln� n�zev Hasselt m� v�dy p��ponu Ov, co� je zkratka
provincie {\em Overijssel}.
\blank[2*big]
�sm�vn� na tom je, �e v~Holandsku je Hasselt pouze jeden 
a~tato p��pona je tedy nadbyte�n�.
\blank
Tato p��pona je poz�statkem z~dob, kdy Holandsko a~Belgie
byly jednou zem� pod vl�dou �pan�lsk�ho kr�le Filipa II.
\blank[2*big]
Hasselt v~Belgii le�� v~provincii Limburg, ale Belgi�an� 
na sv� dopisy Hasselt (Li) z�ejm� nep���.
\stopbuffer

\typebuffer

%The command \type{\blank} without the bracket pair is the
%default space.
P��kaz \type{\blank} bez hranat�ch z�vorek p�edstavuje
obvyklou mezeru.

%The example would become:
N� p��klad by vypadal:

\getbuffer

%The default spacing can be set up with:
Velikost obvykl� mezery lze ovl�dat pomoc�: 

\shortsetup{setupblank}

%If you want to surpress vertical spacing you can use:
Pokud chceme potla�it tuto meziodstavcovou mezeru,
m��eme pou��t:

\shortsetup{startpacked}

%In this manual the whitespace is set at \type{medium}. In
%the next situation this set up is ignored and the lines are
%packed.
V~tomto dokumentu je mezera nastavena na \type{medium} ale na
n�sleduj�c�ch ��dc�ch je tato mezera potla�ena a~��dky jsou
tedy semknuty k~sob�.

%\startbuffer
%\startpacked
%Hasselt (Ov) lies in Overijssel.
%
%Hasselt (Li) lies in Limburg.
%
%Watch out: we talk about Limburg in Belgium. There is
%also a Dutch Limburg.
%\stoppacked
%\stopbuffer

\startbuffer
\startpacked
Hasselt (Ov) le�� v~provincii Overijssel.

Hasselt (Li) le�� v~provincii Limburg.

Pozor: Mluv�me o~Limburgu v~Belgii. Existuje tak�
Limburg v~Holandsku.
\stoppacked
\stopbuffer

\typebuffer

%This will become:
Vys�zeno bude:

\getbuffer

%It is not hard to imagine why there is also:
Nen� t�k� si p�edstavit, k~�emu slou��:

\shortsetup{startunpacked}

%You can force vertical space with \type{\godown}. The
%distance is specified within the brackets.
Vertik�ln� mezeru si lze tak� vynutit pomoc�
p��kazu \type{\godown}. Jej� velikost je nastavena
v~z�vork�ch.

\shortsetup{godown}

%\section{Indentation}
\section{Odsazen�}

%\index{indentation}
\index{odsazen�}
%\index{paragraph+indentation}
\index{odstavec+odsazen�}

\Command{\tex{indenting}}
\Command{\tex{noindenting}}
\Command{\tex{setupindenting}}

%You can set up the amount of the indentation with:
Velikost odsazen� nastav�me pomoc�:

\shortsetup{setupindenting}

%A reasonable indentation is achieved by:
Rozumn�ho odsazen� se dos�hne pomoc�:

\starttyping
\setupindenting[medium]
\stoptyping

%This will lead to indented paragraphs. By default,
%indentation after white space (as issued by \type {\blank})
%is suppressed.
T�mto bude prvn� ��dka odstavce odsazen�. Jen po meze�e (vys�zen� p��kazem
\type{\blank}) je v~z�kladn�m nastaven� odsazen� potla�eno. 

%You can locally influence the indentation state by using
Lok�ln� na ur�it�m m�st� m��eme odsazov�n� ovl�dat pomoc�:

\shortsetup{indenting}

%When for instance you say \type {never}, from that moment
%on indentation will be surpressed. Saying \type {none},
%only influences the next paragraph.
Kdy� nap��klad pou�ijeme \type{never}, budou od toho okam�iku
v�echna odsazen� potla�ena. P��kaz \type{none}
ovlivn� pouze n�sleduj�c� odstavec.

%If you choose to use indentations, and at a certain place you
%explicitly {\em do not} want to indent, you can also say:
Pokud pou��v�me odsazov�n� a~na ur�it�m m�st� si odsazen�
{\em ne}p�ejeme, m��eme tak� pou��t:

\starttyping
\noindenting
\stoptyping

\stopcomponent
