Hi all, I'm a beginner, I've added a image as my first page of the fo output, but i can't delete the recto title page which was auto generated by the * titlepage.templates.xsl*.
As far as i know, the docbook1.78.1 will generate two consecutive titlepages, one shows the title in recto and the subtitle and copyright shows in verso. Refer to http://www.sagehill.net/docbookxsl/ReplaceTemplate.html I've been trying to replace the *titlepage.templates.xsl* by call-template in my *frontcover.xsl*, but i failed. Here is the codes in my frontcover.xsl, and part of it are definitely wrong: > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> <xsl:import > href="C:/docbook/docbook-xsl-ns-1.78.1/fo/docbook.xsl"/> > > <xsl:template name="front.cover"> > <xsl:call-template name="page.sequence"> > <xsl:with-param name="master-reference">front-cover</xsl:with-param> > <xsl:with-param name="content"> > <fo:block alignment-adjust="auto"> > <fo:external-graphic src="images/DB.jpg" content-width="{$page.width}" > content-height="{$page.height}" display-align="center"/> > </fo:block> > </xsl:with-param> > </xsl:call-template> > </xsl:template> > > <xsl:template name="user.pagemasters"> > <fo:simple-page-master master-name="front-cover" > page-width="{$page.width}" page-height="{$page.height}" margin-top="0pt" > margin-bottom="0pt" margin-left="0pt" margin-right="0pt"> > <fo:region-body margin-top="0pt" margin-bottom="0pt" margin-left="-0pt" > margin-right="0pt"/> > </fo:simple-page-master> > </xsl:template> > <xsl:template name="book.titlepage.recto"> > <xsl:call-template name="user.pagemasters"/> > </xsl:template> > </xsl:stylesheet> And all i want is to delete the recto page and keep the verso one - replace the recto page by the image cover. Can anyone give me some advice? Thanks in advance. Mona Qi
