[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#367261: Acknowledgement (listings-style fails to continue counting correctly)



Hi,

Am Montag, den 15.05.2006, 09:42 +0200 schrieb Ralf Stubner:
> 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. 

Yes, that's a possible interpretation, too.

> As a workaround, you could use firstnumber=auto and identical [name=...]
> options for all lstlisting environments, that should be numbered
> contiguously. 

That works, but for some cases it would be really nice to be able to use
firstnumber=last..

Thank,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: joachimbreitner@amessage.de | http://people.debian.org/~nomeata




Reply to: