Torsten Hahn wrote:
>
> i use the listngs - package to typset sourcecode in my documents. the Problem
> is, that it does not do a pagebreak in the case that the code is longer than
> one page. I use the following (in LaTEX style):
>
> \lstinputlisting[language=C++,basicstyle=\fontfamily{pcr}\fontseries{m}\selectfont
\footnotesize,indent=15pt,breaklines,showlines,float,caption={[Kurze
^^^^^^^
delete the "float"-option!
a float can't be over more than one page which makes sense.
Herbert
--
[EMAIL PROTECTED]
http://perce.de/lyx/