Page 1 of 1

Add image to cover page for PDF

Posted: Wed Feb 04, 2015 6:46 pm
by jamiev
Hello,

Can anyone point me in the right direction to add an image to a cover page for a PDF? Does it need to be added in the transformation scenario or the actual docbook xml? I've tried adding the following with no luck ...

<book xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<info>
...

Re: Add image to cover page for PDF

Posted: Wed Feb 04, 2015 6:49 pm
by jamiev
to add to that ...

<book xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<info>
...

<cover>
<mediaobject>
<imageobject>
<imagedata fileref="images/storyboard_overview.png">
</imagedata>
</imageobject>
</mediaobject>
</cover>

...
</info>

Re: Add image to cover page for PDF

Posted: Mon Feb 09, 2015 6:15 pm
by sorin_ristache
Hello,

How to add an image to the cover page of the DocBook PDF output was discussed here and here, where you can find some working solutions.