]> granicus.if.org Git - docbook-dsssl/commitdiff
Split monospaced properties from verbatim properties
authorNorman Walsh <ndw@nwalsh.com>
Fri, 19 Jul 2002 11:34:35 +0000 (11:34 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 19 Jul 2002 11:34:35 +0000 (11:34 +0000)
xsl/params/monospace.properties.xml [new file with mode: 0644]
xsl/params/monospace.verbatim.properties.xml

diff --git a/xsl/params/monospace.properties.xml b/xsl/params/monospace.properties.xml
new file mode 100644 (file)
index 0000000..8d7d58b
--- /dev/null
@@ -0,0 +1,30 @@
+<refentry id="monospace.properties">
+<refmeta>
+<refentrytitle>monospace.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>monospace.properties</refname>
+<refpurpose>Properties of monospaced content</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='monospace.properties.frag'>
+<xsl:attribute-set name="monospace.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$monospace.font.family"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 0.9"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the font name and size for monospaced output.</para>
+
+</refsect1>
+</refentry>
index 496c3c20134b244cb8d02c69d4590a5c9f9d17ab..608ed220ec582e43b7aa430de66834f5cdcc5e30 100644 (file)
@@ -5,15 +5,9 @@
 </refnamediv>
 
 <refsynopsisdiv>
-<src:fragment id='monospace.verbatim.properties.frag'><xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties">
-  <xsl:attribute name="font-family">
-    <xsl:value-of select="$monospace.font.family"/>
-  </xsl:attribute>
-  <xsl:attribute name="font-size">
-    <xsl:value-of select="$body.font.master * 0.9"/>
-    <xsl:text>pt</xsl:text>
-  </xsl:attribute>
-</xsl:attribute-set></src:fragment>
+<src:fragment id='monospace.verbatim.properties.frag'>
+<xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties"/>
+</src:fragment>
 </refsynopsisdiv>
 <refsect1><title>Description</title>
 <para>Specify the font name and size you want for monospaced output</para>