From: SourceForge.net <no...@so...> - 2005-04-29 20:05:33
|
Bugs item #1189965, was opened at 2005-04-26 05:33 Message generated for change (Comment added) made by kosek You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1189965&group_id=21935 Category: DocBook XSL Group: Print/FO/PDF >Status: Closed Resolution: None Priority: 5 Submitted By: Paul A. Hoadley (paulhoadley) >Assigned to: Jirka Kosek (kosek) Summary: Blank title page not allowed Initial Comment: Ben Branders <ben...@sk...> wanted to generate a title page containing just an image. I suggested the following template in his customisation layer: <xsl:template name="book.titlepage.recto"> <fo:block> <fo:external-graphic src="url(images/frontpage.png)"/> </fo:block> </xsl:template> Ben pointed out that FOP produces no title page with this construction, and I confirmed this with XEP. Mauritz Jeanson <mj...@jo...> pointed out that this occurs due to the following test in titlepage.templates.xsl: <xsl:if test="normalize-space($recto.content) != ''"> <fo:block><xsl:copy-of select="$recto.content"/></fo:block> </xsl:if> That is, some text is required. It can be fooled with a zero-width space (​), but Bob Stayton <bo...@sa...> thought it was a bug rather than a feature: > I think it is a bug. In fact, I can't imagine why that test is > there at all. If someone needs to have a blank titlepage, > why not let them? ---------------------------------------------------------------------- >Comment By: Jirka Kosek (kosek) Date: 2005-04-29 22:05 Message: Logged In: YES user_id=189932 Fixed in CVS. You can directly test it if you grab snapshot release from http:// docbook.sourceforge.net/snapshots ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1189965&group_id=21935 |