shade.verbatim.style.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <refentry xmlns="http://docbook.org/ns/docbook"
  2. xmlns:xlink="http://www.w3.org/1999/xlink"
  3. xmlns:xi="http://www.w3.org/2001/XInclude"
  4. xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
  5. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. version="5.0" xml:id="shade.verbatim.style">
  7. <refmeta>
  8. <refentrytitle>shade.verbatim.style</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>shade.verbatim.style</refname>
  13. <refpurpose>Properties that specify the style of shaded verbatim listings</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="shade.verbatim.style.frag">
  17. <xsl:attribute-set condition="html" name="shade.verbatim.style">
  18. <xsl:attribute name="border">0</xsl:attribute>
  19. <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute>
  20. </xsl:attribute-set>
  21. <xsl:attribute-set condition="fo" name="shade.verbatim.style">
  22. <xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
  23. </xsl:attribute-set>
  24. </src:fragment>
  25. </refsynopsisdiv>
  26. <refsection><info><title>Description</title></info>
  27. <para>Properties that specify the style of shaded verbatim listings. The
  28. parameters specified (the border and background color) are added to
  29. the styling of the xsl-fo output. A border might be specified as "thin
  30. black solid" for example. See <link xlink:href="http://www.w3.org/TR/2004/WD-xsl11-20041216/#border">xsl-fo</link></para>
  31. </refsection>
  32. </refentry>