Disabling the ToC

View: New views
2 Messages — Rating Filter:   Alert me  

Disabling the ToC

by predhme :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey all,

Using DocBook 4.5 to generate my documents. I wanted to customize whether or not the table of contents is shown or not for specific documents. I was looking over the XSD but couldn't figure out how to disable the table of contents. Can someone point me in the correct direction?

Thanks,

Ken

Re: Disabling the ToC

by Paul Heinlein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 7/6/09 9:52 AM, Ken Preudhomme wrote:
> Hey all,
>
> Using DocBook 4.5 to generate my documents. I wanted to customize
> whether or not the table of contents is shown or not for specific
> documents. I was looking over the XSD but couldn't figure out how to
> disable the table of contents. Can someone point me in the correct
> direction?

I pass this to xsltproc:

   --stringparam generate.toc ''

so I suspect you'd want to set the param in your stylesheet:

   <xsl:param name="generate.toc" select="''"/>

--
Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@...
For additional commands, e-mail: docbook-help@...