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] | [Elist Home]


Subject: Re: DOCBOOK: suppress table of contents


On Thu, Dec 19, 2002 at 08:23:21AM -0800, Harold Carr wrote:
> Hello,
>  
> How do I suppress the table of contents in a docbook article in the
> html and pdf output?
> 
> I'm using:
> 
> jdk1.4.1_01/solaris
> 
> xalan-j_2_4_1/bin/xalan.jar
> xalan-j_2_4_1/bin/xercesImpl.jar
> xalan-j_2_4_1/bin/xml-apis.jar
> 
> docbook-xsl-1.58.1/html/docbook.xsl
> docbook-xsl-1.58.1/fo/docbook.xsl
> 
> fop-0.20.4/fop.sh

In both cases, set the parameter 'generate.toc' to
the null string.  In Xalan, use this opion:

-param generate.toc ''

That will turn off all tocs for that processing run.  If
you want to customize your stylesheet to turn off tocs only
for articles, then copy the full generate.toc parameter from the
fo or html param.xsl file to your respective customization
layer and set:

article nop

to turn off the article TOC. 
See this doc for details:

http://www.sagehill.net/xml/docbookxsl/GeneralCustoms.html#TOCcomponents
-- 

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


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


Powered by eList eXpress LLC