[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: creating cover page using XSL stylesheets version 1.0
Nancy Brandt <nancy_brndt <at> yahoo.com> writes: > > Hi guys, > > Is it possible to create a back coverpage without > upgrading stylesheets to version 1.73-4 in which the > empty back coverpage template has been added? > > Thank you in advance! > Nancy > I have not tried it myself, but you could: 1) Edit fo/division.xsl (where the <book> template is defined (at least in 1.73.2). Add the empty back.cover template (and front.cover too - why not?). Call it at the end of the <book> template: <xsl:template match="d:book"> <snip/> <xsl:call-template name="front.cover"/> <!-- NEW STATEMENT --> <snip/> <xsl:apply-templates select="d:dedication" mode="dedication"/> <xsl:call-template name="make.book.tocs"/> <xsl:apply-templates select="$content"/> <xsl:call-template name="back.cover"/> <!-- NEW STATEMENT --> </xsl:template> <!-- ADD THESE TOO --> <!-- Placeholder templates --> <xsl:template name="front.cover"/> <xsl:template name="back.cover"/> 2) If you can't or won't edit your 1.0 stylesheets, then copy the book template to your customisation layer, and make the changes there.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]