43 lines
1.5 KiB
XML
Vendored
43 lines
1.5 KiB
XML
Vendored
<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="section.level1.properties">
|
|
<refmeta>
|
|
<refentrytitle>section.level1.properties</refentrytitle>
|
|
<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
|
|
</refmeta>
|
|
<refnamediv>
|
|
<refname>section.level1.properties</refname>
|
|
<refpurpose>Properties for level-1 sections</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsynopsisdiv>
|
|
<src:fragment xml:id="section.level1.properties.frag">
|
|
<xsl:attribute-set name="section.level1.properties" use-attribute-sets="section.properties">
|
|
</xsl:attribute-set>
|
|
</src:fragment>
|
|
</refsynopsisdiv>
|
|
|
|
<refsection><info><title>Description</title></info>
|
|
|
|
<para>The properties that apply to the containing
|
|
block of a level-1 section, and therefore apply to
|
|
the whole section. This includes <tag>sect1</tag>
|
|
elements and <tag>section</tag> elements at level 1.
|
|
</para>
|
|
|
|
<para>For example, you could start each level-1 section on
|
|
a new page by using:</para>
|
|
<programlisting><xsl:attribute-set name="section.level1.properties">
|
|
<xsl:attribute name="break-before">page</xsl:attribute>
|
|
</xsl:attribute-set>
|
|
</programlisting>
|
|
|
|
<para>This attribute set inherits attributes from the
|
|
general <tag>section.properties</tag> attribute set.
|
|
</para>
|
|
|
|
</refsection>
|
|
</refentry>
|