Next in thread → Next in month →

Re: [docbook-apps] Removing HTML TOC from epub

From
Bob Stayton <>
Date
2011-09-27T09:48:18+00:00
ID
04a601cc7cfa$88f1d4c0$6400a8c0@pazu
Thread
Re: [docbook-apps] Removing HTML TOC from epub


Hi Chris,

The epub3 stylesheets (beta 2) are available from 
SourceForge:

 

http://sourceforge.net/projects/docbook/files/epub3/

 

Since the stylesheets are still in active 
development and beta testing, the EPUB3 spec is not yet finalized, and the 
EPUB3 readers are still in development, you should consider epub3 experimental 
at this point.  Delivering epub3 files to users who would most likely be 
using epub2 readers would be risky.

 

Bob Stayton
Sagehill Enterprises


 

 

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

  
From: 
  Chris Ridd 
  

  
To: Bob Stayton 

  
Cc:  
  

  
Sent: Tuesday, September 27, 2011 2:17 
  AM

  
Subject: Re: [docbook-apps] Removing HTML 
  TOC from epub

  

  

  

On 22 Sep, 2011,at 08:49 PM, Bob Stayton <> wrote:

  

  
    
 
    
Hi 
    Chris,

    
Regarrding your 
    first question, you can set the stylesheet param named 'generate.toc' to 
    empty to turn off the TOC chunk.  You will still get the NCX 
    toc.

 

  
I just had a chance to do that, and it worked! Thanks :-)

  

  

  
    

    
I noticed the same 
    issue with customizing the epub 2 stylesheet  If your 
    customization consists only of parameter settings, then importing it should 
    work.  However, it is a chunking stylesheet, so any template changes 
    require paying careful attention to import precedence for them to 
    work.  Generally that requires two separate customization files, but 
    the epub/docbook.xsl needs to be rearranged for that to work.  Based on 
    the experience I gained from creating the epub 3 stylesheet, I plan to 
    rearrange the files in the  epub directory for EPUB 2 output to make it 
    easier to 
  customize.

 

  
Are the epub3 stylesheets checked in anywhere, and should we be using 
  them instead of the epub2 
ones?

Chris
Next in thread → Next in month →