My preamble follows:
\usepackage[breaklines]{listings}
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{\centering\normalfont\Large\bfseries}}
On Mon, 24 Sep 2001, Herbert Voss wrote:
> Emre Akbas wrote:
> >
> >
> > \newcounter {listing} [section]
> >
> > Absurdly, i've realized that the abov error is caused by the
> > layout->document-> page_style
> > it was 'fancy' and i ate the error, when i changed it to 'headings' or
> > sth. else the error disapperad, i couldn't understand why. Anyway, thanks
> > for the help.
>
> send your preamble
>
> Herbert
>
> --
> http://www.educat.hu-berlin.de/~voss/lyx/
>