]> granicus.if.org Git - docbook-dsssl/commitdiff
Made margin-left a parameter so it's easier to tweak along with page.margin.outer
authorNorman Walsh <ndw@nwalsh.com>
Mon, 8 Oct 2001 12:13:23 +0000 (12:13 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 8 Oct 2001 12:13:23 +0000 (12:13 +0000)
xsl/fo/titlepage.templates.xml

index 1655e3305dbcdc07652b1d0381be77518a5138d4..de7e7e88e3297d7a3a7e96b197e123364d14161e 100644 (file)
 
 <t:titlepage element="article" wrapper="fo:block">
   <t:titlepage-content side="recto">
-      <title
-            named-template="component.title"
+      <title named-template="component.title"
             param:node="ancestor-or-self::article[1]"
             fo:text-align="center"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             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}"
+    <subtitle fo:font-family="{$title.font.family}"
              fo:text-align="center"/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
+    <corpauthor fo:text-align="center"/>
+    <authorgroup fo:text-align="center"/>
+    <author fo:text-align="center"
+            fo:font-size="&hsize2;"
+            fo:font-weight="bold"/>
+    <othercredit fo:text-align="center"/>
+    <releaseinfo fo:text-align="center"/>
+    <copyright fo:text-align="center"/>
     <legalnotice/>
-    <pubdate/>
-    <revision/>
+    <pubdate fo:text-align="center"/>
+    <revision fo:text-align="center"/>
     <revhistory/>
     <abstract/>
   </t:titlepage-content>
           fo:text-align="center"
           fo:font-size="&hsize3;"
           fo:font-weight="bold"
-          fo:margin-left="-4pc"
+          fo:margin-left="{$title.margin.left}"
           fo:space-before="1em"
           fo:font-family="{$title.font.family}"/>
     <subtitle
             force="1"
             named-template="component.title"
             param:node="ancestor-or-self::dedication[1]"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-family="{$title.font.family}"
             fo:font-weight="bold"/>
             force="1"
             named-template="component.title"
             param:node="ancestor-or-self::preface[1]"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-family="{$title.font.family}"
             fo:font-weight="bold"/>
       <title
             named-template="component.title"
             param:node="ancestor-or-self::chapter[1]"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             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:margin-left="{$title.margin.left}"
                fo:font-style="italic"
                fo:font-size="&hsize2;"
                fo:font-weight="bold"
       <title
             named-template="component.title"
             param:node="ancestor-or-self::appendix[1]"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
 <t:titlepage element="section" wrapper="fo:block">
   <t:titlepage-content side="recto">
     <title
-          fo:margin-left="-4pc"
+          fo:margin-left="{$title.margin.left}"
           fo:font-family="{$title.font.family}"/>
     <subtitle
              fo:font-family="{$title.font.family}"/>
 <t:titlepage element="sect1" wrapper="fo:block">
   <t:titlepage-content side="recto">
     <title
-          fo:margin-left="-4pc"
+          fo:margin-left="{$title.margin.left}"
           fo:font-family="{$title.font.family}"/>
     <subtitle
              fo:font-family="{$title.font.family}"/>
 <t:titlepage element="sect2" wrapper="fo:block">
   <t:titlepage-content side="recto">
     <title
-          fo:margin-left="-4pc"
+          fo:margin-left="{$title.margin.left}"
           fo:font-family="{$title.font.family}"/>
     <subtitle
              fo:font-family="{$title.font.family}"/>
 <t:titlepage element="sect3" wrapper="fo:block">
   <t:titlepage-content side="recto">
     <title
-          fo:margin-left="-4pc"
+          fo:margin-left="{$title.margin.left}"
           fo:font-family="{$title.font.family}"/>
     <subtitle
              fo:font-family="{$title.font.family}"/>
 <t:titlepage element="sect4" wrapper="fo:block">
   <t:titlepage-content side="recto">
     <title
-          fo:margin-left="-4pc"
+          fo:margin-left="{$title.margin.left}"
           fo:font-family="{$title.font.family}"/>
     <subtitle
              fo:font-family="{$title.font.family}"/>
 <t:titlepage element="sect5" wrapper="fo:block">
   <t:titlepage-content side="recto">
     <title
-          fo:margin-left="-4pc"
+          fo:margin-left="{$title.margin.left}"
           fo:font-family="{$title.font.family}"/>
     <subtitle
              fo:font-family="{$title.font.family}"/>
 <t:titlepage element="simplesect" wrapper="fo:block">
   <t:titlepage-content side="recto">
     <title
-          fo:margin-left="-4pc"
+          fo:margin-left="{$title.margin.left}"
           fo:font-family="{$title.font.family}"/>
     <subtitle
              fo:font-family="{$title.font.family}"/>
             force="1"
             named-template="component.title"
             param:node="ancestor-or-self::bibliography[1]"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-family="{$title.font.family}"
             fo:font-weight="bold"/>
             force="1"
             named-template="component.title"
             param:node="ancestor-or-self::glossary[1]"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-family="{$title.font.family}"
             fo:font-weight="bold"/>
             force="1"
             named-template="component.title"
             param:node="ancestor-or-self::index[1]"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-family="{$title.font.family}"
             fo:font-weight="bold"/>
             force="1"
             named-template="component.title"
             param:node="ancestor-or-self::colophon[1]"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-family="{$title.font.family}"
             fo:font-weight="bold"/>
             named-template="gentext"
             param:key="'TableofContents'"
             fo:space-after="1em"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
             named-template="gentext"
             param:key="'ListofTables'"
             fo:space-after="1em"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
             named-template="gentext"
             param:key="'ListofFigures'"
             fo:space-after="1em"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
             named-template="gentext"
             param:key="'ListofExamples'"
             fo:space-after="1em"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
             named-template="gentext"
             param:key="'ListofEquations'"
             fo:space-after="1em"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
             named-template="gentext"
             param:key="'ListofUnknown'"
             fo:space-after="1em"
-            fo:margin-left="-4pc"
+            fo:margin-left="{$title.margin.left}"
             fo:font-size="&hsize3;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>