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: Custom master page question

Hello all,

I read, and re-read, all the contributions, the Bob's website, the bob's
book, but I still have a problem to macke a custom master page.

I just want to add a graphic in the center of the first page of my book.

I've put in my custom.xsl file this little chooser  (found in Bob's

<xsl:template name="select.user.pagemaster">
    <xsl:param name="element"/>
    <xsl:param name="pageclass"/>
    <xsl:param name="default-pagemaster"/>
        <xsl:when test="$default-pagemaster = 'titlepage'">
            <xsl:value-of select="'my-new-titlepage'"/>
            <xsl:value-of select="$default-pagemaster"/>

I have a file named my-new-titlepage.xsl which containt some
customization (found again in Bob's book) :

<xsl:attribute-set name="book.titlepage.recto.style">
    <xsl:attribute name="font-family">Garamond</xsl:attribute>
    <xsl:attribute name="text-align">right</xsl:attribute>
    <xsl:attribute name="color">#E0E0E0</xsl:attribute>

When (with eclipse and oxygenxml plugin) I try to transform my book to
fo then PDF, I have an error :  
The process ended with code : 2 The error was : [ERROR]
file:/Users/jacques/8sens/book.xml_xslt:1:12710 master-reference
'my-new-titlepage' for fo:page-sequence matches no simple-page-master or

So I think I must use a file named user.pagemaster.xsl (which is a copy
of fo/pagesetup.xsl). But I don't interstand what to keep, what to
delete and what to change in this file.

I found in <fo:simple-page-master master-name="titlepage-first"
and the page-sequence-master part...

But it still confusing I my head.

Who can help me to clarify this point ?

Thanks in advance,
 C'est tout pour aujourd'hui !

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