<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="generate.page.number">
<refmeta>
<refentrytitle>generate.page.number</refentrytitle>
<refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
<refmiscinfo class="other" otherclass="value">full<alt>1/2</alt></refmiscinfo>
<refmiscinfo class="other" otherclass="value">compact<alt>1</alt></refmiscinfo>
<refmiscinfo class="other" otherclass="value">no</refmiscinfo>
</refmeta>
<refnamediv>
<refname>generate.page.number</refname>
<refpurpose>Specifies whether page numbers are generated</refpurpose>
</refnamediv>

<refsynopsisdiv>
  <src:fragment xml:id="generate.page.number.frag">
    <xsl:param name="generate.page.number">compact</xsl:param>
  </src:fragment>
</refsynopsisdiv>

<refsection><info><title>Description</title></info>

<para>This parameter specifies how page numbers are generated in
  the footer area.</para>

<variablelist>
  <varlistentry>
    <term>no</term>
    <listitem>
      <para>No page numbers generated at all.</para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term>full</term>
    <listitem>
      <para>Current page number, a slash and the total number of pages</para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term>compact</term>
    <listitem>
      <para>Current page number only</para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term>no</term>
    <listitem>
      <para>No page numbers generated at all.</para>
    </listitem>
  </varlistentry>
</variablelist>

</refsection>
</refentry>
