\documentclass[12pt,openany]{book} %report bookebsp[a4paper,oneside] e,fleqn
\usepackage[cp1251]{inputenc}
\usepackage[russian]{babel}
%%\usepackage{eucal}
\usepackage{amssymb}
%\usepackage[dvips]{color}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{floatfer}
\usepackage{caption2}
\tolerance = 10000 \setlength{\oddsidemargin}{0.2in}
\setlength{\evensidemargin}{0.2in} \setlength{\textwidth}{17cm}
\setlength{\topmargin}{-2.1cm} \setlength{\textheight}{25cm}
\setlength{\parindent}{0pt}
\renewcommand{\baselinestretch}{1.1}
\renewcommand{\captionlabeldelim}{.}
\newcommand{\Vec}[1]{\mbox{\boldmath$#1$}}

\graphicspath{{./pict/}}


%% for html
%\DeclareGraphicsRule{.png}{eps}{.bb}{}


\DeclareGraphicsExtensions{.png}

\newcommand{\ephyspicture}[3]{
\begin{floatingfigure}{#2} \noindent \hfill
\includegraphics[width=#2]{#1}
\caption{}
\label{#3} %\refstepcounter{figure}
\end{floatingfigure}
}

\begin{document}
\initfloatingfigs

\input{waves_body.tex}
