<!DOCTYPE t:templates [
<!ENTITY hsize0 "10pt">
<!ENTITY hsize1 "12pt">
<!ENTITY hsize2 "14.4pt">
<!ENTITY hsize3 "17.28pt">
<!ENTITY hsize4 "20.736pt">
<!ENTITY hsize5 "24.8832pt">
<!ENTITY hsize0space "7.5pt"> <!-- 0.75 * hsize0 -->
<!ENTITY hsize1space "9pt"> <!-- 0.75 * hsize1 -->
<!ENTITY hsize2space "10.8pt"> <!-- 0.75 * hsize2 -->
<!ENTITY hsize3space "12.96pt"> <!-- 0.75 * hsize3 -->
<!ENTITY hsize4space "15.552pt"> <!-- 0.75 * hsize4 -->
<!ENTITY hsize5space "18.6624pt"> <!-- 0.75 * hsize5 -->
]>
<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
	     xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
             xmlns:fo="http://www.w3.org/1999/XSL/Format"
             xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<!-- ==================================================================== -->

<t:titlepage element="article" wrapper="fo:block">
  <t:titlepage-content side="recto">
      <title
	     named-template="component.title"
	     param:node="ancestor-or-self::article[1]"
	     fo:text-align="center"
	     fo:margin-left="-4pc"
	     fo:keep-with-next="always"
	     fo:font-size="&hsize5;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"
	      fo:text-align="center"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

<t:titlepage element="set" wrapper="fo:block">
  <t:titlepage-content side="recto">
      <title
	     named-template="division.title"
	     param:node="ancestor-or-self::set[1]"
	     fo:text-align="center"
	     fo:font-size="&hsize5;"
	     fo:space-before="&hsize5space;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"
	      fo:text-align="center"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

  <t:titlepage element="book" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     named-template="division.title"
	     param:node="ancestor-or-self::book[1]"
	     fo:text-align="center"
	     fo:font-size="&hsize5;"
	     fo:space-before="&hsize5space;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
      <subtitle
		fo:text-align="center"
		fo:font-size="&hsize4;"
		fo:space-before="&hsize4space;"
		fo:font-family="{$title.font.family}"/>
      <corpauthor fo:font-size="&hsize3;"
		  fo:keep-with-next="always"
		  fo:space-before="2in"/>
      <authorgroup fo:space-before="2in"/>
      <author fo:font-size="&hsize3;"
	      fo:space-before="&hsize2space;"
	      fo:keep-with-next="always"/>
    </t:titlepage-content>

  <t:titlepage-content side="verso">
      <title
	     fo:font-size="&hsize2;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
      <corpauthor/>
      <authorgroup/>
      <author/>
      <pubdate fo:space-before="1em"/>
      <copyright/>
      <abstract/>
      <legalnotice fo:font-size="8pt"/>
  </t:titlepage-content>

  <t:titlepage-separator>
      <fo:block break-after="page"/>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
      <fo:block break-after="page"/>
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

<t:titlepage element="part" wrapper="fo:block">
  <t:titlepage-content side="recto">
      <title
	     named-template="division.title"
	     param:node="ancestor-or-self::part[1]"
	     fo:text-align="center"
	     fo:font-size="&hsize5;"
	     fo:space-before="&hsize5space;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:text-align="center"
	      fo:font-size="&hsize4;"
	      fo:space-before="&hsize4space;"
	      fo:font-weight='bold'
	      fo:font-style='italic'
	      fo:font-family="{$title.font.family}"/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<t:titlepage element="partintro" wrapper="fo:block">
  <t:titlepage-content side="recto">
    <title
	   fo:text-align="center"
	   fo:font-size="&hsize3;"
	   fo:font-weight="bold"
	   fo:margin-left="-4pc"
	   fo:space-before="1em"
	   fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:text-align="center"
	      fo:font-size="&hsize2;"
	      fo:font-weight="bold"
	      fo:font-style="italic"
	      fo:font-family="{$title.font.family}"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

<t:titlepage element="reference" wrapper="fo:block">
  <t:titlepage-content side="recto">
      <title
	     named-template="division.title"
	     param:node="ancestor-or-self::reference[1]"
	     fo:text-align="center"
	     fo:font-size="&hsize5;"
	     fo:space-before="&hsize5space;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"
	      fo:text-align="center"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

  <t:titlepage element="dedication" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="component.title"
	     param:node="ancestor-or-self::dedication[1]"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-family="{$title.font.family}"
	     fo:font-weight="bold"/>
      <subtitle
		fo:font-family="{$title.font.family}"/>
    </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

  <t:titlepage element="preface" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="component.title"
	     param:node="ancestor-or-self::preface[1]"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-family="{$title.font.family}"
	     fo:font-weight="bold"/>
      <subtitle
		fo:font-family="{$title.font.family}"/>
      <corpauthor/>
      <authorgroup/>
      <author/>
      <releaseinfo/>
      <copyright/>
      <legalnotice/>
      <pubdate/>
      <revision/>
      <revhistory/>
      <abstract/>
    </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

  <t:titlepage element="chapter" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     named-template="component.title"
	     param:node="ancestor-or-self::chapter[1]"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
      <subtitle
		fo:space-before="0.5em"
		fo:margin-left="-4pc"
		fo:font-style="italic"
		fo:font-size="&hsize2;"
		fo:font-weight="bold"
		fo:font-family="{$title.font.family}"/>
      <corpauthor/>
      <authorgroup/>
      <author/>
      <releaseinfo/>
      <copyright/>
      <legalnotice/>
      <pubdate/>
      <revision/>
      <revhistory/>
      <abstract/>
    </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

  <t:titlepage element="appendix" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     named-template="component.title"
	     param:node="ancestor-or-self::appendix[1]"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
      <subtitle
		fo:font-family="{$title.font.family}"/>
      <corpauthor/>
      <authorgroup/>
      <author/>
      <releaseinfo/>
      <copyright/>
      <legalnotice/>
      <pubdate/>
      <revision/>
      <revhistory/>
      <abstract/>
    </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

<t:titlepage element="section" wrapper="fo:block">
  <t:titlepage-content side="recto">
    <title
	   fo:margin-left="-4pc"
	   fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<t:titlepage element="sect1" wrapper="fo:block">
  <t:titlepage-content side="recto">
    <title
	   fo:margin-left="-4pc"
	   fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<t:titlepage element="sect2" wrapper="fo:block">
  <t:titlepage-content side="recto">
    <title
	   fo:margin-left="-4pc"
	   fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<t:titlepage element="sect3" wrapper="fo:block">
  <t:titlepage-content side="recto">
    <title
	   fo:margin-left="-4pc"
	   fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<t:titlepage element="sect4" wrapper="fo:block">
  <t:titlepage-content side="recto">
    <title
	   fo:margin-left="-4pc"
	   fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<t:titlepage element="sect5" wrapper="fo:block">
  <t:titlepage-content side="recto">
    <title
	   fo:margin-left="-4pc"
	   fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<t:titlepage element="simplesect" wrapper="fo:block">
  <t:titlepage-content side="recto">
    <title
	   fo:margin-left="-4pc"
	   fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

  <t:titlepage element="bibliography" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="component.title"
	     param:node="ancestor-or-self::bibliography[1]"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-family="{$title.font.family}"
	     fo:font-weight="bold"/>
      <subtitle
		fo:font-family="{$title.font.family}"/>
    </t:titlepage-content>

    <t:titlepage-content side="verso">
    </t:titlepage-content>

    <t:titlepage-separator>
    </t:titlepage-separator>

    <t:titlepage-before side="recto">
    </t:titlepage-before>

    <t:titlepage-before side="verso">
    </t:titlepage-before>
  </t:titlepage>

<!-- ==================================================================== -->

  <t:titlepage element="glossary" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="component.title"
	     param:node="ancestor-or-self::glossary[1]"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-family="{$title.font.family}"
	     fo:font-weight="bold"/>
      <subtitle
		fo:font-family="{$title.font.family}"/>
    </t:titlepage-content>

    <t:titlepage-content side="verso">
    </t:titlepage-content>

    <t:titlepage-separator>
    </t:titlepage-separator>

    <t:titlepage-before side="recto">
    </t:titlepage-before>

    <t:titlepage-before side="verso">
    </t:titlepage-before>
  </t:titlepage>

<!-- ==================================================================== -->

  <t:titlepage element="index" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="component.title"
	     param:node="ancestor-or-self::index[1]"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-family="{$title.font.family}"
	     fo:font-weight="bold"/>
      <subtitle
		fo:font-family="{$title.font.family}"/>
    </t:titlepage-content>

    <t:titlepage-content side="verso">
    </t:titlepage-content>

    <t:titlepage-separator>
    </t:titlepage-separator>

    <t:titlepage-before side="recto">
    </t:titlepage-before>

    <t:titlepage-before side="verso">
    </t:titlepage-before>
  </t:titlepage>

<!-- ==================================================================== -->

  <t:titlepage element="table.of.contents" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="gentext"
	     param:key="'TableofContents'"
	     fo:space-after="1em"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
    </t:titlepage-content>

    <t:titlepage-content side="verso">
    </t:titlepage-content>

    <t:titlepage-separator>
    </t:titlepage-separator>

    <t:titlepage-before side="recto">
    </t:titlepage-before>

    <t:titlepage-before side="verso">
    </t:titlepage-before>
  </t:titlepage>

  <t:titlepage element="list.of.tables" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="gentext"
	     param:key="'ListofTables'"
	     fo:space-after="1em"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
    </t:titlepage-content>

    <t:titlepage-content side="verso">
    </t:titlepage-content>

    <t:titlepage-separator>
    </t:titlepage-separator>

    <t:titlepage-before side="recto">
    </t:titlepage-before>

    <t:titlepage-before side="verso">
    </t:titlepage-before>
  </t:titlepage>

  <t:titlepage element="list.of.figures" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="gentext"
	     param:key="'ListofFigures'"
	     fo:space-after="1em"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
    </t:titlepage-content>

    <t:titlepage-content side="verso">
    </t:titlepage-content>

    <t:titlepage-separator>
    </t:titlepage-separator>

    <t:titlepage-before side="recto">
    </t:titlepage-before>

    <t:titlepage-before side="verso">
    </t:titlepage-before>
  </t:titlepage>

  <t:titlepage element="list.of.examples" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="gentext"
	     param:key="'ListofExamples'"
	     fo:space-after="1em"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
    </t:titlepage-content>

    <t:titlepage-content side="verso">
    </t:titlepage-content>

    <t:titlepage-separator>
    </t:titlepage-separator>

    <t:titlepage-before side="recto">
    </t:titlepage-before>

    <t:titlepage-before side="verso">
    </t:titlepage-before>
  </t:titlepage>

  <t:titlepage element="list.of.equations" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="gentext"
	     param:key="'ListofEquations'"
	     fo:space-after="1em"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
    </t:titlepage-content>

    <t:titlepage-content side="verso">
    </t:titlepage-content>

    <t:titlepage-separator>
    </t:titlepage-separator>

    <t:titlepage-before side="recto">
    </t:titlepage-before>

    <t:titlepage-before side="verso">
    </t:titlepage-before>
  </t:titlepage>

  <t:titlepage element="list.of.unknowns" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="gentext"
	     param:key="'ListofUnknown'"
	     fo:space-after="1em"
	     fo:margin-left="-4pc"
	     fo:font-size="&hsize3;"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
    </t:titlepage-content>

    <t:titlepage-content side="verso">
    </t:titlepage-content>

    <t:titlepage-separator>
    </t:titlepage-separator>

    <t:titlepage-before side="recto">
    </t:titlepage-before>

    <t:titlepage-before side="verso">
    </t:titlepage-before>
  </t:titlepage>

<!-- ==================================================================== -->

</t:templates>
