<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
          id="refentry.pagebreak">
<refmeta>
<refentrytitle>refentry.pagebreak</refentrytitle>
<refmiscinfo role="type">boolean</refmiscinfo>
</refmeta>
<refnamediv>
<refname>refentry.pagebreak</refname>
<refpurpose>Start each refentry on a new page</refpurpose>
</refnamediv>

<refsynopsisdiv>
<src:fragment id='refentry.pagebreak.frag'><xsl:param name="refentry.pagebreak" select="1"/></src:fragment>
</refsynopsisdiv>

<refsect1><title>Description</title>

<para>If non-zero (the default), each <sgmltag>refentry</sgmltag>
element will start on a new page.  If zero, a page
break will not be generated between <sgmltag>refentry</sgmltag> elements.
The exception is when the <sgmltag>refentry</sgmltag> elements are children of
a <sgmltag>part</sgmltag> element, in which case the page breaks are always
retained.  That is because a <sgmltag>part</sgmltag> element does not generate
a page-sequence for its children, so each <sgmltag>refentry</sgmltag> must
start its own page-sequence.
</para>

</refsect1>
</refentry>
