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


Subject: Re: [docbook-apps] Programlisting without page break but with border


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




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