emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Numbering source lines not from 1
@ 2012-01-09 17:55 François Pinard
  0 siblings, 0 replies; only message in thread
From: François Pinard @ 2012-01-09 17:55 UTC (permalink / raw)
  To: emacs-orgmode

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.

François

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-09 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-09 17:55 Numbering source lines not from 1 François Pinard

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).