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] Producing an arbitrary chunk in epub


Are you using the epub or epub3 stylesheets in DocBook XSL?  They are structured differently for customizations.
 
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
 
 
----- Original Message -----
From: Jason Zech
Sent: Wednesday, August 15, 2012 6:23 AM
Subject: [docbook-apps] Producing an arbitrary chunk in epub

Hi all,

 

I?m doing heavy customization on the 1.77.1-ns transform to epub, via Oxygen's ANT transform. I cannot, though, seem to figure out how to generate a separate copyright page chunk with the copyright info and my legal notices. I have a good working chunk customization setup with the formatting in the imported stylesheet and the chunking in the main one, and I?ve cleared the copyright and legal notices from the default index.html page. I can't quite seem to figure out how to generate a new chunk with a named template and put what I want in there.

 

I tried adding <xsl:call-template name="copyright.chunk"/> to the end of the root template <xsl:template match="/"> where the opf, ncx, cover, and container templates are called. Then I created my own copyright.chunk template (I copied the cover template and just changed the filename and the contents going into it). But the chunk isn't appearing in my epub.

 

Any suggestions? 

 

Thanks

 



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