This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Linenumbering in literallayout
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Bob Stayton <bobs at caldera dot com>
- Cc: BigSmoke <bigsmoke at home dot nl>, docbook at lists dot oasis-open dot org
- Date: Tue, 17 Dec 2002 11:09:54 -0500
- Subject: DOCBOOK: Re: Linenumbering in literallayout
- References: <200212131047.30226.bigsmoke@home.nl><20021213103204.G4220@caldera.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/ Bob Stayton <bobs@caldera.com> was heard to say:
| On Fri, Dec 13, 2002 at 10:47:30AM +0100, BigSmoke wrote:
|> I have a document with some programlistings, which are discussed line-by-line
|> by various sections. Everywhere I describe a line, the original line
|> reappears as an excerpt. However, the only way to number them in DocBook seems
|> to be to start by line 1, while I'd like to be able to use some sort of
|> attribute that a programlisting starts at line 4, for example.
|>
|> Am I overseeing already built-in semantics which could do the job or should
|> I start customizing?
|
| The XSL stylesheets support a few processing instructions
| for line numbering. See:
Do we want/need the ability to start at a random number?
Do we also/instead need/want the ability to continue numbering from
the previous listing?
Be seeing you,
norm
- --
Norman Walsh <ndw@nwalsh.com> | Limited in his nature, infinite in
http://www.oasis-open.org/docbook/ | his desires, man is a fallen god
Chair, DocBook Technical Committee | who remembers heaven.--Lamartine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE9/0xSOyltUcwYWjsRAnzlAKCP/KzfXC82dYQXU920uvyNUR2qXQCfaSzt
Wf0KaB0T2fHM01/hanVYeLY=
=ZQiC
-----END PGP SIGNATURE-----