% Translation: 2006-10-14 VZ
% Checking:    2006-11-15 zyka
\startcomponent ma-cb-cz-whatever
\project ma-cb
\product ma-cb-cz
\environment ma-cb-env-cz

%% \chapter{Miscellaneous}
\chapter{Neza�azen�}

% ====================================================================
%% \section{A titlepage}
\section{Tituln� strana}

%% \index{titlepage}
\index{tituln� strana}

\Command{\tex{startnamemakeup}}
\Command{\tex{startstandardmakeup}}
\Command{\tex{definemakeup}}
\Command{\tex{setupmakeup}}

%% In the first example of this manual on \at{page}[inputfile]
%% we used the command:
V~prvn�m p��kladu tohoto manu�lu na \at{stran�}[inputfile] jsme
pou�ili p��kaz

\shortsetup{startnamemakeup}
%\shortsetup{start<<name>>makeup} % does not work

%% This command can be used to define titlepages. Such a
%% command is needed since title pages often have a different
%% layout than that of the bodytext. With the command pair
%% \type{\start ... \stopstandardmakeup} you can make up a page
%% within the default page dimensions.
Tento p��kaz m��e b�t pou�it k~definov�n� {\em tituln�ch stran},
proto�e m�vaj� jinak velk� str�nkov� zrcadla ne� hlavn� textov� ��st
dokumentu. �asto k~n�vrhu vzhledu takov� v�jime�n� strany vyu��v�me
p�eddefinovan� dvojice \type{\start ... \stopstandardmakeup}.

%% A simple titlepage may look like this:
Jednoduch� tituln� strana m��e vypadat takto:

%% \startbuffer
%% \startstandardmakeup
%% \blank
%% \rightaligned{\tfd Hasselt in the 21st century}
%% \blank
%% \rightaligned{\tfb The future}
%% \vfill
%% \rightaligned{\tfa C. van Marle}
%% \rightaligned{Hasselt, 2001}
%% \stopstandardmakeup
%% \stopbuffer
\startbuffer
\startstandardmakeup
\blank
\rightaligned{\tfd Hasselt v~21.\,stolet�}
\blank
\rightaligned{\tfb Budoucnost}
\vfill
\rightaligned{\tfa C. van Marle}
\rightaligned{Hasselt, 2001}
\stopstandardmakeup
\stopbuffer

\typebuffer

%% In a doublesided document you have to go through some
%% additional actions to typeset the back of the titlepage.
V~oboustrann�m dokumentu mus�me vykonat n�kter� dal�� akce,
abychom vys�zeli zadn� stranu tituln�ho listu. P�ede�l� p��klad
v~takov�m p��pad� zm�n�me na:

%% \startbuffer
%% \startstandardmakeup[doublesided=no]
%% \blank
%% \rightaligned{\tfd Hasselt in the 21st century}
%% \blank
%% \rightaligned{\tfb The future}
%% \vfill
%% \rightaligned{\tfa C. van Marle}
%% \rightaligned{Hasselt, 2001}
%% \stopstandardmakeup
%% \startstandardmakeup[page=no]
%% \vfill
%% \copyright 2001

%% This book is dedicated to the people living in Hasselt. We
%% want to thank photographer J. Jonker for manipulating the
%% photos in this book in such a way that readers can get a
%% clear picture of Hasselt's future look.
%% \stopstandardmakeup
%% \stopbuffer
\startbuffer
\startstandardmakeup[doublesided=no]
\blank
\rightaligned{\tfd Hasselt v~21.\,stolet�}
\blank
\rightaligned{\tfb Budoucnost}
\vfill
\rightaligned{\tfa C. van Marle}
\rightaligned{Hasselt, 2001}
\stopstandardmakeup
\startstandardmakeup[page=no]
\vfill
\copyright 2001

Tato kniha je v�nov�na lidem �ij�c�m v~Hasseltu. Chceme pod�kovat
fotografovi J.~Jonkerovi za zfal�ov�n� fotografi� do t�to knihy tak,
�e �ten�� z�sk� jasnou p�edstavu o~budouc� podob� Hasseltu.
\stopstandardmakeup
\stopbuffer

\typebuffer

%% Your own make ups can be made and set up with:
Na�e vlastn� tituln� strana m��e b�t navr�ena pomoc� p��kaz�

\shortsetup{definemakeup}

%% and
a

\shortsetup{setupmakeup}

% ====================================================================
%% \section[floatingblocks]{Floating blocks}
\section[floatingblocks]{Plovouc� objekty}

%% \index{floating blocks}
\index{plovouc� objekt}

\Command{\tex{definefloat}}
\Command{\tex{setupfloat}}
\Command{\tex{setupfloats}}
\Command{\tex{setupcaption}}
\Command{\tex{setupcaptions}}
\Command{\tex{placeintermezzo}}

%% A block in \CONTEXT\ is a text element, for example a table
%% or a figure that you can process in a special way. You have
%% already seen the use of \type{\placefigure} and
%% \type{\placetable}. These are both examples of floating
%% blocks. The floating mechanism is described in
%% \in{chapter}[figures] and \in[tables].
Plovouc�m objektem (floating block) se v~\CONTEXT{}u naz�v� textov�
element, nap�. tabulka �i obr�zek, kter� je zpracov�n speci�ln�m
zp�sobem. Ji� jsme vid�li pou�it� \type{\placefigure}
a~\type{\placetable}. Oba jsou p��kladem plovouc�ch objekt� popsan�ch
v~\in{kapitol�ch}[figures] a~\in[tables].

%% You can define these kind of blocks yourself with:
Sv�j vlastn� plovouc� objekt si m��eme definovat pomoc�

\shortsetup{definefloat}

%% The bracket pairs are used for the name in singular and
%% plural form. For example:
Slo�en� z�vorky se pou��vaj� pro jm�no objektu v~jednotn�m
a~mno�n�m ��sle. Nap��klad:

%% \starttyping
%% \definefloat[intermezzo][intermezzi]
%% \stoptyping
\starttyping
\definefloat[vsuvka][vsuvky]
\stoptyping

%% Now the following commands are available:
Nyn� jsou k~dispozici n�sleduj�c� p��kazy:

%% \starttyping
%% \placeintermezzo[][]{}{}
%% \startintermezzotext ... \stopintermezzotext
%% \placelistofintermezzi
%% \completelistofintermezzi
%% \stoptyping
\starttyping
\placevsuvka[][]{}{}
\startvsuvkatext ... \stopvsuvkatext
\placelistofvsuvky
\completelistofvsuvky
\stoptyping

%% The newly defined floating block can be set up with:
Nov� definovan� plovouc� objekt m��e b�t nastaven pomoc�

\shortsetup{setupfloat}

%% You can set up the layout of floating blocks with:
D�le m��eme nastavit form�tov�n� v�ech plovouc�ch objekt� pomoc� p��kazu

\shortsetup{setupfloats}

%% You can set up the numbering and the labels with:
��slov�n� a popisek objektu lze nastavit pomoc�

\shortsetup{setupcaption}

a

\shortsetup{setupcaptions}

%% These commands are typed in the set up area of your input
%% file and will have a global effect on all floating blocks.
Tyto p��kazy pou��v�me v~�vodn� ��sti vstupn�ho
souboru. \type{\setupfloats} a \type{\setupcaptions} maj�
glob�ln� vliv na v�echny plovouc� objekty. N�sleduje kompletn� uk�zka
nov�ho plovouc�ho objektu.

%% \startbuffer
%% \setupfloats[location=middle]
%% \setupcaption[location=bottom,headstyle=boldslanted]

%% \placeintermezzo{An intermezzo.}
%% \startframedtext
%% At the beginning of this century there was a tramline from Zwolle to
%% Blokzijl via Hasselt. Other means of transport became more important
%% and just before the second world war the tramline was stopped.
%% Nowadays such a tramline would have been very profitable.
%% \stopframedtext
%% \stopbuffer
\startbuffer
\setupfloats[location=middle]
\setupcaption[location=bottom,headstyle=boldslanted]
\definefloat[vsuvka][vsuvky]

\placevsuvka{Uk�zka vsuvky.}
\startframedtext
Na za��tku tohoto stolet� existovala tramvajov� linka z~Zwolle do
Blokzijl p�es Hasselt. Pozd�ji nab�valy na v�znamu jin� dopravn�
prost�edky a~tramvajov� tra� byla p�ed druhou sv�tovou v�lkou
zru�ena. Nyn� by takov� tramvajov� linka mo�n� byla zase ziskov�.
\stopframedtext
\stopbuffer

\typebuffer

\start
\getbuffer
\stop

% ====================================================================
%% \section[textblocks]{Text blocks}
\section[textblocks]{Blok textu}

%% \index{text blocks}
\index{blok textu}
\index{textov� blok}

\Command{\tex{defineblock}}
\Command{\tex{useblocks}}
\Command{\tex{hideblocks}}
\Command{\tex{setupblock}}

%% Another type of block is a text block. A text block for
%% example is one or more paragraphs you want to use several times.
Jin�m stavebn�m kamenem dokumentu je {\em blok textu}. P��kladem bloku
textu je jeden nebo v�ce odstavc�, kter� chceme pou��t n�kolikr�t.

%% You have to define a text block with:
Blok textu mus�me definovat pomoc�

\shortsetup{defineblock}

%% You give the name of text blocks between brackets;
%% you can also type a list of names if you separate them by
%% commas. For example you can define:
Mezi hranat� z�vorky vlo��me jeho referen�n� jm�no.

%% \starttyping
%% \defineblock[dutch]
%% \stoptyping
\starttyping
\defineblock[holandstina]
\stoptyping

Tak� m��eme najednou definovat n�kolik blok� textu, pokud mezi
jednotliv� jm�na nap��eme ��rku.

%% After defining the text block the following command is
%% available:
Po zadefinov�n� m�me k~dispozici n�sleduj�c� dvojici:

%% \starttyping
%% \begindutch ... \enddutch
%% \stoptyping
\starttyping
\beginholandstina ... \endholandstina
\stoptyping

%% Text blocks are manipulated with:
S~blokem m��eme pracovat pomoc� p��kaz�

\shortsetup{hideblocks}
\shortsetup{useblocks}
\shortsetup{keepblocks}
\shortsetup{selectblocks}

%% An example shows the possibilities of text blocks.
Zde je p��klad jejich pou�it�:

%% \startbuffer
%% \defineblock[dutch,english]

%% \hideblocks[dutch,english]

%% \beginenglish[dedemsvaart-e]
%% After 1810 the Dedemsvaart brought some prosperity to Hasselt. All
%% ships went through the canals of Hasselt and the shops on both
%% sides of the canals prospered.
%% \endenglish

%% \begindutch[dedemsvaart-d]
%% Sinds 1810 veroorzaakte de Dedemsvaart enige welvaart in Hasselt.
%% Alle schepen voeren door de grachten en de winkels aan weerszijden
%% van de gracht floreerden.
%% \enddutch

%% \useblocks[english][dedemsvaart-e]
%% \stopbuffer
\startbuffer
\defineblock[holandstina,cestina]

\hideblocks[holandstina,cestina]

\begincestina[blok-a]
Po roce 1810 p�inesl kan�l Dedemsvaart Hesseltu prosperitu.
V�echny lod� proplouvaly kan�lem v~Hasseltu a obchody na obou
stran�ch kan�lu bohatly.
\endcestina

\beginholandstina[blok-a]
Sinds 1810 veroorzaakte de Dedemsvaart enige welvaart in Hasselt.
Alle schepen voeren door de grachten en de winkels aan weerszijden
van de gracht floreerden.
\endholandstina

\useblocks[cestina][blok-a]
\stopbuffer

\typebuffer

%% This will result in:
V�sledkem bude:

\getbuffer

%% If you continue defining these blocks you could make
%% a bilingual manual. For that purpose it is also possible to
%% store the text blocks in an external file. This would look
%% something like this:
Jestli�e budeme pokra�ovat v~takov�mto pou��v�n� bloku textu, m��eme
vytvo�it dvojjazy�n� manu�l. Pro tyto ��ely je tak� mo�no ulo�it bloky
textu do extern�ch soubor�:

%% \startbuffer
%% \setupblock[dutch][file=store-d]
%% \stopbuffer
\startbuffer
\setupblock[holandstina][file=store-h]
\stopbuffer

\typebuffer

%% The Dutch text blocks are stored in the file \type
%% {store-d.tex} and the text fragments can be called upon by
%% their logical names.
Holandsk� blok textu je ulo�en do souboru \type{store-h.tex}
a~fragmenty textu mohou b�t vyvol�ny jejich referen�n�mi jm�ny.

% ====================================================================
%% \section{Storing text for later use}
\section{Ulo�en� textu pro pozd�j�� pou�it�}

%% \index{storing text}
\index{ulo�en� textu}
\index{text+ulo�en�}

\Command{\tex{startbuffer}}
\Command{\tex{getbuffer}}
\Command{\tex{typebuffer}}
\Command{\tex{setupbuffer}}

%% You can store information temporarily for future use in your
%% document with:
Do�asn� m��eme ulo�it informace pro budouc� pou�it� v~dokumentu pomoc�

\shortsetup{startbuffer}

%% For example:
Nap��klad:

%% \starttyping
%% \startbuffer[visit]
%% If you want to see what Hasselt has in store you should come and
%% visit it some time. If you take this manual with you, you will
%% recognise some locations.
%% \stopbuffer

%% \getbuffer[visit]
%% \stoptyping
\starttyping
\startbuffer[navsteva]
Chcete-li vid�t, co v�m Hasselt m��e nab�dnout, m�li byste jej
n�kdy nav�t�vit. Jestli�e si s~sebou vezmete tento manu�l,
n�kter� m�sta pozn�te.
\stopbuffer

\getbuffer[navsteva]
\stoptyping

%% With \type{\getbuffer[visit]} you recall the stored text.
%% The logical name is optional. With \type{\typebuffer[visit]}
%% you get back the typeset version of the content of the
%% buffer.
P��kazem \type{\getbuffer[navsteva]} se vyvol� ulo�en� text. Referen�n�
jm�no m��eme vynechat, \CONTEXT{} pak pracuje s~intern�m
jm�nem. P�etisk ulo�en� informace z�sk�me pomoc� \type{\typebuffer[navsteva]}.

%% Buffers are set up with:
Nastaven� se prov�d� p��kazem

\shortsetup{setupbuffer}

% ====================================================================
%% \section{Hiding text}
\section{Skryt� text}

%% \index{hiding text}
\index{skryt� text}
\index{text+skryt�}
\index{koment�� k�du}

\Command{\tex{starthiding}}

%% Text can be hidden with:
Text m��e b�t skryt pomoc�

\shortsetup{starthiding}

%% The text in between will not be processed.
Vlo�en� text nebude zpracov�v�n.

% ====================================================================
%% \section{Lines}
\section{Linky}

%% \index{lines}
\index{linky}

\Command{\tex{hairline}}
\Command{\tex{starttextrule}}
\Command{\tex{thinrule}}
\Command{\tex{thinrules}}
\Command{\tex{setupthinrules}}
\Command{\tex{underbar}}
\Command{\tex{overstrikes}}
\Command{\tex{periods}}
\Command{\tex{setupfillinrules}}
\Command{\tex{setupfillinlines}}

%% There are many comands to draw lines. For a single line you
%% type:
M�me k~dispozici mnoho p��kaz� na kreslen� linek. Jednu linku vys�z�me
pomoc�

\shortsetup{hairline}

%% or:
nebo

\shortsetup{thinrule}

%% For more lines you type:
V�ce linek najednou nakresl�me pomoc�

\shortsetup{thinrules}

%% Text in combination with lines is also possible:
Mo�n� je tak� kombinace textu a linek:

%% \startbuffer
%% \starttextrule{Hasselt -- Amsterdam}
%% If you draw a straight line from Hasselt to Amsterdam you would have
%% to cover a distance of almost 145 \Kilo \Meter.
%% \stoptextrule

%% If you draw two straight lines from Hasselt to Amsterdam you would
%% have to cover a distance of almost 290 \Kilo \Meter.

%% Amsterdam \thinrules[n=3] Hasselt
%% \stopbuffer
\startbuffer
\starttextrule{Hasselt -- Amsterdam}
Kdybychom nakreslili spojnici Hasseltu s~Amsterdamem, pro�li bychom
vzd�lenost t�m�� 145 \Kilo \Meter.
\stoptextrule

Kdybychom nakreslili dv� spojnice Hasseltu s~Amsterdamem, pro�li bychom
vzd�lenost t�m�� 290 \Kilo \Meter.

Amsterdam \thinrules[n=3] Hasselt
\stopbuffer

\getbuffer

\typebuffer

%% You always have to be careful in drawing lines. Empty lines
%% around \type{\thinrules} must not be forgotten and the
%% vertical spacing is always a point of concern.
P�i kreslen� linek mus�me b�t v�dy opatrn�. Pr�zdn� ��dky okolo
\type{\thinrules} nesm� b�t opomenuty a~v�sledn� vertik�ln� odsazen� by
m�lo b�t v�dy p�edm�tem na�� pozornosti. 

%% You can set up line spacing with:
Vertik�ln� odsazen� m��eme nastavit pomoc�

\shortsetup{setupthinrules}

%% There are a few complementary commands that might be very
%% useful.
D�le m�me k~dispozici n�kolik dopl�kov�ch p��kaz�, kter� mohou b�t
velice u�ite�n�:

\shortsetup{setupfillinrules}
\shortsetup{setupfillinlines}

%% These commands are introduced in the examples below:
Uvedeme je v~n�sleduj�c�m p��kladu:

%% \startbuffer
%% \setupfillinrules[width=2cm]
%% \setupfillinlines[width=3cm]

%% \fillinrules[n=1]{\bf name}
%% \fillinrules[n=3]{\bf adress}

%% \fillinline{Can you please state the \underbar{number} of houses
%%             in Hasselt.} \par

%% Strike out \overstrikes{Hasselt in this text}\periods[18]
%% \stopbuffer
\startbuffer
\setupfillinrules[width=2cm]
\setupfillinlines[width=3cm]

\fillinrules[n=1]{\bf jm�no}
\fillinrules[n=3]{\bf adresa}

\fillinline{Uve�te pros�m \underbar{po�et} dom� v~Hasseltu.} \par

V~tomto textu p�e�krtn�te \overstrikes{Hasselt}\periods[18]
\stopbuffer

\typebuffer

%% This will become:
V�sledkem bude:

\getbuffer

%% These commands are used in questionaires. Text that is
%% struck out or underlined will not be hyphenated.
Tyto p��kazy b�vaj� pou��v�ny v~dotazn�c�ch. Omezen�m je, �e podtr�en�
nebo p�e�krtnut� text nebude na konci ��dky rozd�len.

% ====================================================================
%% \section{Super- and subscript in text}
\section{Horn� a doln� index v~textu}

%% \index{subscript}
%% \index{superscript}
\index{index+horn�}
\index{index+doln�}
\index{horn� index}
\index{doln� index}

\Command{\tex{low}}
\Command{\tex{high}}
\Command{\tex{lohi}}

%% \startbuffer
%% It is very easy to put \high{superscript} and \low{subscript} in your
%% text. What would you call this version \lohi{subscript}{superscript}?
%% It looks strange!
%% \stopbuffer
\startbuffer
Vlo�it \high{horn� index} a \low{doln� index} do dokumentu je
jednoduch�. A~co ��k�te tomuto: \lohi{doln� index}{horn� index}?
To vypad� podivn�, co?!
\stopbuffer

\getbuffer

%% This ugly text was made with \type{\low{}}, \type{\high{}}
%% and \type{\lohi{}{}}. The text was placed between the curly
%% braces.
Tento o�kliv� text byl vys�zen pomoc� \type{\low{}}, \type{\high{}}
a~\type{\lohi{}{}}. Index je vkl�d�n do slo�en�ch z�vorek.

% ====================================================================
%% \section{Date}
\section{Datum}

%% \index{date}
\index{datum}

\Command{\tex{currentdate}}

%% You can introduce the system date in your text with:
Syst�mov� datum vlo��me do textu pomoc�

\starttyping
\currentdate
\stoptyping

% ====================================================================
%% \section{Positioning}
\section{Um�st�n� do p�edepsan� polohy}

%% \index{positioning}
\index{um�st�n� do p�edepsan� polohy}
\index{polohov�n�}

\Command{\tex{position}}
\Command{\tex{setupositioning}}

%% Sometimes you feel the need to position text on a page or
%% within a text element. You can position text with:
Ob�as m�me pot�ebu um�stit text na konkr�tn� m�sto uvnit� strany �i
jin�ho textov�ho elementu. Ud�l�me to pomoc�

\shortsetup{position}

%% The parenthesis enclose the $x,y$ coordinates, the curly
%% braces enclose the text you want to position.
Kulat� z�vorky ur�uj� sou�adnice $x,y$, slo�en� z�vorky ohrani�uj�
text, kter� m� b�t um�st�n.

%% You can set up the $x,y$ axes with:
Sou�adnice nastav�me pomoc�

\shortsetup{setuppositioning}

%% You can use units and scaling factors. An example will
%% illustrate \type{\position}.
Zvolit m��eme jednotky a~m���tko. Zde je ilustra�n� p��klad:

%% \startbuffer
%% \def\dicefive%
%%   {\framed
%%      [width=42pt,height=42pt,offset=0pt]
%%      {\setuppositioning
%%         [unit=pt,factor=12,xoffset=-11pt,yoffset=-8pt]%
%%       \startpositioning
%%         \position(1,1){$\bullet$}%
%%         \position(1,3){$\bullet$}%
%%         \position(2,2){$\bullet$}%
%%         \position(3,1){$\bullet$}%
%%         \position(3,3){$\bullet$}%
%%       \stoppositioning}}
%%
%% \placefigure{This is five.}{\dicefive}
%% \stopbuffer
\startbuffer
\def\dicefive%
  {\framed
     [width=42pt,height=42pt,offset=0pt]
     {\setuppositioning
        [unit=pt,factor=12,xoffset=-11pt,yoffset=-8pt]%
      \startpositioning
        \position(1,1){$\bullet$}%
        \position(1,3){$\bullet$}%
        \position(2,2){$\bullet$}%
        \position(3,1){$\bullet$}%
        \position(3,3){$\bullet$}%
      \stoppositioning}}

\placefigure{Toto je p�t.}{\dicefive}
\stopbuffer

\typebuffer

%% This is a rather complex example but it would look something
%% like this.
V�sledkem tohoto relativn� slo�it�ho p��kladu je toto:

\getbuffer

% ====================================================================
%% \section{Rotating text, figures and tables}
\section{Oto�en� textu, obr�zk� a tabulek}

%% \index{rotating}
\index{oto�en�}
\index{rotace}

\Command{\tex{rotate}}

%% In a number of cases you would like to rotate text or
%% figures. You can rotate text and objects with:
V~mnoha p��padech chceme oto�it text nebo obr�zek. Provedeme to pomoc�

\shortsetup{rotate}

%% The first bracket pair is optional. Within that bracket pair
%% you specify the rotation: \type{rotation=90}. The curly
%% braces contain the text or object you want to rotate.
Hranat� z�vorky jsou voliteln�. Uvnit� nich specifikujeme
�hel nato�en�: \type{rotation=90}. Slo�en� z�vorky vymezuj� text �i
objekt, kter� chceme oto�it. P��klad:

%% \startbuffer
%% Hasselt got its municipal rights in 1252. From that time on it had
%% the \rotate[rotation=90]{right} to use its own seal on official
%% documents. This seal showed Holy Stephanus known as one of the first
%% Christian martyrs, and was the \rotate[rotation=270]{patron} of
%% Hasselt. After the Reformation the seal was redesigned and Stephanus
%% lost his `holiness' and was from that time on depicted without his
%% aureole.
%% \stopbuffer
\startbuffer
V~roce 1252 Hasselt z�skal m�stsk� pr�va. Od t� doby m�l
\rotate[rotation=90]{pr�vo} pou��vat vlastn� pe�e� na ofici�ln�ch
dokumentech. Tato pe�e� zobrazuje svat�ho �t�p�na, jednoho z~prvn�ch
k�es�ansk�m mu�edn�k�. Byl \rotate[rotation=270]{patronem}
Hasseltu. Po reformaci byla pe�e� pozm�n�na, svat� �t�p�n ztratil svou
svatost a byl zobrazov�n bez svatoz��e.
\stopbuffer

\typebuffer

%% This results in a very ugly paragraph:
V�sledkem je velice o�kliv� odstavec:

\getbuffer

%% You can rotate a figure just as easily:
Stejn� jednodu�e m��eme oto�it i~obr�zek:

%% \startbuffer
%% \placefigure
%%   [][fig:rotation]
%%   {The 180 \Degrees\ rotated fishing port (de Vispoort).}
%%   \rotate[rotation=180]{\externalfigure[ma-cb-15][width=10cm]}
%% \stopbuffer
\startbuffer
\placefigure
  [][fig:rotation]
  {Ryb��sk� p��stav (de Vispoort) oto�en� o~180 \Degrees.}
  \rotate[rotation=180]{\externalfigure[ma-cb-15][width=10cm]}
\stopbuffer

\typebuffer

%% You can see in \in{figure}[fig:rotation] that it is not
%% always clear what you get when you rotate.
Na \in{obr�zku}[fig:rotation] vid�te, �e nen� v�dy �pln� z�ejm�,
na co se d�v�me, kdy� obr�zek oto��me.

\getbuffer

%% We can set up rotating with:
Oto�en� nastav�me pomoc�:

\shortsetup{setuprotate}

% ====================================================================
%% \section{Carriage return}
\section{Ukon�en� ��dky}

%% \index{carriage return}
\index{ukon�en� ��dku}

\Command{\tex{crlf}}
\Command{\tex{startlines}}
\Command{\tex{inmargin}}
\Command{\tex{}\tex{}}

%% A new line can be enforced with:
Nov� ��dka m��e b�t vynucena p��kazem

\shortsetup{crlf}

%% When a number of lines should be followed by {\em carriage
%% return and line feed} you can use:
Pokud chceme, aby konce ��dek kop�rovaly ukon�en� ve vstupn�m souboru,
nap��eme:

\shortsetup{startlines}

%% \starttyping
%% \startlines
%% .
%% .
%% .
%% \stoplines
%% \stoptyping

%% \startbuffer
%% On a wooden panel in the town hall of Hasselt you can read:
%%
%% \startlines
%% Heimelijcken haet
%% eigen baet
%% jongen raet
%% Door diese drie wilt verstaen
%% is het Roomsche Rijck vergaen.
%% \stoplines
%%
%% This little rhyme contains a warning for the magistrates of
%% Hasselt: don't allow personal benefits or feelings to
%% influence your wisdom in decision making.
%% \stopbuffer
\startbuffer
Na radnici m�sta Hasselt je d�ev�n� deska, kde se m��eme do��st:

\startlines
Heimelijcken haet
eigen baet
jongen raet
Door diese drie wilt verstaen
is het Roomsche Rijck vergaen.
\stoplines

Tato mal� b�sni�ka obsahuje varov�n� pro radn� Hasseltu: {\it Nedovol,
aby osobn� prosp�ch nebo pocity ovliv�ovaly tv�j rozum p�i rozhodov�n�.}
\stopbuffer

\typebuffer

\getbuffer

%% In a few commands new lines are generated by \type{\\}. For
%% example if you type \type{\inmargin{in the\\margin}} then
%% the text will be divided over two lines.
V~n�kolika p��kazech se konce ��dk� ozna�uj� \type{\\}. Nap��klad
kdy� nap��eme
\goodbreak\type{\inmargin{uvnit�\\margin�lie}}, pak se text
v~margin�ln�m sloupci zlom� do dvou ��dk�.

% ====================================================================
%% \section{Hyphenation}
\section{D�l�n� slov}

%% \index{hyphenation}
%% \index{language}
\index{d�l�n� slov}
\index{jazyk}

\Command{\tex{mainlanguage}}
\Command{\tex{language}}
%% \Command{\tex{nl}}
%% \Command{\tex{en}}
%% \Command{\tex{fr}}
%% \Command{\tex{sp}}
%% \Command{\tex{de}}
\Command{\tex{af}}
\Command{\tex{ca}}
\Command{\tex{cn}}
\Command{\tex{cz}}
\Command{\tex{da}}
\Command{\tex{de}}
\Command{\tex{en}}
\Command{\tex{es}}
\Command{\tex{fi}}
\Command{\tex{fr}}
\Command{\tex{gr}}
\Command{\tex{it}}
\Command{\tex{hu}}
\Command{\tex{hr}}
\Command{\tex{ja}}
\Command{\tex{nl}}
\Command{\tex{no}}
\Command{\tex{pl}}
\Command{\tex{pt}}
\Command{\tex{ro}}
\Command{\tex{ru}}
\Command{\tex{sk}}
\Command{\tex{sl}}
\Command{\tex{sv}}
\Command{\tex{tr}}
\Command{\tex{ua}}
\Command{\tex{uk}}
\Command{\tex{us}}
\Command{\tex{vn}}

%% When writing multi-lingual texts you have to be aware of
%% the fact that hyphenation may differ from one language to
%% another.
Pokud p�ipravujeme v�cejazy�n� text, mus�me si b�t v�domi faktu, �e
d�len� slov se jazyk od jazyku li��.

%% To activate a language you type:
Hlavn� jazyk aktivujeme pomoc�

\shortsetup{mainlanguage}

%% Between the brackets you fill in \type{nl}, \type{fr},
%% \type{en}, \type{de} and \type{sp}.
Mezi z�vorky m��eme vlo�it
\type{af} (afrik�n�tina),
\type{ca} (katal�n�tina),
\type{cn} (��n�tina),
\type{cz} (�e�tina),
\type{da} (d�n�tina),
\type{de} (n�m�ina),
\type{en} (angli�tina),
\type{es} (�pan�l�tina),
\type{fi} (fin�tina),
\type{fr} (francou�tina),
\type{gr} (�e�tina),
\type{it} (ital�tina),
\type{hu} (ma�ar�tina),
\type{hr} (srbochorva�tina),
\type{ja} (japon�tina),
\type{nl} (holand�tina),
\type{no} (nor�tina),
\type{pl} (pol�tina),
\type{pt} (portugal�tina),
\type{ro} (rumun�tina),
\type{ru} (ru�tina),
\type{sk} (sloven�tina),
\type{sl} (slovin�tina),
\type{sv} (�v�d�tina),
\type{tr} (ture�tina),
\type{ua} (ukrajin�tina),
\type{uk} (britsk� angli�tina),
\type{us} (americk� angli�tina) a
\type{vn} (vietnam�tina).

%% To change from one language to another you can use the
%% shorthand versions:
K~do�asn� zm�n� jednoho jazyka na jin� pou�ijeme krat�� variantu:

%% \starttyping
%% \language[nl]  \language[en]  \language[de]
%% \language[fr]  \language[sp]
%% \stoptyping
\starttyping
\language[en]
\stoptyping

%% or
nebo

%% \starttyping
%% \nl  \en  \de  \fr  \sp
%% \stoptyping
\starttyping
\en
\stoptyping

%% An example:
Nap��klad:

%% \startbuffer
%% If you want to know more about Hasselt, the best book to read is
%% probably {\nl \em Uit de geschiedenis van Hasselt} by
%% F.~Peereboom.
%% \stopbuffer
\startbuffer
Pokud se chcete dozv�d�t v�ce o~Hasseltu, asi nejlep�� knihou,
kterou si m��ete p�e���t, je {\nl \em Uit de geschiedenis van
Hasselt} od F.~Peerebooma.
\stopbuffer

\typebuffer

\getbuffer

%% If a word is wrongly hyphenated you can define points of
%% hyphenation yourself. This is done in the set up area of
%% your input file:
Pokud je slovo rozd�leno nespr�vn�, m��eme si dodefinovat m�sto rozd�len�
sami. Ud�l�me to v~�vodn� ��sti dolumentu takto:

%% \startbuffer
%% \hyphenation{his-to-ry}
%% \stopbuffer
\startbuffer
\hyphenation{his-to-rie}
\stopbuffer

\typebuffer

% ====================================================================
%% \section{Comment in input file}
\section{Koment�� ve zdrojov�m souboru}

%% \index{comment}
%% \index[percent]{\% in input file}
\index{koment�� k�du}
\index[procento]{\% ve vstupn�m souboru}

%% All text between \type{\starttext} and \type{\stoptext}
%% will be processed while running \CONTEXT. Sometimes however
%% you may have text fragments you don't want to be processed or
%% you want to comment on your \CONTEXT\ commands.
Ve�ker� text mezi \type{\starttext} a~\type{\stoptext} bude
\CONTEXT{}em zpracov�n. N�kdy se v�ak vyskytne fragment textu,
kter� zpracov�vat nechceme, nebo chceme okomentovat p��kazy
\CONTEXT{}u.

%% If you preceed your text with the percentage sign \type{%}
%% it will not be processed.
Pokud p�ed�ad�me na�emu textu znak procenta \type{%}, nebude zpracov�n.

%% \startbuffer
%% % In very big documents you can use the command input for
%% % different files.
%% %
%% % For example:
%% %
%% % \input hass01.tex  % chapter 1 on Hasselt
%% % \input hass02.tex  % chapter 2 on Hasselt
%% % \input hass03.tex  % chapter 3 on Hasselt
%% \stopbuffer
\startbuffer
% Ve velmi velk�m dokumentu m��eme zdrojov� text vlo�it
% z~extern�ch soubor�. 
%
% Nap��klad:
%
% \input hass01.tex  % kapitola 1 o Hasseltu
% \input hass02.tex  % kapitola 2 o Hasseltu
% \input hass03.tex  % kapitola 3 o Hasseltu
\stopbuffer

\typebuffer

%% When you delete the \type{%} before \type{\input}
%% the three files will be processed. The comment describing the
%% contents of the files will not be processed.
Pokud p�ed ka�d�m p��kazem \type{\input} sma�eme znak \type{%},
soubory budou zpracov�ny. Koment�� popisuj�c� obsah soubor� zpracov�n
nebude.

% ====================================================================
%% \section{Input of another {\tt tex} file}
\section{Vstup jin�ho zdrojov�ho {\tt tex} souboru}

%% \index{input other \TEX--files}
\index{vstup jin�ho souboru}

\Command{\tex{input}}

%% In a number of situations you may want to insert other
%% \TEX\ files in your input file. For example, sometimes it is more
%% efficient to specify \CONTEXT\ sources in more than one file
%% in order to be able to partially process your files.
V~mnoha situac�ch chceme do sv�ho zdrojov�ho souboru vlo�it jin� soubor
\TEX. N�kdy je nap��klad efektivn�j�� rozd�lit text psan� v~\CONTEXT{}u do
v�ce soubor�, aby mohly b�t zpracov�ny samostatn�.

%% Another file (with the name \type{another.tex}) can be
%% inserted by:
Soubor se jm�nem \type{jiny.tex} m��e b�t vlo�en pomoc�:

\starttyping
\input jiny.tex
\stoptyping

%% The extension is optional so this will work too:
P��pona \type{tex} je nepovinn�, tak�e bude fungovat~i

\starttyping
\input jiny
\stoptyping

%% The command \type{\input} is a \TEX\ command.
P��kaz \type{\input} je primitivum \TEX{}u.

\stopcomponent
