← Prev in month ← Prev in thread

Customization pdf and programlisting

From
thierry templier
Date
2003-05-05T07:34:30+00:00
ID
Thread
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蓷is !
Yahoo! Mail : http://fr.mail.yahoo.com
← Prev in month ← Prev in thread