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] Re: [docbook] Using an image on the titlepage


On Mon, Apr 25, 2005 at 05:13:41PM +0200, Mauritz Jeanson wrote:

> > Can anyone explain this?
> 
> 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>
> 
> This is needed because the template with name="book.titlepage" in
> titlepage.templates.xsl contains the following test:
> 
> <xsl:if test="normalize-space($recto.content) != ''">
>   <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
> </xsl:if>
> 
> Without any non-whitespace text nodes, normalize-space() returns an
> empty string.

Thanks, Mauritz.  Is that a bug or a feature, Bob?  Why can't I just
have an image on the title page?


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/

PGP signature



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