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] | [Elist Home]

Subject: DOCBOOK-APPS: PROPOSAL: Putting text on blank pages


In my working environment, it is often required that blank pages are
not so blank. I.e. we frequently put the following line "This page is
intentionally left blank." on blank pages.

Here is the required modification to the stylesheets, if you choose to
add it:

Add the following attributes to the fo:region-body element in 
the simple-page-master called blank:



Create the following global parameters:

  <xsl:param name="static.on.blank.page" select="0"/>

  <xsl:param name="text.on.blank.page" 
             select="This page is intentionally left blank."/>

Put the following template in fo/pagesetup.xsl, and call it from 
the static header generating template, just like you call the new template 

<xsl:template name="blank.static.page">
  <xsl:if test="$static.on.blank.page=1">
    <fo:static-content flow-name="blank-body">
      <fo:block text-align="center">
        <xsl:value-of select="$text.on.blank.page"/>

BTW, this recipe works just fine in XEP, but not in FOP. I have therefore
filed a bug report.



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

Powered by eList eXpress LLC