| 
	
		
		
		
		
		 
			
			Could be useful. 
What I've been doing when I have chapters like: 
 
 
<h1>Chapter 4</h1> 
<h2>Whatever happens</h2> 
 
is use regex to make it  
<h1>Chapter 4<br/> 
<span class="chapsub">Whatever happens</span></h1> 
 
Before I do "generate TOC" I convert  
<br/> 
<span class="chapsub"> 
 
to :<br/> 
<span class="chapsub"> 
 
So I get  
Chapter 4: Whatever happens 
in the toc file. Then I delete the colon from the chapter files. 
 
I'll still do this when there are other levels of heading (e.g. "Parts" ) that I want to retain, but if there are just chapters this might be simpler.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 |