This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Linenumbering in literallayout


On Tue, Dec 17, 2002 at 11:09:54AM -0500, Norman Walsh wrote:
> -----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?

Yes.
 
> Do we also/instead need/want the ability to continue numbering from
> the previous listing?

Yes, I think "also".  8^)

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]