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

%\chapter{Page breaking and page numbering}
\chapter{Zalamov�n� a ��slov�n� str�nek}

%\index{page breaking}
%\index{page numbering}
\index{zalamov�n� str�nek}
\index{��slov�n� str�nek}

\Command{\tex{page}}
\Command{\tex{setuppagenumbering}}
\Command{\tex{startpostponing}}

%A page can be enforced or blocked by:
Zalomen� str�nky lze vynutit nebo potla�it p��kazem:

\shortsetup{page}

%The options can be stated within the brackets. The options
%and their meaning are presented in \in{table}[tab:page
%options]
Parametry se zad�vaj� uvnit� hranat�ch z�vorek. Parametry a jejich smysl jsou
uvedeny v~\in{tabulce}[tab:page options].

%\placetable
%  []
%  [tab:page options]
%  {Page options.}
%\starttable[|l|l|]
%\HL
%\NC \bf Option \NC \bf Meaning \NC\SR
%\HL
%\NC \type{yes}           \NC enforce a page \NC\FR
%\NC \type{makeup}        \NC enforce a page without filling \NC\MR
%\NC \type{no}            \NC no page \NC\MR
%\NC \type{preference}    \NC prefer a new page here \NC\MR
%\NC \type{bigpreference} \NC great preference for a new page here \NC\MR
%\NC \type{left}          \NC next page is a left handside page \NC\MR
%\NC \type{right}         \NC next page is a right handside page \NC\MR
%\NC \type{disable}       \NC following commands have no effect \NC\MR
%\NC \type{reset}         \NC following commands do have effect \NC\MR
%\NC \type{empty}         \NC insert an empty page \NC\MR
%\NC \type{last}          \NC add pages till even number is reached \NC\MR
%\NC \type{quadruple}     \NC add pages till a multiple of four
%  is reached  \NC\LR
%\HL
%\stoptable

\placetable
  []
  [tab:page options]
  {Volby p��kazu \type{\page}.}
\starttable[|l|l|]
\HL
\NC \bf Volba \NC \bf V�znam \NC\SR
\HL
\NC \type{yes}           \NC za��tek nov� str�nky \NC\FR
\NC \type{makeup}        \NC za��tek nov� str�nky bez plovouc�ch objekt�\NC\MR
\NC \type{no}            \NC potla�en� str�nkov�ho zlomu \NC\MR
\NC \type{preference}    \NC na tomto m�st� up�ednost�ujeme novou str�nku \NC\MR
\NC \type{bigpreference} \NC nov� str�nka m� na tomto m�st� vysokou prioritu \NC\MR
\NC \type{left}          \NC n�sleduj�c� str�nka je lev� (sud�) \NC\MR
\NC \type{right}         \NC n�sleduj�c� str�nka je prav� (lich�) \NC\MR
\NC \type{disable}       \NC n�sleduj�c� p��kazy nemaj� ��inek \NC\MR
\NC \type{reset}         \NC n�sleduj�c� p��kazy se provedou \NC\MR
\NC \type{empty}         \NC vlo�en� pr�zdn� str�nky \NC\MR
\NC \type{last}          \NC vkl�d�n� str�nek a� do dosa�en� sud�ho ��sla strany \NC\MR
\NC \type{quadruple}     \NC vkl�d�n� str�nek a� do dosa�en� n�sobku �ty�  \NC\LR
\HL
\stoptable

%Page numbering happens automatically but you can enforce
%a page number with:
��slov�n� str�nek je automatick�, ale je mo�n� ru�n� nastavit ��slo str�nky
p��kazem:

\starttyping
\page[25]
\stoptyping

%Sometimes it is better to state a relative page number like
%\type{[+2]} or \type{[-2]}.
N�kdy je lep�� zadat ��slo strany relativn�, nap��klad
\type{[+2]} nebo \type{[-2]}.

%The position of the page numbers on a page depend on your own
%preferences and if it concerns a one sided or double sided
%document. Page numbering can be set up with:
Um�st�n� ��sla str�nek na stran� z�vis� na na�ich preferenc�ch a na typu
dokumentu (jednostrann� nebo dvojstrann�). ��slov�n� str�nek se
nastavuje p��kazem:

\shortsetup{setuppagenumbering}

%The preferences are placed within the brackets.
Parametry se um�s�uj� do hranat�ch z�vorek.

%Tables or figures may take up a lot of space. The placing of
%these text elements can be postponed till the next page break.
%This is done with:
N�kdy m��e b�t v�hodn� odlo�it n�jak� materi�l a� na za��tek dal��
strany, tedy po proveden� nejbli���ho str�nkov�ho zlomu.
To se provede p��kazem:

\shortsetup{startpostponing}

\startbuffer
\startpostponing
\placefigure
  {Odlo�en� obr�zek.}
  {\externalfigure[ma-cb-16][width=\textwidth]}
\stoppostponing
\stopbuffer

\typebuffer

%The figure will be placed at the top of next page and will
%cause minimal disruption of the running text.
Obr�zek bude um�st�n ve vrchn� ��sti n�sleduj�c� strany, 
aby co nejm�n� naru�oval pr�b�n� text.

\getbuffer

\stopcomponent
