Re: Cannot get titlepage image to be full page width/height

Gabriela Simonka <[email protected]>
Newsgroups gmane.text.docbook.apps
Message-ID <CAHGn4HY4ginPBdbZ4A7j0kdnZSoqOiRLPEis6cxO4UBjZfWnmA@mail.gmail.com>
Hi Bob,

Yes, setting the margins and the start-indent to negative values worked!
Thanks for the tip!

-Gabriela

On Tue, Aug 27, 2019 at 1:35 PM Bob Stayton <[email protected]> wrote:

> 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 [email protected]
>
> 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
>
> <https://www.youtube.com/channel/UClamXSG_7kTnzH3GApqqqGQ>
>
>

-- 
*Gabriela Simonka*
Technical Writer, INRO
+1 514.369.2023

<https://www.youtube.com/channel/UClamXSG_7kTnzH3GApqqqGQ>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.