[Top][All Lists]

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

[O] Numbering source lines not from 1

From: François Pinard
Subject: [O] Numbering source lines not from 1
Date: Mon, 09 Jan 2012 12:55:02 -0500

Hi, Org people.

If I use:

   #+BEGIN_SRC bash +n

line numbering resumes from the last listed number.  Is there a way to
"resume" with a user specified number?

My intent would be to have the full numbered listing in an appendix, but
then, excerpt a few group of lines here and there in the running text,
using the same numbering for the quoted lines as in the appendix.  I
could of course write sentences like "The following code may be read in
context starting at line NN in the appendix", but it might be just
better to repeat the numbering right with the line, silently, without
such introductory sentences.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]