OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Customization pdf and programlisting


Hi,

I want to customize the programlisting with a
background color.

I put my modifications in the xsl file verbatim.xsl
and in the template:
<xsl:template match="programlisting|screen|synopsis">

These are my modifications:

  <fo:block wrap-option='no-wrap'
            white-space-collapse='false'
            linefeed-treatment="preserve"
           
xsl:use-attribute-sets="monospace.verbatim.properties"
            break-after="page"
            border-color="thin black ridge"
            background-color="silver">
    <xsl:choose>
      <xsl:when test="$shade.verbatim != 0">
        <fo:block space-before="0pt" space-after="0pt"
                  border-color="thin black ridge"
                  background-color="silver"
                 
xsl:use-attribute-sets="shade.verbatim.style">
          <xsl:copy-of select="$content"/>
        </fo:block>

But when the pdf makes a new page in a program
listing, it doesn't go to the next page.

Is anybody know how to solve this problem?
Thanks for your help.
Thierry
      </xsl:when>
      <xsl:otherwise>
        <xsl:copy-of select="$content"/>
      </xsl:otherwise>
    </xsl:choose>
  </fo:block>



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


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