docbook: Thread: Numbered Items in TOC


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Numbered Items in TOC
From: "Anthony E. Greene" ####@####.####
Date: 17 Jul 2001 08:24:09 -0000
Message-Id: <Pine.LNX.4.21.0107170424060.31737-100000@cp5340.localdomain>

I write DocBook 3.1 and convert it to HTML using:

   jade -i html -t sgml -d /path/ldp.dsl\#html filename.sgml

My section headers look like this:

   <sect1 id="SectionName"><?dbhtml filename="section-name.html">

Is there an option I can use either in the section header or the jade
command that will generate numbered lists in my table of contents?

Tony
-- 
Anthony E. Greene ####@####.#### <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05
Linux. The choice of a GNU Generation. <http://www.linux.org/>





Subject: Re: Numbered Items in TOC
From: Dan York ####@####.####
Date: 18 Jul 2001 17:22:30 -0000
Message-Id: <20010718132153.T14570@e-smith.com>

Tony,

> My section headers look like this:
> 
>    <sect1 id="SectionName"><?dbhtml filename="section-name.html">
> 
> Is there an option I can use either in the section header or the jade
> command that will generate numbered lists in my table of contents?

Hmmmm... I notice you are using ldp.dsl. In there, there is:

  (define %section-autolabel%
    ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)
    #t)

If you have that set to "#t", section numbers should just show up 
and appear in your TOC.  What version of jade are you using?  And are
you using Norman Walsh's latest copy of the DSSSL stylesheets?
(available from http://docbook.sourceforge.net/ )

Regards,
Dan


-- 
Dan York, Director of Training        ####@####.####
Ph: +1-613-751-4401  Mobile: +1-613-263-4312 Fax: +1-613-564-7739 
e-smith, inc. 150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/            open source, open mind
[<<] [<] Page 1 of 1 [>] [>>]


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.