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

%\chapter{How to process a file}
\chapter{Jak zpracovat vstupn� soubor}

%\index{input file+processing}
%\index[dvifile]{\type{dvi}--file}
%\index[pdffile]{\type{pdf}--file}
\index{vstupn� soubor+zpracov�n�}
\index[dvisoubor]{\type{dvi}--soubor}
\index[pdfsoubor]{\type{pdf}--soubor}

%If you want to process a \CONTEXT\ input file, you might
%type at the command line prompt:
Jestli�e chceme zpracovat vstupn� soubor \CONTEXT{}u, m��eme na
p��kazov� ��dce napsat:

%\starttyping
%context filename
%\stoptyping
\starttyping
context jmenosouboru
\stoptyping

%The availability of the batch command \type{context} depends
%on the system you're using. Ask your system administrator
%the command you use to start \CONTEXT. If your filename is
%\type{myfile.tex} this can be:
Dostupnost d�vkov�ho p��kazu \type{context} z�vis� na pou�it�m syst�mu. 
Na to, jak�m p��kazem se spou�t� \CONTEXT, se zeptejte spr�vce sv�ho syst�mu. 
Pokud se n� soubor jmenuje \type{mujsoubor.tex}, m��e to b�t:

%\starttyping
%context myfile
%\stoptyping
\starttyping
context mujsoubor
\stoptyping

%or when \TEXEXEC\ is properly installed:
\noindent nebo, kdy� je ��dn� nainstalov�n \TEXMFSTART{} a~\TEXEXEC:

%\starttyping
%texexec --pdf myfile
%\stoptyping
\starttyping
texmfstart texexec --pdf mujsoubor
\stoptyping

%the extension \type{.tex} is not needed.
\noindent P��ponu \type{.tex} nen� pot�eba zad�vat.

%After pressing \Enter\ processing will be started. \CONTEXT\
%will show processing information on your screen. If
%processing is succesful the command line prompt will return
%and \CONTEXT\ will produce a \type{dvi} or \type{pdf} file.
Po stla�en� kl�vesy \Enter\ za�ne zpracov�v�n�. \CONTEXT\
vypisuje na obrazovku informace o~pr�b�hu zpracov�n�. 
Kdy� je soubor zpracov�n �sp�n�, znovu se objev� v�zva v~p��kazov�
��dce a \CONTEXT\ vytvo�� soubor \type{dvi} nebo \type{pdf}.

%If processing is not succesful ---for example because you
%typed \type{\stptext} instead of \type{\stoptext}---
%\CONTEXT\ produces a \type{ ? } on your terminal and tells
%you it has just processed an error. It will give you some
%basic information on the type of error and the line number
%where the error becomes effective.
Jestli�e zpracov�n� �sp�n� nen� -- nap��klad proto, �e jsme napsali
\type{\stptext} nam�sto \type{\stoptext} ---
\CONTEXT\ na obrazovku vyp��e znak \type{ ? } a~ozn�m� n�m, �e
pr�v� narazil na chybu. Poskytne n�m z�kladn� informace
o~druhu chyby a~��slo ��dky, na kter�m se chyba projevila.

%At the instant of \type{ ? } you can type:
V~okam�iku, kdy se objev� znak \type{ ? } m��eme napsat:

%\starttabulate[|||]
%\NC \type{H} \NC for help information on your error \NC\NR
%\NC \type{I} \NC for inserting the correct \CONTEXT\ command \NC\NR
%\NC \type{Q} \NC for quiting and entering batch mode \NC\NR
%\NC \type{X} \NC for exiting the running mode \NC\NR
%\NC \Enter   \NC for ignoring the error \NC\NR
%\stoptabulate
\starttabulate[|||]
\NC \type{H} \NC pro n�pov�du k~chyb�, \NC\NR
\NC \type{I} \NC pro vlo�en� opraven�ho p��kazu \CONTEXT{}u, \NC\NR
\NC \type{Q} \NC pro ignorov�n� chyb bez v�pisu, \NC\NR
\NC \type{R} \NC pro ignorov�n� chyb s~v�pisem, \NC\NR
\NC \type{X} \NC pro ukon�en� b�hu, nebo \NC\NR
\NC \Enter   \NC pro ignorov�n� chyby. \NC\NR
\stoptabulate

%Most of the time you will type \Enter\ and processing will
%continue. Then you can edit the input file and fix the error.
Nej�ast�ji stla��me kl�vesu \Enter\ a~zpracov�n� bude pokra�ovat. 
Pak m��eme editovat vstupn� soubor a~chybu odstranit.

%Some errors will produce a~\type{ * } on your screen and
%processing will stop. This error is due to a fatal error in
%your input file. You can't ignore this error and the only
%option you have is to type \type{\stop} or {\sc Ctrl}~Z. The
%program will be halted and you can fix the error.
N�kter� chyby zp�sob�, �e se na obrazovku vyp��e znak \type{ * }
a sou�asn� se zpracov�n� zastav�. To je d�sledek z�va�n� chyby ve
vstupn�m souboru. Tuto chybu nem��eme ignorovat a~jedinou 
mo�nost� je napsat \type{\stop} nebo {\sc Ctrl}~Z. Program se ukon��
a~my m��eme chybu odstranit.

%During the processing of your input file \CONTEXT\ will also
%inform you of what it is doing with your document. For
%example it will show page numbers and information about
%process steps. Further more it gives warnings. These are of
%a typographical order and tells you when line breaking is not
%successful. All information on processing is stored in a
%\type{log} file that can be used for reviewing warnings and
%errors and the respective line numbers where they occur in
%your file.
B�hem zpracov�n� vstupn�ho souboru n�s \CONTEXT\ 
tak� informuje o~�innostech, kter� na~na�em dokumentu prov�d�. 
Zobrazuje nap��klad ��sla str�nek a~informace o~jednotliv�ch
kroc�ch. Mimoto vypisuje varov�n�. Ta se t�kaj� typografie  
a~oznamuj� n�m ne�sp�n� zalomen� ��dku. 
Ve�ker� informace o~zpracov�n� se ukl�daj� do z�znamov�ho
souboru s~p��ponou \type{.log}, kde lze p�ezkoumat varov�n�
i~chyby a~nal�zt ��sla p��slu�n�ch ��dek vstupn�ho souboru.

%When processing is succesful \CONTEXT\ produces a new file,
%with the extension \type{.dvi} or \type{.pdf} so the files
%\type{myfile.dvi} or \type{myfile.pdf} are generated. The
%abbreviation \type{dvi} stands for Device Indepent. This
%means that the file can be processed by a suitable
%PostScript (\PS) printer driver to make the file suitable
%for printing or viewing. The abbreviation \PDF\ stands for
%Portable Document Format. This is a platform independent
%format for printing and viewing.
P�i �sp�n�m zpracov�n� \CONTEXT\ vytvo�� nov� soubor s~p��ponou 
\type{.dvi} nebo \type{.pdf}, v~na�em p��kladu bude tedy vytvo�en soubor
\type{mujsoubor.dvi} nebo \type{mujsoubor.pdf}. Zkratka 
\type{dvi} znamen� Device Indepent (nez�visl� na za��zen�). 
To znamen�, �e soubor m��e b�t d�le p�eveden pat�i�n�m ovlada�em
PostScriptov� (\PS) tisk�rny na soubor vhodn� k~tisku nebo k~prohl��en�. 
Zkratka \PDF\ znamen� Portable Document Format (p�enosn� form�t dokumentu). 
Je to form�t pro tisk a prohl��en�, nez�visl� na opera�n�m syst�mu.

\stopcomponent
