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: Wide verbatim shading overflowing into right margin in PDF


Hello,

What is the correct way to avoid wide verbatim shading from overflowing into the right margin in PDF?

In the attached .png, the "CVS program listing" example has width="92". I'd like to stop the shading at the right margin, just as it starts at the left. Instead the shading runs to the right edge of the page.


The build uses the v1.76.1 stylesheets with the following customization:

  <xsl:param name="shade.verbatim" select="1"/>
  <xsl:attribute-set name="shade.verbatim.style">
   <xsl:attribute name="background-color">#d4d4d4</xsl:attribute>
   <xsl:attribute name="border">0.5pt dashed #626d75</xsl:attribute>
   <xsl:attribute name="padding">3pt</xsl:attribute>
   <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
   <xsl:attribute name="font-size">0.75em</xsl:attribute>
  </xsl:attribute-set>

Thanks for your advice. Regards,
Mark


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