git-scribe 0.0.3 → 0.0.4

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