Somwhere in preambula:
\renewcommand{\f}[2]{\frac{#1}{#2}}
\newcommand{\eqnl}[2]{\label{eq:#1} \eqn{#2}} %eqn is smthlike $$ $$
\newcommand{\eqf}[1]{\eqref{eq:#1}}
Text part:
Будем полагать, что
\eqnl{a}{\pf{y}{x}=f(x,y)}
непрерывна (!) и
\eqnl{b}{y=y(x)}
такова, что
\eqnl{c}{\pf{y}{x} \equiv f(x,y(x))\qquad ,x \in (a,b)}
Имеем \eqf{c} для каждой точки кривой.
\cent{Тут крутой график}
Функция \eqf{b}, удовлетворяющая \eqf{c}, ....
And here is what i get in output: (equations are here, everything is as planned til...)
Функция (2), удовлетворяющая (2), ....
How can it be? It should be Функция (2), удовлетворяющая (3). It's my second day with LaTeX and this is the first time it ever made me cry.

\newcommand{\eqnl}[2]{\eqn{#2}\label{eq:#1}}should solve your problem - putting the\labelafter your\eqn. It would help though to see the full definition of\eqnby providing a minimal working example (MWE). – Werner Sep 26 '12 at 23:19#defineis evil... – Xiè Jìléi Sep 28 '12 at 7:50