This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: [docbook] Using an image on the titlepage


Mauritz Jeanson (25-04-05 17:13)
> Yes, the block must have some text content. One way to get around that is to
> put a zero-width space (for example) in your customization layer:
> 
> <xsl:template name="book.titlepage.recto">
>   <fo:block>&#8203;  <!-- makes block "non-empty" -->
>      <fo:external-graphic src="url(...)"/>
>    </fo:block>
> </xsl:template>


Success! :-)

At first, I thought it didn't work. FOP complained:

[INFO] [1]
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

I suppose my PNG file is too big (380,6 kb). On the other hand, when I use
the EPS (9,9MB), the PDF is rendered correctly!


Now I have a little strange problem: I can see the frontpage in KDE's
preview, I can see it with GV (ghostview), but I can't see it with Xpdf or
Gpdf, Kpdf. What can cause this?



Best regards
-- 
Ben Branders                         Website:       http://branders.name
                                   Jabber ID:  xmpp:ben@jabber.belnet.be
      Mozilla Firefox en Thunderbird (NL/BE):   http://www.mozbrowser.be


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]