]> git.stg.codes - stg.git/blob - doc/xslt/params/refentry.pagebreak.xml
Get<something>Num -> Count
[stg.git] / doc / xslt / params / refentry.pagebreak.xml
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="refentry.pagebreak">
7 <refmeta>
8 <refentrytitle>refentry.pagebreak</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>refentry.pagebreak</refname>
13 <refpurpose>Start each refentry on a new page</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="refentry.pagebreak.frag"><xsl:param name="refentry.pagebreak" select="1"/></src:fragment>
18 </refsynopsisdiv>
19
20 <refsection><info><title>Description</title></info>
21
22 <para>If non-zero (the default), each <tag>refentry</tag>
23 element will start on a new page.  If zero, a page
24 break will not be generated between <tag>refentry</tag> elements.
25 The exception is when the <tag>refentry</tag> elements are children of
26 a <tag>part</tag> element, in which case the page breaks are always
27 retained.  That is because a <tag>part</tag> element does not generate
28 a page-sequence for its children, so each <tag>refentry</tag> must
29 start its own page-sequence.
30 </para>
31
32 </refsection>
33 </refentry>