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 withborder



Hello

Thanks very much : It works great for the . I changed your code to:

    <xsl:param name="shade.verbatim" select="1" />
    <xsl:attribute-set name="shade.verbatim.style">
        <xsl:attribute name="padding">2pt</xsl:attribute>
        <xsl:attribute name="background-color">#C8d3FF</xsl:attribute>
        <xsl:attribute name="border-style">solid</xsl:attribute>
	<xsl:attribute name="border-color">#000266</xsl:attribute>
        <xsl:attribute name="page-break-inside">avoid</xsl:attribute>
    </xsl:attribute-set>

You gave me the idea to search for css pages on the internet. the
"page-break-inside" tag does the job
for the second question.

fips




Stefan Heuer wrote:
> 
> 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@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Programlisting-without-page-break-but-with-border-tf4391818.html#a12566969
Sent from the docbook apps mailing list archive at Nabble.com.



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