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: Replacing recto titlepage

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="">
<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="" content-width="{$page.width}" content-height="{$page.height}" display-align="center"/>

<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"/>

       <xsl:template name="book.titlepage.recto">
<xsl:call-template name="user.pagemasters"/> 

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

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