OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Automatic numbering in DocBook


On 6/4/06, Norman Walsh <ndw@nwalsh.com> wrote:
> a. Chapter, appendix, and section have @label
> b. Listitem has @override to change the number (or mark)
> c. Orderedlist has @continuation, @numeration, and @inheritnum
> d. Verbatim environments have @continuation, @linenumbering, and
>    @startinglinenumber
> e. Procedures have steps, usually numbered, and stepalternatives,
>    explicitly not numbered.

I have a scenario which crops up again and again. I work for the
government, and as such we're quite policy happy and would love to use
DocBook for this. I had a project about 6 months ago that stalled
because I couldn't work out how to do numbered paragraphs ;

Heading

  1. some paragraph.
  2. some other paragraph.

New heading

  Sub-heading

     3. more paragraph.
     4. and yet more.

   etc.

It's important here that headings are *not* numbered, and that numbers
follow only paragraphs. Any ideas? I tried putting paragraphs into
lists, but setting @continuation for each list without heading
interfering was more than tricky. If there was an @startingnumber
which could take a value "previous-paragraph" then that would solve
it, but I think headings are too embedded in the DocBook model to be
ignored?


Kind regards,

Alex
-- 
"Ultimately, all things are known because you want to believe you know."
                                                         - Frank Herbert
__ http://shelter.nu/ __________________________________________________


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]