%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Contents: Main Input File of the LaTeX2e Introduction
% $Id: lshort2e.tex,v 1.4 1998/03/26 15:36:54 oetiker Exp oetiker $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% lshort2e.tex - The not so short introduction to LaTeX2e
%                                                      by Tobias Oetiker
%                                                     oetiker@ee.ethz.ch
%
%                           based on LKURTZ.TEX Uni Graz & TU Wien, 1987
%-----------------------------------------------------------------------
%
% To compile lshort, you need TeX 3.x, LaTeX2e 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)
%
% ---------------------------------------------------------------------


%****************** FIXME!s:
% Цифровые сноски из таблиц

\ifx\pdfoutput\undefined % We're not running pdftex
\documentclass[dvips,11pt,a4paper,twoside]{scrbook}
\else
\documentclass[pdftex,11pt,a4paper,twoside]{book}
\usepackage{thumbpdf}
\pdfcompresslevel=9
\fi

\lccode`\-=`\-
\defaulthyphenchar=127
%\usepackage{mathtext}
\usepackage[T2A]{fontenc}
\usepackage[koi8-r]{inputenc}
\usepackage[russian,french,german,english]{babel}
%\usepackage{geometry}

%\usepackage{pslatex,pscyr}
\usepackage{lshort}
\usepackage{makeidx,latexsym}
\usepackage[russian]{mylayout}
% are we in pdftex ????
\ifx\pdfoutput\undefined % We're not running pdftex
\usepackage[plainpages=true]{hyperref}
\usepackage{color}
\else
\usepackage[colorlinks,hyperindex,plainpages=false,unicode]{hyperref}
%\usepackage{pslatex,freepsfonts}
\usepackage{keyval}
%\usepackage{hyppre}
%\usepackage{hypuc}
\hypersetup{pdfauthor={Boris Tobotras}}
\def\pdfBorderAttrs{/Border [0 0 0] } % No border arround Links
\makeatletter
\newcounter{chapter.H}
\setcounter{chapter.H}{0}
\let\Hmat@chapter\@chapter
\def\@chapter{\if@mainmatter\else\refstepcounter{chapter.H}\fi\Hmat@chapter}
\def\theHchapter{\if@mainmatter\arabic{chapter}\else H.\arabic{chapter.H}\fi}
\makeatother
\fi
\usepackage{footnpag}
% 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, B.Tobotras}

\begin{document}
\selectlanguage{russian}
\frontmatter
\include{title}
\include{contrib}
\include{overview}
\tableofcontents
\listoffigures
\listoftables
\mainmatter
\include{things}
\include{typeset}
\include{math}
\include{lssym}
\include{spec}
\include{graphic}
\include{custom}
\backmatter
\include{biblio}
\refstepcounter{chapter}
\addcontentsline{toc}{chapter}{Предметный указатель} 
\printindex
\refstepcounter{chapter}
\label{verylast}
\mbox{}
\end{document}
