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: [docbook-apps] Cannot get titlepage image to be full page width/height


Hi,

I think the problem is that the page margins are still set, leaving you only 6.5 inches width in the body area. The margins in the spec file are relative to the body area and don't affect the page margins. You can try setting negative margins in the spec file, the negative of what your page margins are. I didn't test that, so let us know if it works.

Bob Stayton
bobs@sagehill.net
On 8/26/2019 12:26 PM, Gabriela Simonka wrote:
Hello!

I am trying to create a PDF file of an article with an image as the title page, but I keep getting a compilation error "[error] no space for an element, trying to recover" and it omits the title page completely.

This is how I've set my prn-titlepage.xml file:

Â<t:titlepage-content t:side="recto"
      Âstart-indent="0pt"
      Âtext-align="center"
      Âmargin-top="0in"
      Âmargin-left="0in"
      Âmargin-right="0in"
      Âmargin-bottom="0in">

  <mediaobject/>
...

Also, using width="100%" and scalefit="1" with the imagedata fileref tag does nothing.

I can only get it to work if I scale the image down to 6.5 in (keeping the same aspect ratio).

Is it possible to include full page graphics for the titlepage?

Thanks!
Gabriela

--
Gabriela Simonka
Technical Writer, INRO
+1 514.369.2023



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