« Return to Thread: Programlisting without page break but with border

Re: Programlisting without page break but with border

by Stefan Heuer :: Rate this Message:

Reply to Author | View in Thread

Hi,

I used:
    <xsl:param name="shade.verbatim" select="1" />
    <xsl:attribute-set name="shade.verbatim.style">
        <xsl:attribute name="padding-top">3pt</xsl:attribute>
        <xsl:attribute name="padding-bottom">3pt</xsl:attribute>
          <xsl:attribute name="background-color">#FFFFCC</xsl:attribute>
    </xsl:attribute-set>
to set a light yellow background for program listings. But I work with
docbook 1.71.1. No time to update.

I think this should work also for border attributes.

Stefan

fips schrieb:

> Hello
>
> I want to see all my "programlisting"-parts with a border.
> In advance every programlisting must be on the same page (in other words:
> ever listing must not be broken by PDF-Page breaks).
>
> I use apache sytlesheets to process fo to pdf.
>
> I could use an "informaltable"; but this is not the docbook-style: I don't
> like to use another tag just for a foramtting issue.
>
> Any experience? Can this be customized with a simple XSLT-Elment?
>
> Thanks in advance



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...

 « Return to Thread: Programlisting without page break but with border