docbkx-stylesheets.fo.booktitlepage.xml Maven / Gradle / Ivy
<!DOCTYPE t:templates [ <!ENTITY hsize0 "9pt"> <!ENTITY hsize1 "10pt"> <!ENTITY hsize2 "12pt"> <!ENTITY hsize3 "14pt"> <!ENTITY hsize4 "16pt"> <!ENTITY hsize5 "20pt"> <!ENTITY hsize6 "24pt"> <!ENTITY hsize0space "6.75pt"> <!-- 0.75 * hsize0 --> <!ENTITY hsize1space "7.5pt"> <!-- 0.75 * hsize1 --> <!ENTITY hsize2space "9pt"> <!-- 0.75 * hsize2 --> <!ENTITY hsize3space "10.5pt"> <!-- 0.75 * hsize3 --> <!ENTITY hsize4space "12pt"> <!-- 0.75 * hsize4 --> <!ENTITY hsize5space "15pt"> <!-- 0.75 * hsize5 --> <!ENTITY hsize6space "18pt"> <!-- 0.75 * hsize6 --> ]> <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"> <!-- This is the customized template for the title page. See http://www.sagehill.net/docbookxsl/TitlePageNewElems.html for the commands to generate titlepages.xsl from this. --> <!-- ******************************************************************** $Id: titlepage.templates.xml 8341 2009-03-16 03:00:56Z bobstayton $ ******************************************************************** This file is part of the DocBook XSL Stylesheet distribution. See ../README or http://docbook.sf.net/ for copyright copyright and other information. ******************************************************************** --> <!-- ==================================================================== --> <t:titlepage t:element="book" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> <mediaobject text-align="left" margin-left="-0.5in" /> <title t:named-template="division.title" param:node="ancestor-or-self::book[1]" text-align="left" font-weight="bold" font-size="&hsize5;" font-family="DejaVuSans"/> <subtitle text-align="left" font-weight="regular" font-size="&hsize2;" space-before="&hsize2space;" font-family="DejaVuSans"/> <authorgroup space-before="2in"/> <author/> <releaseinfo font-size="&hsize2;" space-before="&hsize2space;" keep-with-next.within-column="always" /> <date font-size="&hsize2;" space-before="&hsize2space;" keep-with-next.within-column="always" /> </t:titlepage-content> <t:titlepage-content t:side="verso"> <copyright/> <abstract/> <legalnotice space-before="0.5in" font-size="4pt"/> </t:titlepage-content> <t:titlepage-separator> <fo:block break-after="page"/> </t:titlepage-separator> <t:titlepage-before t:side="recto"> </t:titlepage-before> <t:titlepage-before t:side="verso"> <fo:block break-after="page"/> </t:titlepage-before> </t:titlepage> <!-- ==================================================================== --> <t:titlepage t:element="chapter" t:wrapper="fo:block" font-family="{$title.fontset}"> <t:titlepage-content t:side="recto" margin-left="{$title.margin.left}"> <title t:named-template="chap.title" param:node="ancestor-or-self::chapter[1]"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> </t:titlepage-content> <t:titlepage-separator> </t:titlepage-separator> <t:titlepage-before t:side="recto"> </t:titlepage-before> <t:titlepage-before t:side="verso"> </t:titlepage-before> </t:titlepage> <!-- ==================================================================== --> <t:titlepage t:element="preface" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> <title t:force="1" t:named-template="component.title" param:node="ancestor-or-self::preface[1]" margin-left="{$title.margin.left}" font-size="&hsize5;" font-family="{$title.fontset}" font-weight="bold" text-align="left" space-after="1.0in" margin-top="1.5in"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> </t:titlepage-content> <t:titlepage-separator> </t:titlepage-separator> <t:titlepage-before t:side="recto"> </t:titlepage-before> <t:titlepage-before t:side="verso"> </t:titlepage-before> </t:titlepage> <!-- ==================================================================== --> <t:titlepage t:element="appendix" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> <title t:named-template="component.title" param:node="ancestor-or-self::appendix[1]" margin-left="{$title.margin.left}" font-size="&hsize5;" font-family="{$title.fontset}" font-weight="bold" text-align="left" space-after="1.0in" margin-top="1.5in"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> </t:titlepage-content> <t:titlepage-separator> </t:titlepage-separator> <t:titlepage-before t:side="recto"> </t:titlepage-before> <t:titlepage-before t:side="verso"> </t:titlepage-before> </t:titlepage> <!-- ==================================================================== --> <t:titlepage t:element="glossary" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> <title t:force="1" t:named-template="component.title" param:node="ancestor-or-self::glossary[1]" margin-left="{$title.margin.left}" font-size="&hsize5;" font-family="{$title.fontset}" font-weight="bold" text-align="left" space-after="1.0in" margin-top="1.5in"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> </t:titlepage-content> <t:titlepage-separator> </t:titlepage-separator> <t:titlepage-before t:side="recto"> </t:titlepage-before> <t:titlepage-before t:side="verso"> </t:titlepage-before> </t:titlepage> <!-- ==================================================================== --> <t:titlepage t:element="index" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> <title t:force="1" t:named-template="component.title" param:node="ancestor-or-self::index[1]" param:pagewide="1" margin-left="0pt" font-size="&hsize5;" font-family="{$title.fontset}" font-weight="bold" text-align="left" space-after="0.25in" margin-top="0in"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> </t:titlepage-content> <t:titlepage-separator> </t:titlepage-separator> <t:titlepage-before t:side="recto"> </t:titlepage-before> <t:titlepage-before t:side="verso"> </t:titlepage-before> </t:titlepage> </t:templates>