[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Turning off generation of epub cover
-----Original Message-----
From: Nic Gibson <nicg@corbas.net>
To: redlettucemail <redlettucemail@mailscan.acenet.net.au>
Date: Sun, 24 Jul 2011 11:22:50 +0100
Subject: Re: [docbook-apps] Turning off generation of epub cover
Hi DaveThere are several places as far as I can see. I think there's a good argument for refactoring the code here. There isn't a single parameter that allows the generation of the cover to be disabled as far as I can see. I'm looking to see if any of the code I wrote for a similar purpose can be reused. Can it wait until a weekday? I'm not working on EPUB creation again until Tuesday.nicOn 24 Jul 2011, at 08:03, redlettucemail wrote: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" < redlettucemail@mailscan.acenet.net.au>
To: docbook-apps@lists.oasis-open.org
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?ThanksDave Gardiner
Nic Gibson
Corbas Consulting
Digital Publishing Consultancy and Training
http://www.corbas.co.uk, +44 (0)7718 906817
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]