Re: [docbook-apps] Turning off generation of epub cover

From
redlettucemail <>
Date
2011-07-24T07:05:12+00:00
ID
Thread
Re: [docbook-apps] Turning off generation of epub cover
I've thought a 
bit more about this. Is there one or more pieces of code in the epub 
docbook.xsl that controls whether a XHTML chunk is created? What I'd like is 
to add a parameter that gives users the choice of turning off a front cover. 
If I can find the code that kicks off the writing of a 'cover' chunk, I can 
customise a param to either select or ignore that piece of code. Any 
suggestions would be really helpful.

Thanks,
 

Dave Gardiner

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

From: "redlettucemail" <>

To: 

Date: Sat, 23 Jul 2011 00:47:00 +1000

Subject: [docbook-apps] Turning off generation of epub cover

Is there an easy 
way to turn off the generation of a front cover? I have set up a DB 1.76 NS 
customisation that always generates a "cover.html". I've tried various 
options in the epub titlepage (where I have a template 
name="book.titlepage.recto" similar to the FO titlepage template) by adding 
a param value that lets a user select the cover on or off, but I'm lost. 

 

What I'd like is to write in an option that allows: no 
"cover.html" to be generated; and exclude the associated cover image info 
from toc.ncx and content.opf. I can't follow the logic of covers in 
docbook.xsl. Any ideas please?

Thanks 

Dave Gardiner