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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] Removing titlepage level TOC in htmlhelp


Paul Lenson wrote:
> I find the DocBook to HtmlHelp chain quite good; however, I'd like to customize one aspect of it. It generates a TOC below the title page and then the TOC appears again as a separate page. That is:
> [TitlePage and appended TOC ]
>      - [TOC]
>          - [Section]
>          - [Section]
>              - [Section]
>      etc
> 
> I prefer to remove the TOC in the Title page - at least for Books and Articles. For Sets I prefer it there.
> So what I would like is the following:
> 
> [TitlePage]
>  - [TOC]    
>      - [Section]
>      - [Section]
>          - [Section]
>      etc

You can control where and how is ToC generated by using generate.toc 
parameter. For your situation the following setting should work:

<xsl:param name="generate.toc">
set	title,toc
book	nop
article	nop
</xsl:param>

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
------------------------------------------------------------------

S/MIME Cryptographic Signature



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