← Prev in month ← Prev in thread

Problem with cover

From
<>
Date
2010-12-10T20:33:45+00:00
ID
Thread
Problem with cover
Title: Problem with cover

Hi All,

I’m having a bit of trouble with custom covers.  I’ve trying to display an 8.5” x 11” graphic on the cover that essentially takes up the entire page.  It displays with the top and bottom aligned, but it’s indented to the right.  The following is in my customization layer.

<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="before-edge">

         <fo:external-graphic src="url(book_cover_deploy.png)"/>

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

  

Thanks in advance.

Bill Lawrence
← Prev in month ← Prev in thread