%& --translate-file=cp8bit.tcx
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Contents: Main Input File of the LaTeX2e Introduction
% $Id: lshort.tex,v 1.5 1998/09/29 08:05:09 oetiker Exp oetiker $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% lshort.tex - The not so short introduction to LaTeX   
%                                                      by Tobias Oetiker
%                                                     oetiker@ee.ethz.ch 
%
%                           based on LKURTZ.TEX Uni Graz & TU Wien, 1987
%-----------------------------------------------------------------------
%
% To compile lshort, you need TeX 3.x, LaTeX and makeindex
%
% The sources files of the Intro are:
%      lshort.tex (this file),
%      titel.tex, contrib.tex, biblio.tex
%      things.tes, typeset.tex, math.tex, lssym.tex, spec.tex,
%      lshort.sty, fancyheadings.sty
%
% Further the  verbatim.sty and the layout.sty 
% from the LaTeX Tools distribution is
% required.
%
%
% To print the AMS symbols you need the AMS fonts and the packages
% amsfonts, eufrak and eucal from (AMS LaTeX 1.2)
%
% ---------------------------------------------------------------------
\newif\ifpdf
\ifx\pdfoutput\undefined % We're not running pdftex
\documentclass[dvips,11pt,a4paper,twoside]{book}
\pdffalse
\else
\documentclass[pdftex,11pt,a4paper,twoside]{book}
\usepackage{cmap}
\usepackage{thumbpdf}
\pdfcompresslevel=9
\pdftrue
\fi

%\usepackage{url,faqmac}

\usepackage{amsmath}
\usepackage[T1,T2A]{fontenc}
\usepackage[koi8-u]{inputenc}
\let\mylsspageref\pageref
\usepackage[ukrainian,english,frenchb,german,ukrainian]{babel} 
\makeatletter
\def\englishhyphenmins{\tw@\thr@@}
\makeatother
\usepackage{lshort,lshortuk}
\let\lsspageref\mylsspageref
\usepackage{makeidx,shortvrb,latexsym}
\usepackage{mylayout,tabularx}
% are we in pdftex ????
\ifx\pdfoutput\undefined % We're not running pdftex
\RequirePackage[dvips,hyperindex,plainpages=false,unicode,pagebackref]{hyperref}
\usepackage{color}
\else
\RequirePackage[colorlinks,hyperindex,plainpages=false,unicode,pagebackref,pdfpagelabels]{hyperref}
\def\pdfBorderAttrs{/Border [0 0 0] } % No border arround Links
\fi
\ifx\hypersetup\undefined\else
\usepackage{hypbmsec}
\DeclareTextCommand{\texteuro}{PU}{\040\254} % Euro
\pdfstringdefDisableCommands{\edef\cyrillicencoding{}}%
\pdfstringdefDisableCommands{\edef\sim{\textasciitilde}}%
\pdfstringdefDisableCommands{\edef\circ{\textdegree}}%
\pdfstringdefDisableCommands{\edef\ci{\textbackslash}}%
\pdfstringdefDisableCommands{\edef\ldots{... }}%
\hypersetup{
pdftitle={The not so short introduction to \LaTeX},
pdfsubject={LaTeX},
pdfkeywords={LaTeX, Ukrainian},
pdfauthor={Tobias Oetiker, Ukrainian translation by Maksym Polyakov}}
\fi
%
% This document is ``public domain''. It may be printed and
% distributed free of charge in its original form (including the
% list of authors). If it is changed or if parts of it are used
% within another document, then the author list must include
% all the original authors AND that author (those authors) who
% has (have) made the changes.
%
% Original Copyright H.Partl, E.Schlegl, and I.Hyna (1987).
% English Version Copyright by Tobias Oetiker (1994,1995),
% 
% ---------------------------------------------------------------------
%
%
% Formats also with\textt{letterpaper} option, but the pagebreaks might not
% fall as nicely.
%
% To produce a A5 booklet, use a tool like  pstops or dvitodvi
% to  past them together in the right order. Most dvi printer drivers
% can shrink the resulting output to fit on a A4 sheet.
%
\makeindex
\typeout{Copyright T.Oetiker, H.Partl, E.Schlegl, I.Hyna}

%\includeonly{spec}
%\pdfcompresslevel=0
\makeatletter\def\Hy@Warning#1{}\makeatother
\begin{document}
\selectlanguage{ukrainian}
\hyphenchar\font=127
\hyphenation{ËÏ-ÌÏÎ-ÔÉ-ÔÕ-Ì¦× ÔÉ-ÐÏ-ÇÒÁ-Æ-ÓØ-ËÏÀ ×¦Ä-ÐÏ-×¦-ÄÁ-ÌØ-ÎÕ ×¦Ä-Ô×Ï-ÒÅ-ÎÉÊ}
\frontmatter
\include{title}
\include{contrib}
\include{overview}
\tableofcontents
\listoffigures
\listoftables
\enlargethispage{\baselineskip}
\mainmatter
\include{things}
\include{typeset}
\include{math} 
\include{lssym}
\include{spec}
\include{graphic}   
\include{custom}
\backmatter
\refstepcounter{chapter}
\include{biblio}
\refstepcounter{chapter}
\addcontentsline{toc}{chapter}{\indexname} 
\printindex
\refstepcounter{chapter}
\label{verylast}
\mbox{}
\end{document}





