discuss: re:re:Separating Introduction from TOC


Previous by date: 8 Apr 2003 21:41:11 -0000 re:Separating Introduction from TOC, Morgon Kanter
Next by date: 8 Apr 2003 21:41:11 -0000 re:Separating Introduction from TOC, Martin A. Brown
Previous in thread:
Next in thread:

Subject: re:re:Separating Introduction from TOC
From: Greg Ferguson ####@####.####
Date: 8 Apr 2003 21:41:11 -0000
Message-Id: <200304082140.h38Lex4P004511@hoop.timonium.sgi.com>

On Tue, 8 Apr 2003 16:58:57 -0400 Morgon Kanter ####@####.#### wrote:

> > > ... Is there any way I can separate (de-couple) the TOC from
> > > the rest of the document?? I'd like the TOC its own page. ...
> >
> > I *think* you're looking for this DSSSL option (set in ldp.dsl):
> > 
> >   (define (chunk-skip-first-element-list)
> >     ;; forces the Table of Contents on separate page
> >     '())
> 
> Is there an equivelent for this in the XSL stylesheets? Also, how
> would I go about enabling it? 

ldp-html-common.xsl:

  <!-- Equivalent to chunk-skip-first-element-list - forces TOC on separate page
       If 0, first sect is on page for chapter or article -->
  <xsl:param name="chunk.first.sections" select="'1'"/>

Taken from the LDP XSL customized stylesheets available in the 
authors resource area of the site (tldp.org/authors/#resources)

--
Greg


Previous by date: 8 Apr 2003 21:41:11 -0000 re:Separating Introduction from TOC, Morgon Kanter
Next by date: 8 Apr 2003 21:41:11 -0000 re:Separating Introduction from TOC, Martin A. Brown
Previous in thread:
Next in thread:


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