← Prev in month ← Prev in thread

Make dedication element appear in TOC

From
redlettucemail <>
Date
2011-09-19T02:58:47+00:00
ID
Thread
Make dedication element appear in TOC
X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
   
   
  
  
   
   
   
   
   
   
   
   
   
   
   
  

How do I 
customise the stylesheets so that the “dedication”
element appears in the generated TOC? It appears that this and
“acknowledgments” are the only elements that are not extracted to a TOC. 

 

I thought I had found the right code with
<xsl:template name="division.toc"> in autotoc.xsl. I added 
$toc-context/d:dedication
to variable “nodes” – but all that did was copy the entire contents of 
my
“dedication” chunk to the TOC. It didn’t create the title with a 
leader line
and page number. 

Thanks,

 

Dave Gardiner
← Prev in month ← Prev in thread