\documentclass[a5paper]{article}
\usepackage[utf8x]{inputenc}
\usepackage[russian]{babel}
\title{Рани Ясмина}
\author{В.Вагнер}
\begin{document}
\maketitle
\tableofcontents
\input all.tex
\end{document}

