OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: 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.
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?
Dave Gardiner

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]