Hi,

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
 
Beschreibung]Ein tolles Beispiel eines C++ Listings},frame={tb}]{main.cpp}

What i have to do, that the code breaks automaticly of the page is over ?

Greetings,
Torsten.
-- 
Torsten Hahn
Agricolastr. 14-16 / Zi. 6111A / 09599 Freiberg (Germany)
mail: [EMAIL PROTECTED]
pgp key available @ http://math-www.uni-paderborn.de/pgp/
pgp fingerprint = C981 42A2 707A 65A4 5266  BDC0 523F E4D8 8C87 4209

Reply via email to