</xsl:template>
<xsl:template match="informaltable">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
<xsl:variable name="prop-columns"
select=".//colspec[contains(@colwidth, '*')]"/>
<xsl:attribute name="reference-orientation">90</xsl:attribute>
</xsl:if>
- <fo:table>
+ <fo:table id="{$id}"
+ xsl:use-attribute-sets="informal.object.properties">
<xsl:call-template name="table.frame"/>
<xsl:if test="count($prop-columns) != 0">
<xsl:attribute name="table-layout">fixed</xsl:attribute>
<!ENTITY glossterm.auto.link SYSTEM "../params/glossterm.auto.link.xml">
<!ENTITY graphic.default.extension SYSTEM "../params/graphic.default.extension.xml">
<!ENTITY hyphenate SYSTEM "../params/hyphenate.xml">
+<!ENTITY informal.object.properties SYSTEM "../params/informal.object.properties.xml">
<!ENTITY insert.xref.page.number SYSTEM "../params/insert.xref.page.number.xml">
<!ENTITY label.from.part SYSTEM "../params/label.from.part.xml">
<!ENTITY line-height SYSTEM "../params/line-height.xml">
&component.title.properties;
&formal.object.properties;
&formal.title.properties;
+&informal.object.properties;
&monospace.verbatim.properties;
&verbatim.properties;
</reference>
<src:fragref linkend="glossterm.auto.link.frag"/>
<src:fragref linkend="graphic.default.extension.frag"/>
<src:fragref linkend="hyphenate.frag"/>
+<src:fragref linkend="informal.object.properties.frag"/>
<src:fragref linkend="insert.xref.page.number.frag"/>
<src:fragref linkend="label.from.part.frag"/>
<src:fragref linkend="line-height.frag"/>
--- /dev/null
+<refentry id="informal.object.properties">
+<refnamediv>
+<refname>informal.object.properties</refname>
+<refpurpose>Properties associated with a formal object such as a figure, or other component that has a title</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='informal.object.properties.frag'><xsl:attribute-set name="informal.object.properties">
+ <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
+ <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
+ <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>The styling for informal objects in docbook. Specify the spacing before and after the object.</para>
+</refsect1>
+</refentry>