Hi,

I would like the first page of my book to display an image that would cover as much of the page as possible.

I customized fo/titlepage.templates.xml as follows:|
  <t:titlepage t:element="book" t:wrapper="fo:block">
<t:titlepage-content t:side="recto"> <mediaobject/>
   </t:titlepage-content>
|and I used the following in the bookinfo section:
|  <mediaobject>
   <|imageobject role="pdf">
   <imagedata  align="center" format="SVG" fileref="cover-image.svg"/>
</imageobject|>|| </mediaobject>|
|
|The parameters to specify the page layout are:
<xsl:param name="page.height.portrait">11in</xsl:param>
<xsl:param name="page.width.portrait">8.5in</xsl:param>
<xsl:param name="page.margin.top">0.75in</xsl:param>
<xsl:param name="page.margin.bottom">0.50in</xsl:param>
<xsl:param name="page.margin.inner">1.00in</xsl:param>
<xsl:param name="page.margin.outer">1.00in</xsl:param>

When I try to generate the pdf file (using xep) I have the following error message:
[error] no space for an element, trying to recover
[error] no space for an element, trying to recover

The size of my image is 6.4x9.7 inches, which should fit. I tried to reduce the image, and the maximum size I can fit is 5.56x8.375 inches. What am I missing?

Diane Larin
INRO

Reply via email to