booky 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1557) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +4 -0
  3. data/README.textile +18 -0
  4. data/Rakefile +2 -0
  5. data/bin/booky +6 -0
  6. data/booky.gemspec +24 -0
  7. data/lib/booky/docbook.rb +13 -0
  8. data/lib/booky/fo.rb +15 -0
  9. data/lib/booky/fonts.rb +104 -0
  10. data/lib/booky/pdf.rb +19 -0
  11. data/lib/booky/version.rb +3 -0
  12. data/lib/booky.rb +101 -0
  13. data/lib/custom_fonts.xml +91 -0
  14. data/lib/fonts/Ubuntu-B.ttf +0 -0
  15. data/lib/fonts/Ubuntu-BI.ttf +0 -0
  16. data/lib/fonts/Ubuntu-L.ttf +0 -0
  17. data/lib/fonts/Ubuntu-LI.ttf +0 -0
  18. data/lib/fonts/Ubuntu-M.ttf +0 -0
  19. data/lib/fonts/Ubuntu-MI.ttf +0 -0
  20. data/lib/fonts/Ubuntu-R.ttf +0 -0
  21. data/lib/fonts/Ubuntu-RI.ttf +0 -0
  22. data/lib/fop/KEYS +248 -0
  23. data/lib/fop/LICENSE +202 -0
  24. data/lib/fop/NOTICE +10 -0
  25. data/lib/fop/README +286 -0
  26. data/lib/fop/build/fop.jar +0 -0
  27. data/lib/fop/conf/fop.xconf +464 -0
  28. data/lib/fop/fop +254 -0
  29. data/lib/fop/fop.bat +85 -0
  30. data/lib/fop/fop.cmd +75 -0
  31. data/lib/fop/fop.js +341 -0
  32. data/lib/fop/lib/README.txt +243 -0
  33. data/lib/fop/lib/avalon-framework-4.2.0.jar +0 -0
  34. data/lib/fop/lib/avalon-framework.LICENSE.txt +175 -0
  35. data/lib/fop/lib/avalon-framework.NOTICE.TXT +11 -0
  36. data/lib/fop/lib/batik-all-1.7.jar +0 -0
  37. data/lib/fop/lib/batik.LICENSE.txt +201 -0
  38. data/lib/fop/lib/batik.NOTICE.txt +18 -0
  39. data/lib/fop/lib/commons-io-1.3.1.jar +0 -0
  40. data/lib/fop/lib/commons-io.LICENSE.txt +203 -0
  41. data/lib/fop/lib/commons-io.NOTICE.txt +6 -0
  42. data/lib/fop/lib/commons-logging-1.0.4.jar +0 -0
  43. data/lib/fop/lib/commons-logging.LICENSE.txt +202 -0
  44. data/lib/fop/lib/commons-logging.NOTICE.txt +3 -0
  45. data/lib/fop/lib/jeuclid-core-3.1.9.jar +0 -0
  46. data/lib/fop/lib/jeuclid-fop-3.1.9.jar +0 -0
  47. data/lib/fop/lib/serializer-2.7.0.jar +0 -0
  48. data/lib/fop/lib/serializer.LICENSE.txt +201 -0
  49. data/lib/fop/lib/serializer.NOTICE.txt +15 -0
  50. data/lib/fop/lib/xalan-2.7.0.jar +0 -0
  51. data/lib/fop/lib/xalan.BCEL.LICENSE.txt +52 -0
  52. data/lib/fop/lib/xalan.LICENSE.txt +202 -0
  53. data/lib/fop/lib/xalan.NOTICE.txt +44 -0
  54. data/lib/fop/lib/xalan.regexp.LICENSE.txt +52 -0
  55. data/lib/fop/lib/xalan.runtime.LICENSE.txt +20 -0
  56. data/lib/fop/lib/xerces.LICENSE.txt +56 -0
  57. data/lib/fop/lib/xercesImpl-2.7.1.jar +0 -0
  58. data/lib/fop/lib/xercesImpl.LICENSE.txt +201 -0
  59. data/lib/fop/lib/xercesImpl.NOTICE.txt +14 -0
  60. data/lib/fop/lib/xml-apis-1.3.04.jar +0 -0
  61. data/lib/fop/lib/xml-apis-ext-1.3.04.jar +0 -0
  62. data/lib/fop/lib/xml-apis-ext.LICENSE.dom-documentation.txt +73 -0
  63. data/lib/fop/lib/xml-apis-ext.LICENSE.dom-software.txt +61 -0
  64. data/lib/fop/lib/xml-apis-ext.LICENSE.sac.html +75 -0
  65. data/lib/fop/lib/xml-apis-ext.LICENSE.txt +202 -0
  66. data/lib/fop/lib/xml-apis-ext.NOTICE.txt +16 -0
  67. data/lib/fop/lib/xml-apis-ext.README.dom.txt +56 -0
  68. data/lib/fop/lib/xml-apis.LICENSE-SAX.html +17 -0
  69. data/lib/fop/lib/xml-apis.LICENSE.DOM-documentation.html +74 -0
  70. data/lib/fop/lib/xml-apis.LICENSE.DOM-software.html +66 -0
  71. data/lib/fop/lib/xml-apis.LICENSE.txt +201 -0
  72. data/lib/fop/lib/xml-apis.NOTICE.txt +13 -0
  73. data/lib/fop/lib/xmlgraphics-commons-1.4.jar +0 -0
  74. data/lib/fop/lib/xmlgraphics-commons.LICENSE.txt +202 -0
  75. data/lib/fop/lib/xmlgraphics-commons.NOTICE.txt +5 -0
  76. data/lib/fop/status.xml +1809 -0
  77. data/lib/params.pdf +0 -0
  78. data/lib/stylesheets/.CatalogManager.properties.example +61 -0
  79. data/lib/stylesheets/.urilist +1 -0
  80. data/lib/stylesheets/AUTHORS +4 -0
  81. data/lib/stylesheets/BUGS +21 -0
  82. data/lib/stylesheets/COPYING +47 -0
  83. data/lib/stylesheets/INSTALL +88 -0
  84. data/lib/stylesheets/Makefile +89 -0
  85. data/lib/stylesheets/NEWS +139 -0
  86. data/lib/stylesheets/NEWS.html +25 -0
  87. data/lib/stylesheets/NEWS.xml +145 -0
  88. data/lib/stylesheets/README +166 -0
  89. data/lib/stylesheets/RELEASE-NOTES.html +8353 -0
  90. data/lib/stylesheets/RELEASE-NOTES.pdf +24340 -11
  91. data/lib/stylesheets/RELEASE-NOTES.txt +8575 -0
  92. data/lib/stylesheets/RELEASE-NOTES.xml +10327 -0
  93. data/lib/stylesheets/TODO +23 -0
  94. data/lib/stylesheets/VERSION +115 -0
  95. data/lib/stylesheets/catalog.xml +8 -0
  96. data/lib/stylesheets/common/addns.xsl +118 -0
  97. data/lib/stylesheets/common/af.xml +1229 -0
  98. data/lib/stylesheets/common/am.xml +1229 -0
  99. data/lib/stylesheets/common/ar.xml +1229 -0
  100. data/lib/stylesheets/common/as.xml +660 -0
  101. data/lib/stylesheets/common/ast.xml +660 -0
  102. data/lib/stylesheets/common/autoidx-kimber.xsl +45 -0
  103. data/lib/stylesheets/common/autoidx-kosek.xsl +155 -0
  104. data/lib/stylesheets/common/az.xml +672 -0
  105. data/lib/stylesheets/common/bg.xml +724 -0
  106. data/lib/stylesheets/common/bn.xml +1229 -0
  107. data/lib/stylesheets/common/bn_in.xml +660 -0
  108. data/lib/stylesheets/common/bs.xml +662 -0
  109. data/lib/stylesheets/common/ca.xml +660 -0
  110. data/lib/stylesheets/common/charmap.xml +185 -0
  111. data/lib/stylesheets/common/charmap.xsl +222 -0
  112. data/lib/stylesheets/common/common.xml +622 -0
  113. data/lib/stylesheets/common/common.xsl +2040 -0
  114. data/lib/stylesheets/common/cs.xml +700 -0
  115. data/lib/stylesheets/common/cy.xml +1245 -0
  116. data/lib/stylesheets/common/da.xml +664 -0
  117. data/lib/stylesheets/common/de.xml +666 -0
  118. data/lib/stylesheets/common/el.xml +729 -0
  119. data/lib/stylesheets/common/en.xml +1230 -0
  120. data/lib/stylesheets/common/entities.ent +67 -0
  121. data/lib/stylesheets/common/eo.xml +1229 -0
  122. data/lib/stylesheets/common/es.xml +676 -0
  123. data/lib/stylesheets/common/et.xml +1229 -0
  124. data/lib/stylesheets/common/eu.xml +1229 -0
  125. data/lib/stylesheets/common/fa.xml +660 -0
  126. data/lib/stylesheets/common/fi.xml +670 -0
  127. data/lib/stylesheets/common/fr.xml +690 -0
  128. data/lib/stylesheets/common/ga.xml +1229 -0
  129. data/lib/stylesheets/common/gentext.xsl +840 -0
  130. data/lib/stylesheets/common/gl.xml +1229 -0
  131. data/lib/stylesheets/common/gu.xml +660 -0
  132. data/lib/stylesheets/common/he.xml +1229 -0
  133. data/lib/stylesheets/common/hi.xml +660 -0
  134. data/lib/stylesheets/common/hr.xml +662 -0
  135. data/lib/stylesheets/common/hu.xml +678 -0
  136. data/lib/stylesheets/common/id.xml +1229 -0
  137. data/lib/stylesheets/common/insertfile.xsl +113 -0
  138. data/lib/stylesheets/common/is.xml +672 -0
  139. data/lib/stylesheets/common/it.xml +1229 -0
  140. data/lib/stylesheets/common/ja.xml +660 -0
  141. data/lib/stylesheets/common/ka.xml +700 -0
  142. data/lib/stylesheets/common/kn.xml +1229 -0
  143. data/lib/stylesheets/common/ko.xml +1229 -0
  144. data/lib/stylesheets/common/ky.xml +732 -0
  145. data/lib/stylesheets/common/l10n.dtd +64 -0
  146. data/lib/stylesheets/common/l10n.xml +77 -0
  147. data/lib/stylesheets/common/l10n.xsl +594 -0
  148. data/lib/stylesheets/common/la.xml +1229 -0
  149. data/lib/stylesheets/common/labels.xsl +888 -0
  150. data/lib/stylesheets/common/lt.xml +678 -0
  151. data/lib/stylesheets/common/lv.xml +1229 -0
  152. data/lib/stylesheets/common/ml.xml +660 -0
  153. data/lib/stylesheets/common/mn.xml +730 -0
  154. data/lib/stylesheets/common/mr.xml +660 -0
  155. data/lib/stylesheets/common/nb.xml +1229 -0
  156. data/lib/stylesheets/common/nds.xml +666 -0
  157. data/lib/stylesheets/common/nl.xml +660 -0
  158. data/lib/stylesheets/common/nn.xml +1229 -0
  159. data/lib/stylesheets/common/olink.xsl +1227 -0
  160. data/lib/stylesheets/common/or.xml +1229 -0
  161. data/lib/stylesheets/common/pa.xml +660 -0
  162. data/lib/stylesheets/common/pi.xml +168 -0
  163. data/lib/stylesheets/common/pi.xsl +347 -0
  164. data/lib/stylesheets/common/pl.xml +678 -0
  165. data/lib/stylesheets/common/pt.xml +1229 -0
  166. data/lib/stylesheets/common/pt_br.xml +1229 -0
  167. data/lib/stylesheets/common/refentry.xml +781 -0
  168. data/lib/stylesheets/common/refentry.xsl +1353 -0
  169. data/lib/stylesheets/common/ro.xml +1229 -0
  170. data/lib/stylesheets/common/ru.xml +726 -0
  171. data/lib/stylesheets/common/sk.xml +1229 -0
  172. data/lib/stylesheets/common/sl.xml +1229 -0
  173. data/lib/stylesheets/common/sq.xml +1229 -0
  174. data/lib/stylesheets/common/sr.xml +720 -0
  175. data/lib/stylesheets/common/sr_Latn.xml +679 -0
  176. data/lib/stylesheets/common/subtitles.xsl +156 -0
  177. data/lib/stylesheets/common/sv.xml +664 -0
  178. data/lib/stylesheets/common/ta.xml +660 -0
  179. data/lib/stylesheets/common/table.xsl +515 -0
  180. data/lib/stylesheets/common/targetdatabase.dtd +49 -0
  181. data/lib/stylesheets/common/targets.xsl +334 -0
  182. data/lib/stylesheets/common/te.xml +660 -0
  183. data/lib/stylesheets/common/th.xml +1229 -0
  184. data/lib/stylesheets/common/titles.xsl +806 -0
  185. data/lib/stylesheets/common/tl.xml +1229 -0
  186. data/lib/stylesheets/common/tr.xml +666 -0
  187. data/lib/stylesheets/common/uk.xml +726 -0
  188. data/lib/stylesheets/common/utility.xml +259 -0
  189. data/lib/stylesheets/common/utility.xsl +291 -0
  190. data/lib/stylesheets/common/vi.xml +1229 -0
  191. data/lib/stylesheets/common/xh.xml +1229 -0
  192. data/lib/stylesheets/common/zh.xml +660 -0
  193. data/lib/stylesheets/common/zh_cn.xml +660 -0
  194. data/lib/stylesheets/common/zh_tw.xml +660 -0
  195. data/lib/stylesheets/docsrc/authors.xml +10 -0
  196. data/lib/stylesheets/docsrc/copyright.xml +18 -0
  197. data/lib/stylesheets/docsrc/license.xml +23 -0
  198. data/lib/stylesheets/docsrc/page.png +0 -0
  199. data/lib/stylesheets/docsrc/reference.css +79 -0
  200. data/lib/stylesheets/docsrc/reference.xml +229 -0
  201. data/lib/stylesheets/docsrc/reference.xml.included +33905 -0
  202. data/lib/stylesheets/docsrc/warranty.xml +11 -0
  203. data/lib/stylesheets/eclipse/eclipse.xsl +294 -0
  204. data/lib/stylesheets/eclipse/eclipse3.xsl +112 -0
  205. data/lib/stylesheets/eclipse/profile-eclipse.xsl +268 -0
  206. data/lib/stylesheets/epub/README +88 -0
  207. data/lib/stylesheets/epub/bin/dbtoepub +76 -0
  208. data/lib/stylesheets/epub/bin/lib/docbook.rb +227 -0
  209. data/lib/stylesheets/epub/bin/xslt/obfuscate.xsl +14 -0
  210. data/lib/stylesheets/epub/docbook.xsl +1678 -0
  211. data/lib/stylesheets/extensions/LICENSE.txt +264 -0
  212. data/lib/stylesheets/extensions/NOTICE.txt +12 -0
  213. data/lib/stylesheets/extensions/README.LIBXSLT +52 -0
  214. data/lib/stylesheets/extensions/README.txt +4 -0
  215. data/lib/stylesheets/extensions/docbook.py +239 -0
  216. data/lib/stylesheets/extensions/lucene-analyzers-3.0.0.jar +0 -0
  217. data/lib/stylesheets/extensions/lucene-core-3.0.0.jar +0 -0
  218. data/lib/stylesheets/extensions/saxon65.jar +0 -0
  219. data/lib/stylesheets/extensions/webhelpindexer.jar +0 -0
  220. data/lib/stylesheets/extensions/xalan27.jar +0 -0
  221. data/lib/stylesheets/extensions/xslt.py +84 -0
  222. data/lib/stylesheets/fo/admon.xsl +132 -0
  223. data/lib/stylesheets/fo/annotations.xsl +20 -0
  224. data/lib/stylesheets/fo/autoidx-kimber.xsl +173 -0
  225. data/lib/stylesheets/fo/autoidx-kosek.xsl +140 -0
  226. data/lib/stylesheets/fo/autoidx-ng.xsl +22 -0
  227. data/lib/stylesheets/fo/autoidx.xsl +1331 -0
  228. data/lib/stylesheets/fo/autotoc.xsl +917 -0
  229. data/lib/stylesheets/fo/axf.xsl +112 -0
  230. data/lib/stylesheets/fo/biblio-iso690.xsl +1302 -0
  231. data/lib/stylesheets/fo/biblio.xsl +1171 -0
  232. data/lib/stylesheets/fo/block.xsl +656 -0
  233. data/lib/stylesheets/fo/callout.xsl +232 -0
  234. data/lib/stylesheets/fo/component.xsl +900 -0
  235. data/lib/stylesheets/fo/division.xsl +614 -0
  236. data/lib/stylesheets/fo/docbook.xsl +333 -0
  237. data/lib/stylesheets/fo/ebnf.xsl +326 -0
  238. data/lib/stylesheets/fo/fo-rtf.xsl +155 -0
  239. data/lib/stylesheets/fo/fo.xsl +119 -0
  240. data/lib/stylesheets/fo/footnote.xsl +221 -0
  241. data/lib/stylesheets/fo/fop.xsl +95 -0
  242. data/lib/stylesheets/fo/fop1.xsl +225 -0
  243. data/lib/stylesheets/fo/formal.xsl +644 -0
  244. data/lib/stylesheets/fo/glossary.xsl +1170 -0
  245. data/lib/stylesheets/fo/graphics.xsl +649 -0
  246. data/lib/stylesheets/fo/highlight.xsl +78 -0
  247. data/lib/stylesheets/fo/htmltbl.xsl +427 -0
  248. data/lib/stylesheets/fo/index.xsl +486 -0
  249. data/lib/stylesheets/fo/info.xsl +36 -0
  250. data/lib/stylesheets/fo/inline.xsl +1289 -0
  251. data/lib/stylesheets/fo/keywords.xsl +23 -0
  252. data/lib/stylesheets/fo/lists.xsl +1395 -0
  253. data/lib/stylesheets/fo/math.xsl +141 -0
  254. data/lib/stylesheets/fo/pagesetup.xsl +2571 -0
  255. data/lib/stylesheets/fo/param.xml +12445 -0
  256. data/lib/stylesheets/fo/param.xsl +969 -0
  257. data/lib/stylesheets/fo/passivetex.xsl +38 -0
  258. data/lib/stylesheets/fo/pdf2index +140 -0
  259. data/lib/stylesheets/fo/pi.xml +1002 -0
  260. data/lib/stylesheets/fo/pi.xsl +1093 -0
  261. data/lib/stylesheets/fo/profile-docbook.xsl +288 -0
  262. data/lib/stylesheets/fo/ptc.xsl +79 -0
  263. data/lib/stylesheets/fo/qandaset.xsl +397 -0
  264. data/lib/stylesheets/fo/refentry.xsl +640 -0
  265. data/lib/stylesheets/fo/sections.xsl +766 -0
  266. data/lib/stylesheets/fo/spaces.xsl +276 -0
  267. data/lib/stylesheets/fo/synop.xsl +1009 -0
  268. data/lib/stylesheets/fo/table.xml +135 -0
  269. data/lib/stylesheets/fo/table.xsl +1682 -0
  270. data/lib/stylesheets/fo/task.xsl +93 -0
  271. data/lib/stylesheets/fo/titlepage.templates.xml +1354 -0
  272. data/lib/stylesheets/fo/titlepage.templates.xsl +5186 -0
  273. data/lib/stylesheets/fo/titlepage.xsl +769 -0
  274. data/lib/stylesheets/fo/toc.xsl +334 -0
  275. data/lib/stylesheets/fo/verbatim.xsl +466 -0
  276. data/lib/stylesheets/fo/xep.xsl +182 -0
  277. data/lib/stylesheets/fo/xref.xsl +1539 -0
  278. data/lib/stylesheets/highlighting/README +16 -0
  279. data/lib/stylesheets/highlighting/c-hl.xml +101 -0
  280. data/lib/stylesheets/highlighting/common.xsl +121 -0
  281. data/lib/stylesheets/highlighting/cpp-hl.xml +150 -0
  282. data/lib/stylesheets/highlighting/csharp-hl.xml +187 -0
  283. data/lib/stylesheets/highlighting/delphi-hl.xml +200 -0
  284. data/lib/stylesheets/highlighting/ini-hl.xml +45 -0
  285. data/lib/stylesheets/highlighting/java-hl.xml +117 -0
  286. data/lib/stylesheets/highlighting/javascript-hl.xml +147 -0
  287. data/lib/stylesheets/highlighting/m2-hl.xml +90 -0
  288. data/lib/stylesheets/highlighting/myxml-hl.xml +116 -0
  289. data/lib/stylesheets/highlighting/perl-hl.xml +120 -0
  290. data/lib/stylesheets/highlighting/php-hl.xml +149 -0
  291. data/lib/stylesheets/highlighting/python-hl.xml +100 -0
  292. data/lib/stylesheets/highlighting/ruby-hl.xml +109 -0
  293. data/lib/stylesheets/highlighting/tcl-hl.xml +180 -0
  294. data/lib/stylesheets/highlighting/xslthl-config.xml +46 -0
  295. data/lib/stylesheets/html/admon.xsl +136 -0
  296. data/lib/stylesheets/html/annotations.xsl +171 -0
  297. data/lib/stylesheets/html/autoidx-kimber.xsl +166 -0
  298. data/lib/stylesheets/html/autoidx-kosek.xsl +121 -0
  299. data/lib/stylesheets/html/autoidx-ng.xsl +22 -0
  300. data/lib/stylesheets/html/autoidx.xsl +740 -0
  301. data/lib/stylesheets/html/autotoc.xsl +709 -0
  302. data/lib/stylesheets/html/biblio-iso690.xsl +1302 -0
  303. data/lib/stylesheets/html/biblio.xsl +1255 -0
  304. data/lib/stylesheets/html/block.xsl +540 -0
  305. data/lib/stylesheets/html/callout.xsl +202 -0
  306. data/lib/stylesheets/html/changebars.xsl +123 -0
  307. data/lib/stylesheets/html/chunk-changebars.xsl +100 -0
  308. data/lib/stylesheets/html/chunk-code.xsl +672 -0
  309. data/lib/stylesheets/html/chunk-common.xsl +1921 -0
  310. data/lib/stylesheets/html/chunk.xsl +53 -0
  311. data/lib/stylesheets/html/chunker.xsl +440 -0
  312. data/lib/stylesheets/html/chunkfast.xsl +73 -0
  313. data/lib/stylesheets/html/chunktoc.xsl +541 -0
  314. data/lib/stylesheets/html/component.xsl +427 -0
  315. data/lib/stylesheets/html/division.xsl +219 -0
  316. data/lib/stylesheets/html/docbook.css.xml +109 -0
  317. data/lib/stylesheets/html/docbook.xsl +468 -0
  318. data/lib/stylesheets/html/ebnf.xsl +330 -0
  319. data/lib/stylesheets/html/footnote.xsl +314 -0
  320. data/lib/stylesheets/html/formal.xsl +427 -0
  321. data/lib/stylesheets/html/glossary.xsl +493 -0
  322. data/lib/stylesheets/html/graphics.xsl +1516 -0
  323. data/lib/stylesheets/html/highlight.xsl +87 -0
  324. data/lib/stylesheets/html/html-rtf.xsl +336 -0
  325. data/lib/stylesheets/html/html.xsl +614 -0
  326. data/lib/stylesheets/html/htmltbl.xsl +137 -0
  327. data/lib/stylesheets/html/index.xsl +290 -0
  328. data/lib/stylesheets/html/info.xsl +45 -0
  329. data/lib/stylesheets/html/inline.xsl +1491 -0
  330. data/lib/stylesheets/html/keywords.xsl +37 -0
  331. data/lib/stylesheets/html/lists.xsl +1185 -0
  332. data/lib/stylesheets/html/maketoc.xsl +87 -0
  333. data/lib/stylesheets/html/manifest.xsl +23 -0
  334. data/lib/stylesheets/html/math.xsl +271 -0
  335. data/lib/stylesheets/html/oldchunker.xsl +203 -0
  336. data/lib/stylesheets/html/onechunk.xsl +38 -0
  337. data/lib/stylesheets/html/param.xml +10905 -0
  338. data/lib/stylesheets/html/param.xsl +436 -0
  339. data/lib/stylesheets/html/pi.xml +1113 -0
  340. data/lib/stylesheets/html/pi.xsl +1264 -0
  341. data/lib/stylesheets/html/profile-chunk-code.xsl +614 -0
  342. data/lib/stylesheets/html/profile-chunk.xsl +53 -0
  343. data/lib/stylesheets/html/profile-docbook.xsl +412 -0
  344. data/lib/stylesheets/html/profile-onechunk.xsl +38 -0
  345. data/lib/stylesheets/html/qandaset.xsl +438 -0
  346. data/lib/stylesheets/html/refentry.xsl +301 -0
  347. data/lib/stylesheets/html/sections.xsl +617 -0
  348. data/lib/stylesheets/html/synop.xsl +1556 -0
  349. data/lib/stylesheets/html/table.xsl +1201 -0
  350. data/lib/stylesheets/html/task.xsl +78 -0
  351. data/lib/stylesheets/html/titlepage.templates.xml +708 -0
  352. data/lib/stylesheets/html/titlepage.templates.xsl +3818 -0
  353. data/lib/stylesheets/html/titlepage.xsl +1049 -0
  354. data/lib/stylesheets/html/toc.xsl +352 -0
  355. data/lib/stylesheets/html/verbatim.xsl +411 -0
  356. data/lib/stylesheets/html/xref.xsl +1378 -0
  357. data/lib/stylesheets/htmlhelp/htmlhelp-common.xsl +1108 -0
  358. data/lib/stylesheets/htmlhelp/htmlhelp.xsl +23 -0
  359. data/lib/stylesheets/htmlhelp/profile-htmlhelp-common.xsl +1082 -0
  360. data/lib/stylesheets/htmlhelp/profile-htmlhelp.xsl +23 -0
  361. data/lib/stylesheets/images/annot-close.png +0 -0
  362. data/lib/stylesheets/images/annot-open.png +0 -0
  363. data/lib/stylesheets/images/blank.png +0 -0
  364. data/lib/stylesheets/images/callouts/1.gif +0 -0
  365. data/lib/stylesheets/images/callouts/1.png +0 -0
  366. data/lib/stylesheets/images/callouts/1.svg +15 -0
  367. data/lib/stylesheets/images/callouts/10.gif +0 -0
  368. data/lib/stylesheets/images/callouts/10.png +0 -0
  369. data/lib/stylesheets/images/callouts/10.svg +18 -0
  370. data/lib/stylesheets/images/callouts/11.gif +0 -0
  371. data/lib/stylesheets/images/callouts/11.png +0 -0
  372. data/lib/stylesheets/images/callouts/11.svg +16 -0
  373. data/lib/stylesheets/images/callouts/12.gif +0 -0
  374. data/lib/stylesheets/images/callouts/12.png +0 -0
  375. data/lib/stylesheets/images/callouts/12.svg +18 -0
  376. data/lib/stylesheets/images/callouts/13.gif +0 -0
  377. data/lib/stylesheets/images/callouts/13.png +0 -0
  378. data/lib/stylesheets/images/callouts/13.svg +20 -0
  379. data/lib/stylesheets/images/callouts/14.gif +0 -0
  380. data/lib/stylesheets/images/callouts/14.png +0 -0
  381. data/lib/stylesheets/images/callouts/14.svg +17 -0
  382. data/lib/stylesheets/images/callouts/15.gif +0 -0
  383. data/lib/stylesheets/images/callouts/15.png +0 -0
  384. data/lib/stylesheets/images/callouts/15.svg +19 -0
  385. data/lib/stylesheets/images/callouts/16.svg +20 -0
  386. data/lib/stylesheets/images/callouts/17.svg +17 -0
  387. data/lib/stylesheets/images/callouts/18.svg +21 -0
  388. data/lib/stylesheets/images/callouts/19.svg +20 -0
  389. data/lib/stylesheets/images/callouts/2.gif +0 -0
  390. data/lib/stylesheets/images/callouts/2.png +0 -0
  391. data/lib/stylesheets/images/callouts/2.svg +17 -0
  392. data/lib/stylesheets/images/callouts/20.svg +20 -0
  393. data/lib/stylesheets/images/callouts/21.svg +18 -0
  394. data/lib/stylesheets/images/callouts/22.svg +20 -0
  395. data/lib/stylesheets/images/callouts/23.svg +22 -0
  396. data/lib/stylesheets/images/callouts/24.svg +19 -0
  397. data/lib/stylesheets/images/callouts/25.svg +21 -0
  398. data/lib/stylesheets/images/callouts/26.svg +22 -0
  399. data/lib/stylesheets/images/callouts/27.svg +19 -0
  400. data/lib/stylesheets/images/callouts/28.svg +23 -0
  401. data/lib/stylesheets/images/callouts/29.svg +22 -0
  402. data/lib/stylesheets/images/callouts/3.gif +0 -0
  403. data/lib/stylesheets/images/callouts/3.png +0 -0
  404. data/lib/stylesheets/images/callouts/3.svg +19 -0
  405. data/lib/stylesheets/images/callouts/30.svg +22 -0
  406. data/lib/stylesheets/images/callouts/4.gif +0 -0
  407. data/lib/stylesheets/images/callouts/4.png +0 -0
  408. data/lib/stylesheets/images/callouts/4.svg +16 -0
  409. data/lib/stylesheets/images/callouts/5.gif +0 -0
  410. data/lib/stylesheets/images/callouts/5.png +0 -0
  411. data/lib/stylesheets/images/callouts/5.svg +18 -0
  412. data/lib/stylesheets/images/callouts/6.gif +0 -0
  413. data/lib/stylesheets/images/callouts/6.png +0 -0
  414. data/lib/stylesheets/images/callouts/6.svg +19 -0
  415. data/lib/stylesheets/images/callouts/7.gif +0 -0
  416. data/lib/stylesheets/images/callouts/7.png +0 -0
  417. data/lib/stylesheets/images/callouts/7.svg +16 -0
  418. data/lib/stylesheets/images/callouts/8.gif +0 -0
  419. data/lib/stylesheets/images/callouts/8.png +0 -0
  420. data/lib/stylesheets/images/callouts/8.svg +20 -0
  421. data/lib/stylesheets/images/callouts/9.gif +0 -0
  422. data/lib/stylesheets/images/callouts/9.png +0 -0
  423. data/lib/stylesheets/images/callouts/9.svg +19 -0
  424. data/lib/stylesheets/images/caution.gif +0 -0
  425. data/lib/stylesheets/images/caution.png +0 -0
  426. data/lib/stylesheets/images/caution.svg +25 -0
  427. data/lib/stylesheets/images/caution.tif +0 -0
  428. data/lib/stylesheets/images/colorsvg/caution.svg +141 -0
  429. data/lib/stylesheets/images/colorsvg/home.svg +498 -0
  430. data/lib/stylesheets/images/colorsvg/important.svg +239 -0
  431. data/lib/stylesheets/images/colorsvg/next.svg +338 -0
  432. data/lib/stylesheets/images/colorsvg/note.svg +200 -0
  433. data/lib/stylesheets/images/colorsvg/prev.svg +338 -0
  434. data/lib/stylesheets/images/colorsvg/tip.svg +367 -0
  435. data/lib/stylesheets/images/colorsvg/up.svg +338 -0
  436. data/lib/stylesheets/images/colorsvg/warning.svg +232 -0
  437. data/lib/stylesheets/images/draft.png +0 -0
  438. data/lib/stylesheets/images/home.gif +0 -0
  439. data/lib/stylesheets/images/home.png +0 -0
  440. data/lib/stylesheets/images/home.svg +26 -0
  441. data/lib/stylesheets/images/important.gif +0 -0
  442. data/lib/stylesheets/images/important.png +0 -0
  443. data/lib/stylesheets/images/important.svg +25 -0
  444. data/lib/stylesheets/images/important.tif +0 -0
  445. data/lib/stylesheets/images/next.gif +0 -0
  446. data/lib/stylesheets/images/next.png +0 -0
  447. data/lib/stylesheets/images/next.svg +19 -0
  448. data/lib/stylesheets/images/note.gif +0 -0
  449. data/lib/stylesheets/images/note.png +0 -0
  450. data/lib/stylesheets/images/note.svg +33 -0
  451. data/lib/stylesheets/images/note.tif +0 -0
  452. data/lib/stylesheets/images/prev.gif +0 -0
  453. data/lib/stylesheets/images/prev.png +0 -0
  454. data/lib/stylesheets/images/prev.svg +19 -0
  455. data/lib/stylesheets/images/tip.gif +0 -0
  456. data/lib/stylesheets/images/tip.png +0 -0
  457. data/lib/stylesheets/images/tip.svg +31 -0
  458. data/lib/stylesheets/images/tip.tif +0 -0
  459. data/lib/stylesheets/images/toc-blank.png +0 -0
  460. data/lib/stylesheets/images/toc-minus.png +0 -0
  461. data/lib/stylesheets/images/toc-plus.png +0 -0
  462. data/lib/stylesheets/images/up.gif +0 -0
  463. data/lib/stylesheets/images/up.png +0 -0
  464. data/lib/stylesheets/images/up.svg +19 -0
  465. data/lib/stylesheets/images/warning.gif +0 -0
  466. data/lib/stylesheets/images/warning.png +0 -0
  467. data/lib/stylesheets/images/warning.svg +23 -0
  468. data/lib/stylesheets/images/warning.tif +0 -0
  469. data/lib/stylesheets/install.sh +977 -0
  470. data/lib/stylesheets/javahelp/javahelp.xsl +613 -0
  471. data/lib/stylesheets/javahelp/profile-javahelp.xsl +548 -0
  472. data/lib/stylesheets/lib/lib.xsl +482 -0
  473. data/lib/stylesheets/manpages/ChangeLog.20020917 +195 -0
  474. data/lib/stylesheets/manpages/block.xsl +412 -0
  475. data/lib/stylesheets/manpages/charmap.groff.xsl +6014 -0
  476. data/lib/stylesheets/manpages/docbook.xsl +302 -0
  477. data/lib/stylesheets/manpages/endnotes.xsl +587 -0
  478. data/lib/stylesheets/manpages/html-synop.xsl +1569 -0
  479. data/lib/stylesheets/manpages/info.xsl +801 -0
  480. data/lib/stylesheets/manpages/inline.xsl +221 -0
  481. data/lib/stylesheets/manpages/lists.xsl +606 -0
  482. data/lib/stylesheets/manpages/other.xsl +889 -0
  483. data/lib/stylesheets/manpages/param.xml +3220 -0
  484. data/lib/stylesheets/manpages/param.xsl +195 -0
  485. data/lib/stylesheets/manpages/pi.xml +70 -0
  486. data/lib/stylesheets/manpages/pi.xsl +80 -0
  487. data/lib/stylesheets/manpages/profile-docbook.xsl +282 -0
  488. data/lib/stylesheets/manpages/refentry.xsl +321 -0
  489. data/lib/stylesheets/manpages/synop.xsl +433 -0
  490. data/lib/stylesheets/manpages/table.xsl +633 -0
  491. data/lib/stylesheets/manpages/utility.xsl +556 -0
  492. data/lib/stylesheets/params/abstract.notitle.enabled.xml +22 -0
  493. data/lib/stylesheets/params/abstract.properties.xml +32 -0
  494. data/lib/stylesheets/params/abstract.title.properties.xml +39 -0
  495. data/lib/stylesheets/params/active.toc.xml +29 -0
  496. data/lib/stylesheets/params/ade.extensions.xml +32 -0
  497. data/lib/stylesheets/params/admon.graphics.extension.xml +27 -0
  498. data/lib/stylesheets/params/admon.graphics.path.xml +27 -0
  499. data/lib/stylesheets/params/admon.graphics.xml +29 -0
  500. data/lib/stylesheets/params/admon.style.xml +31 -0
  501. data/lib/stylesheets/params/admon.textlabel.xml +32 -0
  502. data/lib/stylesheets/params/admonition.properties.xml +25 -0
  503. data/lib/stylesheets/params/admonition.title.properties.xml +32 -0
  504. data/lib/stylesheets/params/alignment.xml +41 -0
  505. data/lib/stylesheets/params/annotate.toc.xml +28 -0
  506. data/lib/stylesheets/params/annotation.css.xml +71 -0
  507. data/lib/stylesheets/params/annotation.graphic.close.xml +31 -0
  508. data/lib/stylesheets/params/annotation.graphic.open.xml +28 -0
  509. data/lib/stylesheets/params/annotation.js.xml +33 -0
  510. data/lib/stylesheets/params/annotation.support.xml +29 -0
  511. data/lib/stylesheets/params/appendix.autolabel.xml +73 -0
  512. data/lib/stylesheets/params/arbortext.extensions.xml +30 -0
  513. data/lib/stylesheets/params/article.appendix.title.properties.xml +33 -0
  514. data/lib/stylesheets/params/author.othername.in.middle.xml +31 -0
  515. data/lib/stylesheets/params/autolayout-file.xml +29 -0
  516. data/lib/stylesheets/params/autotoc.label.in.hyperlink.xml +29 -0
  517. data/lib/stylesheets/params/autotoc.label.separator.xml +27 -0
  518. data/lib/stylesheets/params/axf.extensions.xml +33 -0
  519. data/lib/stylesheets/params/banner.before.navigation.xml +25 -0
  520. data/lib/stylesheets/params/base.dir.xml +29 -0
  521. data/lib/stylesheets/params/biblioentry.item.separator.xml +26 -0
  522. data/lib/stylesheets/params/biblioentry.properties.xml +28 -0
  523. data/lib/stylesheets/params/bibliography.collection.xml +104 -0
  524. data/lib/stylesheets/params/bibliography.numbered.xml +27 -0
  525. data/lib/stylesheets/params/bibliography.style.xml +35 -0
  526. data/lib/stylesheets/params/blockquote.properties.xml +34 -0
  527. data/lib/stylesheets/params/blurb.on.titlepage.enabled.xml +31 -0
  528. data/lib/stylesheets/params/body.attributes.xml +31 -0
  529. data/lib/stylesheets/params/body.bg.color.xml +28 -0
  530. data/lib/stylesheets/params/body.end.indent.xml +37 -0
  531. data/lib/stylesheets/params/body.font.family.xml +32 -0
  532. data/lib/stylesheets/params/body.font.master.xml +30 -0
  533. data/lib/stylesheets/params/body.font.size.xml +31 -0
  534. data/lib/stylesheets/params/body.margin.bottom.xml +29 -0
  535. data/lib/stylesheets/params/body.margin.top.xml +28 -0
  536. data/lib/stylesheets/params/body.start.indent.xml +64 -0
  537. data/lib/stylesheets/params/bookmarks.collapse.xml +31 -0
  538. data/lib/stylesheets/params/bridgehead.in.toc.xml +28 -0
  539. data/lib/stylesheets/params/bullet.image.xml +28 -0
  540. data/lib/stylesheets/params/callout.defaultcolumn.xml +30 -0
  541. data/lib/stylesheets/params/callout.graphics.extension.xml +33 -0
  542. data/lib/stylesheets/params/callout.graphics.number.limit.xml +34 -0
  543. data/lib/stylesheets/params/callout.graphics.path.xml +31 -0
  544. data/lib/stylesheets/params/callout.graphics.xml +30 -0
  545. data/lib/stylesheets/params/callout.icon.size.xml +28 -0
  546. data/lib/stylesheets/params/callout.list.table.xml +32 -0
  547. data/lib/stylesheets/params/callout.unicode.font.xml +29 -0
  548. data/lib/stylesheets/params/callout.unicode.number.limit.xml +35 -0
  549. data/lib/stylesheets/params/callout.unicode.start.character.xml +33 -0
  550. data/lib/stylesheets/params/callout.unicode.xml +26 -0
  551. data/lib/stylesheets/params/callouts.extension.xml +30 -0
  552. data/lib/stylesheets/params/chapter.autolabel.xml +71 -0
  553. data/lib/stylesheets/params/chunk.append.xml +30 -0
  554. data/lib/stylesheets/params/chunk.first.sections.xml +31 -0
  555. data/lib/stylesheets/params/chunk.quietly.xml +30 -0
  556. data/lib/stylesheets/params/chunk.section.depth.xml +27 -0
  557. data/lib/stylesheets/params/chunk.sections.xml +30 -0
  558. data/lib/stylesheets/params/chunk.separate.lots.xml +36 -0
  559. data/lib/stylesheets/params/chunk.toc.xml +30 -0
  560. data/lib/stylesheets/params/chunk.tocs.and.lots.has.title.xml +28 -0
  561. data/lib/stylesheets/params/chunk.tocs.and.lots.xml +32 -0
  562. data/lib/stylesheets/params/chunker.output.cdata-section-elements.xml +30 -0
  563. data/lib/stylesheets/params/chunker.output.doctype-public.xml +31 -0
  564. data/lib/stylesheets/params/chunker.output.doctype-system.xml +31 -0
  565. data/lib/stylesheets/params/chunker.output.encoding.xml +31 -0
  566. data/lib/stylesheets/params/chunker.output.indent.xml +30 -0
  567. data/lib/stylesheets/params/chunker.output.media-type.xml +35 -0
  568. data/lib/stylesheets/params/chunker.output.method.xml +32 -0
  569. data/lib/stylesheets/params/chunker.output.omit-xml-declaration.xml +30 -0
  570. data/lib/stylesheets/params/chunker.output.standalone.xml +31 -0
  571. data/lib/stylesheets/params/citerefentry.link.xml +29 -0
  572. data/lib/stylesheets/params/collect.xref.targets.xml +33 -0
  573. data/lib/stylesheets/params/column.count.back.xml +27 -0
  574. data/lib/stylesheets/params/column.count.body.xml +27 -0
  575. data/lib/stylesheets/params/column.count.front.xml +27 -0
  576. data/lib/stylesheets/params/column.count.index.xml +27 -0
  577. data/lib/stylesheets/params/column.count.lot.xml +28 -0
  578. data/lib/stylesheets/params/column.count.titlepage.xml +27 -0
  579. data/lib/stylesheets/params/column.gap.back.xml +28 -0
  580. data/lib/stylesheets/params/column.gap.body.xml +28 -0
  581. data/lib/stylesheets/params/column.gap.front.xml +28 -0
  582. data/lib/stylesheets/params/column.gap.index.xml +28 -0
  583. data/lib/stylesheets/params/column.gap.lot.xml +28 -0
  584. data/lib/stylesheets/params/column.gap.titlepage.xml +29 -0
  585. data/lib/stylesheets/params/compact.list.item.spacing.xml +28 -0
  586. data/lib/stylesheets/params/component.label.includes.part.label.xml +39 -0
  587. data/lib/stylesheets/params/component.title.properties.xml +40 -0
  588. data/lib/stylesheets/params/component.titlepage.properties.xml +33 -0
  589. data/lib/stylesheets/params/contrib.inline.enabled.xml +26 -0
  590. data/lib/stylesheets/params/crop.mark.bleed.xml +28 -0
  591. data/lib/stylesheets/params/crop.mark.offset.xml +28 -0
  592. data/lib/stylesheets/params/crop.mark.width.xml +28 -0
  593. data/lib/stylesheets/params/crop.marks.xml +28 -0
  594. data/lib/stylesheets/params/css.decoration.xml +33 -0
  595. data/lib/stylesheets/params/css.stylesheet.dir.xml +33 -0
  596. data/lib/stylesheets/params/css.stylesheet.xml +29 -0
  597. data/lib/stylesheets/params/current.docid.xml +27 -0
  598. data/lib/stylesheets/params/currentpage.marker.xml +25 -0
  599. data/lib/stylesheets/params/custom.css.source.xml +119 -0
  600. data/lib/stylesheets/params/default.float.class.xml +34 -0
  601. data/lib/stylesheets/params/default.image.width.xml +30 -0
  602. data/lib/stylesheets/params/default.table.frame.xml +28 -0
  603. data/lib/stylesheets/params/default.table.rules.xml +76 -0
  604. data/lib/stylesheets/params/default.table.width.xml +26 -0
  605. data/lib/stylesheets/params/default.units.xml +37 -0
  606. data/lib/stylesheets/params/dingbat.font.family.xml +33 -0
  607. data/lib/stylesheets/params/docbook.css.link.xml +42 -0
  608. data/lib/stylesheets/params/docbook.css.source.xml +83 -0
  609. data/lib/stylesheets/params/double.sided.xml +31 -0
  610. data/lib/stylesheets/params/draft.mode.xml +36 -0
  611. data/lib/stylesheets/params/draft.watermark.image.xml +27 -0
  612. data/lib/stylesheets/params/dry-run.xml +27 -0
  613. data/lib/stylesheets/params/dynamic.toc.xml +29 -0
  614. data/lib/stylesheets/params/ebnf.assignment.xml +39 -0
  615. data/lib/stylesheets/params/ebnf.statement.terminator.xml +32 -0
  616. data/lib/stylesheets/params/ebnf.table.bgcolor.xml +30 -0
  617. data/lib/stylesheets/params/ebnf.table.border.xml +26 -0
  618. data/lib/stylesheets/params/eclipse.autolabel.xml +28 -0
  619. data/lib/stylesheets/params/eclipse.plugin.id.xml +28 -0
  620. data/lib/stylesheets/params/eclipse.plugin.name.xml +27 -0
  621. data/lib/stylesheets/params/eclipse.plugin.provider.xml +27 -0
  622. data/lib/stylesheets/params/editedby.enabled.xml +27 -0
  623. data/lib/stylesheets/params/email.delimiters.enabled.xml +34 -0
  624. data/lib/stylesheets/params/email.mailto.enabled.xml +29 -0
  625. data/lib/stylesheets/params/emphasis.propagates.style.xml +26 -0
  626. data/lib/stylesheets/params/entry.propagates.style.xml +30 -0
  627. data/lib/stylesheets/params/epub.autolabel.xml +28 -0
  628. data/lib/stylesheets/params/equation.number.properties.xml +28 -0
  629. data/lib/stylesheets/params/equation.properties.xml +27 -0
  630. data/lib/stylesheets/params/example.properties.xml +27 -0
  631. data/lib/stylesheets/params/exsl.node.set.available.xml +44 -0
  632. data/lib/stylesheets/params/feedback.href.xml +28 -0
  633. data/lib/stylesheets/params/feedback.link.text.xml +28 -0
  634. data/lib/stylesheets/params/feedback.with.ids.xml +27 -0
  635. data/lib/stylesheets/params/figure.properties.xml +27 -0
  636. data/lib/stylesheets/params/filename-prefix.xml +28 -0
  637. data/lib/stylesheets/params/firstterm.only.link.xml +29 -0
  638. data/lib/stylesheets/params/foil.properties.xml +37 -0
  639. data/lib/stylesheets/params/foil.subtitle.properties.xml +36 -0
  640. data/lib/stylesheets/params/foil.title.master.xml +29 -0
  641. data/lib/stylesheets/params/foil.title.size.xml +32 -0
  642. data/lib/stylesheets/params/foilgroup.properties.xml +31 -0
  643. data/lib/stylesheets/params/foilgroup.toc.xml +29 -0
  644. data/lib/stylesheets/params/footer.column.widths.xml +80 -0
  645. data/lib/stylesheets/params/footer.content.properties.xml +34 -0
  646. data/lib/stylesheets/params/footer.hr.xml +26 -0
  647. data/lib/stylesheets/params/footer.rule.xml +27 -0
  648. data/lib/stylesheets/params/footer.table.height.xml +32 -0
  649. data/lib/stylesheets/params/footer.table.properties.xml +30 -0
  650. data/lib/stylesheets/params/footers.on.blank.pages.xml +27 -0
  651. data/lib/stylesheets/params/footnote.font.size.xml +28 -0
  652. data/lib/stylesheets/params/footnote.mark.properties.xml +41 -0
  653. data/lib/stylesheets/params/footnote.number.format.xml +33 -0
  654. data/lib/stylesheets/params/footnote.number.symbols.xml +39 -0
  655. data/lib/stylesheets/params/footnote.properties.xml +43 -0
  656. data/lib/stylesheets/params/footnote.sep.leader.properties.xml +39 -0
  657. data/lib/stylesheets/params/fop.extensions.xml +36 -0
  658. data/lib/stylesheets/params/fop1.extensions.xml +34 -0
  659. data/lib/stylesheets/params/formal.object.properties.xml +36 -0
  660. data/lib/stylesheets/params/formal.procedures.xml +28 -0
  661. data/lib/stylesheets/params/formal.title.placement.xml +41 -0
  662. data/lib/stylesheets/params/formal.title.properties.xml +34 -0
  663. data/lib/stylesheets/params/funcsynopsis.decoration.xml +30 -0
  664. data/lib/stylesheets/params/funcsynopsis.style.xml +31 -0
  665. data/lib/stylesheets/params/function.parens.xml +29 -0
  666. data/lib/stylesheets/params/generate.css.header.xml +40 -0
  667. data/lib/stylesheets/params/generate.id.attributes.xml +59 -0
  668. data/lib/stylesheets/params/generate.index.xml +25 -0
  669. data/lib/stylesheets/params/generate.legalnotice.link.xml +72 -0
  670. data/lib/stylesheets/params/generate.manifest.xml +27 -0
  671. data/lib/stylesheets/params/generate.meta.abstract.xml +29 -0
  672. data/lib/stylesheets/params/generate.revhistory.link.xml +50 -0
  673. data/lib/stylesheets/params/generate.section.toc.level.xml +35 -0
  674. data/lib/stylesheets/params/generate.toc.xml +108 -0
  675. data/lib/stylesheets/params/glossary.as.blocks.xml +38 -0
  676. data/lib/stylesheets/params/glossary.collection.xml +252 -0
  677. data/lib/stylesheets/params/glossary.sort.xml +32 -0
  678. data/lib/stylesheets/params/glossdef.block.properties.xml +32 -0
  679. data/lib/stylesheets/params/glossdef.list.properties.xml +30 -0
  680. data/lib/stylesheets/params/glossentry.list.item.properties.xml +32 -0
  681. data/lib/stylesheets/params/glossentry.show.acronym.xml +37 -0
  682. data/lib/stylesheets/params/glosslist.as.blocks.xml +27 -0
  683. data/lib/stylesheets/params/glossterm.auto.link.xml +33 -0
  684. data/lib/stylesheets/params/glossterm.block.properties.xml +35 -0
  685. data/lib/stylesheets/params/glossterm.list.properties.xml +30 -0
  686. data/lib/stylesheets/params/glossterm.separation.xml +31 -0
  687. data/lib/stylesheets/params/glossterm.width.xml +28 -0
  688. data/lib/stylesheets/params/graphic.default.extension.xml +29 -0
  689. data/lib/stylesheets/params/graphical.admonition.properties.xml +42 -0
  690. data/lib/stylesheets/params/graphics.dir.xml +33 -0
  691. data/lib/stylesheets/params/graphicsize.extension.xml +30 -0
  692. data/lib/stylesheets/params/graphicsize.use.img.src.path.xml +30 -0
  693. data/lib/stylesheets/params/header.column.widths.xml +80 -0
  694. data/lib/stylesheets/params/header.content.properties.xml +34 -0
  695. data/lib/stylesheets/params/header.hr.xml +26 -0
  696. data/lib/stylesheets/params/header.rule.xml +27 -0
  697. data/lib/stylesheets/params/header.table.height.xml +32 -0
  698. data/lib/stylesheets/params/header.table.properties.xml +30 -0
  699. data/lib/stylesheets/params/headers.on.blank.pages.xml +27 -0
  700. data/lib/stylesheets/params/hidetoc.image.xml +29 -0
  701. data/lib/stylesheets/params/highlight.default.language.xml +27 -0
  702. data/lib/stylesheets/params/highlight.source.xml +82 -0
  703. data/lib/stylesheets/params/highlight.xslthl.config.xml +33 -0
  704. data/lib/stylesheets/params/home.image.xml +27 -0
  705. data/lib/stylesheets/params/html.append.xml +30 -0
  706. data/lib/stylesheets/params/html.base.xml +30 -0
  707. data/lib/stylesheets/params/html.cellpadding.xml +29 -0
  708. data/lib/stylesheets/params/html.cellspacing.xml +29 -0
  709. data/lib/stylesheets/params/html.cleanup.xml +34 -0
  710. data/lib/stylesheets/params/html.ext.xml +29 -0
  711. data/lib/stylesheets/params/html.extra.head.links.xml +31 -0
  712. data/lib/stylesheets/params/html.head.legalnotice.link.multiple.xml +44 -0
  713. data/lib/stylesheets/params/html.head.legalnotice.link.types.xml +75 -0
  714. data/lib/stylesheets/params/html.longdesc.link.xml +39 -0
  715. data/lib/stylesheets/params/html.longdesc.xml +28 -0
  716. data/lib/stylesheets/params/html.stylesheet.type.xml +26 -0
  717. data/lib/stylesheets/params/html.stylesheet.xml +36 -0
  718. data/lib/stylesheets/params/htmlhelp.alias.file.xml +27 -0
  719. data/lib/stylesheets/params/htmlhelp.autolabel.xml +28 -0
  720. data/lib/stylesheets/params/htmlhelp.button.back.xml +27 -0
  721. data/lib/stylesheets/params/htmlhelp.button.forward.xml +27 -0
  722. data/lib/stylesheets/params/htmlhelp.button.hideshow.xml +27 -0
  723. data/lib/stylesheets/params/htmlhelp.button.home.url.xml +27 -0
  724. data/lib/stylesheets/params/htmlhelp.button.home.xml +27 -0
  725. data/lib/stylesheets/params/htmlhelp.button.jump1.title.xml +27 -0
  726. data/lib/stylesheets/params/htmlhelp.button.jump1.url.xml +27 -0
  727. data/lib/stylesheets/params/htmlhelp.button.jump1.xml +23 -0
  728. data/lib/stylesheets/params/htmlhelp.button.jump2.title.xml +27 -0
  729. data/lib/stylesheets/params/htmlhelp.button.jump2.url.xml +27 -0
  730. data/lib/stylesheets/params/htmlhelp.button.jump2.xml +27 -0
  731. data/lib/stylesheets/params/htmlhelp.button.locate.xml +28 -0
  732. data/lib/stylesheets/params/htmlhelp.button.next.xml +27 -0
  733. data/lib/stylesheets/params/htmlhelp.button.options.xml +28 -0
  734. data/lib/stylesheets/params/htmlhelp.button.prev.xml +28 -0
  735. data/lib/stylesheets/params/htmlhelp.button.print.xml +28 -0
  736. data/lib/stylesheets/params/htmlhelp.button.refresh.xml +27 -0
  737. data/lib/stylesheets/params/htmlhelp.button.stop.xml +28 -0
  738. data/lib/stylesheets/params/htmlhelp.button.zoom.xml +28 -0
  739. data/lib/stylesheets/params/htmlhelp.chm.xml +27 -0
  740. data/lib/stylesheets/params/htmlhelp.default.topic.xml +37 -0
  741. data/lib/stylesheets/params/htmlhelp.display.progress.xml +28 -0
  742. data/lib/stylesheets/params/htmlhelp.encoding.xml +28 -0
  743. data/lib/stylesheets/params/htmlhelp.enhanced.decompilation.xml +27 -0
  744. data/lib/stylesheets/params/htmlhelp.enumerate.images.xml +28 -0
  745. data/lib/stylesheets/params/htmlhelp.force.map.and.alias.xml +26 -0
  746. data/lib/stylesheets/params/htmlhelp.hhc.binary.xml +29 -0
  747. data/lib/stylesheets/params/htmlhelp.hhc.folders.instead.books.xml +31 -0
  748. data/lib/stylesheets/params/htmlhelp.hhc.section.depth.xml +27 -0
  749. data/lib/stylesheets/params/htmlhelp.hhc.show.root.xml +29 -0
  750. data/lib/stylesheets/params/htmlhelp.hhc.width.xml +28 -0
  751. data/lib/stylesheets/params/htmlhelp.hhc.xml +27 -0
  752. data/lib/stylesheets/params/htmlhelp.hhk.xml +27 -0
  753. data/lib/stylesheets/params/htmlhelp.hhp.tail.xml +28 -0
  754. data/lib/stylesheets/params/htmlhelp.hhp.window.xml +28 -0
  755. data/lib/stylesheets/params/htmlhelp.hhp.windows.xml +29 -0
  756. data/lib/stylesheets/params/htmlhelp.hhp.xml +28 -0
  757. data/lib/stylesheets/params/htmlhelp.map.file.xml +25 -0
  758. data/lib/stylesheets/params/htmlhelp.only.xml +32 -0
  759. data/lib/stylesheets/params/htmlhelp.remember.window.position.xml +27 -0
  760. data/lib/stylesheets/params/htmlhelp.show.advanced.search.xml +28 -0
  761. data/lib/stylesheets/params/htmlhelp.show.favorities.xml +28 -0
  762. data/lib/stylesheets/params/htmlhelp.show.menu.xml +28 -0
  763. data/lib/stylesheets/params/htmlhelp.show.toolbar.text.xml +28 -0
  764. data/lib/stylesheets/params/htmlhelp.title.xml +28 -0
  765. data/lib/stylesheets/params/htmlhelp.use.hhk.xml +28 -0
  766. data/lib/stylesheets/params/htmlhelp.window.geometry.xml +30 -0
  767. data/lib/stylesheets/params/hyphenate.verbatim.characters.xml +30 -0
  768. data/lib/stylesheets/params/hyphenate.verbatim.xml +45 -0
  769. data/lib/stylesheets/params/hyphenate.xml +29 -0
  770. data/lib/stylesheets/params/id.warnings.xml +25 -0
  771. data/lib/stylesheets/params/ignore.image.scaling.xml +28 -0
  772. data/lib/stylesheets/params/img.src.path.xml +40 -0
  773. data/lib/stylesheets/params/index.div.title.properties.xml +39 -0
  774. data/lib/stylesheets/params/index.entry.properties.xml +33 -0
  775. data/lib/stylesheets/params/index.links.to.section.xml +76 -0
  776. data/lib/stylesheets/params/index.method.xml +162 -0
  777. data/lib/stylesheets/params/index.number.separator.xml +54 -0
  778. data/lib/stylesheets/params/index.on.role.xml +48 -0
  779. data/lib/stylesheets/params/index.on.type.xml +52 -0
  780. data/lib/stylesheets/params/index.page.number.properties.xml +31 -0
  781. data/lib/stylesheets/params/index.prefer.titleabbrev.xml +29 -0
  782. data/lib/stylesheets/params/index.preferred.page.properties.xml +32 -0
  783. data/lib/stylesheets/params/index.range.separator.xml +57 -0
  784. data/lib/stylesheets/params/index.term.separator.xml +54 -0
  785. data/lib/stylesheets/params/informal.object.properties.xml +29 -0
  786. data/lib/stylesheets/params/informalequation.properties.xml +27 -0
  787. data/lib/stylesheets/params/informalexample.properties.xml +27 -0
  788. data/lib/stylesheets/params/informalfigure.properties.xml +27 -0
  789. data/lib/stylesheets/params/informaltable.properties.xml +32 -0
  790. data/lib/stylesheets/params/inherit.keywords.xml +31 -0
  791. data/lib/stylesheets/params/insert.link.page.number.xml +69 -0
  792. data/lib/stylesheets/params/insert.olink.page.number.xml +83 -0
  793. data/lib/stylesheets/params/insert.olink.pdf.frag.xml +68 -0
  794. data/lib/stylesheets/params/insert.xref.page.number.xml +60 -0
  795. data/lib/stylesheets/params/itemizedlist.label.properties.xml +26 -0
  796. data/lib/stylesheets/params/itemizedlist.label.width.xml +28 -0
  797. data/lib/stylesheets/params/itemizedlist.properties.xml +23 -0
  798. data/lib/stylesheets/params/javahelp.encoding.xml +31 -0
  799. data/lib/stylesheets/params/keep.relative.image.uris.xml +34 -0
  800. data/lib/stylesheets/params/keyboard.nav.xml +29 -0
  801. data/lib/stylesheets/params/l10n.gentext.default.language.xml +30 -0
  802. data/lib/stylesheets/params/l10n.gentext.language.xml +33 -0
  803. data/lib/stylesheets/params/l10n.gentext.use.xref.language.xml +53 -0
  804. data/lib/stylesheets/params/l10n.lang.value.rfc.compliant.xml +57 -0
  805. data/lib/stylesheets/params/label.from.part.xml +38 -0
  806. data/lib/stylesheets/params/line-height.xml +27 -0
  807. data/lib/stylesheets/params/linenumbering.everyNth.xml +29 -0
  808. data/lib/stylesheets/params/linenumbering.extension.xml +30 -0
  809. data/lib/stylesheets/params/linenumbering.separator.xml +30 -0
  810. data/lib/stylesheets/params/linenumbering.width.xml +29 -0
  811. data/lib/stylesheets/params/link.mailto.url.xml +29 -0
  812. data/lib/stylesheets/params/list.block.properties.xml +25 -0
  813. data/lib/stylesheets/params/list.block.spacing.xml +29 -0
  814. data/lib/stylesheets/params/list.item.spacing.xml +26 -0
  815. data/lib/stylesheets/params/make.clean.html.xml +51 -0
  816. data/lib/stylesheets/params/make.graphic.viewport.xml +35 -0
  817. data/lib/stylesheets/params/make.index.markup.xml +73 -0
  818. data/lib/stylesheets/params/make.single.year.ranges.xml +28 -0
  819. data/lib/stylesheets/params/make.valid.html.xml +35 -0
  820. data/lib/stylesheets/params/make.year.ranges.xml +32 -0
  821. data/lib/stylesheets/params/man.authors.section.enabled.xml +46 -0
  822. data/lib/stylesheets/params/man.base.url.for.relative.links.xml +76 -0
  823. data/lib/stylesheets/params/man.break.after.slash.xml +46 -0
  824. data/lib/stylesheets/params/man.charmap.enabled.xml +55 -0
  825. data/lib/stylesheets/params/man.charmap.subset.profile.english.xml +80 -0
  826. data/lib/stylesheets/params/man.charmap.subset.profile.xml +297 -0
  827. data/lib/stylesheets/params/man.charmap.uri.xml +42 -0
  828. data/lib/stylesheets/params/man.charmap.use.subset.xml +80 -0
  829. data/lib/stylesheets/params/man.copyright.section.enabled.xml +46 -0
  830. data/lib/stylesheets/params/man.endnotes.are.numbered.xml +106 -0
  831. data/lib/stylesheets/params/man.endnotes.list.enabled.xml +105 -0
  832. data/lib/stylesheets/params/man.endnotes.list.heading.xml +36 -0
  833. data/lib/stylesheets/params/man.font.funcprototype.xml +30 -0
  834. data/lib/stylesheets/params/man.font.funcsynopsisinfo.xml +30 -0
  835. data/lib/stylesheets/params/man.font.links.xml +64 -0
  836. data/lib/stylesheets/params/man.font.table.headings.xml +30 -0
  837. data/lib/stylesheets/params/man.font.table.title.xml +30 -0
  838. data/lib/stylesheets/params/man.funcsynopsis.style.xml +26 -0
  839. data/lib/stylesheets/params/man.hyphenate.computer.inlines.xml +53 -0
  840. data/lib/stylesheets/params/man.hyphenate.filenames.xml +47 -0
  841. data/lib/stylesheets/params/man.hyphenate.urls.xml +46 -0
  842. data/lib/stylesheets/params/man.hyphenate.xml +59 -0
  843. data/lib/stylesheets/params/man.indent.blurbs.xml +33 -0
  844. data/lib/stylesheets/params/man.indent.lists.xml +35 -0
  845. data/lib/stylesheets/params/man.indent.refsect.xml +70 -0
  846. data/lib/stylesheets/params/man.indent.verbatims.xml +33 -0
  847. data/lib/stylesheets/params/man.indent.width.xml +39 -0
  848. data/lib/stylesheets/params/man.justify.xml +52 -0
  849. data/lib/stylesheets/params/man.output.base.dir.xml +39 -0
  850. data/lib/stylesheets/params/man.output.better.ps.enabled.xml +61 -0
  851. data/lib/stylesheets/params/man.output.encoding.xml +53 -0
  852. data/lib/stylesheets/params/man.output.in.separate.dir.xml +32 -0
  853. data/lib/stylesheets/params/man.output.lang.in.name.enabled.xml +50 -0
  854. data/lib/stylesheets/params/man.output.manifest.enabled.xml +27 -0
  855. data/lib/stylesheets/params/man.output.manifest.filename.xml +29 -0
  856. data/lib/stylesheets/params/man.output.quietly.xml +37 -0
  857. data/lib/stylesheets/params/man.output.subdirs.enabled.xml +40 -0
  858. data/lib/stylesheets/params/man.segtitle.suppress.xml +28 -0
  859. data/lib/stylesheets/params/man.string.subst.map.local.post.xml +34 -0
  860. data/lib/stylesheets/params/man.string.subst.map.local.pre.xml +34 -0
  861. data/lib/stylesheets/params/man.string.subst.map.xml +162 -0
  862. data/lib/stylesheets/params/man.subheading.divider.enabled.xml +37 -0
  863. data/lib/stylesheets/params/man.subheading.divider.xml +37 -0
  864. data/lib/stylesheets/params/man.table.footnotes.divider.xml +29 -0
  865. data/lib/stylesheets/params/man.th.extra1.suppress.xml +32 -0
  866. data/lib/stylesheets/params/man.th.extra2.max.length.xml +43 -0
  867. data/lib/stylesheets/params/man.th.extra2.suppress.xml +44 -0
  868. data/lib/stylesheets/params/man.th.extra3.max.length.xml +42 -0
  869. data/lib/stylesheets/params/man.th.extra3.suppress.xml +34 -0
  870. data/lib/stylesheets/params/man.th.title.max.length.xml +63 -0
  871. data/lib/stylesheets/params/manifest.in.base.dir.xml +29 -0
  872. data/lib/stylesheets/params/manifest.xml +29 -0
  873. data/lib/stylesheets/params/manual.toc.xml +29 -0
  874. data/lib/stylesheets/params/margin.note.float.type.xml +77 -0
  875. data/lib/stylesheets/params/margin.note.properties.xml +54 -0
  876. data/lib/stylesheets/params/margin.note.title.properties.xml +32 -0
  877. data/lib/stylesheets/params/margin.note.width.xml +35 -0
  878. data/lib/stylesheets/params/marker.section.level.xml +50 -0
  879. data/lib/stylesheets/params/menuchoice.menu.separator.xml +42 -0
  880. data/lib/stylesheets/params/menuchoice.separator.xml +32 -0
  881. data/lib/stylesheets/params/minus.image.xml +29 -0
  882. data/lib/stylesheets/params/monospace.font.family.xml +29 -0
  883. data/lib/stylesheets/params/monospace.properties.xml +38 -0
  884. data/lib/stylesheets/params/monospace.verbatim.font.width.xml +40 -0
  885. data/lib/stylesheets/params/monospace.verbatim.properties.xml +27 -0
  886. data/lib/stylesheets/params/multiframe.bottom.bgcolor.xml +28 -0
  887. data/lib/stylesheets/params/multiframe.navigation.height.xml +28 -0
  888. data/lib/stylesheets/params/multiframe.top.bgcolor.xml +28 -0
  889. data/lib/stylesheets/params/multiframe.xml +31 -0
  890. data/lib/stylesheets/params/nav.separator.xml +28 -0
  891. data/lib/stylesheets/params/nav.table.summary.xml +27 -0
  892. data/lib/stylesheets/params/navbgcolor.xml +26 -0
  893. data/lib/stylesheets/params/navbodywidth.xml +26 -0
  894. data/lib/stylesheets/params/navig.graphics.extension.xml +28 -0
  895. data/lib/stylesheets/params/navig.graphics.path.xml +30 -0
  896. data/lib/stylesheets/params/navig.graphics.xml +31 -0
  897. data/lib/stylesheets/params/navig.showtitles.xml +32 -0
  898. data/lib/stylesheets/params/navtocwidth.xml +26 -0
  899. data/lib/stylesheets/params/next.image.xml +27 -0
  900. data/lib/stylesheets/params/no.home.image.xml +27 -0
  901. data/lib/stylesheets/params/no.next.image.xml +27 -0
  902. data/lib/stylesheets/params/no.prev.image.xml +27 -0
  903. data/lib/stylesheets/params/no.toc.image.xml +27 -0
  904. data/lib/stylesheets/params/no.up.image.xml +27 -0
  905. data/lib/stylesheets/params/nominal.image.depth.xml +27 -0
  906. data/lib/stylesheets/params/nominal.image.width.xml +43 -0
  907. data/lib/stylesheets/params/nominal.table.width.xml +30 -0
  908. data/lib/stylesheets/params/nongraphical.admonition.properties.xml +41 -0
  909. data/lib/stylesheets/params/normal.para.spacing.xml +26 -0
  910. data/lib/stylesheets/params/olink.base.uri.xml +35 -0
  911. data/lib/stylesheets/params/olink.debug.xml +36 -0
  912. data/lib/stylesheets/params/olink.doctitle.xml +146 -0
  913. data/lib/stylesheets/params/olink.fragid.xml +23 -0
  914. data/lib/stylesheets/params/olink.lang.fallback.sequence.xml +83 -0
  915. data/lib/stylesheets/params/olink.outline.ext.xml +28 -0
  916. data/lib/stylesheets/params/olink.properties.xml +33 -0
  917. data/lib/stylesheets/params/olink.pubid.xml +27 -0
  918. data/lib/stylesheets/params/olink.resolver.xml +23 -0
  919. data/lib/stylesheets/params/olink.sysid.xml +27 -0
  920. data/lib/stylesheets/params/orderedlist.label.properties.xml +26 -0
  921. data/lib/stylesheets/params/orderedlist.label.width.xml +28 -0
  922. data/lib/stylesheets/params/orderedlist.properties.xml +24 -0
  923. data/lib/stylesheets/params/othercredit.like.author.enabled.xml +31 -0
  924. data/lib/stylesheets/params/output-root.xml +28 -0
  925. data/lib/stylesheets/params/output.indent.xml +32 -0
  926. data/lib/stylesheets/params/overlay.js.xml +28 -0
  927. data/lib/stylesheets/params/overlay.logo.xml +28 -0
  928. data/lib/stylesheets/params/overlay.xml +32 -0
  929. data/lib/stylesheets/params/page.height.portrait.xml +69 -0
  930. data/lib/stylesheets/params/page.height.xml +37 -0
  931. data/lib/stylesheets/params/page.margin.bottom.xml +29 -0
  932. data/lib/stylesheets/params/page.margin.inner.xml +56 -0
  933. data/lib/stylesheets/params/page.margin.outer.xml +53 -0
  934. data/lib/stylesheets/params/page.margin.top.xml +28 -0
  935. data/lib/stylesheets/params/page.orientation.xml +32 -0
  936. data/lib/stylesheets/params/page.width.portrait.xml +67 -0
  937. data/lib/stylesheets/params/page.width.xml +36 -0
  938. data/lib/stylesheets/params/pages.template.xml +29 -0
  939. data/lib/stylesheets/params/paper.type.xml +73 -0
  940. data/lib/stylesheets/params/para.propagates.style.xml +29 -0
  941. data/lib/stylesheets/params/part.autolabel.xml +73 -0
  942. data/lib/stylesheets/params/passivetex.extensions.xml +37 -0
  943. data/lib/stylesheets/params/pgwide.properties.xml +52 -0
  944. data/lib/stylesheets/params/phrase.propagates.style.xml +29 -0
  945. data/lib/stylesheets/params/pixels.per.inch.xml +31 -0
  946. data/lib/stylesheets/params/plus.image.xml +29 -0
  947. data/lib/stylesheets/params/points.per.em.xml +29 -0
  948. data/lib/stylesheets/params/preface.autolabel.xml +71 -0
  949. data/lib/stylesheets/params/prefer.internal.olink.xml +78 -0
  950. data/lib/stylesheets/params/preferred.mediaobject.role.xml +40 -0
  951. data/lib/stylesheets/params/prev.image.xml +27 -0
  952. data/lib/stylesheets/params/procedure.properties.xml +29 -0
  953. data/lib/stylesheets/params/process.empty.source.toc.xml +39 -0
  954. data/lib/stylesheets/params/process.source.toc.xml +39 -0
  955. data/lib/stylesheets/params/profile.arch.xml +39 -0
  956. data/lib/stylesheets/params/profile.attribute.xml +34 -0
  957. data/lib/stylesheets/params/profile.audience.xml +38 -0
  958. data/lib/stylesheets/params/profile.condition.xml +38 -0
  959. data/lib/stylesheets/params/profile.conformance.xml +38 -0
  960. data/lib/stylesheets/params/profile.lang.xml +38 -0
  961. data/lib/stylesheets/params/profile.os.xml +38 -0
  962. data/lib/stylesheets/params/profile.revision.xml +38 -0
  963. data/lib/stylesheets/params/profile.revisionflag.xml +38 -0
  964. data/lib/stylesheets/params/profile.role.xml +54 -0
  965. data/lib/stylesheets/params/profile.security.xml +38 -0
  966. data/lib/stylesheets/params/profile.separator.xml +27 -0
  967. data/lib/stylesheets/params/profile.status.xml +38 -0
  968. data/lib/stylesheets/params/profile.userlevel.xml +38 -0
  969. data/lib/stylesheets/params/profile.value.xml +41 -0
  970. data/lib/stylesheets/params/profile.vendor.xml +38 -0
  971. data/lib/stylesheets/params/profile.wordsize.xml +38 -0
  972. data/lib/stylesheets/params/punct.honorific.xml +28 -0
  973. data/lib/stylesheets/params/qanda.defaultlabel.xml +86 -0
  974. data/lib/stylesheets/params/qanda.in.toc.xml +34 -0
  975. data/lib/stylesheets/params/qanda.inherit.numeration.xml +30 -0
  976. data/lib/stylesheets/params/qanda.nested.in.toc.xml +29 -0
  977. data/lib/stylesheets/params/qanda.title.level1.properties.xml +32 -0
  978. data/lib/stylesheets/params/qanda.title.level2.properties.xml +32 -0
  979. data/lib/stylesheets/params/qanda.title.level3.properties.xml +32 -0
  980. data/lib/stylesheets/params/qanda.title.level4.properties.xml +32 -0
  981. data/lib/stylesheets/params/qanda.title.level5.properties.xml +32 -0
  982. data/lib/stylesheets/params/qanda.title.level6.properties.xml +34 -0
  983. data/lib/stylesheets/params/qanda.title.properties.xml +37 -0
  984. data/lib/stylesheets/params/qandadiv.autolabel.xml +26 -0
  985. data/lib/stylesheets/params/rebuild-all.xml +33 -0
  986. data/lib/stylesheets/params/refclass.suppress.xml +28 -0
  987. data/lib/stylesheets/params/refentry.date.profile.enabled.xml +46 -0
  988. data/lib/stylesheets/params/refentry.date.profile.xml +38 -0
  989. data/lib/stylesheets/params/refentry.generate.name.xml +33 -0
  990. data/lib/stylesheets/params/refentry.generate.title.xml +33 -0
  991. data/lib/stylesheets/params/refentry.manual.fallback.profile.xml +48 -0
  992. data/lib/stylesheets/params/refentry.manual.profile.enabled.xml +47 -0
  993. data/lib/stylesheets/params/refentry.manual.profile.xml +72 -0
  994. data/lib/stylesheets/params/refentry.meta.get.quietly.xml +37 -0
  995. data/lib/stylesheets/params/refentry.pagebreak.xml +33 -0
  996. data/lib/stylesheets/params/refentry.separator.xml +29 -0
  997. data/lib/stylesheets/params/refentry.source.fallback.profile.xml +49 -0
  998. data/lib/stylesheets/params/refentry.source.name.profile.enabled.xml +48 -0
  999. data/lib/stylesheets/params/refentry.source.name.profile.xml +89 -0
  1000. data/lib/stylesheets/params/refentry.source.name.suppress.xml +42 -0
  1001. data/lib/stylesheets/params/refentry.title.properties.xml +59 -0
  1002. data/lib/stylesheets/params/refentry.version.profile.enabled.xml +47 -0
  1003. data/lib/stylesheets/params/refentry.version.profile.xml +41 -0
  1004. data/lib/stylesheets/params/refentry.version.suppress.xml +43 -0
  1005. data/lib/stylesheets/params/refentry.xref.manvolnum.xml +31 -0
  1006. data/lib/stylesheets/params/reference.autolabel.xml +67 -0
  1007. data/lib/stylesheets/params/region.after.extent.xml +29 -0
  1008. data/lib/stylesheets/params/region.before.extent.xml +29 -0
  1009. data/lib/stylesheets/params/revhistory.table.cell.properties.xml +28 -0
  1010. data/lib/stylesheets/params/revhistory.table.properties.xml +28 -0
  1011. data/lib/stylesheets/params/revhistory.title.properties.xml +28 -0
  1012. data/lib/stylesheets/params/root.filename.xml +29 -0
  1013. data/lib/stylesheets/params/root.properties.xml +46 -0
  1014. data/lib/stylesheets/params/rootid.xml +33 -0
  1015. data/lib/stylesheets/params/runinhead.default.title.end.punct.xml +27 -0
  1016. data/lib/stylesheets/params/runinhead.title.end.punct.xml +32 -0
  1017. data/lib/stylesheets/params/running.foot.properties.xml +34 -0
  1018. data/lib/stylesheets/params/sans.font.family.xml +29 -0
  1019. data/lib/stylesheets/params/saxon.callouts.xml +30 -0
  1020. data/lib/stylesheets/params/saxon.character.representation.xml +38 -0
  1021. data/lib/stylesheets/params/saxon.linenumbering.xml +32 -0
  1022. data/lib/stylesheets/params/saxon.tablecolumns.xml +30 -0
  1023. data/lib/stylesheets/params/script.dir.xml +33 -0
  1024. data/lib/stylesheets/params/section.autolabel.max.depth.xml +32 -0
  1025. data/lib/stylesheets/params/section.autolabel.xml +26 -0
  1026. data/lib/stylesheets/params/section.container.element.xml +62 -0
  1027. data/lib/stylesheets/params/section.label.includes.component.label.xml +27 -0
  1028. data/lib/stylesheets/params/section.level1.properties.xml +43 -0
  1029. data/lib/stylesheets/params/section.level2.properties.xml +43 -0
  1030. data/lib/stylesheets/params/section.level3.properties.xml +43 -0
  1031. data/lib/stylesheets/params/section.level4.properties.xml +43 -0
  1032. data/lib/stylesheets/params/section.level5.properties.xml +43 -0
  1033. data/lib/stylesheets/params/section.level6.properties.xml +43 -0
  1034. data/lib/stylesheets/params/section.properties.xml +35 -0
  1035. data/lib/stylesheets/params/section.title.level1.properties.xml +32 -0
  1036. data/lib/stylesheets/params/section.title.level2.properties.xml +33 -0
  1037. data/lib/stylesheets/params/section.title.level3.properties.xml +32 -0
  1038. data/lib/stylesheets/params/section.title.level4.properties.xml +32 -0
  1039. data/lib/stylesheets/params/section.title.level5.properties.xml +32 -0
  1040. data/lib/stylesheets/params/section.title.level6.properties.xml +33 -0
  1041. data/lib/stylesheets/params/section.title.properties.xml +39 -0
  1042. data/lib/stylesheets/params/segmentedlist.as.table.xml +28 -0
  1043. data/lib/stylesheets/params/sequential.links.xml +25 -0
  1044. data/lib/stylesheets/params/shade.verbatim.style.xml +36 -0
  1045. data/lib/stylesheets/params/shade.verbatim.xml +30 -0
  1046. data/lib/stylesheets/params/show.comments.xml +32 -0
  1047. data/lib/stylesheets/params/show.foil.number.xml +28 -0
  1048. data/lib/stylesheets/params/show.revisionflag.xml +42 -0
  1049. data/lib/stylesheets/params/showtoc.image.xml +29 -0
  1050. data/lib/stylesheets/params/side.float.properties.xml +50 -0
  1051. data/lib/stylesheets/params/sidebar.float.type.xml +90 -0
  1052. data/lib/stylesheets/params/sidebar.float.width.xml +35 -0
  1053. data/lib/stylesheets/params/sidebar.properties.xml +42 -0
  1054. data/lib/stylesheets/params/sidebar.title.properties.xml +32 -0
  1055. data/lib/stylesheets/params/simplesect.in.toc.xml +26 -0
  1056. data/lib/stylesheets/params/slide.font.family.xml +31 -0
  1057. data/lib/stylesheets/params/slide.title.font.family.xml +31 -0
  1058. data/lib/stylesheets/params/slides.js.xml +28 -0
  1059. data/lib/stylesheets/params/slides.properties.xml +31 -0
  1060. data/lib/stylesheets/params/spacing.paras.xml +30 -0
  1061. data/lib/stylesheets/params/speakernote.properties.xml +32 -0
  1062. data/lib/stylesheets/params/subscript.properties.xml +29 -0
  1063. data/lib/stylesheets/params/superscript.properties.xml +29 -0
  1064. data/lib/stylesheets/params/suppress.footer.navigation.xml +26 -0
  1065. data/lib/stylesheets/params/suppress.header.navigation.xml +27 -0
  1066. data/lib/stylesheets/params/suppress.homepage.title.xml +25 -0
  1067. data/lib/stylesheets/params/suppress.navigation.xml +28 -0
  1068. data/lib/stylesheets/params/symbol.font.family.xml +45 -0
  1069. data/lib/stylesheets/params/table.borders.with.css.xml +28 -0
  1070. data/lib/stylesheets/params/table.cell.border.color.xml +39 -0
  1071. data/lib/stylesheets/params/table.cell.border.style.xml +42 -0
  1072. data/lib/stylesheets/params/table.cell.border.thickness.xml +35 -0
  1073. data/lib/stylesheets/params/table.cell.padding.xml +32 -0
  1074. data/lib/stylesheets/params/table.entry.padding.xml +27 -0
  1075. data/lib/stylesheets/params/table.footnote.number.format.xml +33 -0
  1076. data/lib/stylesheets/params/table.footnote.number.symbols.xml +39 -0
  1077. data/lib/stylesheets/params/table.footnote.properties.xml +39 -0
  1078. data/lib/stylesheets/params/table.frame.border.color.xml +28 -0
  1079. data/lib/stylesheets/params/table.frame.border.style.xml +37 -0
  1080. data/lib/stylesheets/params/table.frame.border.thickness.xml +27 -0
  1081. data/lib/stylesheets/params/table.properties.xml +34 -0
  1082. data/lib/stylesheets/params/table.spacer.image.xml +26 -0
  1083. data/lib/stylesheets/params/table.table.properties.xml +36 -0
  1084. data/lib/stylesheets/params/tablecolumns.extension.xml +30 -0
  1085. data/lib/stylesheets/params/target.database.document.xml +37 -0
  1086. data/lib/stylesheets/params/targets.filename.xml +32 -0
  1087. data/lib/stylesheets/params/template.xml +27 -0
  1088. data/lib/stylesheets/params/tex.math.delims.xml +47 -0
  1089. data/lib/stylesheets/params/tex.math.file.xml +42 -0
  1090. data/lib/stylesheets/params/tex.math.in.alt.xml +76 -0
  1091. data/lib/stylesheets/params/text.home.xml +27 -0
  1092. data/lib/stylesheets/params/text.next.xml +27 -0
  1093. data/lib/stylesheets/params/text.prev.xml +27 -0
  1094. data/lib/stylesheets/params/text.toc.xml +27 -0
  1095. data/lib/stylesheets/params/text.up.xml +27 -0
  1096. data/lib/stylesheets/params/textbgcolor.xml +26 -0
  1097. data/lib/stylesheets/params/textdata.default.encoding.xml +32 -0
  1098. data/lib/stylesheets/params/textinsert.extension.xml +62 -0
  1099. data/lib/stylesheets/params/title.font.family.xml +33 -0
  1100. data/lib/stylesheets/params/title.margin.left.xml +65 -0
  1101. data/lib/stylesheets/params/titlefoil.html.xml +27 -0
  1102. data/lib/stylesheets/params/toc.bg.color.xml +27 -0
  1103. data/lib/stylesheets/params/toc.blank.graphic.xml +28 -0
  1104. data/lib/stylesheets/params/toc.blank.image.xml +27 -0
  1105. data/lib/stylesheets/params/toc.blank.text.xml +27 -0
  1106. data/lib/stylesheets/params/toc.hide.show.xml +33 -0
  1107. data/lib/stylesheets/params/toc.html.xml +27 -0
  1108. data/lib/stylesheets/params/toc.image.xml +27 -0
  1109. data/lib/stylesheets/params/toc.indent.width.xml +34 -0
  1110. data/lib/stylesheets/params/toc.line.properties.xml +44 -0
  1111. data/lib/stylesheets/params/toc.list.type.xml +30 -0
  1112. data/lib/stylesheets/params/toc.margin.properties.xml +33 -0
  1113. data/lib/stylesheets/params/toc.max.depth.xml +25 -0
  1114. data/lib/stylesheets/params/toc.pointer.graphic.xml +28 -0
  1115. data/lib/stylesheets/params/toc.pointer.image.xml +27 -0
  1116. data/lib/stylesheets/params/toc.pointer.text.xml +27 -0
  1117. data/lib/stylesheets/params/toc.row.height.xml +33 -0
  1118. data/lib/stylesheets/params/toc.section.depth.xml +28 -0
  1119. data/lib/stylesheets/params/toc.spacer.graphic.xml +28 -0
  1120. data/lib/stylesheets/params/toc.spacer.image.xml +27 -0
  1121. data/lib/stylesheets/params/toc.spacer.text.xml +27 -0
  1122. data/lib/stylesheets/params/toc.width.xml +28 -0
  1123. data/lib/stylesheets/params/ua.js.xml +28 -0
  1124. data/lib/stylesheets/params/ulink.footnotes.xml +34 -0
  1125. data/lib/stylesheets/params/ulink.hyphenate.chars.xml +37 -0
  1126. data/lib/stylesheets/params/ulink.hyphenate.xml +35 -0
  1127. data/lib/stylesheets/params/ulink.show.xml +37 -0
  1128. data/lib/stylesheets/params/ulink.target.xml +29 -0
  1129. data/lib/stylesheets/params/up.image.xml +27 -0
  1130. data/lib/stylesheets/params/use.embed.for.svg.xml +33 -0
  1131. data/lib/stylesheets/params/use.extensions.xml +31 -0
  1132. data/lib/stylesheets/params/use.id.as.filename.xml +30 -0
  1133. data/lib/stylesheets/params/use.id.function.xml +32 -0
  1134. data/lib/stylesheets/params/use.local.olink.style.xml +28 -0
  1135. data/lib/stylesheets/params/use.role.as.xrefstyle.xml +93 -0
  1136. data/lib/stylesheets/params/use.role.for.mediaobject.xml +56 -0
  1137. data/lib/stylesheets/params/use.svg.xml +30 -0
  1138. data/lib/stylesheets/params/variablelist.as.blocks.xml +62 -0
  1139. data/lib/stylesheets/params/variablelist.as.table.xml +54 -0
  1140. data/lib/stylesheets/params/variablelist.max.termlength.xml +46 -0
  1141. data/lib/stylesheets/params/variablelist.term.break.after.xml +39 -0
  1142. data/lib/stylesheets/params/variablelist.term.properties.xml +29 -0
  1143. data/lib/stylesheets/params/variablelist.term.separator.xml +40 -0
  1144. data/lib/stylesheets/params/verbatim.properties.xml +38 -0
  1145. data/lib/stylesheets/params/wordml.template.xml +29 -0
  1146. data/lib/stylesheets/params/writing.mode.xml +83 -0
  1147. data/lib/stylesheets/params/xbCollapsibleLists.js.xml +28 -0
  1148. data/lib/stylesheets/params/xbDOM.js.xml +28 -0
  1149. data/lib/stylesheets/params/xbLibrary.js.xml +28 -0
  1150. data/lib/stylesheets/params/xbStyle.js.xml +28 -0
  1151. data/lib/stylesheets/params/xep.extensions.xml +31 -0
  1152. data/lib/stylesheets/params/xep.index.item.properties.xml +36 -0
  1153. data/lib/stylesheets/params/xref.label-page.separator.xml +38 -0
  1154. data/lib/stylesheets/params/xref.label-title.separator.xml +36 -0
  1155. data/lib/stylesheets/params/xref.properties.xml +29 -0
  1156. data/lib/stylesheets/params/xref.title-page.separator.xml +36 -0
  1157. data/lib/stylesheets/params/xref.with.number.and.title.xml +30 -0
  1158. data/lib/stylesheets/profiling/profile-mode.xsl +239 -0
  1159. data/lib/stylesheets/profiling/profile.xsl +58 -0
  1160. data/lib/stylesheets/profiling/strip-attributes.xsl +27 -0
  1161. data/lib/stylesheets/profiling/xsl2profile.xsl +159 -0
  1162. data/lib/stylesheets/roundtrip/blocks-spec.xml +11 -0
  1163. data/lib/stylesheets/roundtrip/blocks2dbk.dtd +76 -0
  1164. data/lib/stylesheets/roundtrip/blocks2dbk.xsl +1734 -0
  1165. data/lib/stylesheets/roundtrip/dbk2ooo.xsl +178 -0
  1166. data/lib/stylesheets/roundtrip/dbk2pages.xsl +442 -0
  1167. data/lib/stylesheets/roundtrip/dbk2wordml.xsl +402 -0
  1168. data/lib/stylesheets/roundtrip/dbk2wp.xsl +1376 -0
  1169. data/lib/stylesheets/roundtrip/normalise-common.xsl +39 -0
  1170. data/lib/stylesheets/roundtrip/normalise2sections.xsl +1270 -0
  1171. data/lib/stylesheets/roundtrip/pages2normalise.xsl +352 -0
  1172. data/lib/stylesheets/roundtrip/param.xml +105 -0
  1173. data/lib/stylesheets/roundtrip/param.xsl +20 -0
  1174. data/lib/stylesheets/roundtrip/sections-spec.xml +38 -0
  1175. data/lib/stylesheets/roundtrip/sections2blocks.xsl +263 -0
  1176. data/lib/stylesheets/roundtrip/specifications.xml +1420 -0
  1177. data/lib/stylesheets/roundtrip/template-pages.xml +2 -0
  1178. data/lib/stylesheets/roundtrip/template.dot +0 -0
  1179. data/lib/stylesheets/roundtrip/template.xml +3 -0
  1180. data/lib/stylesheets/roundtrip/wordml2normalise.xsl +446 -0
  1181. data/lib/stylesheets/slides/browser/CTOCWidget.js +169 -0
  1182. data/lib/stylesheets/slides/browser/overlay.js +142 -0
  1183. data/lib/stylesheets/slides/browser/slides-default.css +9 -0
  1184. data/lib/stylesheets/slides/browser/slides-frames.css +73 -0
  1185. data/lib/stylesheets/slides/browser/slides-plain.css +1 -0
  1186. data/lib/stylesheets/slides/browser/slides-table.css +41 -0
  1187. data/lib/stylesheets/slides/browser/slides-w3c.css +1 -0
  1188. data/lib/stylesheets/slides/browser/slides.css +119 -0
  1189. data/lib/stylesheets/slides/browser/slides.js +120 -0
  1190. data/lib/stylesheets/slides/browser/ua.js +135 -0
  1191. data/lib/stylesheets/slides/browser/xbCollapsibleLists.js +537 -0
  1192. data/lib/stylesheets/slides/browser/xbDOM.js +374 -0
  1193. data/lib/stylesheets/slides/browser/xbDebug.js +311 -0
  1194. data/lib/stylesheets/slides/browser/xbLibrary.js +80 -0
  1195. data/lib/stylesheets/slides/browser/xbStyle-css.js +791 -0
  1196. data/lib/stylesheets/slides/browser/xbStyle-nn4.js +485 -0
  1197. data/lib/stylesheets/slides/browser/xbStyle-not-supported.js +77 -0
  1198. data/lib/stylesheets/slides/browser/xbStyle.js +295 -0
  1199. data/lib/stylesheets/slides/fo/param.xml +356 -0
  1200. data/lib/stylesheets/slides/fo/param.xsl +74 -0
  1201. data/lib/stylesheets/slides/fo/plain-titlepage.xml +79 -0
  1202. data/lib/stylesheets/slides/fo/plain-titlepage.xsl +187 -0
  1203. data/lib/stylesheets/slides/fo/plain.xsl +528 -0
  1204. data/lib/stylesheets/slides/graphics/active/arr-next.png +0 -0
  1205. data/lib/stylesheets/slides/graphics/active/arr-prev.png +0 -0
  1206. data/lib/stylesheets/slides/graphics/active/but-fforward.png +0 -0
  1207. data/lib/stylesheets/slides/graphics/active/but-info.png +0 -0
  1208. data/lib/stylesheets/slides/graphics/active/but-next.png +0 -0
  1209. data/lib/stylesheets/slides/graphics/active/but-prev.png +0 -0
  1210. data/lib/stylesheets/slides/graphics/active/but-rewind.png +0 -0
  1211. data/lib/stylesheets/slides/graphics/active/nav-home.png +0 -0
  1212. data/lib/stylesheets/slides/graphics/active/nav-next.png +0 -0
  1213. data/lib/stylesheets/slides/graphics/active/nav-prev.png +0 -0
  1214. data/lib/stylesheets/slides/graphics/active/nav-toc.png +0 -0
  1215. data/lib/stylesheets/slides/graphics/active/nav-up.png +0 -0
  1216. data/lib/stylesheets/slides/graphics/active/w3c-next.png +0 -0
  1217. data/lib/stylesheets/slides/graphics/active/w3c-prev.png +0 -0
  1218. data/lib/stylesheets/slides/graphics/active/w3c-toc.png +0 -0
  1219. data/lib/stylesheets/slides/graphics/arrow.gif +0 -0
  1220. data/lib/stylesheets/slides/graphics/blank.gif +0 -0
  1221. data/lib/stylesheets/slides/graphics/blank.png +0 -0
  1222. data/lib/stylesheets/slides/graphics/hidetoc.gif +0 -0
  1223. data/lib/stylesheets/slides/graphics/inactive/but-fforward.png +0 -0
  1224. data/lib/stylesheets/slides/graphics/inactive/but-info.png +0 -0
  1225. data/lib/stylesheets/slides/graphics/inactive/but-next.png +0 -0
  1226. data/lib/stylesheets/slides/graphics/inactive/but-prev.png +0 -0
  1227. data/lib/stylesheets/slides/graphics/inactive/but-rewind.png +0 -0
  1228. data/lib/stylesheets/slides/graphics/inactive/nav-home.png +0 -0
  1229. data/lib/stylesheets/slides/graphics/inactive/nav-next.png +0 -0
  1230. data/lib/stylesheets/slides/graphics/inactive/nav-prev.png +0 -0
  1231. data/lib/stylesheets/slides/graphics/inactive/nav-toc.png +0 -0
  1232. data/lib/stylesheets/slides/graphics/inactive/nav-up.png +0 -0
  1233. data/lib/stylesheets/slides/graphics/inactive/w3c-next.png +0 -0
  1234. data/lib/stylesheets/slides/graphics/inactive/w3c-prev.png +0 -0
  1235. data/lib/stylesheets/slides/graphics/inactive/w3c-toc.png +0 -0
  1236. data/lib/stylesheets/slides/graphics/plus.gif +0 -0
  1237. data/lib/stylesheets/slides/graphics/pointer.png +0 -0
  1238. data/lib/stylesheets/slides/graphics/showtoc.gif +0 -0
  1239. data/lib/stylesheets/slides/graphics/toc/bullet.png +0 -0
  1240. data/lib/stylesheets/slides/graphics/toc/closed.png +0 -0
  1241. data/lib/stylesheets/slides/graphics/toc/open.png +0 -0
  1242. data/lib/stylesheets/slides/html/css.xsl +46 -0
  1243. data/lib/stylesheets/slides/html/default.xsl +261 -0
  1244. data/lib/stylesheets/slides/html/flat.xsl +70 -0
  1245. data/lib/stylesheets/slides/html/frames.xsl +2016 -0
  1246. data/lib/stylesheets/slides/html/graphics.xsl +151 -0
  1247. data/lib/stylesheets/slides/html/jscript.xsl +127 -0
  1248. data/lib/stylesheets/slides/html/param.xml +1376 -0
  1249. data/lib/stylesheets/slides/html/param.xsl +68 -0
  1250. data/lib/stylesheets/slides/html/plain.xsl +472 -0
  1251. data/lib/stylesheets/slides/html/slides-common.xsl +1541 -0
  1252. data/lib/stylesheets/slides/html/tables.xsl +336 -0
  1253. data/lib/stylesheets/slides/html/vslides.xsl +667 -0
  1254. data/lib/stylesheets/slides/html/w3c.xsl +376 -0
  1255. data/lib/stylesheets/slides/htmlhelp/htmlhelp.xsl +89 -0
  1256. data/lib/stylesheets/slides/keynote/default.xsl +600 -0
  1257. data/lib/stylesheets/slides/keynote/xsltsl/cmp.xsl +348 -0
  1258. data/lib/stylesheets/slides/keynote/xsltsl/date-time.xsl +1524 -0
  1259. data/lib/stylesheets/slides/keynote/xsltsl/example.xsl +90 -0
  1260. data/lib/stylesheets/slides/keynote/xsltsl/markup.xsl +789 -0
  1261. data/lib/stylesheets/slides/keynote/xsltsl/math.xsl +704 -0
  1262. data/lib/stylesheets/slides/keynote/xsltsl/node.xsl +229 -0
  1263. data/lib/stylesheets/slides/keynote/xsltsl/stdlib.xsl +340 -0
  1264. data/lib/stylesheets/slides/keynote/xsltsl/string.xsl +1233 -0
  1265. data/lib/stylesheets/slides/keynote/xsltsl/svg.xsl +177 -0
  1266. data/lib/stylesheets/slides/keynote/xsltsl/uri.xsl +580 -0
  1267. data/lib/stylesheets/slides/svg/default.xsl +686 -0
  1268. data/lib/stylesheets/slides/xhtml/css.xsl +47 -0
  1269. data/lib/stylesheets/slides/xhtml/default.xsl +246 -0
  1270. data/lib/stylesheets/slides/xhtml/flat.xsl +71 -0
  1271. data/lib/stylesheets/slides/xhtml/frames.xsl +1982 -0
  1272. data/lib/stylesheets/slides/xhtml/graphics.xsl +152 -0
  1273. data/lib/stylesheets/slides/xhtml/jscript.xsl +128 -0
  1274. data/lib/stylesheets/slides/xhtml/param.xsl +70 -0
  1275. data/lib/stylesheets/slides/xhtml/plain.xsl +470 -0
  1276. data/lib/stylesheets/slides/xhtml/slides-common.xsl +1534 -0
  1277. data/lib/stylesheets/slides/xhtml/tables.xsl +334 -0
  1278. data/lib/stylesheets/slides/xhtml/vslides.xsl +652 -0
  1279. data/lib/stylesheets/slides/xhtml/w3c.xsl +358 -0
  1280. data/lib/stylesheets/template/titlepage.xml +478 -0
  1281. data/lib/stylesheets/template/titlepage.xsl +1355 -0
  1282. data/lib/stylesheets/tests/refentry.007.ns.xml +325 -0
  1283. data/lib/stylesheets/tests/refentry.007.xml +340 -0
  1284. data/lib/stylesheets/tools/bin/docbook-xsl-update +53 -0
  1285. data/lib/stylesheets/tools/make/Makefile.DocBook +698 -0
  1286. data/lib/stylesheets/tools/make/Makefile.combine +182 -0
  1287. data/lib/stylesheets/tools/make/Makefile.docParam +59 -0
  1288. data/lib/stylesheets/webhelp/LICENSE +1 -0
  1289. data/lib/stylesheets/webhelp/build.properties +43 -0
  1290. data/lib/stylesheets/webhelp/build.xml +112 -0
  1291. data/lib/stylesheets/webhelp/docs/common/css/positioning.css +109 -0
  1292. data/lib/stylesheets/webhelp/docs/common/images/header-bg.gif +0 -0
  1293. data/lib/stylesheets/webhelp/docs/common/images/highlight-blue.gif +0 -0
  1294. data/lib/stylesheets/webhelp/docs/common/images/highlight-yellow.gif +0 -0
  1295. data/lib/stylesheets/webhelp/docs/common/images/loading.gif +0 -0
  1296. data/lib/stylesheets/webhelp/docs/common/images/logo.png +0 -0
  1297. data/lib/stylesheets/webhelp/docs/common/images/showHideTreeIcons.png +0 -0
  1298. data/lib/stylesheets/webhelp/docs/common/jquery/jquery-1.4.2.min.js +154 -0
  1299. data/lib/stylesheets/webhelp/docs/common/jquery/jquery-ui-1.8.2.custom.min.js +321 -0
  1300. data/lib/stylesheets/webhelp/docs/common/jquery/jquery.cookie.js +93 -0
  1301. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif +0 -0
  1302. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1303. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  1304. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  1305. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  1306. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1307. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  1308. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  1309. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  1310. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png +0 -0
  1311. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  1312. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png +0 -0
  1313. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  1314. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  1315. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  1316. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  1317. data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css +398 -0
  1318. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/file.gif +0 -0
  1319. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder-closed.gif +0 -0
  1320. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder-closed2.gif +0 -0
  1321. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder.gif +0 -0
  1322. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder2.gif +0 -0
  1323. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/minus.gif +0 -0
  1324. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/plus.gif +0 -0
  1325. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-black-line.gif +0 -0
  1326. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-black.gif +0 -0
  1327. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-default-line.gif +0 -0
  1328. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-default.gif +0 -0
  1329. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam-line.gif +0 -0
  1330. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam.gif +0 -0
  1331. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-gray-line.gif +0 -0
  1332. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-gray.gif +0 -0
  1333. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-red-line.gif +0 -0
  1334. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-red.gif +0 -0
  1335. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.async.js +72 -0
  1336. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.css +85 -0
  1337. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.js +255 -0
  1338. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.min.js +16 -0
  1339. data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.pack.js +16 -0
  1340. data/lib/stylesheets/webhelp/docs/common/main.js +161 -0
  1341. data/lib/stylesheets/webhelp/docs/content/ch01.html +61 -0
  1342. data/lib/stylesheets/webhelp/docs/content/ch02.html +32 -0
  1343. data/lib/stylesheets/webhelp/docs/content/ch02s01.html +117 -0
  1344. data/lib/stylesheets/webhelp/docs/content/ch02s02.html +102 -0
  1345. data/lib/stylesheets/webhelp/docs/content/ch02s03.html +36 -0
  1346. data/lib/stylesheets/webhelp/docs/content/ch02s04.html +42 -0
  1347. data/lib/stylesheets/webhelp/docs/content/ch03.html +37 -0
  1348. data/lib/stylesheets/webhelp/docs/content/ch03s01.html +62 -0
  1349. data/lib/stylesheets/webhelp/docs/content/ch03s02.html +124 -0
  1350. data/lib/stylesheets/webhelp/docs/content/index.html +71 -0
  1351. data/lib/stylesheets/webhelp/docs/content/search/htmlFileInfoList.js +10 -0
  1352. data/lib/stylesheets/webhelp/docs/content/search/htmlFileList.js +11 -0
  1353. data/lib/stylesheets/webhelp/docs/content/search/index-1.js +224 -0
  1354. data/lib/stylesheets/webhelp/docs/content/search/index-2.js +223 -0
  1355. data/lib/stylesheets/webhelp/docs/content/search/index-3.js +221 -0
  1356. data/lib/stylesheets/webhelp/docs/content/search/nwSearchFnt.js +513 -0
  1357. data/lib/stylesheets/webhelp/docs/content/search/stemmers/en_stemmer.js +187 -0
  1358. data/lib/stylesheets/webhelp/docs/favicon.ico +0 -0
  1359. data/lib/stylesheets/webhelp/docs/index.html +13 -0
  1360. data/lib/stylesheets/webhelp/docsrc/readme.xml +891 -0
  1361. data/lib/stylesheets/webhelp/template/common/css/positioning.css +109 -0
  1362. data/lib/stylesheets/webhelp/template/common/images/header-bg.gif +0 -0
  1363. data/lib/stylesheets/webhelp/template/common/images/highlight-blue.gif +0 -0
  1364. data/lib/stylesheets/webhelp/template/common/images/highlight-yellow.gif +0 -0
  1365. data/lib/stylesheets/webhelp/template/common/images/loading.gif +0 -0
  1366. data/lib/stylesheets/webhelp/template/common/images/logo.png +0 -0
  1367. data/lib/stylesheets/webhelp/template/common/images/showHideTreeIcons.png +0 -0
  1368. data/lib/stylesheets/webhelp/template/common/jquery/jquery-1.4.2.min.js +154 -0
  1369. data/lib/stylesheets/webhelp/template/common/jquery/jquery-ui-1.8.2.custom.min.js +321 -0
  1370. data/lib/stylesheets/webhelp/template/common/jquery/jquery.cookie.js +93 -0
  1371. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif +0 -0
  1372. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1373. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  1374. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  1375. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  1376. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1377. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  1378. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  1379. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  1380. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png +0 -0
  1381. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  1382. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png +0 -0
  1383. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  1384. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  1385. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  1386. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  1387. data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css +398 -0
  1388. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/file.gif +0 -0
  1389. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder-closed.gif +0 -0
  1390. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder-closed2.gif +0 -0
  1391. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder.gif +0 -0
  1392. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder2.gif +0 -0
  1393. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/minus.gif +0 -0
  1394. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/plus.gif +0 -0
  1395. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-black-line.gif +0 -0
  1396. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-black.gif +0 -0
  1397. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-default-line.gif +0 -0
  1398. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-default.gif +0 -0
  1399. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-famfamfam-line.gif +0 -0
  1400. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-famfamfam.gif +0 -0
  1401. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-gray-line.gif +0 -0
  1402. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-gray.gif +0 -0
  1403. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-red-line.gif +0 -0
  1404. data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-red.gif +0 -0
  1405. data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.async.js +72 -0
  1406. data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.css +85 -0
  1407. data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.js +255 -0
  1408. data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.min.js +16 -0
  1409. data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.pack.js +16 -0
  1410. data/lib/stylesheets/webhelp/template/common/main.js +161 -0
  1411. data/lib/stylesheets/webhelp/template/content/search/default.props +1 -0
  1412. data/lib/stylesheets/webhelp/template/content/search/en-us.props +45 -0
  1413. data/lib/stylesheets/webhelp/template/content/search/es-es.props +179 -0
  1414. data/lib/stylesheets/webhelp/template/content/search/ja-jp.props +1 -0
  1415. data/lib/stylesheets/webhelp/template/content/search/nwSearchFnt.js +513 -0
  1416. data/lib/stylesheets/webhelp/template/content/search/punctuation.props +31 -0
  1417. data/lib/stylesheets/webhelp/template/content/search/stemmers/de_stemmer.js +247 -0
  1418. data/lib/stylesheets/webhelp/template/content/search/stemmers/en_stemmer.js +187 -0
  1419. data/lib/stylesheets/webhelp/template/content/search/stemmers/fr_stemmer.js +299 -0
  1420. data/lib/stylesheets/webhelp/template/favicon.ico +0 -0
  1421. data/lib/stylesheets/webhelp/xsl/webhelp.xsl +772 -0
  1422. data/lib/stylesheets/website/autolayout.xsl +258 -0
  1423. data/lib/stylesheets/website/chunk-common.xsl +227 -0
  1424. data/lib/stylesheets/website/chunk-tabular.xsl +12 -0
  1425. data/lib/stylesheets/website/chunk-website.xsl +12 -0
  1426. data/lib/stylesheets/website/head.xsl +316 -0
  1427. data/lib/stylesheets/website/makefile-dep.xsl +143 -0
  1428. data/lib/stylesheets/website/olink.xsl +297 -0
  1429. data/lib/stylesheets/website/param.xml +788 -0
  1430. data/lib/stylesheets/website/param.xsl +53 -0
  1431. data/lib/stylesheets/website/rss.xsl +143 -0
  1432. data/lib/stylesheets/website/tabular.xsl +213 -0
  1433. data/lib/stylesheets/website/toc-tabular.xsl +480 -0
  1434. data/lib/stylesheets/website/toc.xsl +286 -0
  1435. data/lib/stylesheets/website/website-common.xsl +821 -0
  1436. data/lib/stylesheets/website/website-targets.xsl +27 -0
  1437. data/lib/stylesheets/website/website.xsl +132 -0
  1438. data/lib/stylesheets/website/xbel.xsl +114 -0
  1439. data/lib/stylesheets/xhtml/admon.xsl +137 -0
  1440. data/lib/stylesheets/xhtml/annotations.xsl +160 -0
  1441. data/lib/stylesheets/xhtml/autoidx-kimber.xsl +140 -0
  1442. data/lib/stylesheets/xhtml/autoidx-kosek.xsl +110 -0
  1443. data/lib/stylesheets/xhtml/autoidx-ng.xsl +23 -0
  1444. data/lib/stylesheets/xhtml/autoidx.xsl +682 -0
  1445. data/lib/stylesheets/xhtml/autotoc.xsl +665 -0
  1446. data/lib/stylesheets/xhtml/biblio-iso690.xsl +1302 -0
  1447. data/lib/stylesheets/xhtml/biblio.xsl +1242 -0
  1448. data/lib/stylesheets/xhtml/block.xsl +537 -0
  1449. data/lib/stylesheets/xhtml/callout.xsl +189 -0
  1450. data/lib/stylesheets/xhtml/changebars.xsl +80 -0
  1451. data/lib/stylesheets/xhtml/chunk-changebars.xsl +97 -0
  1452. data/lib/stylesheets/xhtml/chunk-code.xsl +644 -0
  1453. data/lib/stylesheets/xhtml/chunk-common.xsl +1562 -0
  1454. data/lib/stylesheets/xhtml/chunk.xsl +53 -0
  1455. data/lib/stylesheets/xhtml/chunker.xsl +303 -0
  1456. data/lib/stylesheets/xhtml/chunkfast.xsl +70 -0
  1457. data/lib/stylesheets/xhtml/chunktoc.xsl +527 -0
  1458. data/lib/stylesheets/xhtml/component.xsl +397 -0
  1459. data/lib/stylesheets/xhtml/division.xsl +219 -0
  1460. data/lib/stylesheets/xhtml/docbook.css.xml +109 -0
  1461. data/lib/stylesheets/xhtml/docbook.xsl +435 -0
  1462. data/lib/stylesheets/xhtml/ebnf.xsl +329 -0
  1463. data/lib/stylesheets/xhtml/footnote.xsl +306 -0
  1464. data/lib/stylesheets/xhtml/formal.xsl +413 -0
  1465. data/lib/stylesheets/xhtml/glossary.xsl +565 -0
  1466. data/lib/stylesheets/xhtml/graphics.xsl +1437 -0
  1467. data/lib/stylesheets/xhtml/highlight.xsl +89 -0
  1468. data/lib/stylesheets/xhtml/html-rtf.xsl +321 -0
  1469. data/lib/stylesheets/xhtml/html.xsl +600 -0
  1470. data/lib/stylesheets/xhtml/htmltbl.xsl +104 -0
  1471. data/lib/stylesheets/xhtml/index.xsl +266 -0
  1472. data/lib/stylesheets/xhtml/info.xsl +46 -0
  1473. data/lib/stylesheets/xhtml/inline.xsl +1452 -0
  1474. data/lib/stylesheets/xhtml/keywords.xsl +38 -0
  1475. data/lib/stylesheets/xhtml/lists.xsl +1123 -0
  1476. data/lib/stylesheets/xhtml/maketoc.xsl +92 -0
  1477. data/lib/stylesheets/xhtml/manifest.xsl +23 -0
  1478. data/lib/stylesheets/xhtml/math.xsl +285 -0
  1479. data/lib/stylesheets/xhtml/oldchunker.xsl +177 -0
  1480. data/lib/stylesheets/xhtml/onechunk.xsl +37 -0
  1481. data/lib/stylesheets/xhtml/param.xsl +438 -0
  1482. data/lib/stylesheets/xhtml/pi.xsl +1204 -0
  1483. data/lib/stylesheets/xhtml/profile-chunk-code.xsl +616 -0
  1484. data/lib/stylesheets/xhtml/profile-chunk.xsl +53 -0
  1485. data/lib/stylesheets/xhtml/profile-docbook.xsl +407 -0
  1486. data/lib/stylesheets/xhtml/profile-onechunk.xsl +37 -0
  1487. data/lib/stylesheets/xhtml/qandaset.xsl +421 -0
  1488. data/lib/stylesheets/xhtml/refentry.xsl +301 -0
  1489. data/lib/stylesheets/xhtml/sections.xsl +543 -0
  1490. data/lib/stylesheets/xhtml/synop.xsl +1515 -0
  1491. data/lib/stylesheets/xhtml/table.xsl +1169 -0
  1492. data/lib/stylesheets/xhtml/task.xsl +75 -0
  1493. data/lib/stylesheets/xhtml/titlepage.templates.xsl +3818 -0
  1494. data/lib/stylesheets/xhtml/titlepage.xsl +1032 -0
  1495. data/lib/stylesheets/xhtml/toc.xsl +332 -0
  1496. data/lib/stylesheets/xhtml/verbatim.xsl +389 -0
  1497. data/lib/stylesheets/xhtml/xref.xsl +1317 -0
  1498. data/lib/stylesheets/xhtml-1_1/admon.xsl +135 -0
  1499. data/lib/stylesheets/xhtml-1_1/annotations.xsl +160 -0
  1500. data/lib/stylesheets/xhtml-1_1/autoidx-kimber.xsl +140 -0
  1501. data/lib/stylesheets/xhtml-1_1/autoidx-kosek.xsl +110 -0
  1502. data/lib/stylesheets/xhtml-1_1/autoidx-ng.xsl +23 -0
  1503. data/lib/stylesheets/xhtml-1_1/autoidx.xsl +682 -0
  1504. data/lib/stylesheets/xhtml-1_1/autotoc.xsl +665 -0
  1505. data/lib/stylesheets/xhtml-1_1/biblio-iso690.xsl +1302 -0
  1506. data/lib/stylesheets/xhtml-1_1/biblio.xsl +1242 -0
  1507. data/lib/stylesheets/xhtml-1_1/block.xsl +537 -0
  1508. data/lib/stylesheets/xhtml-1_1/callout.xsl +189 -0
  1509. data/lib/stylesheets/xhtml-1_1/changebars.xsl +80 -0
  1510. data/lib/stylesheets/xhtml-1_1/chunk-changebars.xsl +97 -0
  1511. data/lib/stylesheets/xhtml-1_1/chunk-code.xsl +644 -0
  1512. data/lib/stylesheets/xhtml-1_1/chunk-common.xsl +1562 -0
  1513. data/lib/stylesheets/xhtml-1_1/chunk.xsl +53 -0
  1514. data/lib/stylesheets/xhtml-1_1/chunker.xsl +303 -0
  1515. data/lib/stylesheets/xhtml-1_1/chunkfast.xsl +70 -0
  1516. data/lib/stylesheets/xhtml-1_1/chunktoc.xsl +527 -0
  1517. data/lib/stylesheets/xhtml-1_1/component.xsl +397 -0
  1518. data/lib/stylesheets/xhtml-1_1/division.xsl +219 -0
  1519. data/lib/stylesheets/xhtml-1_1/docbook.css.xml +109 -0
  1520. data/lib/stylesheets/xhtml-1_1/docbook.xsl +435 -0
  1521. data/lib/stylesheets/xhtml-1_1/ebnf.xsl +329 -0
  1522. data/lib/stylesheets/xhtml-1_1/footnote.xsl +306 -0
  1523. data/lib/stylesheets/xhtml-1_1/formal.xsl +413 -0
  1524. data/lib/stylesheets/xhtml-1_1/glossary.xsl +565 -0
  1525. data/lib/stylesheets/xhtml-1_1/graphics.xsl +1437 -0
  1526. data/lib/stylesheets/xhtml-1_1/highlight.xsl +89 -0
  1527. data/lib/stylesheets/xhtml-1_1/html-rtf.xsl +321 -0
  1528. data/lib/stylesheets/xhtml-1_1/html.xsl +600 -0
  1529. data/lib/stylesheets/xhtml-1_1/htmltbl.xsl +104 -0
  1530. data/lib/stylesheets/xhtml-1_1/index.xsl +266 -0
  1531. data/lib/stylesheets/xhtml-1_1/info.xsl +46 -0
  1532. data/lib/stylesheets/xhtml-1_1/inline.xsl +1452 -0
  1533. data/lib/stylesheets/xhtml-1_1/keywords.xsl +38 -0
  1534. data/lib/stylesheets/xhtml-1_1/lists.xsl +1090 -0
  1535. data/lib/stylesheets/xhtml-1_1/maketoc.xsl +92 -0
  1536. data/lib/stylesheets/xhtml-1_1/manifest.xsl +23 -0
  1537. data/lib/stylesheets/xhtml-1_1/math.xsl +285 -0
  1538. data/lib/stylesheets/xhtml-1_1/oldchunker.xsl +177 -0
  1539. data/lib/stylesheets/xhtml-1_1/onechunk.xsl +37 -0
  1540. data/lib/stylesheets/xhtml-1_1/param.xsl +438 -0
  1541. data/lib/stylesheets/xhtml-1_1/pi.xsl +1204 -0
  1542. data/lib/stylesheets/xhtml-1_1/profile-chunk-code.xsl +616 -0
  1543. data/lib/stylesheets/xhtml-1_1/profile-chunk.xsl +53 -0
  1544. data/lib/stylesheets/xhtml-1_1/profile-docbook.xsl +407 -0
  1545. data/lib/stylesheets/xhtml-1_1/profile-onechunk.xsl +37 -0
  1546. data/lib/stylesheets/xhtml-1_1/qandaset.xsl +421 -0
  1547. data/lib/stylesheets/xhtml-1_1/refentry.xsl +301 -0
  1548. data/lib/stylesheets/xhtml-1_1/sections.xsl +543 -0
  1549. data/lib/stylesheets/xhtml-1_1/synop.xsl +1515 -0
  1550. data/lib/stylesheets/xhtml-1_1/table.xsl +1169 -0
  1551. data/lib/stylesheets/xhtml-1_1/task.xsl +75 -0
  1552. data/lib/stylesheets/xhtml-1_1/titlepage.templates.xsl +3818 -0
  1553. data/lib/stylesheets/xhtml-1_1/titlepage.xsl +1032 -0
  1554. data/lib/stylesheets/xhtml-1_1/toc.xsl +332 -0
  1555. data/lib/stylesheets/xhtml-1_1/verbatim.xsl +389 -0
  1556. data/lib/stylesheets/xhtml-1_1/xref.xsl +1317 -0
  1557. metadata +1654 -0
@@ -0,0 +1,2571 @@
1
+ <?xml version="1.0"?>
2
+ <xsl:stylesheet exclude-result-prefixes="d"
3
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
+ xmlns:d="http://docbook.org/ns/docbook"
5
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
6
+ version="1.0">
7
+
8
+ <!-- ********************************************************************
9
+ $Id: pagesetup.xsl 8900 2010-08-29 20:04:32Z dleidert $
10
+ ********************************************************************
11
+
12
+ This file is part of the DocBook XSL Stylesheet distribution.
13
+ See ../README or http://docbook.sf.net/ for copyright
14
+ copyright and other information.
15
+
16
+ ******************************************************************** -->
17
+
18
+ <!-- ==================================================================== -->
19
+
20
+ <xsl:param name="body.fontset">
21
+ <xsl:value-of select="$body.font.family"/>
22
+ <xsl:if test="$body.font.family != ''
23
+ and $symbol.font.family != ''">,</xsl:if>
24
+ <xsl:value-of select="$symbol.font.family"/>
25
+ </xsl:param>
26
+
27
+ <xsl:param name="title.fontset">
28
+ <xsl:value-of select="$title.font.family"/>
29
+ <xsl:if test="$title.font.family != ''
30
+ and $symbol.font.family != ''">,</xsl:if>
31
+ <xsl:value-of select="$symbol.font.family"/>
32
+ </xsl:param>
33
+
34
+ <xsl:param name="margin.left.inner">
35
+ <xsl:choose>
36
+ <xsl:when test="$passivetex.extensions != 0">
37
+ <xsl:value-of select="$page.margin.inner"/>
38
+ </xsl:when>
39
+ <xsl:otherwise>
40
+ <xsl:value-of select="$page.margin.inner"/>
41
+ <xsl:text> - </xsl:text>
42
+ <xsl:value-of select="$title.margin.left"/>
43
+ </xsl:otherwise>
44
+ </xsl:choose>
45
+ </xsl:param>
46
+
47
+ <xsl:template name="setup.pagemasters">
48
+ <fo:layout-master-set>
49
+ <!-- blank pages -->
50
+ <fo:simple-page-master master-name="blank"
51
+ page-width="{$page.width}"
52
+ page-height="{$page.height}"
53
+ margin-top="{$page.margin.top}"
54
+ margin-bottom="{$page.margin.bottom}">
55
+ <xsl:attribute name="margin-{$direction.align.start}">
56
+ <xsl:value-of select="$page.margin.outer"/>
57
+ <xsl:if test="$fop.extensions != 0">
58
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
59
+ </xsl:if>
60
+ </xsl:attribute>
61
+ <xsl:attribute name="margin-{$direction.align.end}">
62
+ <xsl:value-of select="$page.margin.inner"/>
63
+ </xsl:attribute>
64
+ <xsl:if test="$axf.extensions != 0">
65
+ <xsl:call-template name="axf-page-master-properties">
66
+ <xsl:with-param name="page.master">blank</xsl:with-param>
67
+ </xsl:call-template>
68
+ </xsl:if>
69
+ <fo:region-body display-align="center"
70
+ margin-bottom="{$body.margin.bottom}"
71
+ margin-top="{$body.margin.top}">
72
+ <xsl:if test="$fop.extensions = 0 and $fop1.extensions = 0">
73
+ <xsl:attribute name="region-name">blank-body</xsl:attribute>
74
+ </xsl:if>
75
+ </fo:region-body>
76
+ <fo:region-before region-name="xsl-region-before-blank"
77
+ extent="{$region.before.extent}"
78
+ display-align="before"/>
79
+ <fo:region-after region-name="xsl-region-after-blank"
80
+ extent="{$region.after.extent}"
81
+ display-align="after"/>
82
+ </fo:simple-page-master>
83
+
84
+ <!-- title pages -->
85
+ <fo:simple-page-master master-name="titlepage-first"
86
+ page-width="{$page.width}"
87
+ page-height="{$page.height}"
88
+ margin-top="{$page.margin.top}"
89
+ margin-bottom="{$page.margin.bottom}">
90
+ <xsl:attribute name="margin-{$direction.align.start}">
91
+ <xsl:value-of select="$page.margin.inner"/>
92
+ <xsl:if test="$fop.extensions != 0">
93
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
94
+ </xsl:if>
95
+ </xsl:attribute>
96
+ <xsl:attribute name="margin-{$direction.align.end}">
97
+ <xsl:value-of select="$page.margin.outer"/>
98
+ </xsl:attribute>
99
+ <xsl:if test="$axf.extensions != 0">
100
+ <xsl:call-template name="axf-page-master-properties">
101
+ <xsl:with-param name="page.master">titlepage-first</xsl:with-param>
102
+ </xsl:call-template>
103
+ </xsl:if>
104
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
105
+ margin-top="{$body.margin.top}"
106
+ column-gap="{$column.gap.titlepage}"
107
+ column-count="{$column.count.titlepage}">
108
+ </fo:region-body>
109
+ <fo:region-before region-name="xsl-region-before-first"
110
+ extent="{$region.before.extent}"
111
+ display-align="before"/>
112
+ <fo:region-after region-name="xsl-region-after-first"
113
+ extent="{$region.after.extent}"
114
+ display-align="after"/>
115
+ </fo:simple-page-master>
116
+
117
+ <fo:simple-page-master master-name="titlepage-odd"
118
+ page-width="{$page.width}"
119
+ page-height="{$page.height}"
120
+ margin-top="{$page.margin.top}"
121
+ margin-bottom="{$page.margin.bottom}">
122
+ <xsl:attribute name="margin-{$direction.align.start}">
123
+ <xsl:value-of select="$page.margin.inner"/>
124
+ <xsl:if test="$fop.extensions != 0">
125
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
126
+ </xsl:if>
127
+ </xsl:attribute>
128
+ <xsl:attribute name="margin-{$direction.align.end}">
129
+ <xsl:value-of select="$page.margin.outer"/>
130
+ </xsl:attribute>
131
+ <xsl:if test="$axf.extensions != 0">
132
+ <xsl:call-template name="axf-page-master-properties">
133
+ <xsl:with-param name="page.master">titlepage-odd</xsl:with-param>
134
+ </xsl:call-template>
135
+ </xsl:if>
136
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
137
+ margin-top="{$body.margin.top}"
138
+ column-gap="{$column.gap.titlepage}"
139
+ column-count="{$column.count.titlepage}">
140
+ </fo:region-body>
141
+ <fo:region-before region-name="xsl-region-before-odd"
142
+ extent="{$region.before.extent}"
143
+ display-align="before"/>
144
+ <fo:region-after region-name="xsl-region-after-odd"
145
+ extent="{$region.after.extent}"
146
+ display-align="after"/>
147
+ </fo:simple-page-master>
148
+
149
+ <fo:simple-page-master master-name="titlepage-even"
150
+ page-width="{$page.width}"
151
+ page-height="{$page.height}"
152
+ margin-top="{$page.margin.top}"
153
+ margin-bottom="{$page.margin.bottom}">
154
+ <xsl:attribute name="margin-{$direction.align.start}">
155
+ <xsl:value-of select="$page.margin.outer"/>
156
+ <xsl:if test="$fop.extensions != 0">
157
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
158
+ </xsl:if>
159
+ </xsl:attribute>
160
+ <xsl:attribute name="margin-{$direction.align.end}">
161
+ <xsl:value-of select="$page.margin.inner"/>
162
+ </xsl:attribute>
163
+ <xsl:if test="$axf.extensions != 0">
164
+ <xsl:call-template name="axf-page-master-properties">
165
+ <xsl:with-param name="page.master">titlepage-even</xsl:with-param>
166
+ </xsl:call-template>
167
+ </xsl:if>
168
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
169
+ margin-top="{$body.margin.top}"
170
+ column-gap="{$column.gap.titlepage}"
171
+ column-count="{$column.count.titlepage}">
172
+ </fo:region-body>
173
+ <fo:region-before region-name="xsl-region-before-even"
174
+ extent="{$region.before.extent}"
175
+ display-align="before"/>
176
+ <fo:region-after region-name="xsl-region-after-even"
177
+ extent="{$region.after.extent}"
178
+ display-align="after"/>
179
+ </fo:simple-page-master>
180
+
181
+ <!-- list-of-title pages -->
182
+ <fo:simple-page-master master-name="lot-first"
183
+ page-width="{$page.width}"
184
+ page-height="{$page.height}"
185
+ margin-top="{$page.margin.top}"
186
+ margin-bottom="{$page.margin.bottom}">
187
+ <xsl:attribute name="margin-{$direction.align.start}">
188
+ <xsl:value-of select="$page.margin.inner"/>
189
+ <xsl:if test="$fop.extensions != 0">
190
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
191
+ </xsl:if>
192
+ </xsl:attribute>
193
+ <xsl:attribute name="margin-{$direction.align.end}">
194
+ <xsl:value-of select="$page.margin.outer"/>
195
+ </xsl:attribute>
196
+ <xsl:if test="$axf.extensions != 0">
197
+ <xsl:call-template name="axf-page-master-properties">
198
+ <xsl:with-param name="page.master">lot-first</xsl:with-param>
199
+ </xsl:call-template>
200
+ </xsl:if>
201
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
202
+ margin-top="{$body.margin.top}"
203
+ column-gap="{$column.gap.lot}"
204
+ column-count="{$column.count.lot}">
205
+ </fo:region-body>
206
+ <fo:region-before region-name="xsl-region-before-first"
207
+ extent="{$region.before.extent}"
208
+ display-align="before"/>
209
+ <fo:region-after region-name="xsl-region-after-first"
210
+ extent="{$region.after.extent}"
211
+ display-align="after"/>
212
+ </fo:simple-page-master>
213
+
214
+ <fo:simple-page-master master-name="lot-odd"
215
+ page-width="{$page.width}"
216
+ page-height="{$page.height}"
217
+ margin-top="{$page.margin.top}"
218
+ margin-bottom="{$page.margin.bottom}">
219
+ <xsl:attribute name="margin-{$direction.align.start}">
220
+ <xsl:value-of select="$page.margin.inner"/>
221
+ <xsl:if test="$fop.extensions != 0">
222
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
223
+ </xsl:if>
224
+ </xsl:attribute>
225
+ <xsl:attribute name="margin-{$direction.align.end}">
226
+ <xsl:value-of select="$page.margin.outer"/>
227
+ </xsl:attribute>
228
+ <xsl:if test="$axf.extensions != 0">
229
+ <xsl:call-template name="axf-page-master-properties">
230
+ <xsl:with-param name="page.master">lot-odd</xsl:with-param>
231
+ </xsl:call-template>
232
+ </xsl:if>
233
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
234
+ margin-top="{$body.margin.top}"
235
+ column-gap="{$column.gap.lot}"
236
+ column-count="{$column.count.lot}">
237
+ </fo:region-body>
238
+ <fo:region-before region-name="xsl-region-before-odd"
239
+ extent="{$region.before.extent}"
240
+ display-align="before"/>
241
+ <fo:region-after region-name="xsl-region-after-odd"
242
+ extent="{$region.after.extent}"
243
+ display-align="after"/>
244
+ </fo:simple-page-master>
245
+
246
+ <fo:simple-page-master master-name="lot-even"
247
+ page-width="{$page.width}"
248
+ page-height="{$page.height}"
249
+ margin-top="{$page.margin.top}"
250
+ margin-bottom="{$page.margin.bottom}">
251
+ <xsl:attribute name="margin-{$direction.align.start}">
252
+ <xsl:value-of select="$page.margin.outer"/>
253
+ <xsl:if test="$fop.extensions != 0">
254
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
255
+ </xsl:if>
256
+ </xsl:attribute>
257
+ <xsl:attribute name="margin-{$direction.align.end}">
258
+ <xsl:value-of select="$page.margin.inner"/>
259
+ </xsl:attribute>
260
+ <xsl:if test="$axf.extensions != 0">
261
+ <xsl:call-template name="axf-page-master-properties">
262
+ <xsl:with-param name="page.master">lot-even</xsl:with-param>
263
+ </xsl:call-template>
264
+ </xsl:if>
265
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
266
+ margin-top="{$body.margin.top}"
267
+ column-gap="{$column.gap.lot}"
268
+ column-count="{$column.count.lot}">
269
+ </fo:region-body>
270
+ <fo:region-before region-name="xsl-region-before-even"
271
+ extent="{$region.before.extent}"
272
+ display-align="before"/>
273
+ <fo:region-after region-name="xsl-region-after-even"
274
+ extent="{$region.after.extent}"
275
+ display-align="after"/>
276
+ </fo:simple-page-master>
277
+
278
+ <!-- frontmatter pages -->
279
+ <fo:simple-page-master master-name="front-first"
280
+ page-width="{$page.width}"
281
+ page-height="{$page.height}"
282
+ margin-top="{$page.margin.top}"
283
+ margin-bottom="{$page.margin.bottom}">
284
+ <xsl:attribute name="margin-{$direction.align.start}">
285
+ <xsl:value-of select="$page.margin.inner"/>
286
+ <xsl:if test="$fop.extensions != 0">
287
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
288
+ </xsl:if>
289
+ </xsl:attribute>
290
+ <xsl:attribute name="margin-{$direction.align.end}">
291
+ <xsl:value-of select="$page.margin.outer"/>
292
+ </xsl:attribute>
293
+ <xsl:if test="$axf.extensions != 0">
294
+ <xsl:call-template name="axf-page-master-properties">
295
+ <xsl:with-param name="page.master">front-first</xsl:with-param>
296
+ </xsl:call-template>
297
+ </xsl:if>
298
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
299
+ margin-top="{$body.margin.top}"
300
+ column-gap="{$column.gap.front}"
301
+ column-count="{$column.count.front}">
302
+ </fo:region-body>
303
+ <fo:region-before region-name="xsl-region-before-first"
304
+ extent="{$region.before.extent}"
305
+ display-align="before"/>
306
+ <fo:region-after region-name="xsl-region-after-first"
307
+ extent="{$region.after.extent}"
308
+ display-align="after"/>
309
+ </fo:simple-page-master>
310
+
311
+ <fo:simple-page-master master-name="front-odd"
312
+ page-width="{$page.width}"
313
+ page-height="{$page.height}"
314
+ margin-top="{$page.margin.top}"
315
+ margin-bottom="{$page.margin.bottom}">
316
+ <xsl:attribute name="margin-{$direction.align.start}">
317
+ <xsl:value-of select="$page.margin.inner"/>
318
+ <xsl:if test="$fop.extensions != 0">
319
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
320
+ </xsl:if>
321
+ </xsl:attribute>
322
+ <xsl:attribute name="margin-{$direction.align.end}">
323
+ <xsl:value-of select="$page.margin.outer"/>
324
+ </xsl:attribute>
325
+ <xsl:if test="$axf.extensions != 0">
326
+ <xsl:call-template name="axf-page-master-properties">
327
+ <xsl:with-param name="page.master">front-odd</xsl:with-param>
328
+ </xsl:call-template>
329
+ </xsl:if>
330
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
331
+ margin-top="{$body.margin.top}"
332
+ column-gap="{$column.gap.front}"
333
+ column-count="{$column.count.front}">
334
+ </fo:region-body>
335
+ <fo:region-before region-name="xsl-region-before-odd"
336
+ extent="{$region.before.extent}"
337
+ display-align="before"/>
338
+ <fo:region-after region-name="xsl-region-after-odd"
339
+ extent="{$region.after.extent}"
340
+ display-align="after"/>
341
+ </fo:simple-page-master>
342
+
343
+ <fo:simple-page-master master-name="front-even"
344
+ page-width="{$page.width}"
345
+ page-height="{$page.height}"
346
+ margin-top="{$page.margin.top}"
347
+ margin-bottom="{$page.margin.bottom}">
348
+ <xsl:attribute name="margin-{$direction.align.start}">
349
+ <xsl:value-of select="$page.margin.outer"/>
350
+ <xsl:if test="$fop.extensions != 0">
351
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
352
+ </xsl:if>
353
+ </xsl:attribute>
354
+ <xsl:attribute name="margin-{$direction.align.end}">
355
+ <xsl:value-of select="$page.margin.inner"/>
356
+ </xsl:attribute>
357
+ <xsl:if test="$axf.extensions != 0">
358
+ <xsl:call-template name="axf-page-master-properties">
359
+ <xsl:with-param name="page.master">front-even</xsl:with-param>
360
+ </xsl:call-template>
361
+ </xsl:if>
362
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
363
+ margin-top="{$body.margin.top}"
364
+ column-gap="{$column.gap.front}"
365
+ column-count="{$column.count.front}">
366
+ </fo:region-body>
367
+ <fo:region-before region-name="xsl-region-before-even"
368
+ extent="{$region.before.extent}"
369
+ display-align="before"/>
370
+ <fo:region-after region-name="xsl-region-after-even"
371
+ extent="{$region.after.extent}"
372
+ display-align="after"/>
373
+ </fo:simple-page-master>
374
+
375
+ <!-- body pages -->
376
+ <fo:simple-page-master master-name="body-first"
377
+ page-width="{$page.width}"
378
+ page-height="{$page.height}"
379
+ margin-top="{$page.margin.top}"
380
+ margin-bottom="{$page.margin.bottom}">
381
+ <xsl:attribute name="margin-{$direction.align.start}">
382
+ <xsl:value-of select="$page.margin.inner"/>
383
+ <xsl:if test="$fop.extensions != 0">
384
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
385
+ </xsl:if>
386
+ <xsl:if test="$fop.extensions != 0">
387
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
388
+ </xsl:if>
389
+ </xsl:attribute>
390
+ <xsl:attribute name="margin-{$direction.align.end}">
391
+ <xsl:value-of select="$page.margin.outer"/>
392
+ </xsl:attribute>
393
+ <xsl:if test="$axf.extensions != 0">
394
+ <xsl:call-template name="axf-page-master-properties">
395
+ <xsl:with-param name="page.master">body-first</xsl:with-param>
396
+ </xsl:call-template>
397
+ </xsl:if>
398
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
399
+ margin-top="{$body.margin.top}"
400
+ column-gap="{$column.gap.body}"
401
+ column-count="{$column.count.body}">
402
+ </fo:region-body>
403
+ <fo:region-before region-name="xsl-region-before-first"
404
+ extent="{$region.before.extent}"
405
+ display-align="before"/>
406
+ <fo:region-after region-name="xsl-region-after-first"
407
+ extent="{$region.after.extent}"
408
+ display-align="after"/>
409
+ </fo:simple-page-master>
410
+
411
+ <fo:simple-page-master master-name="body-odd"
412
+ page-width="{$page.width}"
413
+ page-height="{$page.height}"
414
+ margin-top="{$page.margin.top}"
415
+ margin-bottom="{$page.margin.bottom}">
416
+ <xsl:attribute name="margin-{$direction.align.start}">
417
+ <xsl:value-of select="$page.margin.inner"/>
418
+ <xsl:if test="$fop.extensions != 0">
419
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
420
+ </xsl:if>
421
+ </xsl:attribute>
422
+ <xsl:attribute name="margin-{$direction.align.end}">
423
+ <xsl:value-of select="$page.margin.outer"/>
424
+ </xsl:attribute>
425
+ <xsl:if test="$axf.extensions != 0">
426
+ <xsl:call-template name="axf-page-master-properties">
427
+ <xsl:with-param name="page.master">body-odd</xsl:with-param>
428
+ </xsl:call-template>
429
+ </xsl:if>
430
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
431
+ margin-top="{$body.margin.top}"
432
+ column-gap="{$column.gap.body}"
433
+ column-count="{$column.count.body}">
434
+ </fo:region-body>
435
+ <fo:region-before region-name="xsl-region-before-odd"
436
+ extent="{$region.before.extent}"
437
+ display-align="before"/>
438
+ <fo:region-after region-name="xsl-region-after-odd"
439
+ extent="{$region.after.extent}"
440
+ display-align="after"/>
441
+ </fo:simple-page-master>
442
+
443
+ <fo:simple-page-master master-name="body-even"
444
+ page-width="{$page.width}"
445
+ page-height="{$page.height}"
446
+ margin-top="{$page.margin.top}"
447
+ margin-bottom="{$page.margin.bottom}">
448
+ <xsl:attribute name="margin-{$direction.align.start}">
449
+ <xsl:value-of select="$page.margin.outer"/>
450
+ <xsl:if test="$fop.extensions != 0">
451
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
452
+ </xsl:if>
453
+ </xsl:attribute>
454
+ <xsl:attribute name="margin-{$direction.align.end}">
455
+ <xsl:value-of select="$page.margin.inner"/>
456
+ </xsl:attribute>
457
+ <xsl:if test="$axf.extensions != 0">
458
+ <xsl:call-template name="axf-page-master-properties">
459
+ <xsl:with-param name="page.master">body-even</xsl:with-param>
460
+ </xsl:call-template>
461
+ </xsl:if>
462
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
463
+ margin-top="{$body.margin.top}"
464
+ column-gap="{$column.gap.body}"
465
+ column-count="{$column.count.body}">
466
+ </fo:region-body>
467
+ <fo:region-before region-name="xsl-region-before-even"
468
+ extent="{$region.before.extent}"
469
+ display-align="before"/>
470
+ <fo:region-after region-name="xsl-region-after-even"
471
+ extent="{$region.after.extent}"
472
+ display-align="after"/>
473
+ </fo:simple-page-master>
474
+
475
+ <!-- backmatter pages -->
476
+ <fo:simple-page-master master-name="back-first"
477
+ page-width="{$page.width}"
478
+ page-height="{$page.height}"
479
+ margin-top="{$page.margin.top}"
480
+ margin-bottom="{$page.margin.bottom}">
481
+ <xsl:attribute name="margin-{$direction.align.start}">
482
+ <xsl:value-of select="$page.margin.inner"/>
483
+ <xsl:if test="$fop.extensions != 0">
484
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
485
+ </xsl:if>
486
+ </xsl:attribute>
487
+ <xsl:attribute name="margin-{$direction.align.end}">
488
+ <xsl:value-of select="$page.margin.outer"/>
489
+ </xsl:attribute>
490
+ <xsl:if test="$axf.extensions != 0">
491
+ <xsl:call-template name="axf-page-master-properties">
492
+ <xsl:with-param name="page.master">back-first</xsl:with-param>
493
+ </xsl:call-template>
494
+ </xsl:if>
495
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
496
+ margin-top="{$body.margin.top}"
497
+ column-gap="{$column.gap.back}"
498
+ column-count="{$column.count.back}">
499
+ </fo:region-body>
500
+ <fo:region-before region-name="xsl-region-before-first"
501
+ extent="{$region.before.extent}"
502
+ display-align="before"/>
503
+ <fo:region-after region-name="xsl-region-after-first"
504
+ extent="{$region.after.extent}"
505
+ display-align="after"/>
506
+ </fo:simple-page-master>
507
+
508
+ <fo:simple-page-master master-name="back-odd"
509
+ page-width="{$page.width}"
510
+ page-height="{$page.height}"
511
+ margin-top="{$page.margin.top}"
512
+ margin-bottom="{$page.margin.bottom}">
513
+ <xsl:attribute name="margin-{$direction.align.start}">
514
+ <xsl:value-of select="$page.margin.inner"/>
515
+ <xsl:if test="$fop.extensions != 0">
516
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
517
+ </xsl:if>
518
+ </xsl:attribute>
519
+ <xsl:attribute name="margin-{$direction.align.end}">
520
+ <xsl:value-of select="$page.margin.outer"/>
521
+ </xsl:attribute>
522
+ <xsl:if test="$axf.extensions != 0">
523
+ <xsl:call-template name="axf-page-master-properties">
524
+ <xsl:with-param name="page.master">back-odd</xsl:with-param>
525
+ </xsl:call-template>
526
+ </xsl:if>
527
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
528
+ margin-top="{$body.margin.top}"
529
+ column-gap="{$column.gap.back}"
530
+ column-count="{$column.count.back}">
531
+ </fo:region-body>
532
+ <fo:region-before region-name="xsl-region-before-odd"
533
+ extent="{$region.before.extent}"
534
+ display-align="before"/>
535
+ <fo:region-after region-name="xsl-region-after-odd"
536
+ extent="{$region.after.extent}"
537
+ display-align="after"/>
538
+ </fo:simple-page-master>
539
+
540
+ <fo:simple-page-master master-name="back-even"
541
+ page-width="{$page.width}"
542
+ page-height="{$page.height}"
543
+ margin-top="{$page.margin.top}"
544
+ margin-bottom="{$page.margin.bottom}">
545
+ <xsl:attribute name="margin-{$direction.align.start}">
546
+ <xsl:value-of select="$page.margin.outer"/>
547
+ <xsl:if test="$fop.extensions != 0">
548
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
549
+ </xsl:if>
550
+ </xsl:attribute>
551
+ <xsl:attribute name="margin-{$direction.align.end}">
552
+ <xsl:value-of select="$page.margin.inner"/>
553
+ </xsl:attribute>
554
+ <xsl:if test="$axf.extensions != 0">
555
+ <xsl:call-template name="axf-page-master-properties">
556
+ <xsl:with-param name="page.master">back-even</xsl:with-param>
557
+ </xsl:call-template>
558
+ </xsl:if>
559
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
560
+ margin-top="{$body.margin.top}"
561
+ column-gap="{$column.gap.back}"
562
+ column-count="{$column.count.back}">
563
+ </fo:region-body>
564
+ <fo:region-before region-name="xsl-region-before-even"
565
+ extent="{$region.before.extent}"
566
+ display-align="before"/>
567
+ <fo:region-after region-name="xsl-region-after-even"
568
+ extent="{$region.after.extent}"
569
+ display-align="after"/>
570
+ </fo:simple-page-master>
571
+
572
+ <!-- index pages -->
573
+ <fo:simple-page-master master-name="index-first"
574
+ page-width="{$page.width}"
575
+ page-height="{$page.height}"
576
+ margin-top="{$page.margin.top}"
577
+ margin-bottom="{$page.margin.bottom}">
578
+ <xsl:attribute name="margin-{$direction.align.start}">
579
+ <xsl:value-of select="$page.margin.inner"/>
580
+ <xsl:if test="$fop.extensions != 0">
581
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
582
+ </xsl:if>
583
+ </xsl:attribute>
584
+ <xsl:attribute name="margin-{$direction.align.end}">
585
+ <xsl:value-of select="$page.margin.outer"/>
586
+ </xsl:attribute>
587
+ <xsl:if test="$axf.extensions != 0">
588
+ <xsl:call-template name="axf-page-master-properties">
589
+ <xsl:with-param name="page.master">index-first</xsl:with-param>
590
+ </xsl:call-template>
591
+ </xsl:if>
592
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
593
+ margin-top="{$body.margin.top}"
594
+ column-gap="{$column.gap.index}"
595
+ column-count="{$column.count.index}">
596
+ </fo:region-body>
597
+ <fo:region-before region-name="xsl-region-before-first"
598
+ extent="{$region.before.extent}"
599
+ display-align="before"/>
600
+ <fo:region-after region-name="xsl-region-after-first"
601
+ extent="{$region.after.extent}"
602
+ display-align="after"/>
603
+ </fo:simple-page-master>
604
+
605
+ <fo:simple-page-master master-name="index-odd"
606
+ page-width="{$page.width}"
607
+ page-height="{$page.height}"
608
+ margin-top="{$page.margin.top}"
609
+ margin-bottom="{$page.margin.bottom}">
610
+ <xsl:attribute name="margin-{$direction.align.start}">
611
+ <xsl:value-of select="$page.margin.inner"/>
612
+ <xsl:if test="$fop.extensions != 0">
613
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
614
+ </xsl:if>
615
+ </xsl:attribute>
616
+ <xsl:attribute name="margin-{$direction.align.end}">
617
+ <xsl:value-of select="$page.margin.outer"/>
618
+ </xsl:attribute>
619
+ <xsl:if test="$axf.extensions != 0">
620
+ <xsl:call-template name="axf-page-master-properties">
621
+ <xsl:with-param name="page.master">index-odd</xsl:with-param>
622
+ </xsl:call-template>
623
+ </xsl:if>
624
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
625
+ margin-top="{$body.margin.top}"
626
+ column-gap="{$column.gap.index}"
627
+ column-count="{$column.count.index}">
628
+ </fo:region-body>
629
+ <fo:region-before region-name="xsl-region-before-odd"
630
+ extent="{$region.before.extent}"
631
+ display-align="before"/>
632
+ <fo:region-after region-name="xsl-region-after-odd"
633
+ extent="{$region.after.extent}"
634
+ display-align="after"/>
635
+ </fo:simple-page-master>
636
+
637
+ <fo:simple-page-master master-name="index-even"
638
+ page-width="{$page.width}"
639
+ page-height="{$page.height}"
640
+ margin-top="{$page.margin.top}"
641
+ margin-bottom="{$page.margin.bottom}">
642
+ <xsl:attribute name="margin-{$direction.align.start}">
643
+ <xsl:value-of select="$page.margin.outer"/>
644
+ <xsl:if test="$fop.extensions != 0">
645
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
646
+ </xsl:if>
647
+ </xsl:attribute>
648
+ <xsl:attribute name="margin-{$direction.align.end}">
649
+ <xsl:value-of select="$page.margin.inner"/>
650
+ </xsl:attribute>
651
+ <xsl:if test="$axf.extensions != 0">
652
+ <xsl:call-template name="axf-page-master-properties">
653
+ <xsl:with-param name="page.master">index-even</xsl:with-param>
654
+ </xsl:call-template>
655
+ </xsl:if>
656
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
657
+ margin-top="{$body.margin.top}"
658
+ column-gap="{$column.gap.index}"
659
+ column-count="{$column.count.index}">
660
+ </fo:region-body>
661
+ <fo:region-before region-name="xsl-region-before-even"
662
+ extent="{$region.before.extent}"
663
+ display-align="before"/>
664
+ <fo:region-after region-name="xsl-region-after-even"
665
+ extent="{$region.after.extent}"
666
+ display-align="after"/>
667
+ </fo:simple-page-master>
668
+
669
+ <xsl:if test="$draft.mode != 'no'">
670
+ <!-- draft blank pages -->
671
+ <fo:simple-page-master master-name="blank-draft"
672
+ page-width="{$page.width}"
673
+ page-height="{$page.height}"
674
+ margin-top="{$page.margin.top}"
675
+ margin-bottom="{$page.margin.bottom}">
676
+ <xsl:attribute name="margin-{$direction.align.start}">
677
+ <xsl:value-of select="$page.margin.outer"/>
678
+ <xsl:if test="$fop.extensions != 0">
679
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
680
+ </xsl:if>
681
+ </xsl:attribute>
682
+ <xsl:attribute name="margin-{$direction.align.end}">
683
+ <xsl:value-of select="$page.margin.inner"/>
684
+ </xsl:attribute>
685
+ <xsl:if test="$axf.extensions != 0">
686
+ <xsl:call-template name="axf-page-master-properties">
687
+ <xsl:with-param name="page.master">blank-draft</xsl:with-param>
688
+ </xsl:call-template>
689
+ </xsl:if>
690
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
691
+ margin-top="{$body.margin.top}">
692
+ <xsl:if test="$draft.watermark.image != ''">
693
+ <xsl:attribute name="background-image">
694
+ <xsl:call-template name="fo-external-image">
695
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
696
+ </xsl:call-template>
697
+ </xsl:attribute>
698
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
699
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
700
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
701
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
702
+ </xsl:if>
703
+ </fo:region-body>
704
+ <fo:region-before region-name="xsl-region-before-blank"
705
+ extent="{$region.before.extent}"
706
+ display-align="before"/>
707
+ <fo:region-after region-name="xsl-region-after-blank"
708
+ extent="{$region.after.extent}"
709
+ display-align="after"/>
710
+ </fo:simple-page-master>
711
+
712
+ <!-- draft title pages -->
713
+ <fo:simple-page-master master-name="titlepage-first-draft"
714
+ page-width="{$page.width}"
715
+ page-height="{$page.height}"
716
+ margin-top="{$page.margin.top}"
717
+ margin-bottom="{$page.margin.bottom}">
718
+ <xsl:attribute name="margin-{$direction.align.start}">
719
+ <xsl:value-of select="$page.margin.inner"/>
720
+ <xsl:if test="$fop.extensions != 0">
721
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
722
+ </xsl:if>
723
+ </xsl:attribute>
724
+ <xsl:attribute name="margin-{$direction.align.end}">
725
+ <xsl:value-of select="$page.margin.outer"/>
726
+ </xsl:attribute>
727
+ <xsl:if test="$axf.extensions != 0">
728
+ <xsl:call-template name="axf-page-master-properties">
729
+ <xsl:with-param name="page.master">titlepage-first-draft</xsl:with-param>
730
+ </xsl:call-template>
731
+ </xsl:if>
732
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
733
+ margin-top="{$body.margin.top}"
734
+ column-gap="{$column.gap.titlepage}"
735
+ column-count="{$column.count.titlepage}">
736
+ <xsl:if test="$draft.watermark.image != ''">
737
+ <xsl:attribute name="background-image">
738
+ <xsl:call-template name="fo-external-image">
739
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
740
+ </xsl:call-template>
741
+ </xsl:attribute>
742
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
743
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
744
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
745
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
746
+ </xsl:if>
747
+ </fo:region-body>
748
+ <fo:region-before region-name="xsl-region-before-first"
749
+ extent="{$region.before.extent}"
750
+ display-align="before"/>
751
+ <fo:region-after region-name="xsl-region-after-first"
752
+ extent="{$region.after.extent}"
753
+ display-align="after"/>
754
+ </fo:simple-page-master>
755
+
756
+ <fo:simple-page-master master-name="titlepage-odd-draft"
757
+ page-width="{$page.width}"
758
+ page-height="{$page.height}"
759
+ margin-top="{$page.margin.top}"
760
+ margin-bottom="{$page.margin.bottom}">
761
+ <xsl:attribute name="margin-{$direction.align.start}">
762
+ <xsl:value-of select="$page.margin.inner"/>
763
+ <xsl:if test="$fop.extensions != 0">
764
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
765
+ </xsl:if>
766
+ </xsl:attribute>
767
+ <xsl:attribute name="margin-{$direction.align.end}">
768
+ <xsl:value-of select="$page.margin.outer"/>
769
+ </xsl:attribute>
770
+ <xsl:if test="$axf.extensions != 0">
771
+ <xsl:call-template name="axf-page-master-properties">
772
+ <xsl:with-param name="page.master">titlepage-odd-draft</xsl:with-param>
773
+ </xsl:call-template>
774
+ </xsl:if>
775
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
776
+ margin-top="{$body.margin.top}"
777
+ column-gap="{$column.gap.titlepage}"
778
+ column-count="{$column.count.titlepage}">
779
+ <xsl:if test="$draft.watermark.image != ''">
780
+ <xsl:attribute name="background-image">
781
+ <xsl:call-template name="fo-external-image">
782
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
783
+ </xsl:call-template>
784
+ </xsl:attribute>
785
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
786
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
787
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
788
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
789
+ </xsl:if>
790
+ </fo:region-body>
791
+ <fo:region-before region-name="xsl-region-before-odd"
792
+ extent="{$region.before.extent}"
793
+ display-align="before"/>
794
+ <fo:region-after region-name="xsl-region-after-odd"
795
+ extent="{$region.after.extent}"
796
+ display-align="after"/>
797
+ </fo:simple-page-master>
798
+
799
+ <fo:simple-page-master master-name="titlepage-even-draft"
800
+ page-width="{$page.width}"
801
+ page-height="{$page.height}"
802
+ margin-top="{$page.margin.top}"
803
+ margin-bottom="{$page.margin.bottom}">
804
+ <xsl:attribute name="margin-{$direction.align.start}">
805
+ <xsl:value-of select="$page.margin.outer"/>
806
+ <xsl:if test="$fop.extensions != 0">
807
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
808
+ </xsl:if>
809
+ </xsl:attribute>
810
+ <xsl:attribute name="margin-{$direction.align.end}">
811
+ <xsl:value-of select="$page.margin.inner"/>
812
+ </xsl:attribute>
813
+ <xsl:if test="$axf.extensions != 0">
814
+ <xsl:call-template name="axf-page-master-properties">
815
+ <xsl:with-param name="page.master">titlepage-even-draft</xsl:with-param>
816
+ </xsl:call-template>
817
+ </xsl:if>
818
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
819
+ margin-top="{$body.margin.top}"
820
+ column-gap="{$column.gap.titlepage}"
821
+ column-count="{$column.count.titlepage}">
822
+ <xsl:if test="$draft.watermark.image != ''">
823
+ <xsl:attribute name="background-image">
824
+ <xsl:call-template name="fo-external-image">
825
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
826
+ </xsl:call-template>
827
+ </xsl:attribute>
828
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
829
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
830
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
831
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
832
+ </xsl:if>
833
+ </fo:region-body>
834
+ <fo:region-before region-name="xsl-region-before-even"
835
+ extent="{$region.before.extent}"
836
+ display-align="before"/>
837
+ <fo:region-after region-name="xsl-region-after-even"
838
+ extent="{$region.after.extent}"
839
+ display-align="after"/>
840
+ </fo:simple-page-master>
841
+
842
+ <!-- draft list-of-title pages -->
843
+ <fo:simple-page-master master-name="lot-first-draft"
844
+ page-width="{$page.width}"
845
+ page-height="{$page.height}"
846
+ margin-top="{$page.margin.top}"
847
+ margin-bottom="{$page.margin.bottom}">
848
+ <xsl:attribute name="margin-{$direction.align.start}">
849
+ <xsl:value-of select="$page.margin.inner"/>
850
+ <xsl:if test="$fop.extensions != 0">
851
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
852
+ </xsl:if>
853
+ </xsl:attribute>
854
+ <xsl:attribute name="margin-{$direction.align.end}">
855
+ <xsl:value-of select="$page.margin.outer"/>
856
+ </xsl:attribute>
857
+ <xsl:if test="$axf.extensions != 0">
858
+ <xsl:call-template name="axf-page-master-properties">
859
+ <xsl:with-param name="page.master">lot-first-draft</xsl:with-param>
860
+ </xsl:call-template>
861
+ </xsl:if>
862
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
863
+ margin-top="{$body.margin.top}"
864
+ column-gap="{$column.gap.lot}"
865
+ column-count="{$column.count.lot}">
866
+ <xsl:if test="$draft.watermark.image != ''">
867
+ <xsl:attribute name="background-image">
868
+ <xsl:call-template name="fo-external-image">
869
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
870
+ </xsl:call-template>
871
+ </xsl:attribute>
872
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
873
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
874
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
875
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
876
+ </xsl:if>
877
+ </fo:region-body>
878
+ <fo:region-before region-name="xsl-region-before-first"
879
+ extent="{$region.before.extent}"
880
+ display-align="before"/>
881
+ <fo:region-after region-name="xsl-region-after-first"
882
+ extent="{$region.after.extent}"
883
+ display-align="after"/>
884
+ </fo:simple-page-master>
885
+
886
+ <fo:simple-page-master master-name="lot-odd-draft"
887
+ page-width="{$page.width}"
888
+ page-height="{$page.height}"
889
+ margin-top="{$page.margin.top}"
890
+ margin-bottom="{$page.margin.bottom}">
891
+ <xsl:attribute name="margin-{$direction.align.start}">
892
+ <xsl:value-of select="$page.margin.inner"/>
893
+ <xsl:if test="$fop.extensions != 0">
894
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
895
+ </xsl:if>
896
+ </xsl:attribute>
897
+ <xsl:attribute name="margin-{$direction.align.end}">
898
+ <xsl:value-of select="$page.margin.outer"/>
899
+ </xsl:attribute>
900
+ <xsl:if test="$axf.extensions != 0">
901
+ <xsl:call-template name="axf-page-master-properties">
902
+ <xsl:with-param name="page.master">lot-odd-draft</xsl:with-param>
903
+ </xsl:call-template>
904
+ </xsl:if>
905
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
906
+ margin-top="{$body.margin.top}"
907
+ column-gap="{$column.gap.lot}"
908
+ column-count="{$column.count.lot}">
909
+ <xsl:if test="$draft.watermark.image != ''">
910
+ <xsl:attribute name="background-image">
911
+ <xsl:call-template name="fo-external-image">
912
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
913
+ </xsl:call-template>
914
+ </xsl:attribute>
915
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
916
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
917
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
918
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
919
+ </xsl:if>
920
+ </fo:region-body>
921
+ <fo:region-before region-name="xsl-region-before-odd"
922
+ extent="{$region.before.extent}"
923
+ display-align="before"/>
924
+ <fo:region-after region-name="xsl-region-after-odd"
925
+ extent="{$region.after.extent}"
926
+ display-align="after"/>
927
+ </fo:simple-page-master>
928
+
929
+ <fo:simple-page-master master-name="lot-even-draft"
930
+ page-width="{$page.width}"
931
+ page-height="{$page.height}"
932
+ margin-top="{$page.margin.top}"
933
+ margin-bottom="{$page.margin.bottom}">
934
+ <xsl:attribute name="margin-{$direction.align.start}">
935
+ <xsl:value-of select="$page.margin.outer"/>
936
+ <xsl:if test="$fop.extensions != 0">
937
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
938
+ </xsl:if>
939
+ </xsl:attribute>
940
+ <xsl:attribute name="margin-{$direction.align.end}">
941
+ <xsl:value-of select="$page.margin.inner"/>
942
+ </xsl:attribute>
943
+ <xsl:if test="$axf.extensions != 0">
944
+ <xsl:call-template name="axf-page-master-properties">
945
+ <xsl:with-param name="page.master">lot-even-draft</xsl:with-param>
946
+ </xsl:call-template>
947
+ </xsl:if>
948
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
949
+ margin-top="{$body.margin.top}"
950
+ column-gap="{$column.gap.lot}"
951
+ column-count="{$column.count.lot}">
952
+ <xsl:if test="$draft.watermark.image != ''">
953
+ <xsl:attribute name="background-image">
954
+ <xsl:call-template name="fo-external-image">
955
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
956
+ </xsl:call-template>
957
+ </xsl:attribute>
958
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
959
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
960
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
961
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
962
+ </xsl:if>
963
+ </fo:region-body>
964
+ <fo:region-before region-name="xsl-region-before-even"
965
+ extent="{$region.before.extent}"
966
+ display-align="before"/>
967
+ <fo:region-after region-name="xsl-region-after-even"
968
+ extent="{$region.after.extent}"
969
+ display-align="after"/>
970
+ </fo:simple-page-master>
971
+
972
+ <!-- draft frontmatter pages -->
973
+ <fo:simple-page-master master-name="front-first-draft"
974
+ page-width="{$page.width}"
975
+ page-height="{$page.height}"
976
+ margin-top="{$page.margin.top}"
977
+ margin-bottom="{$page.margin.bottom}">
978
+ <xsl:attribute name="margin-{$direction.align.start}">
979
+ <xsl:value-of select="$page.margin.inner"/>
980
+ <xsl:if test="$fop.extensions != 0">
981
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
982
+ </xsl:if>
983
+ </xsl:attribute>
984
+ <xsl:attribute name="margin-{$direction.align.end}">
985
+ <xsl:value-of select="$page.margin.outer"/>
986
+ </xsl:attribute>
987
+ <xsl:if test="$axf.extensions != 0">
988
+ <xsl:call-template name="axf-page-master-properties">
989
+ <xsl:with-param name="page.master">front-first-draft</xsl:with-param>
990
+ </xsl:call-template>
991
+ </xsl:if>
992
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
993
+ margin-top="{$body.margin.top}"
994
+ column-gap="{$column.gap.front}"
995
+ column-count="{$column.count.front}">
996
+ <xsl:if test="$draft.watermark.image != ''">
997
+ <xsl:attribute name="background-image">
998
+ <xsl:call-template name="fo-external-image">
999
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1000
+ </xsl:call-template>
1001
+ </xsl:attribute>
1002
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1003
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1004
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1005
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1006
+ </xsl:if>
1007
+ </fo:region-body>
1008
+ <fo:region-before region-name="xsl-region-before-first"
1009
+ extent="{$region.before.extent}"
1010
+ display-align="before"/>
1011
+ <fo:region-after region-name="xsl-region-after-first"
1012
+ extent="{$region.after.extent}"
1013
+ display-align="after"/>
1014
+ </fo:simple-page-master>
1015
+
1016
+ <fo:simple-page-master master-name="front-odd-draft"
1017
+ page-width="{$page.width}"
1018
+ page-height="{$page.height}"
1019
+ margin-top="{$page.margin.top}"
1020
+ margin-bottom="{$page.margin.bottom}">
1021
+ <xsl:attribute name="margin-{$direction.align.start}">
1022
+ <xsl:value-of select="$page.margin.inner"/>
1023
+ <xsl:if test="$fop.extensions != 0">
1024
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1025
+ </xsl:if>
1026
+ </xsl:attribute>
1027
+ <xsl:attribute name="margin-{$direction.align.end}">
1028
+ <xsl:value-of select="$page.margin.outer"/>
1029
+ </xsl:attribute>
1030
+ <xsl:if test="$axf.extensions != 0">
1031
+ <xsl:call-template name="axf-page-master-properties">
1032
+ <xsl:with-param name="page.master">front-odd-draft</xsl:with-param>
1033
+ </xsl:call-template>
1034
+ </xsl:if>
1035
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1036
+ margin-top="{$body.margin.top}"
1037
+ column-gap="{$column.gap.front}"
1038
+ column-count="{$column.count.front}">
1039
+ <xsl:if test="$draft.watermark.image != ''">
1040
+ <xsl:attribute name="background-image">
1041
+ <xsl:call-template name="fo-external-image">
1042
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1043
+ </xsl:call-template>
1044
+ </xsl:attribute>
1045
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1046
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1047
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1048
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1049
+ </xsl:if>
1050
+ </fo:region-body>
1051
+ <fo:region-before region-name="xsl-region-before-odd"
1052
+ extent="{$region.before.extent}"
1053
+ display-align="before"/>
1054
+ <fo:region-after region-name="xsl-region-after-odd"
1055
+ extent="{$region.after.extent}"
1056
+ display-align="after"/>
1057
+ </fo:simple-page-master>
1058
+
1059
+ <fo:simple-page-master master-name="front-even-draft"
1060
+ page-width="{$page.width}"
1061
+ page-height="{$page.height}"
1062
+ margin-top="{$page.margin.top}"
1063
+ margin-bottom="{$page.margin.bottom}">
1064
+ <xsl:attribute name="margin-{$direction.align.start}">
1065
+ <xsl:value-of select="$page.margin.outer"/>
1066
+ <xsl:if test="$fop.extensions != 0">
1067
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1068
+ </xsl:if>
1069
+ </xsl:attribute>
1070
+ <xsl:attribute name="margin-{$direction.align.end}">
1071
+ <xsl:value-of select="$page.margin.inner"/>
1072
+ </xsl:attribute>
1073
+ <xsl:if test="$axf.extensions != 0">
1074
+ <xsl:call-template name="axf-page-master-properties">
1075
+ <xsl:with-param name="page.master">front-even-draft</xsl:with-param>
1076
+ </xsl:call-template>
1077
+ </xsl:if>
1078
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1079
+ margin-top="{$body.margin.top}"
1080
+ column-gap="{$column.gap.front}"
1081
+ column-count="{$column.count.front}">
1082
+ <xsl:if test="$draft.watermark.image != ''">
1083
+ <xsl:attribute name="background-image">
1084
+ <xsl:call-template name="fo-external-image">
1085
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1086
+ </xsl:call-template>
1087
+ </xsl:attribute>
1088
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1089
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1090
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1091
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1092
+ </xsl:if>
1093
+ </fo:region-body>
1094
+ <fo:region-before region-name="xsl-region-before-even"
1095
+ extent="{$region.before.extent}"
1096
+ display-align="before"/>
1097
+ <fo:region-after region-name="xsl-region-after-even"
1098
+ extent="{$region.after.extent}"
1099
+ display-align="after"/>
1100
+ </fo:simple-page-master>
1101
+
1102
+ <!-- draft body pages -->
1103
+ <fo:simple-page-master master-name="body-first-draft"
1104
+ page-width="{$page.width}"
1105
+ page-height="{$page.height}"
1106
+ margin-top="{$page.margin.top}"
1107
+ margin-bottom="{$page.margin.bottom}">
1108
+ <xsl:attribute name="margin-{$direction.align.start}">
1109
+ <xsl:value-of select="$page.margin.inner"/>
1110
+ <xsl:if test="$fop.extensions != 0">
1111
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1112
+ </xsl:if>
1113
+ </xsl:attribute>
1114
+ <xsl:attribute name="margin-{$direction.align.end}">
1115
+ <xsl:value-of select="$page.margin.outer"/>
1116
+ </xsl:attribute>
1117
+ <xsl:if test="$axf.extensions != 0">
1118
+ <xsl:call-template name="axf-page-master-properties">
1119
+ <xsl:with-param name="page.master">body-first-draft</xsl:with-param>
1120
+ </xsl:call-template>
1121
+ </xsl:if>
1122
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1123
+ margin-top="{$body.margin.top}"
1124
+ column-gap="{$column.gap.body}"
1125
+ column-count="{$column.count.body}">
1126
+ <xsl:if test="$draft.watermark.image != ''">
1127
+ <xsl:attribute name="background-image">
1128
+ <xsl:call-template name="fo-external-image">
1129
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1130
+ </xsl:call-template>
1131
+ </xsl:attribute>
1132
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1133
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1134
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1135
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1136
+ </xsl:if>
1137
+ </fo:region-body>
1138
+ <fo:region-before region-name="xsl-region-before-first"
1139
+ extent="{$region.before.extent}"
1140
+ display-align="before"/>
1141
+ <fo:region-after region-name="xsl-region-after-first"
1142
+ extent="{$region.after.extent}"
1143
+ display-align="after"/>
1144
+ </fo:simple-page-master>
1145
+
1146
+ <fo:simple-page-master master-name="body-odd-draft"
1147
+ page-width="{$page.width}"
1148
+ page-height="{$page.height}"
1149
+ margin-top="{$page.margin.top}"
1150
+ margin-bottom="{$page.margin.bottom}">
1151
+ <xsl:attribute name="margin-{$direction.align.start}">
1152
+ <xsl:value-of select="$page.margin.inner"/>
1153
+ <xsl:if test="$fop.extensions != 0">
1154
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1155
+ </xsl:if>
1156
+ </xsl:attribute>
1157
+ <xsl:attribute name="margin-{$direction.align.end}">
1158
+ <xsl:value-of select="$page.margin.outer"/>
1159
+ </xsl:attribute>
1160
+ <xsl:if test="$axf.extensions != 0">
1161
+ <xsl:call-template name="axf-page-master-properties">
1162
+ <xsl:with-param name="page.master">body-odd-draft</xsl:with-param>
1163
+ </xsl:call-template>
1164
+ </xsl:if>
1165
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1166
+ margin-top="{$body.margin.top}"
1167
+ column-gap="{$column.gap.body}"
1168
+ column-count="{$column.count.body}">
1169
+ <xsl:if test="$draft.watermark.image != ''">
1170
+ <xsl:attribute name="background-image">
1171
+ <xsl:call-template name="fo-external-image">
1172
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1173
+ </xsl:call-template>
1174
+ </xsl:attribute>
1175
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1176
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1177
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1178
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1179
+ </xsl:if>
1180
+ </fo:region-body>
1181
+ <fo:region-before region-name="xsl-region-before-odd"
1182
+ extent="{$region.before.extent}"
1183
+ display-align="before"/>
1184
+ <fo:region-after region-name="xsl-region-after-odd"
1185
+ extent="{$region.after.extent}"
1186
+ display-align="after"/>
1187
+ </fo:simple-page-master>
1188
+
1189
+ <fo:simple-page-master master-name="body-even-draft"
1190
+ page-width="{$page.width}"
1191
+ page-height="{$page.height}"
1192
+ margin-top="{$page.margin.top}"
1193
+ margin-bottom="{$page.margin.bottom}">
1194
+ <xsl:attribute name="margin-{$direction.align.start}">
1195
+ <xsl:value-of select="$page.margin.outer"/>
1196
+ <xsl:if test="$fop.extensions != 0">
1197
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1198
+ </xsl:if>
1199
+ </xsl:attribute>
1200
+ <xsl:attribute name="margin-{$direction.align.end}">
1201
+ <xsl:value-of select="$page.margin.inner"/>
1202
+ </xsl:attribute>
1203
+ <xsl:if test="$axf.extensions != 0">
1204
+ <xsl:call-template name="axf-page-master-properties">
1205
+ <xsl:with-param name="page.master">body-even-draft</xsl:with-param>
1206
+ </xsl:call-template>
1207
+ </xsl:if>
1208
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1209
+ margin-top="{$body.margin.top}"
1210
+ column-gap="{$column.gap.body}"
1211
+ column-count="{$column.count.body}">
1212
+ <xsl:if test="$draft.watermark.image != ''">
1213
+ <xsl:attribute name="background-image">
1214
+ <xsl:call-template name="fo-external-image">
1215
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1216
+ </xsl:call-template>
1217
+ </xsl:attribute>
1218
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1219
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1220
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1221
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1222
+ </xsl:if>
1223
+ </fo:region-body>
1224
+ <fo:region-before region-name="xsl-region-before-even"
1225
+ extent="{$region.before.extent}"
1226
+ display-align="before"/>
1227
+ <fo:region-after region-name="xsl-region-after-even"
1228
+ extent="{$region.after.extent}"
1229
+ display-align="after"/>
1230
+ </fo:simple-page-master>
1231
+
1232
+ <!-- draft backmatter pages -->
1233
+ <fo:simple-page-master master-name="back-first-draft"
1234
+ page-width="{$page.width}"
1235
+ page-height="{$page.height}"
1236
+ margin-top="{$page.margin.top}"
1237
+ margin-bottom="{$page.margin.bottom}">
1238
+ <xsl:attribute name="margin-{$direction.align.start}">
1239
+ <xsl:value-of select="$page.margin.inner"/>
1240
+ <xsl:if test="$fop.extensions != 0">
1241
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1242
+ </xsl:if>
1243
+ </xsl:attribute>
1244
+ <xsl:attribute name="margin-{$direction.align.end}">
1245
+ <xsl:value-of select="$page.margin.outer"/>
1246
+ </xsl:attribute>
1247
+ <xsl:if test="$axf.extensions != 0">
1248
+ <xsl:call-template name="axf-page-master-properties">
1249
+ <xsl:with-param name="page.master">back-first-draft</xsl:with-param>
1250
+ </xsl:call-template>
1251
+ </xsl:if>
1252
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1253
+ margin-top="{$body.margin.top}"
1254
+ column-gap="{$column.gap.back}"
1255
+ column-count="{$column.count.back}">
1256
+ <xsl:if test="$draft.watermark.image != ''">
1257
+ <xsl:attribute name="background-image">
1258
+ <xsl:call-template name="fo-external-image">
1259
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1260
+ </xsl:call-template>
1261
+ </xsl:attribute>
1262
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1263
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1264
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1265
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1266
+ </xsl:if>
1267
+ </fo:region-body>
1268
+ <fo:region-before region-name="xsl-region-before-first"
1269
+ extent="{$region.before.extent}"
1270
+ display-align="before"/>
1271
+ <fo:region-after region-name="xsl-region-after-first"
1272
+ extent="{$region.after.extent}"
1273
+ display-align="after"/>
1274
+ </fo:simple-page-master>
1275
+
1276
+ <fo:simple-page-master master-name="back-odd-draft"
1277
+ page-width="{$page.width}"
1278
+ page-height="{$page.height}"
1279
+ margin-top="{$page.margin.top}"
1280
+ margin-bottom="{$page.margin.bottom}">
1281
+ <xsl:attribute name="margin-{$direction.align.start}">
1282
+ <xsl:value-of select="$page.margin.inner"/>
1283
+ <xsl:if test="$fop.extensions != 0">
1284
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1285
+ </xsl:if>
1286
+ </xsl:attribute>
1287
+ <xsl:attribute name="margin-{$direction.align.end}">
1288
+ <xsl:value-of select="$page.margin.outer"/>
1289
+ </xsl:attribute>
1290
+ <xsl:if test="$axf.extensions != 0">
1291
+ <xsl:call-template name="axf-page-master-properties">
1292
+ <xsl:with-param name="page.master">back-odd-draft</xsl:with-param>
1293
+ </xsl:call-template>
1294
+ </xsl:if>
1295
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1296
+ margin-top="{$body.margin.top}"
1297
+ column-gap="{$column.gap.back}"
1298
+ column-count="{$column.count.back}">
1299
+ <xsl:if test="$draft.watermark.image != ''">
1300
+ <xsl:attribute name="background-image">
1301
+ <xsl:call-template name="fo-external-image">
1302
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1303
+ </xsl:call-template>
1304
+ </xsl:attribute>
1305
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1306
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1307
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1308
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1309
+ </xsl:if>
1310
+ </fo:region-body>
1311
+ <fo:region-before region-name="xsl-region-before-odd"
1312
+ extent="{$region.before.extent}"
1313
+ display-align="before"/>
1314
+ <fo:region-after region-name="xsl-region-after-odd"
1315
+ extent="{$region.after.extent}"
1316
+ display-align="after"/>
1317
+ </fo:simple-page-master>
1318
+
1319
+ <fo:simple-page-master master-name="back-even-draft"
1320
+ page-width="{$page.width}"
1321
+ page-height="{$page.height}"
1322
+ margin-top="{$page.margin.top}"
1323
+ margin-bottom="{$page.margin.bottom}">
1324
+ <xsl:attribute name="margin-{$direction.align.start}">
1325
+ <xsl:value-of select="$page.margin.outer"/>
1326
+ <xsl:if test="$fop.extensions != 0">
1327
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1328
+ </xsl:if>
1329
+ </xsl:attribute>
1330
+ <xsl:attribute name="margin-{$direction.align.end}">
1331
+ <xsl:value-of select="$page.margin.inner"/>
1332
+ </xsl:attribute>
1333
+ <xsl:if test="$axf.extensions != 0">
1334
+ <xsl:call-template name="axf-page-master-properties">
1335
+ <xsl:with-param name="page.master">back-even-draft</xsl:with-param>
1336
+ </xsl:call-template>
1337
+ </xsl:if>
1338
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1339
+ margin-top="{$body.margin.top}"
1340
+ column-gap="{$column.gap.back}"
1341
+ column-count="{$column.count.back}">
1342
+ <xsl:if test="$draft.watermark.image != ''">
1343
+ <xsl:attribute name="background-image">
1344
+ <xsl:call-template name="fo-external-image">
1345
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1346
+ </xsl:call-template>
1347
+ </xsl:attribute>
1348
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1349
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1350
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1351
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1352
+ </xsl:if>
1353
+ </fo:region-body>
1354
+ <fo:region-before region-name="xsl-region-before-even"
1355
+ extent="{$region.before.extent}"
1356
+ display-align="before"/>
1357
+ <fo:region-after region-name="xsl-region-after-even"
1358
+ extent="{$region.after.extent}"
1359
+ display-align="after"/>
1360
+ </fo:simple-page-master>
1361
+
1362
+ <!-- draft index pages -->
1363
+ <fo:simple-page-master master-name="index-first-draft"
1364
+ page-width="{$page.width}"
1365
+ page-height="{$page.height}"
1366
+ margin-top="{$page.margin.top}"
1367
+ margin-bottom="{$page.margin.bottom}">
1368
+ <xsl:attribute name="margin-{$direction.align.start}">
1369
+ <xsl:value-of select="$page.margin.inner"/>
1370
+ <xsl:if test="$fop.extensions != 0">
1371
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1372
+ </xsl:if>
1373
+ </xsl:attribute>
1374
+ <xsl:attribute name="margin-{$direction.align.end}">
1375
+ <xsl:value-of select="$page.margin.outer"/>
1376
+ </xsl:attribute>
1377
+ <xsl:if test="$axf.extensions != 0">
1378
+ <xsl:call-template name="axf-page-master-properties">
1379
+ <xsl:with-param name="page.master">index-first-draft</xsl:with-param>
1380
+ </xsl:call-template>
1381
+ </xsl:if>
1382
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1383
+ margin-top="{$body.margin.top}"
1384
+ column-gap="{$column.gap.index}"
1385
+ column-count="{$column.count.index}">
1386
+ <xsl:if test="$draft.watermark.image != ''">
1387
+ <xsl:attribute name="background-image">
1388
+ <xsl:call-template name="fo-external-image">
1389
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1390
+ </xsl:call-template>
1391
+ </xsl:attribute>
1392
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1393
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1394
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1395
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1396
+ </xsl:if>
1397
+ </fo:region-body>
1398
+ <fo:region-before region-name="xsl-region-before-first"
1399
+ extent="{$region.before.extent}"
1400
+ display-align="before"/>
1401
+ <fo:region-after region-name="xsl-region-after-first"
1402
+ extent="{$region.after.extent}"
1403
+ display-align="after"/>
1404
+ </fo:simple-page-master>
1405
+
1406
+ <fo:simple-page-master master-name="index-odd-draft"
1407
+ page-width="{$page.width}"
1408
+ page-height="{$page.height}"
1409
+ margin-top="{$page.margin.top}"
1410
+ margin-bottom="{$page.margin.bottom}">
1411
+ <xsl:attribute name="margin-{$direction.align.start}">
1412
+ <xsl:value-of select="$page.margin.inner"/>
1413
+ <xsl:if test="$fop.extensions != 0">
1414
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1415
+ </xsl:if>
1416
+ </xsl:attribute>
1417
+ <xsl:attribute name="margin-{$direction.align.end}">
1418
+ <xsl:value-of select="$page.margin.outer"/>
1419
+ </xsl:attribute>
1420
+ <xsl:if test="$axf.extensions != 0">
1421
+ <xsl:call-template name="axf-page-master-properties">
1422
+ <xsl:with-param name="page.master">index-odd-draft</xsl:with-param>
1423
+ </xsl:call-template>
1424
+ </xsl:if>
1425
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1426
+ margin-top="{$body.margin.top}"
1427
+ column-gap="{$column.gap.index}"
1428
+ column-count="{$column.count.index}">
1429
+ <xsl:if test="$draft.watermark.image != ''">
1430
+ <xsl:attribute name="background-image">
1431
+ <xsl:call-template name="fo-external-image">
1432
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1433
+ </xsl:call-template>
1434
+ </xsl:attribute>
1435
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1436
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1437
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1438
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1439
+ </xsl:if>
1440
+ </fo:region-body>
1441
+ <fo:region-before region-name="xsl-region-before-odd"
1442
+ extent="{$region.before.extent}"
1443
+ display-align="before"/>
1444
+ <fo:region-after region-name="xsl-region-after-odd"
1445
+ extent="{$region.after.extent}"
1446
+ display-align="after"/>
1447
+ </fo:simple-page-master>
1448
+
1449
+ <fo:simple-page-master master-name="index-even-draft"
1450
+ page-width="{$page.width}"
1451
+ page-height="{$page.height}"
1452
+ margin-top="{$page.margin.top}"
1453
+ margin-bottom="{$page.margin.bottom}">
1454
+ <xsl:attribute name="margin-{$direction.align.start}">
1455
+ <xsl:value-of select="$page.margin.outer"/>
1456
+ <xsl:if test="$fop.extensions != 0">
1457
+ <xsl:value-of select="concat(' - (',$title.margin.left,')')"/>
1458
+ </xsl:if>
1459
+ </xsl:attribute>
1460
+ <xsl:attribute name="margin-{$direction.align.end}">
1461
+ <xsl:value-of select="$page.margin.inner"/>
1462
+ </xsl:attribute>
1463
+ <xsl:if test="$axf.extensions != 0">
1464
+ <xsl:call-template name="axf-page-master-properties">
1465
+ <xsl:with-param name="page.master">index-even-draft</xsl:with-param>
1466
+ </xsl:call-template>
1467
+ </xsl:if>
1468
+ <fo:region-body margin-bottom="{$body.margin.bottom}"
1469
+ margin-top="{$body.margin.top}"
1470
+ column-gap="{$column.gap.index}"
1471
+ column-count="{$column.count.index}">
1472
+ <xsl:if test="$draft.watermark.image != ''">
1473
+ <xsl:attribute name="background-image">
1474
+ <xsl:call-template name="fo-external-image">
1475
+ <xsl:with-param name="filename" select="$draft.watermark.image"/>
1476
+ </xsl:call-template>
1477
+ </xsl:attribute>
1478
+ <xsl:attribute name="background-attachment">fixed</xsl:attribute>
1479
+ <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
1480
+ <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
1481
+ <xsl:attribute name="background-position-vertical">center</xsl:attribute>
1482
+ </xsl:if>
1483
+ </fo:region-body>
1484
+ <fo:region-before region-name="xsl-region-before-even"
1485
+ extent="{$region.before.extent}"
1486
+ display-align="before"/>
1487
+ <fo:region-after region-name="xsl-region-after-even"
1488
+ extent="{$region.after.extent}"
1489
+ display-align="after"/>
1490
+ </fo:simple-page-master>
1491
+ </xsl:if>
1492
+
1493
+ <!-- setup for title page(s) -->
1494
+ <fo:page-sequence-master master-name="titlepage">
1495
+ <fo:repeatable-page-master-alternatives>
1496
+ <fo:conditional-page-master-reference master-reference="blank"
1497
+ blank-or-not-blank="blank"/>
1498
+ <fo:conditional-page-master-reference master-reference="titlepage-first"
1499
+ page-position="first"/>
1500
+ <fo:conditional-page-master-reference master-reference="titlepage-odd"
1501
+ odd-or-even="odd"/>
1502
+ <fo:conditional-page-master-reference
1503
+ odd-or-even="even">
1504
+ <xsl:attribute name="master-reference">
1505
+ <xsl:choose>
1506
+ <xsl:when test="$double.sided != 0">titlepage-even</xsl:when>
1507
+ <xsl:otherwise>titlepage-odd</xsl:otherwise>
1508
+ </xsl:choose>
1509
+ </xsl:attribute>
1510
+ </fo:conditional-page-master-reference>
1511
+ </fo:repeatable-page-master-alternatives>
1512
+ </fo:page-sequence-master>
1513
+
1514
+ <!-- setup for lots -->
1515
+ <fo:page-sequence-master master-name="lot">
1516
+ <fo:repeatable-page-master-alternatives>
1517
+ <fo:conditional-page-master-reference master-reference="blank"
1518
+ blank-or-not-blank="blank"/>
1519
+ <fo:conditional-page-master-reference master-reference="lot-first"
1520
+ page-position="first"/>
1521
+ <fo:conditional-page-master-reference master-reference="lot-odd"
1522
+ odd-or-even="odd"/>
1523
+ <fo:conditional-page-master-reference
1524
+ odd-or-even="even">
1525
+ <xsl:attribute name="master-reference">
1526
+ <xsl:choose>
1527
+ <xsl:when test="$double.sided != 0">lot-even</xsl:when>
1528
+ <xsl:otherwise>lot-odd</xsl:otherwise>
1529
+ </xsl:choose>
1530
+ </xsl:attribute>
1531
+ </fo:conditional-page-master-reference>
1532
+ </fo:repeatable-page-master-alternatives>
1533
+ </fo:page-sequence-master>
1534
+
1535
+ <!-- setup front matter -->
1536
+ <fo:page-sequence-master master-name="front">
1537
+ <fo:repeatable-page-master-alternatives>
1538
+ <fo:conditional-page-master-reference master-reference="blank"
1539
+ blank-or-not-blank="blank"/>
1540
+ <fo:conditional-page-master-reference master-reference="front-first"
1541
+ page-position="first"/>
1542
+ <fo:conditional-page-master-reference master-reference="front-odd"
1543
+ odd-or-even="odd"/>
1544
+ <fo:conditional-page-master-reference
1545
+ odd-or-even="even">
1546
+ <xsl:attribute name="master-reference">
1547
+ <xsl:choose>
1548
+ <xsl:when test="$double.sided != 0">front-even</xsl:when>
1549
+ <xsl:otherwise>front-odd</xsl:otherwise>
1550
+ </xsl:choose>
1551
+ </xsl:attribute>
1552
+ </fo:conditional-page-master-reference>
1553
+ </fo:repeatable-page-master-alternatives>
1554
+ </fo:page-sequence-master>
1555
+
1556
+ <!-- setup for body pages -->
1557
+ <fo:page-sequence-master master-name="body">
1558
+ <fo:repeatable-page-master-alternatives>
1559
+ <fo:conditional-page-master-reference master-reference="blank"
1560
+ blank-or-not-blank="blank"/>
1561
+ <fo:conditional-page-master-reference master-reference="body-first"
1562
+ page-position="first"/>
1563
+ <fo:conditional-page-master-reference master-reference="body-odd"
1564
+ odd-or-even="odd"/>
1565
+ <fo:conditional-page-master-reference
1566
+ odd-or-even="even">
1567
+ <xsl:attribute name="master-reference">
1568
+ <xsl:choose>
1569
+ <xsl:when test="$double.sided != 0">body-even</xsl:when>
1570
+ <xsl:otherwise>body-odd</xsl:otherwise>
1571
+ </xsl:choose>
1572
+ </xsl:attribute>
1573
+ </fo:conditional-page-master-reference>
1574
+ </fo:repeatable-page-master-alternatives>
1575
+ </fo:page-sequence-master>
1576
+
1577
+ <!-- setup back matter -->
1578
+ <fo:page-sequence-master master-name="back">
1579
+ <fo:repeatable-page-master-alternatives>
1580
+ <fo:conditional-page-master-reference master-reference="blank"
1581
+ blank-or-not-blank="blank"/>
1582
+ <fo:conditional-page-master-reference master-reference="back-first"
1583
+ page-position="first"/>
1584
+ <fo:conditional-page-master-reference master-reference="back-odd"
1585
+ odd-or-even="odd"/>
1586
+ <fo:conditional-page-master-reference
1587
+ odd-or-even="even">
1588
+ <xsl:attribute name="master-reference">
1589
+ <xsl:choose>
1590
+ <xsl:when test="$double.sided != 0">back-even</xsl:when>
1591
+ <xsl:otherwise>back-odd</xsl:otherwise>
1592
+ </xsl:choose>
1593
+ </xsl:attribute>
1594
+ </fo:conditional-page-master-reference>
1595
+ </fo:repeatable-page-master-alternatives>
1596
+ </fo:page-sequence-master>
1597
+
1598
+ <!-- setup back matter -->
1599
+ <fo:page-sequence-master master-name="index">
1600
+ <fo:repeatable-page-master-alternatives>
1601
+ <fo:conditional-page-master-reference master-reference="blank"
1602
+ blank-or-not-blank="blank"/>
1603
+ <fo:conditional-page-master-reference master-reference="index-first"
1604
+ page-position="first"/>
1605
+ <fo:conditional-page-master-reference master-reference="index-odd"
1606
+ odd-or-even="odd"/>
1607
+ <fo:conditional-page-master-reference
1608
+ odd-or-even="even">
1609
+ <xsl:attribute name="master-reference">
1610
+ <xsl:choose>
1611
+ <xsl:when test="$double.sided != 0">index-even</xsl:when>
1612
+ <xsl:otherwise>index-odd</xsl:otherwise>
1613
+ </xsl:choose>
1614
+ </xsl:attribute>
1615
+ </fo:conditional-page-master-reference>
1616
+ </fo:repeatable-page-master-alternatives>
1617
+ </fo:page-sequence-master>
1618
+
1619
+ <xsl:if test="$draft.mode != 'no'">
1620
+ <!-- setup for draft title page(s) -->
1621
+ <fo:page-sequence-master master-name="titlepage-draft">
1622
+ <fo:repeatable-page-master-alternatives>
1623
+ <fo:conditional-page-master-reference master-reference="blank-draft"
1624
+ blank-or-not-blank="blank"/>
1625
+ <fo:conditional-page-master-reference master-reference="titlepage-first-draft"
1626
+ page-position="first"/>
1627
+ <fo:conditional-page-master-reference master-reference="titlepage-odd-draft"
1628
+ odd-or-even="odd"/>
1629
+ <fo:conditional-page-master-reference
1630
+ odd-or-even="even">
1631
+ <xsl:attribute name="master-reference">
1632
+ <xsl:choose>
1633
+ <xsl:when test="$double.sided != 0">titlepage-even-draft</xsl:when>
1634
+ <xsl:otherwise>titlepage-odd-draft</xsl:otherwise>
1635
+ </xsl:choose>
1636
+ </xsl:attribute>
1637
+ </fo:conditional-page-master-reference>
1638
+ </fo:repeatable-page-master-alternatives>
1639
+ </fo:page-sequence-master>
1640
+
1641
+ <!-- setup for draft lots -->
1642
+ <fo:page-sequence-master master-name="lot-draft">
1643
+ <fo:repeatable-page-master-alternatives>
1644
+ <fo:conditional-page-master-reference master-reference="blank-draft"
1645
+ blank-or-not-blank="blank"/>
1646
+ <fo:conditional-page-master-reference master-reference="lot-first-draft"
1647
+ page-position="first"/>
1648
+ <fo:conditional-page-master-reference master-reference="lot-odd-draft"
1649
+ odd-or-even="odd"/>
1650
+ <fo:conditional-page-master-reference
1651
+ odd-or-even="even">
1652
+ <xsl:attribute name="master-reference">
1653
+ <xsl:choose>
1654
+ <xsl:when test="$double.sided != 0">lot-even-draft</xsl:when>
1655
+ <xsl:otherwise>lot-odd-draft</xsl:otherwise>
1656
+ </xsl:choose>
1657
+ </xsl:attribute>
1658
+ </fo:conditional-page-master-reference>
1659
+ </fo:repeatable-page-master-alternatives>
1660
+ </fo:page-sequence-master>
1661
+
1662
+ <!-- setup draft front matter -->
1663
+ <fo:page-sequence-master master-name="front-draft">
1664
+ <fo:repeatable-page-master-alternatives>
1665
+ <fo:conditional-page-master-reference master-reference="blank-draft"
1666
+ blank-or-not-blank="blank"/>
1667
+ <fo:conditional-page-master-reference master-reference="front-first-draft"
1668
+ page-position="first"/>
1669
+ <fo:conditional-page-master-reference master-reference="front-odd-draft"
1670
+ odd-or-even="odd"/>
1671
+ <fo:conditional-page-master-reference
1672
+ odd-or-even="even">
1673
+ <xsl:attribute name="master-reference">
1674
+ <xsl:choose>
1675
+ <xsl:when test="$double.sided != 0">front-even-draft</xsl:when>
1676
+ <xsl:otherwise>front-odd-draft</xsl:otherwise>
1677
+ </xsl:choose>
1678
+ </xsl:attribute>
1679
+ </fo:conditional-page-master-reference>
1680
+ </fo:repeatable-page-master-alternatives>
1681
+ </fo:page-sequence-master>
1682
+
1683
+ <!-- setup for draft body pages -->
1684
+ <fo:page-sequence-master master-name="body-draft">
1685
+ <fo:repeatable-page-master-alternatives>
1686
+ <fo:conditional-page-master-reference master-reference="blank-draft"
1687
+ blank-or-not-blank="blank"/>
1688
+ <fo:conditional-page-master-reference master-reference="body-first-draft"
1689
+ page-position="first"/>
1690
+ <fo:conditional-page-master-reference master-reference="body-odd-draft"
1691
+ odd-or-even="odd"/>
1692
+ <fo:conditional-page-master-reference
1693
+ odd-or-even="even">
1694
+ <xsl:attribute name="master-reference">
1695
+ <xsl:choose>
1696
+ <xsl:when test="$double.sided != 0">body-even-draft</xsl:when>
1697
+ <xsl:otherwise>body-odd-draft</xsl:otherwise>
1698
+ </xsl:choose>
1699
+ </xsl:attribute>
1700
+ </fo:conditional-page-master-reference>
1701
+ </fo:repeatable-page-master-alternatives>
1702
+ </fo:page-sequence-master>
1703
+
1704
+ <!-- setup draft back matter -->
1705
+ <fo:page-sequence-master master-name="back-draft">
1706
+ <fo:repeatable-page-master-alternatives>
1707
+ <fo:conditional-page-master-reference master-reference="blank-draft"
1708
+ blank-or-not-blank="blank"/>
1709
+ <fo:conditional-page-master-reference master-reference="back-first-draft"
1710
+ page-position="first"/>
1711
+ <fo:conditional-page-master-reference master-reference="back-odd-draft"
1712
+ odd-or-even="odd"/>
1713
+ <fo:conditional-page-master-reference
1714
+ odd-or-even="even">
1715
+ <xsl:attribute name="master-reference">
1716
+ <xsl:choose>
1717
+ <xsl:when test="$double.sided != 0">back-even-draft</xsl:when>
1718
+ <xsl:otherwise>back-odd-draft</xsl:otherwise>
1719
+ </xsl:choose>
1720
+ </xsl:attribute>
1721
+ </fo:conditional-page-master-reference>
1722
+ </fo:repeatable-page-master-alternatives>
1723
+ </fo:page-sequence-master>
1724
+
1725
+ <!-- setup draft index pages -->
1726
+ <fo:page-sequence-master master-name="index-draft">
1727
+ <fo:repeatable-page-master-alternatives>
1728
+ <fo:conditional-page-master-reference master-reference="blank-draft"
1729
+ blank-or-not-blank="blank"/>
1730
+ <fo:conditional-page-master-reference master-reference="index-first-draft"
1731
+ page-position="first"/>
1732
+ <fo:conditional-page-master-reference master-reference="index-odd-draft"
1733
+ odd-or-even="odd"/>
1734
+ <fo:conditional-page-master-reference
1735
+ odd-or-even="even">
1736
+ <xsl:attribute name="master-reference">
1737
+ <xsl:choose>
1738
+ <xsl:when test="$double.sided != 0">index-even-draft</xsl:when>
1739
+ <xsl:otherwise>index-odd-draft</xsl:otherwise>
1740
+ </xsl:choose>
1741
+ </xsl:attribute>
1742
+ </fo:conditional-page-master-reference>
1743
+ </fo:repeatable-page-master-alternatives>
1744
+ </fo:page-sequence-master>
1745
+ </xsl:if>
1746
+
1747
+ <xsl:call-template name="user.pagemasters"/>
1748
+
1749
+ </fo:layout-master-set>
1750
+ </xsl:template>
1751
+
1752
+ <!-- ==================================================================== -->
1753
+
1754
+ <xsl:template name="user.pagemasters"/> <!-- intentionally empty -->
1755
+
1756
+ <!-- ==================================================================== -->
1757
+
1758
+ <xsl:template name="select.pagemaster">
1759
+ <xsl:param name="element" select="local-name(.)"/>
1760
+ <xsl:param name="pageclass" select="''"/>
1761
+
1762
+ <xsl:variable name="pagemaster">
1763
+ <xsl:choose>
1764
+ <xsl:when test="$pageclass != ''">
1765
+ <xsl:value-of select="$pageclass"/>
1766
+ </xsl:when>
1767
+ <xsl:when test="$pageclass = 'lot'">lot</xsl:when>
1768
+ <xsl:when test="$element = 'dedication'">front</xsl:when>
1769
+ <xsl:when test="$element = 'acknowledgements'">front</xsl:when>
1770
+ <xsl:when test="$element = 'preface'">front</xsl:when>
1771
+ <xsl:when test="$element = 'appendix'">back</xsl:when>
1772
+ <xsl:when test="$element = 'glossary'">back</xsl:when>
1773
+ <xsl:when test="$element = 'bibliography'">back</xsl:when>
1774
+ <xsl:when test="$element = 'index'">index</xsl:when>
1775
+ <xsl:when test="$element = 'colophon'">back</xsl:when>
1776
+ <xsl:otherwise>body</xsl:otherwise>
1777
+ </xsl:choose>
1778
+
1779
+ <xsl:choose>
1780
+ <xsl:when test="$draft.mode = 'yes'">
1781
+ <xsl:text>-draft</xsl:text>
1782
+ </xsl:when>
1783
+ <xsl:when test="$draft.mode = 'no'">
1784
+ <!-- nop -->
1785
+ </xsl:when>
1786
+ <xsl:when test="ancestor-or-self::*[@status][1]/@status = 'draft'">
1787
+ <xsl:text>-draft</xsl:text>
1788
+ </xsl:when>
1789
+ <xsl:otherwise>
1790
+ <!-- nop -->
1791
+ </xsl:otherwise>
1792
+ </xsl:choose>
1793
+ </xsl:variable>
1794
+
1795
+ <xsl:call-template name="select.user.pagemaster">
1796
+ <xsl:with-param name="element" select="$element"/>
1797
+ <xsl:with-param name="pageclass" select="$pageclass"/>
1798
+ <xsl:with-param name="default-pagemaster" select="$pagemaster"/>
1799
+ </xsl:call-template>
1800
+ </xsl:template>
1801
+
1802
+ <xsl:template name="select.user.pagemaster">
1803
+ <xsl:param name="element"/>
1804
+ <xsl:param name="pageclass"/>
1805
+ <xsl:param name="default-pagemaster"/>
1806
+
1807
+ <!-- by default, return the default. But if you've created your own
1808
+ pagemasters in user.pagemasters, you might want to select one here. -->
1809
+ <xsl:value-of select="$default-pagemaster"/>
1810
+ </xsl:template>
1811
+
1812
+ <!-- ==================================================================== -->
1813
+
1814
+ <xsl:template name="head.sep.rule">
1815
+ <xsl:param name="pageclass"/>
1816
+ <xsl:param name="sequence"/>
1817
+ <xsl:param name="gentext-key"/>
1818
+
1819
+ <xsl:if test="$header.rule != 0">
1820
+ <xsl:attribute name="border-bottom-width">0.5pt</xsl:attribute>
1821
+ <xsl:attribute name="border-bottom-style">solid</xsl:attribute>
1822
+ <xsl:attribute name="border-bottom-color">black</xsl:attribute>
1823
+ </xsl:if>
1824
+ </xsl:template>
1825
+
1826
+ <xsl:template name="foot.sep.rule">
1827
+ <xsl:param name="pageclass"/>
1828
+ <xsl:param name="sequence"/>
1829
+ <xsl:param name="gentext-key"/>
1830
+
1831
+ <xsl:if test="$footer.rule != 0">
1832
+ <xsl:attribute name="border-top-width">0.5pt</xsl:attribute>
1833
+ <xsl:attribute name="border-top-style">solid</xsl:attribute>
1834
+ <xsl:attribute name="border-top-color">black</xsl:attribute>
1835
+ </xsl:if>
1836
+ </xsl:template>
1837
+
1838
+ <!-- ==================================================================== -->
1839
+
1840
+ <xsl:template match="*" mode="running.head.mode">
1841
+ <xsl:param name="master-reference" select="'unknown'"/>
1842
+ <xsl:param name="gentext-key" select="local-name(.)"/>
1843
+
1844
+ <!-- remove -draft from reference -->
1845
+ <xsl:variable name="pageclass">
1846
+ <xsl:choose>
1847
+ <xsl:when test="contains($master-reference, '-draft')">
1848
+ <xsl:value-of select="substring-before($master-reference, '-draft')"/>
1849
+ </xsl:when>
1850
+ <xsl:otherwise>
1851
+ <xsl:value-of select="$master-reference"/>
1852
+ </xsl:otherwise>
1853
+ </xsl:choose>
1854
+ </xsl:variable>
1855
+
1856
+ <fo:static-content flow-name="xsl-region-before-first">
1857
+ <fo:block xsl:use-attribute-sets="header.content.properties">
1858
+ <xsl:call-template name="header.table">
1859
+ <xsl:with-param name="pageclass" select="$pageclass"/>
1860
+ <xsl:with-param name="sequence" select="'first'"/>
1861
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
1862
+ </xsl:call-template>
1863
+ </fo:block>
1864
+ </fo:static-content>
1865
+
1866
+ <fo:static-content flow-name="xsl-region-before-odd">
1867
+ <fo:block xsl:use-attribute-sets="header.content.properties">
1868
+ <xsl:call-template name="header.table">
1869
+ <xsl:with-param name="pageclass" select="$pageclass"/>
1870
+ <xsl:with-param name="sequence" select="'odd'"/>
1871
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
1872
+ </xsl:call-template>
1873
+ </fo:block>
1874
+ </fo:static-content>
1875
+
1876
+ <fo:static-content flow-name="xsl-region-before-even">
1877
+ <fo:block xsl:use-attribute-sets="header.content.properties">
1878
+ <xsl:call-template name="header.table">
1879
+ <xsl:with-param name="pageclass" select="$pageclass"/>
1880
+ <xsl:with-param name="sequence" select="'even'"/>
1881
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
1882
+ </xsl:call-template>
1883
+ </fo:block>
1884
+ </fo:static-content>
1885
+
1886
+ <fo:static-content flow-name="xsl-region-before-blank">
1887
+ <fo:block xsl:use-attribute-sets="header.content.properties">
1888
+ <xsl:call-template name="header.table">
1889
+ <xsl:with-param name="pageclass" select="$pageclass"/>
1890
+ <xsl:with-param name="sequence" select="'blank'"/>
1891
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
1892
+ </xsl:call-template>
1893
+ </fo:block>
1894
+ </fo:static-content>
1895
+
1896
+ <xsl:call-template name="footnote-separator"/>
1897
+
1898
+ <xsl:if test="$fop.extensions = 0 and $fop1.extensions = 0">
1899
+ <xsl:call-template name="blank.page.content"/>
1900
+ </xsl:if>
1901
+ </xsl:template>
1902
+
1903
+ <xsl:template name="footnote-separator">
1904
+ <fo:static-content flow-name="xsl-footnote-separator">
1905
+ <fo:block>
1906
+ <fo:leader xsl:use-attribute-sets="footnote.sep.leader.properties"/>
1907
+ </fo:block>
1908
+ </fo:static-content>
1909
+ </xsl:template>
1910
+
1911
+ <xsl:template name="blank.page.content">
1912
+ <fo:static-content flow-name="blank-body">
1913
+ <fo:block text-align="center"/>
1914
+ </fo:static-content>
1915
+ </xsl:template>
1916
+
1917
+ <xsl:template name="header.table">
1918
+ <xsl:param name="pageclass" select="''"/>
1919
+ <xsl:param name="sequence" select="''"/>
1920
+ <xsl:param name="gentext-key" select="''"/>
1921
+
1922
+ <!-- default is a single table style for all headers -->
1923
+ <!-- Customize it for different page classes or sequence location -->
1924
+
1925
+ <xsl:choose>
1926
+ <xsl:when test="$pageclass = 'index'">
1927
+ <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute>
1928
+ </xsl:when>
1929
+ </xsl:choose>
1930
+
1931
+ <xsl:variable name="column1">
1932
+ <xsl:choose>
1933
+ <xsl:when test="$double.sided = 0">1</xsl:when>
1934
+ <xsl:when test="$sequence = 'first' or $sequence = 'odd'">1</xsl:when>
1935
+ <xsl:otherwise>3</xsl:otherwise>
1936
+ </xsl:choose>
1937
+ </xsl:variable>
1938
+
1939
+ <xsl:variable name="column3">
1940
+ <xsl:choose>
1941
+ <xsl:when test="$double.sided = 0">3</xsl:when>
1942
+ <xsl:when test="$sequence = 'first' or $sequence = 'odd'">3</xsl:when>
1943
+ <xsl:otherwise>1</xsl:otherwise>
1944
+ </xsl:choose>
1945
+ </xsl:variable>
1946
+
1947
+ <xsl:variable name="candidate">
1948
+ <fo:table xsl:use-attribute-sets="header.table.properties">
1949
+ <xsl:call-template name="head.sep.rule">
1950
+ <xsl:with-param name="pageclass" select="$pageclass"/>
1951
+ <xsl:with-param name="sequence" select="$sequence"/>
1952
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
1953
+ </xsl:call-template>
1954
+
1955
+ <fo:table-column column-number="1">
1956
+ <xsl:attribute name="column-width">
1957
+ <xsl:text>proportional-column-width(</xsl:text>
1958
+ <xsl:call-template name="header.footer.width">
1959
+ <xsl:with-param name="location">header</xsl:with-param>
1960
+ <xsl:with-param name="position" select="$column1"/>
1961
+ </xsl:call-template>
1962
+ <xsl:text>)</xsl:text>
1963
+ </xsl:attribute>
1964
+ </fo:table-column>
1965
+ <fo:table-column column-number="2">
1966
+ <xsl:attribute name="column-width">
1967
+ <xsl:text>proportional-column-width(</xsl:text>
1968
+ <xsl:call-template name="header.footer.width">
1969
+ <xsl:with-param name="location">header</xsl:with-param>
1970
+ <xsl:with-param name="position" select="2"/>
1971
+ </xsl:call-template>
1972
+ <xsl:text>)</xsl:text>
1973
+ </xsl:attribute>
1974
+ </fo:table-column>
1975
+ <fo:table-column column-number="3">
1976
+ <xsl:attribute name="column-width">
1977
+ <xsl:text>proportional-column-width(</xsl:text>
1978
+ <xsl:call-template name="header.footer.width">
1979
+ <xsl:with-param name="location">header</xsl:with-param>
1980
+ <xsl:with-param name="position" select="$column3"/>
1981
+ </xsl:call-template>
1982
+ <xsl:text>)</xsl:text>
1983
+ </xsl:attribute>
1984
+ </fo:table-column>
1985
+
1986
+ <fo:table-body>
1987
+ <fo:table-row>
1988
+ <xsl:attribute name="block-progression-dimension.minimum">
1989
+ <xsl:value-of select="$header.table.height"/>
1990
+ </xsl:attribute>
1991
+ <fo:table-cell text-align="start"
1992
+ display-align="before">
1993
+ <xsl:if test="$fop.extensions = 0">
1994
+ <xsl:attribute name="relative-align">baseline</xsl:attribute>
1995
+ </xsl:if>
1996
+ <fo:block>
1997
+ <xsl:call-template name="header.content">
1998
+ <xsl:with-param name="pageclass" select="$pageclass"/>
1999
+ <xsl:with-param name="sequence" select="$sequence"/>
2000
+ <xsl:with-param name="position" select="$direction.align.start"/>
2001
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2002
+ </xsl:call-template>
2003
+ </fo:block>
2004
+ </fo:table-cell>
2005
+ <fo:table-cell text-align="center"
2006
+ display-align="before">
2007
+ <xsl:if test="$fop.extensions = 0">
2008
+ <xsl:attribute name="relative-align">baseline</xsl:attribute>
2009
+ </xsl:if>
2010
+ <fo:block>
2011
+ <xsl:call-template name="header.content">
2012
+ <xsl:with-param name="pageclass" select="$pageclass"/>
2013
+ <xsl:with-param name="sequence" select="$sequence"/>
2014
+ <xsl:with-param name="position" select="'center'"/>
2015
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2016
+ </xsl:call-template>
2017
+ </fo:block>
2018
+ </fo:table-cell>
2019
+ <fo:table-cell text-align="right"
2020
+ display-align="before">
2021
+ <xsl:if test="$fop.extensions = 0">
2022
+ <xsl:attribute name="relative-align">baseline</xsl:attribute>
2023
+ </xsl:if>
2024
+ <fo:block>
2025
+ <xsl:call-template name="header.content">
2026
+ <xsl:with-param name="pageclass" select="$pageclass"/>
2027
+ <xsl:with-param name="sequence" select="$sequence"/>
2028
+ <xsl:with-param name="position" select="$direction.align.end"/>
2029
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2030
+ </xsl:call-template>
2031
+ </fo:block>
2032
+ </fo:table-cell>
2033
+ </fo:table-row>
2034
+ </fo:table-body>
2035
+ </fo:table>
2036
+ </xsl:variable>
2037
+
2038
+ <!-- Really output a header? -->
2039
+ <xsl:choose>
2040
+ <xsl:when test="$pageclass = 'titlepage' and $gentext-key = 'book'
2041
+ and $sequence='first'">
2042
+ <!-- no, book titlepages have no headers at all -->
2043
+ </xsl:when>
2044
+ <xsl:when test="$sequence = 'blank' and $headers.on.blank.pages = 0">
2045
+ <!-- no output -->
2046
+ </xsl:when>
2047
+ <xsl:otherwise>
2048
+ <xsl:copy-of select="$candidate"/>
2049
+ </xsl:otherwise>
2050
+ </xsl:choose>
2051
+ </xsl:template>
2052
+
2053
+ <xsl:template name="header.content">
2054
+ <xsl:param name="pageclass" select="''"/>
2055
+ <xsl:param name="sequence" select="''"/>
2056
+ <xsl:param name="position" select="''"/>
2057
+ <xsl:param name="gentext-key" select="''"/>
2058
+
2059
+ <!--
2060
+ <fo:block>
2061
+ <xsl:value-of select="$pageclass"/>
2062
+ <xsl:text>, </xsl:text>
2063
+ <xsl:value-of select="$sequence"/>
2064
+ <xsl:text>, </xsl:text>
2065
+ <xsl:value-of select="$position"/>
2066
+ <xsl:text>, </xsl:text>
2067
+ <xsl:value-of select="$gentext-key"/>
2068
+ </fo:block>
2069
+ -->
2070
+
2071
+ <fo:block>
2072
+
2073
+ <!-- sequence can be odd, even, first, blank -->
2074
+ <!-- position can be left, center, right -->
2075
+ <xsl:choose>
2076
+ <xsl:when test="$sequence = 'blank'">
2077
+ <!-- nothing -->
2078
+ </xsl:when>
2079
+
2080
+ <xsl:when test="$position='left'">
2081
+ <!-- Same for odd, even, empty, and blank sequences -->
2082
+ <xsl:call-template name="draft.text"/>
2083
+ </xsl:when>
2084
+
2085
+ <xsl:when test="($sequence='odd' or $sequence='even') and $position='center'">
2086
+ <xsl:if test="$pageclass != 'titlepage'">
2087
+ <xsl:choose>
2088
+ <xsl:when test="ancestor::d:book and ($double.sided != 0)">
2089
+ <fo:retrieve-marker retrieve-class-name="section.head.marker"
2090
+ retrieve-position="first-including-carryover"
2091
+ retrieve-boundary="page-sequence"/>
2092
+ </xsl:when>
2093
+ <xsl:otherwise>
2094
+ <xsl:apply-templates select="." mode="titleabbrev.markup"/>
2095
+ </xsl:otherwise>
2096
+ </xsl:choose>
2097
+ </xsl:if>
2098
+ </xsl:when>
2099
+
2100
+ <xsl:when test="$position='center'">
2101
+ <!-- nothing for empty and blank sequences -->
2102
+ </xsl:when>
2103
+
2104
+ <xsl:when test="$position='right'">
2105
+ <!-- Same for odd, even, empty, and blank sequences -->
2106
+ <xsl:call-template name="draft.text"/>
2107
+ </xsl:when>
2108
+
2109
+ <xsl:when test="$sequence = 'first'">
2110
+ <!-- nothing for first pages -->
2111
+ </xsl:when>
2112
+
2113
+ <xsl:when test="$sequence = 'blank'">
2114
+ <!-- nothing for blank pages -->
2115
+ </xsl:when>
2116
+ </xsl:choose>
2117
+ </fo:block>
2118
+ </xsl:template>
2119
+
2120
+ <xsl:template name="header.footer.width">
2121
+ <xsl:param name="location" select="'header'"/>
2122
+ <xsl:param name="position" select="1"/>
2123
+
2124
+ <xsl:variable name="width.set">
2125
+ <xsl:choose>
2126
+ <xsl:when test="$location = 'header'">
2127
+ <xsl:value-of select="normalize-space($header.column.widths)"/>
2128
+ </xsl:when>
2129
+ <xsl:otherwise>
2130
+ <xsl:value-of select="normalize-space($footer.column.widths)"/>
2131
+ </xsl:otherwise>
2132
+ </xsl:choose>
2133
+ </xsl:variable>
2134
+
2135
+
2136
+ <xsl:variable name="width">
2137
+ <xsl:choose>
2138
+ <xsl:when test="$position = 1">
2139
+ <xsl:value-of select="substring-before($width.set, ' ')"/>
2140
+ </xsl:when>
2141
+ <xsl:when test="$position = 2">
2142
+ <xsl:value-of select="substring-before(substring-after($width.set, ' '), ' ')"/>
2143
+ </xsl:when>
2144
+ <xsl:otherwise>
2145
+ <xsl:value-of select="substring-after(substring-after($width.set, ' '), ' ')"/>
2146
+ </xsl:otherwise>
2147
+ </xsl:choose>
2148
+ </xsl:variable>
2149
+
2150
+ <!-- Make sure it is a number -->
2151
+ <xsl:choose>
2152
+ <xsl:when test = "$width = number($width)">
2153
+ <xsl:value-of select="$width"/>
2154
+ </xsl:when>
2155
+ <xsl:otherwise>
2156
+ <xsl:message>Error: value in <xsl:value-of select="$location"/>.column.widths at position <xsl:value-of select="$position"/> is not a number.</xsl:message>
2157
+ <xsl:text>1</xsl:text>
2158
+ </xsl:otherwise>
2159
+ </xsl:choose>
2160
+ </xsl:template>
2161
+
2162
+ <xsl:template name="draft.text">
2163
+ <xsl:choose>
2164
+ <xsl:when test="$draft.mode = 'yes'">
2165
+ <xsl:call-template name="gentext">
2166
+ <xsl:with-param name="key" select="'Draft'"/>
2167
+ </xsl:call-template>
2168
+ </xsl:when>
2169
+ <xsl:when test="$draft.mode = 'no'">
2170
+ <!-- nop -->
2171
+ </xsl:when>
2172
+ <xsl:when test="ancestor-or-self::*[@status][1]/@status = 'draft'">
2173
+ <xsl:call-template name="gentext">
2174
+ <xsl:with-param name="key" select="'Draft'"/>
2175
+ </xsl:call-template>
2176
+ </xsl:when>
2177
+ <xsl:otherwise>
2178
+ <!-- nop -->
2179
+ </xsl:otherwise>
2180
+ </xsl:choose>
2181
+ </xsl:template>
2182
+
2183
+ <!-- ==================================================================== -->
2184
+
2185
+ <xsl:template match="*" mode="running.foot.mode">
2186
+ <xsl:param name="master-reference" select="'unknown'"/>
2187
+ <xsl:param name="gentext-key" select="local-name(.)"/>
2188
+
2189
+ <!-- remove -draft from reference -->
2190
+ <xsl:variable name="pageclass">
2191
+ <xsl:choose>
2192
+ <xsl:when test="contains($master-reference, '-draft')">
2193
+ <xsl:value-of select="substring-before($master-reference, '-draft')"/>
2194
+ </xsl:when>
2195
+ <xsl:otherwise>
2196
+ <xsl:value-of select="$master-reference"/>
2197
+ </xsl:otherwise>
2198
+ </xsl:choose>
2199
+ </xsl:variable>
2200
+
2201
+ <fo:static-content flow-name="xsl-region-after-first">
2202
+ <fo:block xsl:use-attribute-sets="footer.content.properties">
2203
+ <xsl:call-template name="footer.table">
2204
+ <xsl:with-param name="pageclass" select="$pageclass"/>
2205
+ <xsl:with-param name="sequence" select="'first'"/>
2206
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2207
+ </xsl:call-template>
2208
+ </fo:block>
2209
+ </fo:static-content>
2210
+
2211
+ <fo:static-content flow-name="xsl-region-after-odd">
2212
+ <fo:block xsl:use-attribute-sets="footer.content.properties">
2213
+ <xsl:call-template name="footer.table">
2214
+ <xsl:with-param name="pageclass" select="$pageclass"/>
2215
+ <xsl:with-param name="sequence" select="'odd'"/>
2216
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2217
+ </xsl:call-template>
2218
+ </fo:block>
2219
+ </fo:static-content>
2220
+
2221
+ <fo:static-content flow-name="xsl-region-after-even">
2222
+ <fo:block xsl:use-attribute-sets="footer.content.properties">
2223
+ <xsl:call-template name="footer.table">
2224
+ <xsl:with-param name="pageclass" select="$pageclass"/>
2225
+ <xsl:with-param name="sequence" select="'even'"/>
2226
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2227
+ </xsl:call-template>
2228
+ </fo:block>
2229
+ </fo:static-content>
2230
+
2231
+ <fo:static-content flow-name="xsl-region-after-blank">
2232
+ <fo:block xsl:use-attribute-sets="footer.content.properties">
2233
+ <xsl:call-template name="footer.table">
2234
+ <xsl:with-param name="pageclass" select="$pageclass"/>
2235
+ <xsl:with-param name="sequence" select="'blank'"/>
2236
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2237
+ </xsl:call-template>
2238
+ </fo:block>
2239
+ </fo:static-content>
2240
+ </xsl:template>
2241
+
2242
+ <xsl:template name="footer.table">
2243
+ <xsl:param name="pageclass" select="''"/>
2244
+ <xsl:param name="sequence" select="''"/>
2245
+ <xsl:param name="gentext-key" select="''"/>
2246
+
2247
+ <!-- default is a single table style for all footers -->
2248
+ <!-- Customize it for different page classes or sequence location -->
2249
+
2250
+ <xsl:choose>
2251
+ <xsl:when test="$pageclass = 'index'">
2252
+ <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute>
2253
+ </xsl:when>
2254
+ </xsl:choose>
2255
+
2256
+ <xsl:variable name="column1">
2257
+ <xsl:choose>
2258
+ <xsl:when test="$double.sided = 0">1</xsl:when>
2259
+ <xsl:when test="$sequence = 'first' or $sequence = 'odd'">1</xsl:when>
2260
+ <xsl:otherwise>3</xsl:otherwise>
2261
+ </xsl:choose>
2262
+ </xsl:variable>
2263
+
2264
+ <xsl:variable name="column3">
2265
+ <xsl:choose>
2266
+ <xsl:when test="$double.sided = 0">3</xsl:when>
2267
+ <xsl:when test="$sequence = 'first' or $sequence = 'odd'">3</xsl:when>
2268
+ <xsl:otherwise>1</xsl:otherwise>
2269
+ </xsl:choose>
2270
+ </xsl:variable>
2271
+
2272
+ <xsl:variable name="candidate">
2273
+ <fo:table xsl:use-attribute-sets="footer.table.properties">
2274
+ <xsl:call-template name="foot.sep.rule">
2275
+ <xsl:with-param name="pageclass" select="$pageclass"/>
2276
+ <xsl:with-param name="sequence" select="$sequence"/>
2277
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2278
+ </xsl:call-template>
2279
+ <fo:table-column column-number="1">
2280
+ <xsl:attribute name="column-width">
2281
+ <xsl:text>proportional-column-width(</xsl:text>
2282
+ <xsl:call-template name="header.footer.width">
2283
+ <xsl:with-param name="location">footer</xsl:with-param>
2284
+ <xsl:with-param name="position" select="$column1"/>
2285
+ </xsl:call-template>
2286
+ <xsl:text>)</xsl:text>
2287
+ </xsl:attribute>
2288
+ </fo:table-column>
2289
+ <fo:table-column column-number="2">
2290
+ <xsl:attribute name="column-width">
2291
+ <xsl:text>proportional-column-width(</xsl:text>
2292
+ <xsl:call-template name="header.footer.width">
2293
+ <xsl:with-param name="location">footer</xsl:with-param>
2294
+ <xsl:with-param name="position" select="2"/>
2295
+ </xsl:call-template>
2296
+ <xsl:text>)</xsl:text>
2297
+ </xsl:attribute>
2298
+ </fo:table-column>
2299
+ <fo:table-column column-number="3">
2300
+ <xsl:attribute name="column-width">
2301
+ <xsl:text>proportional-column-width(</xsl:text>
2302
+ <xsl:call-template name="header.footer.width">
2303
+ <xsl:with-param name="location">footer</xsl:with-param>
2304
+ <xsl:with-param name="position" select="$column3"/>
2305
+ </xsl:call-template>
2306
+ <xsl:text>)</xsl:text>
2307
+ </xsl:attribute>
2308
+ </fo:table-column>
2309
+
2310
+ <fo:table-body>
2311
+ <fo:table-row>
2312
+ <xsl:attribute name="block-progression-dimension.minimum">
2313
+ <xsl:value-of select="$footer.table.height"/>
2314
+ </xsl:attribute>
2315
+ <fo:table-cell text-align="start"
2316
+ display-align="after">
2317
+ <xsl:if test="$fop.extensions = 0">
2318
+ <xsl:attribute name="relative-align">baseline</xsl:attribute>
2319
+ </xsl:if>
2320
+ <fo:block>
2321
+ <xsl:call-template name="footer.content">
2322
+ <xsl:with-param name="pageclass" select="$pageclass"/>
2323
+ <xsl:with-param name="sequence" select="$sequence"/>
2324
+ <xsl:with-param name="position" select="$direction.align.start"/>
2325
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2326
+ </xsl:call-template>
2327
+ </fo:block>
2328
+ </fo:table-cell>
2329
+ <fo:table-cell text-align="center"
2330
+ display-align="after">
2331
+ <xsl:if test="$fop.extensions = 0">
2332
+ <xsl:attribute name="relative-align">baseline</xsl:attribute>
2333
+ </xsl:if>
2334
+ <fo:block>
2335
+ <xsl:call-template name="footer.content">
2336
+ <xsl:with-param name="pageclass" select="$pageclass"/>
2337
+ <xsl:with-param name="sequence" select="$sequence"/>
2338
+ <xsl:with-param name="position" select="'center'"/>
2339
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2340
+ </xsl:call-template>
2341
+ </fo:block>
2342
+ </fo:table-cell>
2343
+ <fo:table-cell text-align="end"
2344
+ display-align="after">
2345
+ <xsl:if test="$fop.extensions = 0">
2346
+ <xsl:attribute name="relative-align">baseline</xsl:attribute>
2347
+ </xsl:if>
2348
+ <fo:block>
2349
+ <xsl:call-template name="footer.content">
2350
+ <xsl:with-param name="pageclass" select="$pageclass"/>
2351
+ <xsl:with-param name="sequence" select="$sequence"/>
2352
+ <xsl:with-param name="position" select="$direction.align.end"/>
2353
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
2354
+ </xsl:call-template>
2355
+ </fo:block>
2356
+ </fo:table-cell>
2357
+ </fo:table-row>
2358
+ </fo:table-body>
2359
+ </fo:table>
2360
+ </xsl:variable>
2361
+
2362
+ <!-- Really output a footer? -->
2363
+ <xsl:choose>
2364
+ <xsl:when test="$pageclass='titlepage' and $gentext-key='book'
2365
+ and $sequence='first'">
2366
+ <!-- no, book titlepages have no footers at all -->
2367
+ </xsl:when>
2368
+ <xsl:when test="$sequence = 'blank' and $footers.on.blank.pages = 0">
2369
+ <!-- no output -->
2370
+ </xsl:when>
2371
+ <xsl:otherwise>
2372
+ <xsl:copy-of select="$candidate"/>
2373
+ </xsl:otherwise>
2374
+ </xsl:choose>
2375
+ </xsl:template>
2376
+
2377
+ <xsl:template name="footer.content">
2378
+ <xsl:param name="pageclass" select="''"/>
2379
+ <xsl:param name="sequence" select="''"/>
2380
+ <xsl:param name="position" select="''"/>
2381
+ <xsl:param name="gentext-key" select="''"/>
2382
+
2383
+ <!--
2384
+ <fo:block>
2385
+ <xsl:value-of select="$pageclass"/>
2386
+ <xsl:text>, </xsl:text>
2387
+ <xsl:value-of select="$sequence"/>
2388
+ <xsl:text>, </xsl:text>
2389
+ <xsl:value-of select="$position"/>
2390
+ <xsl:text>, </xsl:text>
2391
+ <xsl:value-of select="$gentext-key"/>
2392
+ </fo:block>
2393
+ -->
2394
+
2395
+ <fo:block>
2396
+ <!-- pageclass can be front, body, back -->
2397
+ <!-- sequence can be odd, even, first, blank -->
2398
+ <!-- position can be left, center, right -->
2399
+ <xsl:choose>
2400
+ <xsl:when test="$pageclass = 'titlepage'">
2401
+ <!-- nop; no footer on title pages -->
2402
+ </xsl:when>
2403
+
2404
+ <xsl:when test="$double.sided != 0 and $sequence = 'even'
2405
+ and $position='left'">
2406
+ <fo:page-number/>
2407
+ </xsl:when>
2408
+
2409
+ <xsl:when test="$double.sided != 0 and ($sequence = 'odd' or $sequence = 'first')
2410
+ and $position='right'">
2411
+ <fo:page-number/>
2412
+ </xsl:when>
2413
+
2414
+ <xsl:when test="$double.sided = 0 and $position='center'">
2415
+ <fo:page-number/>
2416
+ </xsl:when>
2417
+
2418
+ <xsl:when test="$sequence='blank'">
2419
+ <xsl:choose>
2420
+ <xsl:when test="$double.sided != 0 and $position = 'left'">
2421
+ <fo:page-number/>
2422
+ </xsl:when>
2423
+ <xsl:when test="$double.sided = 0 and $position = 'center'">
2424
+ <fo:page-number/>
2425
+ </xsl:when>
2426
+ <xsl:otherwise>
2427
+ <!-- nop -->
2428
+ </xsl:otherwise>
2429
+ </xsl:choose>
2430
+ </xsl:when>
2431
+
2432
+
2433
+ <xsl:otherwise>
2434
+ <!-- nop -->
2435
+ </xsl:otherwise>
2436
+ </xsl:choose>
2437
+ </fo:block>
2438
+ </xsl:template>
2439
+
2440
+ <!-- ==================================================================== -->
2441
+
2442
+ <xsl:template name="page.number.format">
2443
+ <xsl:param name="element" select="local-name(.)"/>
2444
+ <xsl:param name="master-reference" select="''"/>
2445
+
2446
+ <xsl:choose>
2447
+ <xsl:when test="$element = 'toc' and self::d:book">i</xsl:when>
2448
+ <xsl:when test="$element = 'preface'">i</xsl:when>
2449
+ <xsl:when test="$element = 'dedication'">i</xsl:when>
2450
+ <xsl:when test="$element = 'acknowledgements'">i</xsl:when>
2451
+ <xsl:otherwise>1</xsl:otherwise>
2452
+ </xsl:choose>
2453
+ </xsl:template>
2454
+
2455
+ <xsl:template name="initial.page.number">
2456
+ <xsl:param name="element" select="local-name(.)"/>
2457
+ <xsl:param name="master-reference" select="''"/>
2458
+
2459
+ <!-- Select the first content that the stylesheet places
2460
+ after the TOC -->
2461
+ <xsl:variable name="first.book.content"
2462
+ select="ancestor::d:book/*[
2463
+ not(self::d:title or
2464
+ self::d:subtitle or
2465
+ self::d:titleabbrev or
2466
+ self::d:bookinfo or
2467
+ self::d:info or
2468
+ self::d:dedication or
2469
+ self::d:acknowledgements or
2470
+ self::d:preface or
2471
+ self::d:toc or
2472
+ self::d:lot)][1]"/>
2473
+ <xsl:choose>
2474
+ <!-- double-sided output -->
2475
+ <xsl:when test="$double.sided != 0">
2476
+ <xsl:choose>
2477
+ <xsl:when test="$element = 'toc'">auto-odd</xsl:when>
2478
+ <xsl:when test="$element = 'book'">1</xsl:when>
2479
+ <!-- preface typically continues TOC roman numerals -->
2480
+ <!-- Change page.number.format if not -->
2481
+ <xsl:when test="$element = 'preface'">auto-odd</xsl:when>
2482
+ <xsl:when test="($element = 'dedication' or $element = 'article')
2483
+ and not(preceding::d:chapter
2484
+ or preceding::d:preface
2485
+ or preceding::d:appendix
2486
+ or preceding::d:article
2487
+ or preceding::d:dedication
2488
+ or parent::d:part
2489
+ or parent::d:reference)">1</xsl:when>
2490
+ <xsl:when test="generate-id($first.book.content) =
2491
+ generate-id(.)">1</xsl:when>
2492
+ <xsl:otherwise>auto-odd</xsl:otherwise>
2493
+ </xsl:choose>
2494
+ </xsl:when>
2495
+
2496
+ <!-- single-sided output -->
2497
+ <xsl:otherwise>
2498
+ <xsl:choose>
2499
+ <xsl:when test="$element = 'toc'">auto</xsl:when>
2500
+ <xsl:when test="$element = 'book'">1</xsl:when>
2501
+ <xsl:when test="$element = 'preface'">auto</xsl:when>
2502
+ <xsl:when test="($element = 'dedication' or $element = 'article') and
2503
+ not(preceding::d:chapter
2504
+ or preceding::d:preface
2505
+ or preceding::d:appendix
2506
+ or preceding::d:article
2507
+ or preceding::d:dedication
2508
+ or parent::d:part
2509
+ or parent::d:reference)">1</xsl:when>
2510
+ <xsl:when test="generate-id($first.book.content) =
2511
+ generate-id(.)">1</xsl:when>
2512
+ <xsl:otherwise>auto</xsl:otherwise>
2513
+ </xsl:choose>
2514
+ </xsl:otherwise>
2515
+ </xsl:choose>
2516
+ </xsl:template>
2517
+
2518
+ <xsl:template name="force.page.count">
2519
+ <xsl:param name="element" select="local-name(.)"/>
2520
+ <xsl:param name="master-reference" select="''"/>
2521
+
2522
+ <xsl:choose>
2523
+ <!-- double-sided output -->
2524
+ <xsl:when test="$double.sided != 0">end-on-even</xsl:when>
2525
+ <!-- single-sided output -->
2526
+ <xsl:otherwise>no-force</xsl:otherwise>
2527
+ </xsl:choose>
2528
+ </xsl:template>
2529
+
2530
+ <xsl:template name="set.flow.properties">
2531
+ <xsl:param name="element" select="local-name(.)"/>
2532
+ <xsl:param name="master-reference" select="''"/>
2533
+
2534
+ <!-- This template is called after each <fo:flow> starts. -->
2535
+ <!-- Customize this template to set attributes on fo:flow -->
2536
+
2537
+ <!-- remove -draft from reference -->
2538
+ <xsl:variable name="pageclass">
2539
+ <xsl:choose>
2540
+ <xsl:when test="contains($master-reference, '-draft')">
2541
+ <xsl:value-of select="substring-before($master-reference, '-draft')"/>
2542
+ </xsl:when>
2543
+ <xsl:otherwise>
2544
+ <xsl:value-of select="$master-reference"/>
2545
+ </xsl:otherwise>
2546
+ </xsl:choose>
2547
+ </xsl:variable>
2548
+
2549
+ <xsl:choose>
2550
+ <xsl:when test="$fop.extensions != 0 or $passivetex.extensions != 0">
2551
+ <!-- body.start.indent does not work well with these processors -->
2552
+ </xsl:when>
2553
+ <xsl:when test="starts-with($pageclass, 'body') or
2554
+ starts-with($pageclass, 'lot') or
2555
+ starts-with($pageclass, 'front') or
2556
+ $element = 'preface' or
2557
+ (starts-with($pageclass, 'back') and
2558
+ $element = 'appendix')">
2559
+ <xsl:attribute name="start-indent">
2560
+ <xsl:value-of select="$body.start.indent"/>
2561
+ </xsl:attribute>
2562
+ <xsl:attribute name="end-indent">
2563
+ <xsl:value-of select="$body.end.indent"/>
2564
+ </xsl:attribute>
2565
+ </xsl:when>
2566
+ </xsl:choose>
2567
+
2568
+ </xsl:template>
2569
+ <!-- ==================================================================== -->
2570
+
2571
+ </xsl:stylesheet>