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: Re: Problem with cover


 <WilliamFLawrence <at> eaton.com> writes:

> 
> 
> 
> 
> 
> 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.
> 
 <WilliamFLawrence <at> eaton.com> writes:

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


Try the thread at http://thread.gmane.org/gmane.text.docbook.apps/19707.
It's a long thread, but what worked for me in the end was scalefit="0" 
instead of scale="100%" in my DocBook XML file.

Regards,
Alias John Brown.



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