On Sun, May 14, 2006 at 22:17 +0200, Joachim Breitner wrote:
> 
> Some futher information: One empty line is "a feature, not a bug"®
> according to the docs, but it seems that the use of \lstinline
> interferes with the counting. see attached minimal working example.

Are you refering to page 14 of the listings documentation? I interpret
that differently. To me it looks as if the bug you discovered is
actually visible in the documentation itself, but somewhat hidden by the
empty line which is supposed to be counted but actually is not. 
 
As a workaround, you could use firstnumber=auto and identical [name=...]
options for all lstlisting environments, that should be numbered
contiguously. 

cheerio
ralf

Reply via email to