]> granicus.if.org Git - docbook-dsssl/commitdiff
Special attribute-set for para only.
authorBob Stayton <bobs@sagehill.net>
Fri, 2 Mar 2012 18:35:14 +0000 (18:35 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 2 Mar 2012 18:35:14 +0000 (18:35 +0000)
xsl/params/para.properties.xml [new file with mode: 0644]

diff --git a/xsl/params/para.properties.xml b/xsl/params/para.properties.xml
new file mode 100644 (file)
index 0000000..3ca0388
--- /dev/null
@@ -0,0 +1,28 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+          xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:xi="http://www.w3.org/2001/XInclude"
+          xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          version="5.0" xml:id="para.properties">
+<refmeta>
+<refentrytitle>para.properties</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>para.properties</refname>
+<refpurpose>Properties to apply to para elements</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="para.properties.frag"><xsl:attribute-set name="para.properties" use-attribute-sets="normal.para.spacing">
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsection><info><title>Description</title></info>
+<para>Specify properties to apply to the fo:block of a para element,
+such as <literal>text-indent</literal>.
+Although the default attribute-set is empty, it uses the attribute-set
+named <literal>normal.para.spacing</literal> to add vertical space before
+each para. The <literal>para.properties</literal> attribute-set can override those 
+spacing properties for para only.</para>
+</refsection>
+</refentry>