pdf-titlepage.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing,
  12. software distributed under the License is distributed on an
  13. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. KIND, either express or implied. See the License for the
  15. specific language governing permissions and limitations
  16. under the License.
  17. -->
  18. <!DOCTYPE t:templates [
  19. <!ENTITY hsize0 "10pt">
  20. <!ENTITY hsize1 "12pt">
  21. <!ENTITY hsize2 "14.4pt">
  22. <!ENTITY hsize3 "17.28pt">
  23. <!ENTITY hsize4 "20.736pt">
  24. <!ENTITY hsize5 "24.8832pt">
  25. <!ENTITY hsize0space "7.5pt"> <!-- 0.75 * hsize0 -->
  26. <!ENTITY hsize1space "9pt"> <!-- 0.75 * hsize1 -->
  27. <!ENTITY hsize2space "10.8pt"> <!-- 0.75 * hsize2 -->
  28. <!ENTITY hsize3space "12.96pt"> <!-- 0.75 * hsize3 -->
  29. <!ENTITY hsize4space "15.552pt"> <!-- 0.75 * hsize4 -->
  30. <!ENTITY hsize5space "18.6624pt"> <!-- 0.75 * hsize5 -->
  31. ]>
  32. <t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
  33. xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
  34. xmlns:fo="http://www.w3.org/1999/XSL/Format"
  35. xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  36. <t:titlepage t:element="book" t:wrapper="fo:block">
  37. <t:titlepage-content t:side="recto">
  38. <title
  39. t:named-template="division.title"
  40. param:node="ancestor-or-self::book[1]"
  41. text-align="center"
  42. font-size="&hsize5;"
  43. space-before="&hsize5space;"
  44. font-weight="bold"
  45. font-family="{$title.fontset}"
  46. />
  47. <subtitle
  48. text-align="center"
  49. font-size="&hsize4;"
  50. space-before="&hsize4space;"
  51. font-family="{$title.fontset}"
  52. />
  53. <corpauthor space-before="0.5em"
  54. font-size="&hsize2;"
  55. />
  56. <authorgroup space-before="0.5em"
  57. font-size="&hsize2;"
  58. />
  59. <author space-before="0.5em" font-size="&hsize2;"/>
  60. <mediaobject space-before="2em" space-after="2em"/>
  61. <releaseinfo space-before="5em" font-size="&hsize2;"/>
  62. <othercredit space-before="2em" font-weight="normal" font-size="8"/>
  63. <pubdate space-before="0.5em"/>
  64. <revision space-before="0.5em"/>
  65. <revhistory space-before="0.5em"/>
  66. <abstract space-before="0.5em"
  67. text-align="start"
  68. margin-left="0.1in"
  69. margin-right="0.1in"
  70. font-family="{$body.fontset}"
  71. />
  72. </t:titlepage-content>
  73. <t:titlepage-content t:side="verso" text-align="start">
  74. <copyright space-before="1.5em"/>
  75. <legalnotice space-before="15em"/>
  76. </t:titlepage-content>
  77. <t:titlepage-separator>
  78. </t:titlepage-separator>
  79. <t:titlepage-before t:side="recto">
  80. </t:titlepage-before>
  81. <t:titlepage-before t:side="verso">
  82. </t:titlepage-before>
  83. </t:titlepage>
  84. <!-- ==================================================================== -->
  85. </t:templates>