RE: [docbook-apps] Turning off Chapter TOC's individually

From
Nelson, Dean <>
Date
2006-11-13T23:25:52+00:00
ID
Thread
RE: [docbook-apps] Turning off Chapter TOC's individually
Title: Message

Hmmm, 
that's what I thought. Could I turn them off and place <toc/> to manually 
turn them on?

 

 

Dean Nelson   
Sr. Software 
Engineer
Enterprise Electronics Corp
http://www.EECradar.com   

"Obstacles are those frightful things you see when 
you take your eyes off your goal." - Henry Ford

This e-mail, including attachments, may include 
confidential and/or proprietary information, and may be used only by the person 
or entity to which it is addressed.  If the reader of this e-mail is not 
the intended recipient or his or her authorized agent, the reader is hereby 
notified that any dissemination, distribution or copying of this e-mail is 
prohibited.  If you have received this e-mail in error, please notify the 
sender by replying to this  message and delete this e-mail 
immediately.

  

  
-----Original Message-----
From: Bob Stayton 
  [mailto:] 
Sent: Monday, November 13, 2006 4:25 
  PM
To: Nelson, Dean; 
  
Subject: Re: [docbook-apps] 
  Turning off Chapter TOC's individually

  
This would require a customization.  In both 
  HTML and FO output, the chapter template checks the generate.toc parameter and 
  then calls a template named 'component.toc'  in the html/ or 
  fo/autotoc.xsl stylesheet module.  You could customize that to turn off 
  the chapter toc processing if certain conditions are met, such as a 
  single section or a processing instruction.  If you need more specifics, 
  don't hesitate to ask.

  
 

  
Bob Stayton
Sagehill Enterprises
DocBook Consulting


  
 

  
 

  
    
----- Original Message ----- 

    
From: 
    Nelson, Dean 

    
To:  
    

    
Sent: Monday, November 13, 2006 11:29 
    AM

    
Subject: [docbook-apps] Turning off 
    Chapter TOC's individually

    

    
Hello,

    
I have not yet 
    figured out if there is a way to turn off chapter TOC's individually. I can 
    use the "generate.toc" parameter to turn them all on or off, but if I wanted 
    to turn off a specific chapter - like one with only one section in it - 
    how would I do that?

    
 

    
Thanks,

    
Dean Nelson