param.xsl 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <?xml version="1.0"?>
  2. <!-- This file is generated from param.xweb -->
  3. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  4. <!-- ********************************************************************
  5. $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
  6. ********************************************************************
  7. This file is part of the DocBook Slides Stylesheet distribution.
  8. See ../README or http://docbook.sf.net/release/xsl/current/ for
  9. copyright and other information.
  10. ******************************************************************** -->
  11. <xsl:param name="foil.title.master">36</xsl:param>
  12. <!-- Inconsistant use of point size? -->
  13. <xsl:param name="foil.title.size">
  14. <xsl:value-of select="$foil.title.master"/><xsl:text>pt</xsl:text>
  15. </xsl:param>
  16. <xsl:param name="generate.copyright">1</xsl:param>
  17. <xsl:param name="generate.foilgroup.numbered.toc">1</xsl:param>
  18. <xsl:param name="generate.foilgroup.toc">1</xsl:param>
  19. <xsl:param name="generate.handoutnotes">0</xsl:param>
  20. <xsl:param name="generate.page.number">compact</xsl:param>
  21. <xsl:param name="generate.pubdate">1</xsl:param>
  22. <xsl:param name="generate.speakernotes">0</xsl:param>
  23. <xsl:param name="generate.titlepage">1</xsl:param>
  24. <xsl:param name="mml.embedding.mode">external-graphic</xsl:param>
  25. <xsl:param name="slide.font.family">Helvetica</xsl:param>
  26. <xsl:param name="slide.title.font.family">Helvetica</xsl:param>
  27. <xsl:param name="svg.embedding.mode">instream-foreign-object</xsl:param>
  28. <xsl:attribute-set name="foil.header.properties">
  29. <xsl:attribute name="background-color">white</xsl:attribute>
  30. <xsl:attribute name="color">black</xsl:attribute>
  31. <xsl:attribute name="font-weight">bold</xsl:attribute>
  32. <xsl:attribute name="text-align">center</xsl:attribute>
  33. <xsl:attribute name="font-family">
  34. <xsl:value-of select="$slide.title.font.family"/>
  35. </xsl:attribute>
  36. <xsl:attribute name="space-after">12pt</xsl:attribute>
  37. </xsl:attribute-set>
  38. <xsl:attribute-set name="foil.master.properties">
  39. <xsl:attribute name="page-width">
  40. <xsl:value-of select="$page.width"/>
  41. </xsl:attribute>
  42. <xsl:attribute name="page-height">
  43. <xsl:value-of select="$page.height"/>
  44. </xsl:attribute>
  45. <xsl:attribute name="margin-top">
  46. <xsl:value-of select="$page.margin.top"/>
  47. </xsl:attribute>
  48. <xsl:attribute name="margin-bottom">
  49. <xsl:value-of select="$page.margin.bottom"/>
  50. </xsl:attribute>
  51. <xsl:attribute name="margin-left">
  52. <xsl:value-of select="$page.margin.inner"/>
  53. </xsl:attribute>
  54. <xsl:attribute name="margin-right">
  55. <xsl:value-of select="$page.margin.outer"/>
  56. </xsl:attribute>
  57. </xsl:attribute-set>
  58. <xsl:attribute-set name="foil.page-sequence.properties">
  59. <xsl:attribute name="hyphenate">
  60. <xsl:value-of select="$hyphenate"/>
  61. </xsl:attribute>
  62. </xsl:attribute-set>
  63. <xsl:attribute-set name="foil.properties">
  64. <xsl:attribute name="font-family">
  65. <xsl:value-of select="$slide.font.family"/>
  66. </xsl:attribute>
  67. <xsl:attribute name="margin-{$direction.align.start}">1in</xsl:attribute>
  68. <xsl:attribute name="margin-{$direction.align.end}">1in</xsl:attribute>
  69. <xsl:attribute name="font-size">
  70. <xsl:value-of select="$body.font.size"/>
  71. </xsl:attribute>
  72. </xsl:attribute-set>
  73. <xsl:attribute-set name="foil.region-after.properties">
  74. <xsl:attribute name="extent">
  75. <xsl:value-of select="$region.after.extent"/>
  76. </xsl:attribute>
  77. <xsl:attribute name="display-align">after</xsl:attribute>
  78. </xsl:attribute-set>
  79. <xsl:attribute-set name="foil.region-before.properties">
  80. <xsl:attribute name="extent">
  81. <xsl:value-of select="$region.before.extent"/>
  82. </xsl:attribute>
  83. <xsl:attribute name="display-align">
  84. <xsl:value-of select="'before'"/>
  85. </xsl:attribute>
  86. </xsl:attribute-set>
  87. <xsl:attribute-set name="foil.region-body.properties">
  88. <xsl:attribute name="margin-bottom">
  89. <xsl:value-of select="$body.margin.bottom"/>
  90. </xsl:attribute>
  91. <xsl:attribute name="margin-top">
  92. <xsl:value-of select="$body.margin.top"/>
  93. </xsl:attribute>
  94. <xsl:attribute name="column-count">
  95. <xsl:value-of select="$column.count.body"/>
  96. </xsl:attribute>
  97. </xsl:attribute-set>
  98. <xsl:attribute-set name="foil.subtitle.properties">
  99. <xsl:attribute name="font-family">
  100. <xsl:value-of select="$slide.title.font.family"/>
  101. </xsl:attribute>
  102. <xsl:attribute name="text-align">center</xsl:attribute>
  103. <xsl:attribute name="font-size">
  104. <xsl:value-of select="$foil.title.master * 0.8"/><xsl:text>pt</xsl:text>
  105. </xsl:attribute>
  106. <xsl:attribute name="space-after">12pt</xsl:attribute>
  107. </xsl:attribute-set>
  108. <xsl:attribute-set name="foil.title.properties">
  109. <xsl:attribute name="font-size">
  110. <xsl:value-of select="$foil.title.size"/>
  111. </xsl:attribute>
  112. </xsl:attribute-set>
  113. <xsl:attribute-set name="handoutnotes.properties"/>
  114. <xsl:attribute-set name="slides.properties">
  115. <xsl:attribute name="font-family">
  116. <xsl:value-of select="$slide.font.family"/>
  117. </xsl:attribute>
  118. </xsl:attribute-set>
  119. <xsl:attribute-set name="slides.titlepage.master.properties">
  120. <xsl:attribute name="page-width">
  121. <xsl:value-of select="$page.width"/>
  122. </xsl:attribute>
  123. <xsl:attribute name="page-height">
  124. <xsl:value-of select="$page.height"/>
  125. </xsl:attribute>
  126. <xsl:attribute name="margin-top">
  127. <xsl:value-of select="$page.margin.top"/>
  128. </xsl:attribute>
  129. <xsl:attribute name="margin-bottom">
  130. <xsl:value-of select="$page.margin.bottom"/>
  131. </xsl:attribute>
  132. <xsl:attribute name="margin-left">
  133. <xsl:value-of select="$page.margin.inner"/>
  134. </xsl:attribute>
  135. <xsl:attribute name="margin-right">
  136. <xsl:value-of select="$page.margin.outer"/>
  137. </xsl:attribute>
  138. </xsl:attribute-set>
  139. <xsl:attribute-set name="slides.titlepage.region-body.properties">
  140. <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
  141. <xsl:attribute name="margin-top">0pt</xsl:attribute>
  142. <xsl:attribute name="column-count">
  143. <xsl:value-of select="$column.count.body"/>
  144. </xsl:attribute>
  145. </xsl:attribute-set>
  146. <xsl:attribute-set name="speakernotes.properties"/>
  147. <xsl:attribute-set name="slides.titlepage.corpauthor.properties">
  148. <xsl:attribute name="text-align">center</xsl:attribute>
  149. <xsl:attribute name="space-after">1em</xsl:attribute>
  150. <xsl:attribute name="font-size">20.736pt</xsl:attribute>
  151. </xsl:attribute-set>
  152. <xsl:attribute-set name="slides.titlepage.title.properties">
  153. <xsl:attribute name="text-align">center</xsl:attribute>
  154. <xsl:attribute name="space-after">1em</xsl:attribute>
  155. <xsl:attribute name="padding-top">1.5in</xsl:attribute>
  156. <xsl:attribute name="keep-with-next">always</xsl:attribute>
  157. <xsl:attribute name="font-size">
  158. <xsl:value-of select="$foil.title.size"/>
  159. </xsl:attribute>
  160. <xsl:attribute name="font-weight">bold</xsl:attribute>
  161. <xsl:attribute name="font-family">
  162. <xsl:value-of select="$slide.title.font.family"/>
  163. </xsl:attribute>
  164. </xsl:attribute-set>
  165. <xsl:attribute-set name="slides.titlepage.subtitle.properties">
  166. <xsl:attribute name="text-align">center</xsl:attribute>
  167. <xsl:attribute name="space-after">1em</xsl:attribute>
  168. <xsl:attribute name="font-family">
  169. <xsl:value-of select="$slide.title.font.family"/>
  170. </xsl:attribute>
  171. </xsl:attribute-set>
  172. <xsl:attribute-set name="foil.footer.properties"/>
  173. <xsl:attribute-set name="slides.titlepage.author.properties">
  174. <xsl:attribute name="text-align">center</xsl:attribute>
  175. <xsl:attribute name="space-after">1em</xsl:attribute>
  176. <xsl:attribute name="font-size">20.736pt</xsl:attribute>
  177. </xsl:attribute-set>
  178. <xsl:attribute-set name="slides.titlepage.pubdate.properties">
  179. <xsl:attribute name="text-align">center</xsl:attribute>
  180. <xsl:attribute name="space-after">1em</xsl:attribute>
  181. <xsl:attribute name="font-size">17.28pt</xsl:attribute>
  182. </xsl:attribute-set>
  183. <xsl:attribute-set name="slides.titlepage.authorgroup.properties"/>
  184. </xsl:stylesheet>