From 062cd2ef86a66fe3219d3c315685bbe62a07ae62 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Sat, 10 Apr 2021 19:55:01 +0700 Subject: [PATCH] Delete docbook XSL + DTD directories from libs, download instead It was kind of difficult to identify and find the vintage versions used in AspectJ in download archives, but finally I managed to. Docs generation looks good visually, tests to be run on GitHub CI. Signed-off-by: Alexander Kriegisch --- .gitignore | 3 + lib/docbook/docbook-dtd/40chg.txt | 53 - lib/docbook/docbook-dtd/41chg.txt | 18 - lib/docbook/docbook-dtd/ChangeLog | 101 - lib/docbook/docbook-dtd/calstblx.dtd | 199 - lib/docbook/docbook-dtd/dbcentx.mod | 204 - lib/docbook/docbook-dtd/dbgenent.mod | 41 - lib/docbook/docbook-dtd/dbhierx.mod | 2074 ----- lib/docbook/docbook-dtd/dbnotnx.mod | 97 - lib/docbook/docbook-dtd/dbpoolx.mod | 7516 ----------------- lib/docbook/docbook-dtd/docbook.cat | 59 - lib/docbook/docbook-dtd/docbookx.dtd | 125 - lib/docbook/docbook-dtd/ent/iso-amsa.ent | 63 - lib/docbook/docbook-dtd/ent/iso-amsb.ent | 49 - lib/docbook/docbook-dtd/ent/iso-amsc.ent | 15 - lib/docbook/docbook-dtd/ent/iso-amsn.ent | 66 - lib/docbook/docbook-dtd/ent/iso-amso.ent | 26 - lib/docbook/docbook-dtd/ent/iso-amsr.ent | 91 - lib/docbook/docbook-dtd/ent/iso-box.ent | 45 - lib/docbook/docbook-dtd/ent/iso-cyr1.ent | 72 - lib/docbook/docbook-dtd/ent/iso-cyr2.ent | 31 - lib/docbook/docbook-dtd/ent/iso-dia.ent | 19 - lib/docbook/docbook-dtd/ent/iso-grk1.ent | 54 - lib/docbook/docbook-dtd/ent/iso-grk2.ent | 25 - lib/docbook/docbook-dtd/ent/iso-grk3.ent | 48 - lib/docbook/docbook-dtd/ent/iso-grk4.ent | 48 - lib/docbook/docbook-dtd/ent/iso-lat1.ent | 67 - lib/docbook/docbook-dtd/ent/iso-lat2.ent | 126 - lib/docbook/docbook-dtd/ent/iso-num.ent | 81 - lib/docbook/docbook-dtd/ent/iso-pub.ent | 90 - lib/docbook/docbook-dtd/ent/iso-tech.ent | 69 - lib/docbook/docbook-dtd/readme.txt | 16 - lib/docbook/docbook-dtd/soextblx.dtd | 308 - lib/docbook/docbook-xsl/BUGS | 6 - lib/docbook/docbook-xsl/ChangeLog | 58 - lib/docbook/docbook-xsl/README | 104 - lib/docbook/docbook-xsl/TODO | 4 - lib/docbook/docbook-xsl/VERSION | 6 - lib/docbook/docbook-xsl/WhatsNew | 111 - lib/docbook/docbook-xsl/common/ChangeLog | 142 - lib/docbook/docbook-xsl/common/af.xml | 335 - lib/docbook/docbook-xsl/common/ca.xml | 335 - lib/docbook/docbook-xsl/common/common.xsl | 1060 --- lib/docbook/docbook-xsl/common/cs.xml | 339 - lib/docbook/docbook-xsl/common/da.xml | 335 - lib/docbook/docbook-xsl/common/de.xml | 335 - lib/docbook/docbook-xsl/common/el.xml | 333 - lib/docbook/docbook-xsl/common/en.xml | 361 - lib/docbook/docbook-xsl/common/es.xml | 355 - lib/docbook/docbook-xsl/common/et.xml | 333 - lib/docbook/docbook-xsl/common/fi.xml | 333 - lib/docbook/docbook-xsl/common/fr.xml | 337 - lib/docbook/docbook-xsl/common/gentext.xsl | 406 - lib/docbook/docbook-xsl/common/hu.xml | 333 - lib/docbook/docbook-xsl/common/id.xml | 333 - lib/docbook/docbook-xsl/common/it.xml | 345 - lib/docbook/docbook-xsl/common/ja.xml | 343 - lib/docbook/docbook-xsl/common/ko.xml | 332 - lib/docbook/docbook-xsl/common/l10n.dtd | 32 - lib/docbook/docbook-xsl/common/l10n.xml | 65 - lib/docbook/docbook-xsl/common/l10n.xsl | 367 - lib/docbook/docbook-xsl/common/labels.xsl | 519 -- lib/docbook/docbook-xsl/common/nl.xml | 334 - lib/docbook/docbook-xsl/common/no.xml | 333 - lib/docbook/docbook-xsl/common/pl.xml | 325 - lib/docbook/docbook-xsl/common/pt.xml | 336 - lib/docbook/docbook-xsl/common/pt_br.xml | 335 - lib/docbook/docbook-xsl/common/ro.xml | 333 - lib/docbook/docbook-xsl/common/ru.xml | 362 - lib/docbook/docbook-xsl/common/sk.xml | 336 - lib/docbook/docbook-xsl/common/sl.xml | 334 - lib/docbook/docbook-xsl/common/sr.xml | 333 - lib/docbook/docbook-xsl/common/subtitles.xsl | 130 - lib/docbook/docbook-xsl/common/sv.xml | 334 - lib/docbook/docbook-xsl/common/titles.xsl | 364 - lib/docbook/docbook-xsl/common/tr.xml | 344 - lib/docbook/docbook-xsl/common/zh_cn.xml | 333 - lib/docbook/docbook-xsl/common/zh_tw.xml | 315 - lib/docbook/docbook-xsl/doc/ChangeLog | 25 - lib/docbook/docbook-xsl/doc/book.xsl | 49 - lib/docbook/docbook-xsl/doc/ch01s02.html | 67 - lib/docbook/docbook-xsl/doc/ch01s03.html | 422 - lib/docbook/docbook-xsl/doc/ch01s04.html | 250 - lib/docbook/docbook-xsl/doc/ch02s02.html | 7 - lib/docbook/docbook-xsl/doc/ch03.html | 4 - lib/docbook/docbook-xsl/doc/ch04.html | 3 - lib/docbook/docbook-xsl/doc/ch05.html | 60 - lib/docbook/docbook-xsl/doc/common/ChangeLog | 12 - .../docbook-xsl/doc/common/common.html | 387 - lib/docbook/docbook-xsl/doc/copyright.html | 19 - lib/docbook/docbook-xsl/doc/extensions.html | 41 - lib/docbook/docbook-xsl/doc/fo/ChangeLog | 12 - lib/docbook/docbook-xsl/doc/fo/param.html | 1833 ---- lib/docbook/docbook-xsl/doc/fo/table.html | 183 - lib/docbook/docbook-xsl/doc/html/ChangeLog | 12 - lib/docbook/docbook-xsl/doc/html/ebnf.html | 105 - lib/docbook/docbook-xsl/doc/html/param.html | 2020 ----- lib/docbook/docbook-xsl/doc/index.html | 4 - lib/docbook/docbook-xsl/doc/jrefhtml.xsl | 33 - lib/docbook/docbook-xsl/doc/lib/ChangeLog | 12 - lib/docbook/docbook-xsl/doc/lib/lib.html | 165 - lib/docbook/docbook-xsl/doc/pr01.html | 4 - lib/docbook/docbook-xsl/doc/publishing.html | 56 - lib/docbook/docbook-xsl/doc/reference.css | 4 - lib/docbook/docbook-xsl/doc/reference.html | 9 - lib/docbook/docbook-xsl/doc/reference.xsl | 50 - lib/docbook/docbook-xsl/doc/tools/ChangeLog | 8 - .../docbook-xsl/doc/tools/profile-chain.png | Bin 13801 -> 0 bytes .../docbook-xsl/doc/tools/profiling.html | 150 - lib/docbook/docbook-xsl/doc/warranty.html | 10 - lib/docbook/docbook-xsl/docsrc/ChangeLog | 37 - .../docbook-xsl/docsrc/common/ChangeLog | 8 - .../docbook-xsl/docsrc/common/common.xml | 294 - lib/docbook/docbook-xsl/docsrc/copyright.xml | 30 - .../docbook-xsl/docsrc/documentation.xml | 66 - lib/docbook/docbook-xsl/docsrc/extensions.xml | 96 - lib/docbook/docbook-xsl/docsrc/fo/ChangeLog | 8 - lib/docbook/docbook-xsl/docsrc/fo/param.xml | 1448 ---- lib/docbook/docbook-xsl/docsrc/fo/table.xml | 150 - lib/docbook/docbook-xsl/docsrc/html/ChangeLog | 8 - lib/docbook/docbook-xsl/docsrc/html/ebnf.xml | 78 - lib/docbook/docbook-xsl/docsrc/html/param.xml | 1645 ---- lib/docbook/docbook-xsl/docsrc/jrefhtml.xsl | 170 - .../docbook-xsl/docsrc/legalnotice.xml | 37 - lib/docbook/docbook-xsl/docsrc/lib/ChangeLog | 8 - lib/docbook/docbook-xsl/docsrc/lib/lib.xml | 126 - lib/docbook/docbook-xsl/docsrc/publishing.xml | 1019 --- lib/docbook/docbook-xsl/docsrc/reference.xml | 66 - .../docbook-xsl/docsrc/template-example.xml | 12 - .../docbook-xsl/docsrc/template-example.xsl | 20 - .../docbook-xsl/docsrc/template/ChangeLog | 8 - .../docbook-xsl/docsrc/template/titlepage.xml | 493 -- lib/docbook/docbook-xsl/docsrc/templates.xml | 104 - .../docbook-xsl/docsrc/tools/ChangeLog | 8 - .../docsrc/tools/profile-chain.png | Bin 13801 -> 0 bytes .../docbook-xsl/docsrc/tools/profiling.xml | 294 - lib/docbook/docbook-xsl/docsrc/warranty.xml | 14 - lib/docbook/docbook-xsl/docsrc/xsl2jref.xsl | 352 - lib/docbook/docbook-xsl/extensions/ChangeLog | 16 - .../doc/saxon5/com/nwalsh/saxon/CVS.html | 241 - .../doc/saxon5/com/nwalsh/saxon/Callout.html | 328 - .../doc/saxon5/com/nwalsh/saxon/Driver.html | 164 - .../doc/saxon5/com/nwalsh/saxon/Text.html | 469 - .../saxon5/com/nwalsh/saxon/TextFactory.html | 240 - .../doc/saxon5/com/nwalsh/saxon/Verbatim.html | 464 - .../com/nwalsh/saxon/package-frame.html | 34 - .../com/nwalsh/saxon/package-summary.html | 176 - .../saxon5/com/nwalsh/saxon/package-tree.html | 113 - .../doc/saxon5/deprecated-list.html | 89 - .../extensions/doc/saxon5/help-doc.html | 138 - .../extensions/doc/saxon5/index-all.html | 194 - .../extensions/doc/saxon5/index.html | 22 - .../extensions/doc/saxon5/overview-tree.html | 115 - .../extensions/doc/saxon5/package-list | 1 - .../extensions/doc/saxon5/packages.html | 26 - .../doc/saxon5/serialized-form.html | 89 - .../extensions/doc/saxon5/stylesheet.css | 29 - .../doc/saxon6/com/nwalsh/saxon6/CVS.html | 241 - .../com/nwalsh/saxon6/CalloutEmitter.html | 355 - .../saxon6/com/nwalsh/saxon6/CopyEmitter.html | 543 -- .../com/nwalsh/saxon6/LineCountEmitter.html | 555 -- .../com/nwalsh/saxon6/NumberLinesEmitter.html | 328 - .../doc/saxon6/com/nwalsh/saxon6/Table.html | 255 - .../doc/saxon6/com/nwalsh/saxon6/Text.html | 506 -- .../saxon6/com/nwalsh/saxon6/TextFactory.html | 240 - .../saxon6/com/nwalsh/saxon6/Verbatim.html | 347 - .../com/nwalsh/saxon6/package-frame.html | 42 - .../com/nwalsh/saxon6/package-summary.html | 190 - .../com/nwalsh/saxon6/package-tree.html | 116 - .../doc/saxon6/deprecated-list.html | 89 - .../extensions/doc/saxon6/help-doc.html | 138 - .../extensions/doc/saxon6/index-all.html | 329 - .../extensions/doc/saxon6/index.html | 22 - .../extensions/doc/saxon6/overview-tree.html | 118 - .../extensions/doc/saxon6/package-list | 1 - .../extensions/doc/saxon6/packages.html | 26 - .../doc/saxon6/serialized-form.html | 89 - .../extensions/doc/saxon6/stylesheet.css | 29 - lib/docbook/docbook-xsl/extensions/prj.el | 216 - .../docbook-xsl/extensions/saxon642.jar | Bin 34552 -> 0 bytes .../docbook-xsl/extensions/saxon642/ChangeLog | 4 - .../saxon642/com/nwalsh/saxon/CVS.java | 90 - .../saxon642/com/nwalsh/saxon/Callout.java | 90 - .../com/nwalsh/saxon/CalloutEmitter.java | 524 -- .../saxon642/com/nwalsh/saxon/ChangeLog | 14 - .../com/nwalsh/saxon/ColumnScanEmitter.java | 165 - .../com/nwalsh/saxon/ColumnUpdateEmitter.java | 94 - .../com/nwalsh/saxon/CopyEmitter.java | 148 - .../com/nwalsh/saxon/FormatCallout.java | 111 - .../nwalsh/saxon/FormatGraphicCallout.java | 88 - .../com/nwalsh/saxon/FormatTextCallout.java | 43 - .../nwalsh/saxon/FormatUnicodeCallout.java | 98 - .../com/nwalsh/saxon/LineCountEmitter.java | 141 - .../com/nwalsh/saxon/NumberLinesEmitter.java | 322 - .../saxon642/com/nwalsh/saxon/Table.java | 431 - .../saxon642/com/nwalsh/saxon/Text.java | 132 - .../com/nwalsh/saxon/TextFactory.java | 67 - .../saxon642/com/nwalsh/saxon/Verbatim.java | 471 -- .../saxon642/com/nwalsh/saxon/package.html | 48 - .../docbook-xsl/extensions/saxon642/prj.el | 218 - .../docbook-xsl/extensions/saxon643.jar | Bin 33279 -> 0 bytes .../docbook-xsl/extensions/saxon643/ChangeLog | 4 - .../saxon643/com/nwalsh/saxon/CVS.java | 90 - .../saxon643/com/nwalsh/saxon/Callout.java | 90 - .../com/nwalsh/saxon/CalloutEmitter.java | 526 -- .../saxon643/com/nwalsh/saxon/ChangeLog | 14 - .../com/nwalsh/saxon/ColumnScanEmitter.java | 165 - .../com/nwalsh/saxon/ColumnUpdateEmitter.java | 96 - .../com/nwalsh/saxon/CopyEmitter.java | 150 - .../com/nwalsh/saxon/FormatCallout.java | 111 - .../nwalsh/saxon/FormatGraphicCallout.java | 88 - .../com/nwalsh/saxon/FormatTextCallout.java | 43 - .../nwalsh/saxon/FormatUnicodeCallout.java | 98 - .../com/nwalsh/saxon/LineCountEmitter.java | 141 - .../com/nwalsh/saxon/NumberLinesEmitter.java | 324 - .../saxon643/com/nwalsh/saxon/Table.java | 435 - .../saxon643/com/nwalsh/saxon/Text.java | 132 - .../com/nwalsh/saxon/TextFactory.java | 67 - .../saxon643/com/nwalsh/saxon/Verbatim.java | 476 -- .../saxon643/com/nwalsh/saxon/package.html | 48 - .../docbook-xsl/extensions/saxon643/prj.el | 218 - lib/docbook/docbook-xsl/extensions/xalan2.jar | Bin 27367 -> 0 bytes .../docbook-xsl/extensions/xalan2/ChangeLog | 4 - .../xalan2/com/nwalsh/xalan/CVS.java | 90 - .../xalan2/com/nwalsh/xalan/Callout.java | 143 - .../xalan2/com/nwalsh/xalan/ChangeLog | 24 - .../com/nwalsh/xalan/FormatCallout.java | 108 - .../nwalsh/xalan/FormatDingbatCallout.java | 82 - .../nwalsh/xalan/FormatGraphicCallout.java | 83 - .../com/nwalsh/xalan/FormatTextCallout.java | 38 - .../nwalsh/xalan/FormatUnicodeCallout.java | 61 - .../xalan2/com/nwalsh/xalan/Func.java | 59 - .../xalan2/com/nwalsh/xalan/Params.java | 57 - .../xalan2/com/nwalsh/xalan/Table.java | 489 -- .../xalan2/com/nwalsh/xalan/Text.java | 128 - .../xalan2/com/nwalsh/xalan/Verbatim.java | 929 -- .../xalan2/com/nwalsh/xalan/package.html | 48 - lib/docbook/docbook-xsl/fo/ChangeLog | 240 - lib/docbook/docbook-xsl/fo/admon.xsl | 116 - lib/docbook/docbook-xsl/fo/autoidx.xsl | 332 - lib/docbook/docbook-xsl/fo/autotoc.xsl | 182 - lib/docbook/docbook-xsl/fo/biblio.xsl | 1023 --- lib/docbook/docbook-xsl/fo/block.xsl | 225 - lib/docbook/docbook-xsl/fo/callout.xsl | 181 - lib/docbook/docbook-xsl/fo/component.xsl | 400 - lib/docbook/docbook-xsl/fo/division.xsl | 359 - lib/docbook/docbook-xsl/fo/docbook.xsl | 162 - lib/docbook/docbook-xsl/fo/ebnf.xsl | 318 - lib/docbook/docbook-xsl/fo/fo.xsl | 49 - lib/docbook/docbook-xsl/fo/footnote.xsl | 58 - lib/docbook/docbook-xsl/fo/fop.xsl | 186 - lib/docbook/docbook-xsl/fo/formal.xsl | 112 - lib/docbook/docbook-xsl/fo/glossary.xsl | 304 - lib/docbook/docbook-xsl/fo/graphics.xsl | 341 - lib/docbook/docbook-xsl/fo/index.xsl | 119 - lib/docbook/docbook-xsl/fo/info.xsl | 34 - lib/docbook/docbook-xsl/fo/inline.xsl | 608 -- lib/docbook/docbook-xsl/fo/keywords.xsl | 21 - lib/docbook/docbook-xsl/fo/lists.xsl | 589 -- lib/docbook/docbook-xsl/fo/math.xsl | 32 - lib/docbook/docbook-xsl/fo/pagesetup.xsl | 431 - lib/docbook/docbook-xsl/fo/param.xsl | 1268 --- lib/docbook/docbook-xsl/fo/pi.xsl | 183 - lib/docbook/docbook-xsl/fo/qandaset.xsl | 222 - lib/docbook/docbook-xsl/fo/refentry.xsl | 266 - lib/docbook/docbook-xsl/fo/sections.xsl | 352 - lib/docbook/docbook-xsl/fo/synop.xsl | 241 - lib/docbook/docbook-xsl/fo/table.xsl | 748 -- .../docbook-xsl/fo/titlepage.templates.xml | 934 -- .../docbook-xsl/fo/titlepage.templates.xsl | 2914 ------- lib/docbook/docbook-xsl/fo/titlepage.xsl | 637 -- lib/docbook/docbook-xsl/fo/toc.xsl | 211 - lib/docbook/docbook-xsl/fo/verbatim.xsl | 246 - lib/docbook/docbook-xsl/fo/xep.xsl | 207 - lib/docbook/docbook-xsl/fo/xref.xsl | 415 - lib/docbook/docbook-xsl/html/ChangeLog | 355 - lib/docbook/docbook-xsl/html/admon.xsl | 135 - lib/docbook/docbook-xsl/html/autoidx.xsl | 296 - lib/docbook/docbook-xsl/html/autotoc.xsl | 620 -- lib/docbook/docbook-xsl/html/biblio.xsl | 992 --- lib/docbook/docbook-xsl/html/block.xsl | 371 - lib/docbook/docbook-xsl/html/calc-chunks.xsl | 486 -- lib/docbook/docbook-xsl/html/callout.xsl | 150 - lib/docbook/docbook-xsl/html/changebars.xsl | 81 - lib/docbook/docbook-xsl/html/chunk-common.xsl | 1185 --- .../docbook-xsl/html/chunk-experimental.xsl | 796 -- lib/docbook/docbook-xsl/html/chunk.xsl | 14 - lib/docbook/docbook-xsl/html/chunker.xsl | 196 - lib/docbook/docbook-xsl/html/component.xsl | 320 - lib/docbook/docbook-xsl/html/division.xsl | 134 - lib/docbook/docbook-xsl/html/docbook.xsl | 224 - lib/docbook/docbook-xsl/html/ebnf.xsl | 350 - lib/docbook/docbook-xsl/html/expchunk.xsl | 16 - lib/docbook/docbook-xsl/html/footnote.xsl | 160 - lib/docbook/docbook-xsl/html/formal.xsl | 88 - lib/docbook/docbook-xsl/html/glossary.xsl | 219 - lib/docbook/docbook-xsl/html/graphics.xsl | 331 - lib/docbook/docbook-xsl/html/html.xsl | 56 - lib/docbook/docbook-xsl/html/index.xsl | 185 - lib/docbook/docbook-xsl/html/info.xsl | 53 - lib/docbook/docbook-xsl/html/inline.xsl | 795 -- lib/docbook/docbook-xsl/html/keywords.xsl | 35 - lib/docbook/docbook-xsl/html/lists.xsl | 711 -- lib/docbook/docbook-xsl/html/math.xsl | 22 - lib/docbook/docbook-xsl/html/oldchunker.xsl | 190 - lib/docbook/docbook-xsl/html/param.xsl | 1239 --- lib/docbook/docbook-xsl/html/pi.xsl | 191 - lib/docbook/docbook-xsl/html/qandaset.xsl | 227 - lib/docbook/docbook-xsl/html/refentry.xsl | 210 - lib/docbook/docbook-xsl/html/sections.xsl | 324 - lib/docbook/docbook-xsl/html/synop.xsl | 939 -- lib/docbook/docbook-xsl/html/table.xsl | 640 -- .../docbook-xsl/html/titlepage.templates.xml | 612 -- .../docbook-xsl/html/titlepage.templates.xsl | 2681 ------ lib/docbook/docbook-xsl/html/titlepage.xsl | 655 -- lib/docbook/docbook-xsl/html/toc.xsl | 173 - lib/docbook/docbook-xsl/html/verbatim.xsl | 337 - lib/docbook/docbook-xsl/html/xref.xsl | 609 -- lib/docbook/docbook-xsl/html/xtchunk.xsl | 10 - lib/docbook/docbook-xsl/html/xtchunker.xsl | 70 - lib/docbook/docbook-xsl/htmlhelp/ChangeLog | 30 - .../docbook-xsl/htmlhelp/doc/ChangeLog | 8 - .../docbook-xsl/htmlhelp/doc/htmlhelp.xml | 145 - .../docbook-xsl/htmlhelp/htmlhelp-common.xsl | 453 - lib/docbook/docbook-xsl/htmlhelp/htmlhelp.xsl | 23 - .../docbook-xsl/htmlhelp/langcodes.xml | 103 - .../docbook-xsl/htmlhelp/xthtmlhelp.xsl | 23 - lib/docbook/docbook-xsl/images/ChangeLog | 5 - lib/docbook/docbook-xsl/images/callouts/1.png | Bin 329 -> 0 bytes .../docbook-xsl/images/callouts/10.png | Bin 361 -> 0 bytes lib/docbook/docbook-xsl/images/callouts/2.png | Bin 353 -> 0 bytes lib/docbook/docbook-xsl/images/callouts/3.png | Bin 350 -> 0 bytes lib/docbook/docbook-xsl/images/callouts/4.png | Bin 345 -> 0 bytes lib/docbook/docbook-xsl/images/callouts/5.png | Bin 348 -> 0 bytes lib/docbook/docbook-xsl/images/callouts/6.png | Bin 355 -> 0 bytes lib/docbook/docbook-xsl/images/callouts/7.png | Bin 344 -> 0 bytes lib/docbook/docbook-xsl/images/callouts/8.png | Bin 357 -> 0 bytes lib/docbook/docbook-xsl/images/callouts/9.png | Bin 357 -> 0 bytes .../docbook-xsl/images/callouts/ChangeLog | 5 - lib/docbook/docbook-xsl/images/caution.gif | Bin 743 -> 0 bytes lib/docbook/docbook-xsl/images/caution.png | Bin 1250 -> 0 bytes lib/docbook/docbook-xsl/images/caution.tif | Bin 1978 -> 0 bytes lib/docbook/docbook-xsl/images/home.png | Bin 1156 -> 0 bytes lib/docbook/docbook-xsl/images/important.gif | Bin 1003 -> 0 bytes lib/docbook/docbook-xsl/images/important.png | Bin 722 -> 0 bytes lib/docbook/docbook-xsl/images/important.tif | Bin 2020 -> 0 bytes lib/docbook/docbook-xsl/images/next.png | Bin 1150 -> 0 bytes lib/docbook/docbook-xsl/images/note.gif | Bin 580 -> 0 bytes lib/docbook/docbook-xsl/images/note.png | Bin 490 -> 0 bytes lib/docbook/docbook-xsl/images/note.tif | Bin 460 -> 0 bytes lib/docbook/docbook-xsl/images/prev.png | Bin 1132 -> 0 bytes lib/docbook/docbook-xsl/images/tip.gif | Bin 598 -> 0 bytes lib/docbook/docbook-xsl/images/tip.png | Bin 449 -> 0 bytes lib/docbook/docbook-xsl/images/tip.tif | Bin 420 -> 0 bytes lib/docbook/docbook-xsl/images/toc-blank.png | Bin 318 -> 0 bytes lib/docbook/docbook-xsl/images/toc-minus.png | Bin 259 -> 0 bytes lib/docbook/docbook-xsl/images/toc-plus.png | Bin 264 -> 0 bytes lib/docbook/docbook-xsl/images/up.png | Bin 1111 -> 0 bytes lib/docbook/docbook-xsl/images/warning.gif | Bin 743 -> 0 bytes lib/docbook/docbook-xsl/images/warning.png | Bin 1241 -> 0 bytes lib/docbook/docbook-xsl/images/warning.tif | Bin 1990 -> 0 bytes lib/docbook/docbook-xsl/javahelp/ChangeLog | 8 - .../docbook-xsl/javahelp/javahelp-common.xsl | 425 - lib/docbook/docbook-xsl/javahelp/javahelp.xsl | 10 - .../docbook-xsl/javahelp/xtjavahelp.xsl | 17 - lib/docbook/docbook-xsl/lib/ChangeLog | 8 - lib/docbook/docbook-xsl/lib/lib.xsl | 242 - lib/docbook/docbook-xsl/template/ChangeLog | 19 - lib/docbook/docbook-xsl/template/README | 15 - .../docbook-xsl/template/biblioentry.xsl | 72 - .../docbook-xsl/template/testtemplate.xml | 38 - .../docbook-xsl/template/titlepage.xsl | 1129 --- lib/docbook/docbook-xsl/tools/ChangeLog | 8 - lib/docbook/docbook-xsl/tools/olink/ChangeLog | 13 - .../docbook-xsl/tools/olink/olink-common.xsl | 193 - lib/docbook/docbook-xsl/tools/olink/olink.xsl | 24 - .../docbook-xsl/tools/olink/olinkchunk.xsl | 22 - .../docbook-xsl/tools/olink/olinksum.dtd | 60 - .../docbook-xsl/tools/profile/ChangeLog | 4 - .../docbook-xsl/tools/profile/profile.xsl | 54 - lib/docbook/docbook-xsl/xhtml/ChangeLog | 16 - lib/docbook/docbook-xsl/xhtml/chunk.xsl | 20 - lib/docbook/docbook-xsl/xhtml/docbook.xsl | 30 - lib/docbook/docbook-xsl/xhtml/xtchunk.xsl | 18 - lib/pom.xml | 98 +- pom.xml | 4 +- 386 files changed, 64 insertions(+), 91700 deletions(-) delete mode 100644 lib/docbook/docbook-dtd/40chg.txt delete mode 100644 lib/docbook/docbook-dtd/41chg.txt delete mode 100644 lib/docbook/docbook-dtd/ChangeLog delete mode 100644 lib/docbook/docbook-dtd/calstblx.dtd delete mode 100644 lib/docbook/docbook-dtd/dbcentx.mod delete mode 100644 lib/docbook/docbook-dtd/dbgenent.mod delete mode 100644 lib/docbook/docbook-dtd/dbhierx.mod delete mode 100644 lib/docbook/docbook-dtd/dbnotnx.mod delete mode 100644 lib/docbook/docbook-dtd/dbpoolx.mod delete mode 100644 lib/docbook/docbook-dtd/docbook.cat delete mode 100644 lib/docbook/docbook-dtd/docbookx.dtd delete mode 100644 lib/docbook/docbook-dtd/ent/iso-amsa.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-amsb.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-amsc.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-amsn.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-amso.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-amsr.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-box.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-cyr1.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-cyr2.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-dia.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-grk1.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-grk2.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-grk3.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-grk4.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-lat1.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-lat2.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-num.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-pub.ent delete mode 100644 lib/docbook/docbook-dtd/ent/iso-tech.ent delete mode 100644 lib/docbook/docbook-dtd/readme.txt delete mode 100644 lib/docbook/docbook-dtd/soextblx.dtd delete mode 100644 lib/docbook/docbook-xsl/BUGS delete mode 100644 lib/docbook/docbook-xsl/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/README delete mode 100644 lib/docbook/docbook-xsl/TODO delete mode 100644 lib/docbook/docbook-xsl/VERSION delete mode 100644 lib/docbook/docbook-xsl/WhatsNew delete mode 100644 lib/docbook/docbook-xsl/common/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/common/af.xml delete mode 100644 lib/docbook/docbook-xsl/common/ca.xml delete mode 100644 lib/docbook/docbook-xsl/common/common.xsl delete mode 100644 lib/docbook/docbook-xsl/common/cs.xml delete mode 100644 lib/docbook/docbook-xsl/common/da.xml delete mode 100644 lib/docbook/docbook-xsl/common/de.xml delete mode 100644 lib/docbook/docbook-xsl/common/el.xml delete mode 100644 lib/docbook/docbook-xsl/common/en.xml delete mode 100644 lib/docbook/docbook-xsl/common/es.xml delete mode 100644 lib/docbook/docbook-xsl/common/et.xml delete mode 100644 lib/docbook/docbook-xsl/common/fi.xml delete mode 100644 lib/docbook/docbook-xsl/common/fr.xml delete mode 100644 lib/docbook/docbook-xsl/common/gentext.xsl delete mode 100644 lib/docbook/docbook-xsl/common/hu.xml delete mode 100644 lib/docbook/docbook-xsl/common/id.xml delete mode 100644 lib/docbook/docbook-xsl/common/it.xml delete mode 100644 lib/docbook/docbook-xsl/common/ja.xml delete mode 100644 lib/docbook/docbook-xsl/common/ko.xml delete mode 100644 lib/docbook/docbook-xsl/common/l10n.dtd delete mode 100644 lib/docbook/docbook-xsl/common/l10n.xml delete mode 100644 lib/docbook/docbook-xsl/common/l10n.xsl delete mode 100644 lib/docbook/docbook-xsl/common/labels.xsl delete mode 100644 lib/docbook/docbook-xsl/common/nl.xml delete mode 100644 lib/docbook/docbook-xsl/common/no.xml delete mode 100644 lib/docbook/docbook-xsl/common/pl.xml delete mode 100644 lib/docbook/docbook-xsl/common/pt.xml delete mode 100644 lib/docbook/docbook-xsl/common/pt_br.xml delete mode 100644 lib/docbook/docbook-xsl/common/ro.xml delete mode 100644 lib/docbook/docbook-xsl/common/ru.xml delete mode 100644 lib/docbook/docbook-xsl/common/sk.xml delete mode 100644 lib/docbook/docbook-xsl/common/sl.xml delete mode 100644 lib/docbook/docbook-xsl/common/sr.xml delete mode 100644 lib/docbook/docbook-xsl/common/subtitles.xsl delete mode 100644 lib/docbook/docbook-xsl/common/sv.xml delete mode 100644 lib/docbook/docbook-xsl/common/titles.xsl delete mode 100644 lib/docbook/docbook-xsl/common/tr.xml delete mode 100644 lib/docbook/docbook-xsl/common/zh_cn.xml delete mode 100644 lib/docbook/docbook-xsl/common/zh_tw.xml delete mode 100644 lib/docbook/docbook-xsl/doc/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/doc/book.xsl delete mode 100644 lib/docbook/docbook-xsl/doc/ch01s02.html delete mode 100644 lib/docbook/docbook-xsl/doc/ch01s03.html delete mode 100644 lib/docbook/docbook-xsl/doc/ch01s04.html delete mode 100644 lib/docbook/docbook-xsl/doc/ch02s02.html delete mode 100644 lib/docbook/docbook-xsl/doc/ch03.html delete mode 100644 lib/docbook/docbook-xsl/doc/ch04.html delete mode 100644 lib/docbook/docbook-xsl/doc/ch05.html delete mode 100644 lib/docbook/docbook-xsl/doc/common/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/doc/common/common.html delete mode 100644 lib/docbook/docbook-xsl/doc/copyright.html delete mode 100644 lib/docbook/docbook-xsl/doc/extensions.html delete mode 100644 lib/docbook/docbook-xsl/doc/fo/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/doc/fo/param.html delete mode 100644 lib/docbook/docbook-xsl/doc/fo/table.html delete mode 100644 lib/docbook/docbook-xsl/doc/html/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/doc/html/ebnf.html delete mode 100644 lib/docbook/docbook-xsl/doc/html/param.html delete mode 100644 lib/docbook/docbook-xsl/doc/index.html delete mode 100644 lib/docbook/docbook-xsl/doc/jrefhtml.xsl delete mode 100644 lib/docbook/docbook-xsl/doc/lib/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/doc/lib/lib.html delete mode 100644 lib/docbook/docbook-xsl/doc/pr01.html delete mode 100644 lib/docbook/docbook-xsl/doc/publishing.html delete mode 100644 lib/docbook/docbook-xsl/doc/reference.css delete mode 100644 lib/docbook/docbook-xsl/doc/reference.html delete mode 100644 lib/docbook/docbook-xsl/doc/reference.xsl delete mode 100644 lib/docbook/docbook-xsl/doc/tools/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/doc/tools/profile-chain.png delete mode 100644 lib/docbook/docbook-xsl/doc/tools/profiling.html delete mode 100644 lib/docbook/docbook-xsl/doc/warranty.html delete mode 100644 lib/docbook/docbook-xsl/docsrc/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/docsrc/common/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/docsrc/common/common.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/copyright.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/documentation.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/extensions.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/fo/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/docsrc/fo/param.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/fo/table.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/html/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/docsrc/html/ebnf.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/html/param.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/jrefhtml.xsl delete mode 100644 lib/docbook/docbook-xsl/docsrc/legalnotice.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/lib/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/docsrc/lib/lib.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/publishing.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/reference.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/template-example.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/template-example.xsl delete mode 100644 lib/docbook/docbook-xsl/docsrc/template/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/docsrc/template/titlepage.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/templates.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/tools/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/docsrc/tools/profile-chain.png delete mode 100644 lib/docbook/docbook-xsl/docsrc/tools/profiling.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/warranty.xml delete mode 100644 lib/docbook/docbook-xsl/docsrc/xsl2jref.xsl delete mode 100644 lib/docbook/docbook-xsl/extensions/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/CVS.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Callout.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Driver.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Text.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/TextFactory.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Verbatim.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-frame.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-summary.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-tree.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/deprecated-list.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/help-doc.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/index-all.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/index.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/overview-tree.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/package-list delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/packages.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/serialized-form.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon5/stylesheet.css delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CVS.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CalloutEmitter.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CopyEmitter.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/LineCountEmitter.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/NumberLinesEmitter.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Table.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Text.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/TextFactory.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Verbatim.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-frame.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-summary.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-tree.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/deprecated-list.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/help-doc.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/index-all.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/index.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/overview-tree.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/package-list delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/packages.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/serialized-form.html delete mode 100644 lib/docbook/docbook-xsl/extensions/doc/saxon6/stylesheet.css delete mode 100644 lib/docbook/docbook-xsl/extensions/prj.el delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642.jar delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CVS.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Callout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CalloutEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ColumnScanEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ColumnUpdateEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CopyEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatGraphicCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatTextCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatUnicodeCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/LineCountEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/NumberLinesEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Table.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Text.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/TextFactory.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Verbatim.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/package.html delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon642/prj.el delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643.jar delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CVS.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Callout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CalloutEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ColumnScanEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ColumnUpdateEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CopyEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatGraphicCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatTextCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatUnicodeCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/LineCountEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/NumberLinesEmitter.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Table.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Text.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/TextFactory.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Verbatim.java delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/package.html delete mode 100644 lib/docbook/docbook-xsl/extensions/saxon643/prj.el delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2.jar delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/CVS.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Callout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatDingbatCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatGraphicCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatTextCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatUnicodeCallout.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Func.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Params.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Table.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Text.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Verbatim.java delete mode 100644 lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/package.html delete mode 100644 lib/docbook/docbook-xsl/fo/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/fo/admon.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/autoidx.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/autotoc.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/biblio.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/block.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/callout.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/component.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/division.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/docbook.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/ebnf.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/fo.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/footnote.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/fop.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/formal.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/glossary.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/graphics.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/index.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/info.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/inline.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/keywords.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/lists.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/math.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/pagesetup.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/param.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/pi.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/qandaset.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/refentry.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/sections.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/synop.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/table.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/titlepage.templates.xml delete mode 100644 lib/docbook/docbook-xsl/fo/titlepage.templates.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/titlepage.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/toc.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/verbatim.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/xep.xsl delete mode 100644 lib/docbook/docbook-xsl/fo/xref.xsl delete mode 100644 lib/docbook/docbook-xsl/html/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/html/admon.xsl delete mode 100644 lib/docbook/docbook-xsl/html/autoidx.xsl delete mode 100644 lib/docbook/docbook-xsl/html/autotoc.xsl delete mode 100644 lib/docbook/docbook-xsl/html/biblio.xsl delete mode 100644 lib/docbook/docbook-xsl/html/block.xsl delete mode 100644 lib/docbook/docbook-xsl/html/calc-chunks.xsl delete mode 100644 lib/docbook/docbook-xsl/html/callout.xsl delete mode 100644 lib/docbook/docbook-xsl/html/changebars.xsl delete mode 100644 lib/docbook/docbook-xsl/html/chunk-common.xsl delete mode 100644 lib/docbook/docbook-xsl/html/chunk-experimental.xsl delete mode 100644 lib/docbook/docbook-xsl/html/chunk.xsl delete mode 100644 lib/docbook/docbook-xsl/html/chunker.xsl delete mode 100644 lib/docbook/docbook-xsl/html/component.xsl delete mode 100644 lib/docbook/docbook-xsl/html/division.xsl delete mode 100644 lib/docbook/docbook-xsl/html/docbook.xsl delete mode 100644 lib/docbook/docbook-xsl/html/ebnf.xsl delete mode 100644 lib/docbook/docbook-xsl/html/expchunk.xsl delete mode 100644 lib/docbook/docbook-xsl/html/footnote.xsl delete mode 100644 lib/docbook/docbook-xsl/html/formal.xsl delete mode 100644 lib/docbook/docbook-xsl/html/glossary.xsl delete mode 100644 lib/docbook/docbook-xsl/html/graphics.xsl delete mode 100644 lib/docbook/docbook-xsl/html/html.xsl delete mode 100644 lib/docbook/docbook-xsl/html/index.xsl delete mode 100644 lib/docbook/docbook-xsl/html/info.xsl delete mode 100644 lib/docbook/docbook-xsl/html/inline.xsl delete mode 100644 lib/docbook/docbook-xsl/html/keywords.xsl delete mode 100644 lib/docbook/docbook-xsl/html/lists.xsl delete mode 100644 lib/docbook/docbook-xsl/html/math.xsl delete mode 100644 lib/docbook/docbook-xsl/html/oldchunker.xsl delete mode 100644 lib/docbook/docbook-xsl/html/param.xsl delete mode 100644 lib/docbook/docbook-xsl/html/pi.xsl delete mode 100644 lib/docbook/docbook-xsl/html/qandaset.xsl delete mode 100644 lib/docbook/docbook-xsl/html/refentry.xsl delete mode 100644 lib/docbook/docbook-xsl/html/sections.xsl delete mode 100644 lib/docbook/docbook-xsl/html/synop.xsl delete mode 100644 lib/docbook/docbook-xsl/html/table.xsl delete mode 100644 lib/docbook/docbook-xsl/html/titlepage.templates.xml delete mode 100644 lib/docbook/docbook-xsl/html/titlepage.templates.xsl delete mode 100644 lib/docbook/docbook-xsl/html/titlepage.xsl delete mode 100644 lib/docbook/docbook-xsl/html/toc.xsl delete mode 100644 lib/docbook/docbook-xsl/html/verbatim.xsl delete mode 100644 lib/docbook/docbook-xsl/html/xref.xsl delete mode 100644 lib/docbook/docbook-xsl/html/xtchunk.xsl delete mode 100644 lib/docbook/docbook-xsl/html/xtchunker.xsl delete mode 100644 lib/docbook/docbook-xsl/htmlhelp/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/htmlhelp/doc/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/htmlhelp/doc/htmlhelp.xml delete mode 100644 lib/docbook/docbook-xsl/htmlhelp/htmlhelp-common.xsl delete mode 100644 lib/docbook/docbook-xsl/htmlhelp/htmlhelp.xsl delete mode 100644 lib/docbook/docbook-xsl/htmlhelp/langcodes.xml delete mode 100644 lib/docbook/docbook-xsl/htmlhelp/xthtmlhelp.xsl delete mode 100644 lib/docbook/docbook-xsl/images/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/images/callouts/1.png delete mode 100644 lib/docbook/docbook-xsl/images/callouts/10.png delete mode 100644 lib/docbook/docbook-xsl/images/callouts/2.png delete mode 100644 lib/docbook/docbook-xsl/images/callouts/3.png delete mode 100644 lib/docbook/docbook-xsl/images/callouts/4.png delete mode 100644 lib/docbook/docbook-xsl/images/callouts/5.png delete mode 100644 lib/docbook/docbook-xsl/images/callouts/6.png delete mode 100644 lib/docbook/docbook-xsl/images/callouts/7.png delete mode 100644 lib/docbook/docbook-xsl/images/callouts/8.png delete mode 100644 lib/docbook/docbook-xsl/images/callouts/9.png delete mode 100644 lib/docbook/docbook-xsl/images/callouts/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/images/caution.gif delete mode 100644 lib/docbook/docbook-xsl/images/caution.png delete mode 100644 lib/docbook/docbook-xsl/images/caution.tif delete mode 100644 lib/docbook/docbook-xsl/images/home.png delete mode 100644 lib/docbook/docbook-xsl/images/important.gif delete mode 100644 lib/docbook/docbook-xsl/images/important.png delete mode 100644 lib/docbook/docbook-xsl/images/important.tif delete mode 100644 lib/docbook/docbook-xsl/images/next.png delete mode 100644 lib/docbook/docbook-xsl/images/note.gif delete mode 100644 lib/docbook/docbook-xsl/images/note.png delete mode 100644 lib/docbook/docbook-xsl/images/note.tif delete mode 100644 lib/docbook/docbook-xsl/images/prev.png delete mode 100644 lib/docbook/docbook-xsl/images/tip.gif delete mode 100644 lib/docbook/docbook-xsl/images/tip.png delete mode 100644 lib/docbook/docbook-xsl/images/tip.tif delete mode 100644 lib/docbook/docbook-xsl/images/toc-blank.png delete mode 100644 lib/docbook/docbook-xsl/images/toc-minus.png delete mode 100644 lib/docbook/docbook-xsl/images/toc-plus.png delete mode 100644 lib/docbook/docbook-xsl/images/up.png delete mode 100644 lib/docbook/docbook-xsl/images/warning.gif delete mode 100644 lib/docbook/docbook-xsl/images/warning.png delete mode 100644 lib/docbook/docbook-xsl/images/warning.tif delete mode 100644 lib/docbook/docbook-xsl/javahelp/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/javahelp/javahelp-common.xsl delete mode 100644 lib/docbook/docbook-xsl/javahelp/javahelp.xsl delete mode 100644 lib/docbook/docbook-xsl/javahelp/xtjavahelp.xsl delete mode 100644 lib/docbook/docbook-xsl/lib/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/lib/lib.xsl delete mode 100644 lib/docbook/docbook-xsl/template/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/template/README delete mode 100644 lib/docbook/docbook-xsl/template/biblioentry.xsl delete mode 100644 lib/docbook/docbook-xsl/template/testtemplate.xml delete mode 100644 lib/docbook/docbook-xsl/template/titlepage.xsl delete mode 100644 lib/docbook/docbook-xsl/tools/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/tools/olink/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/tools/olink/olink-common.xsl delete mode 100644 lib/docbook/docbook-xsl/tools/olink/olink.xsl delete mode 100644 lib/docbook/docbook-xsl/tools/olink/olinkchunk.xsl delete mode 100644 lib/docbook/docbook-xsl/tools/olink/olinksum.dtd delete mode 100644 lib/docbook/docbook-xsl/tools/profile/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/tools/profile/profile.xsl delete mode 100644 lib/docbook/docbook-xsl/xhtml/ChangeLog delete mode 100644 lib/docbook/docbook-xsl/xhtml/chunk.xsl delete mode 100644 lib/docbook/docbook-xsl/xhtml/docbook.xsl delete mode 100644 lib/docbook/docbook-xsl/xhtml/xtchunk.xsl diff --git a/.gitignore b/.gitignore index 0d4b7bbc9..09bc5c982 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,9 @@ bin/ /lib/ant/ /lib/asm/ /lib/commons/ +/lib/docbook/docbook-dtd/ +/lib/docbook/docbook-xsl/ +/lib/docbook/doc*.zip /lib/jarjar/ /lib/jdtcore-aj/ /lib/junit/ diff --git a/lib/docbook/docbook-dtd/40chg.txt b/lib/docbook/docbook-dtd/40chg.txt deleted file mode 100644 index f1c720a69..000000000 --- a/lib/docbook/docbook-dtd/40chg.txt +++ /dev/null @@ -1,53 +0,0 @@ -19 June 2000 - -Changes from DocBook V3.1 to DocBook XML V4.1: - -Global: - -- Broad changes required for XML compatibility -- Added a *provisional* set of character entities based on the ISO - entity sets. The DocBook TC is not willing to accept the long-term - responsibility for defining and maintaining these sets. The TC - will ask OASIS to form a new TC for this purpose. - -Markup: - -- RFE 17: Added a common attribute 'Condition' for generic effectivity -- RFE 38: The nav.class elements (ToC|LoT|Index|Glossary|Bibliography) are - now allowed at the beginning and end of components and sections -- RFE 58: The 'optmult' and 'reqmult' attribute values have been - removed from Group -- RFE 65: Added several class attribute values to Filename and SystemItem - at the request of the Linux community -- RFE 73: Removed BookBiblio and SeriesInfo -- RFE 81: Added SidebarInfo to Sidebar -- RFE 87: Added 'xmlpi' and 'emptytag' as class values of SGMLTag -- RFE 92: Added 'CO' to Synopsis and LiteralLayout -- RFE 99: Added SimpleMsgEntry as an alternative to MsgEntry in order - to provide a simpler MsgSet construct -- RFE 103: Added RevDescription as an alternative to RevRemark in - RevHistory; this allows longer descriptive text in a revision -- RFE 104: Added 'Specification' to the list of document classes on Article -- RFE 108: Allow admonitions in Answers -- RFE 110: Allow a RevHistory on QandAEntry -- RFE 115: Allow optional Title on OrderedList and ItemizedList -- RFE 116: Added LineNumbering attribute to linespecific environments for - presentation of line numbers -- Added a common attribute 'Security' for effectivity -- Added synopsis markup for modern programming languages (e.g, object - oriented languages like Java, C++, and IDL) -- Renamed DocInfo to PrefaceInfo, ChapterInfo, AppendixInfo, etc. -- Comment was renamed Remark -- InterfaceDefinition was removed - -Other: - -- RFE 88: Added PEs to include/ignore dbnotn.mod and dbcent.mod -- RFE 102: Fixed some outstanding namecase problems -- RFE 105: Added PNG notation -- RFE 106: Removed some odd *.content PEs that interfered with - customization layers -- RFE 109: Added FPI to content of dbgenent.mod (for consistency) -- RFE 111: Added the Euro symbol -- Fixed bug in cals-tbl.dtd; a model group was used for the element - declaration, but the attlist declaration used "Table" literally. diff --git a/lib/docbook/docbook-dtd/41chg.txt b/lib/docbook/docbook-dtd/41chg.txt deleted file mode 100644 index 4bb6b914d..000000000 --- a/lib/docbook/docbook-dtd/41chg.txt +++ /dev/null @@ -1,18 +0,0 @@ -27 Aug 2000 - -Changes from DocBook V4.1.1 to DocBook V4.1.2: - -- Fixed broken ISO FPIs in docbook.cat introduced by - careless search-and-replace. - -Changes from DocBook V4.0 to DocBook V4.1.1: - -- Removed some 4.0 future use comments that had accidentally - been left in the DTD -- Fixed system identifiers in docbook.cat -- Added version information to all the ent/*.ent files -- Fixed a number of numeric character references in the ent/*.ent files -- Fixed a couple of incorrect FPIs. -- Renamed dbgenent.ent to dbgenent.mod for parity with SGML version - -See 40chg.txt for a list of the significant changes. diff --git a/lib/docbook/docbook-dtd/ChangeLog b/lib/docbook/docbook-dtd/ChangeLog deleted file mode 100644 index d8a1049cf..000000000 --- a/lib/docbook/docbook-dtd/ChangeLog +++ /dev/null @@ -1,101 +0,0 @@ -2000-08-12 Norman Walsh - - * 40chg.txt: Updated; changed version number - - * 41chg.txt, readme.txt: Updated; changed version number, release date - - * calstblx.dtd, dbcentx.mod, dbgenent.ent, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat: - Changed version number - - * docbookx.dtd: DocBook XML V4.1.1 released - -2000-07-06 Norman Walsh - - * 40chg.txt, 41chg.txt, calstblx.dtd, dbcentx.mod, dbgenent.ent, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat, readme.txt: - Changed version numbers to 4.1.1beta1 - - * docbook.cat: Fixed incorrect system identifiers - - * docbookx.dtd: Version 4.1.1beta1 released - -2000-06-19 Norman Walsh - - * 40chg.txt: Added notes about comment and interfacedefinition - - * 41chg.txt: New file. - - * calstblx.dtd, dbcentx.mod, dbgenent.ent, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat, docbookx.dtd, readme.txt: - Updated version numbers to 4.1 - - * dbgenent.ent: Fixed FPI; added 'XML' - - * dbhierx.mod: Removed 4.0 future use comments - - * dbpoolx.mod: Removed 4.0 future use comments; fixed table model selection comment; fixed 'Norman Walsh' FPIs - - * docbook.cat: New file. - -2000-05-18 Norman Walsh - - * 40chg.txt, calstblx.dtd, dbcentx.mod, dbgenent.ent, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbookx.dtd, readme.txt: - Removed references to beta6 - - * docbookx.dtd: DocBook XML V4.0 released. - -2000-04-10 Norman Walsh - - * 40chg.txt, calstblx.dtd, dbcentx.mod, dbgenent.ent, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbookx.dtd, readme.txt: - Updated release date and version to 4.0beta6 - - * dbpoolx.mod: Added support for EBNF hook; fixed equation content bug - -2000-04-03 Norman Walsh - - * 40chg.txt: Added note about renaming DocInfo to *Info. - - * 40chg.txt, calstblx.dtd, dbcentx.mod, dbgenent.ent, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbookx.dtd, readme.txt: - Updated version numbers - -2000-03-30 Norman Walsh - - * dbpoolx.mod: Removed beginpage from highlights.mix; it's excluded in the SGML version. - -2000-03-24 Norman Walsh - - * 40chg.txt, calstblx.dtd, dbcentx.mod, dbgenent.ent, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbookx.dtd, readme.txt: - Updated version numbers - - * dbefsyn.mod: Removed - - * dbpoolx.mod: Removed ELEMENT from comments to ease text searching of the DTD. - Merged dbefsyn.mod into dbpoolx.mod - Added Modifier as an optional element at the end of MethodSynopsis - and MethodParam. - -2000-03-07 Norman Walsh - - * 40chg.txt: New file. - - * 40chg.txt, calstblx.dtd, dbcentx.mod, dbgenent.ent, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbookx.dtd, readme.txt, soextblx.dtd: - Updated internal versions to beta3 - -2000-03-03 Norman Walsh - - * dbpoolx.mod: Removed erroneous comment about inline synopses - -2000-03-02 Norman Walsh - - * calstblx.dtd, dbcentx.mod, dbefsyn.mod, dbgenent.ent, dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbookx.dtd, readme.txt, soextblx.dtd: - New file. - - * dbefsyn.mod, dbpoolx.mod: Added ooclass, oointerface, and ooexception as wrappers for modifiers - and names in classsynopsis. Also allow them inline. - - Fixed SGML PE parsing problem with hook PEs. - - * dbhierx.mod, dbpoolx.mod: Added hook PEs for future module extension - - * dbpoolx.mod: Removed unused PEs for equation content - - * dbpoolx.mod: Made primary optional (XML has no #CONREF) - diff --git a/lib/docbook/docbook-dtd/calstblx.dtd b/lib/docbook/docbook-dtd/calstblx.dtd deleted file mode 100644 index a4fdb01fa..000000000 --- a/lib/docbook/docbook-dtd/calstblx.dtd +++ /dev/null @@ -1,199 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/dbcentx.mod b/lib/docbook/docbook-dtd/dbcentx.mod deleted file mode 100644 index 1c5b53375..000000000 --- a/lib/docbook/docbook-dtd/dbcentx.mod +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - - - - - - - - -%ISOamsa; -]]> - - - -%ISOamsb; -]]> - - - -%ISOamsc; -]]> - - - -%ISOamsn; -]]> - - - -%ISOamso; -]]> - - - -%ISOamsr; -]]> - - - -%ISObox; -]]> - - - -%ISOcyr1; -]]> - - - -%ISOcyr2; -]]> - - - -%ISOdia; -]]> - - - -%ISOgrk1; -]]> - - - -%ISOgrk2; -]]> - - - -%ISOgrk3; -]]> - - - -%ISOgrk4; -]]> - - - -%ISOlat1; -]]> - - - -%ISOlat2; -]]> - - - -%ISOnum; -]]> - - - -%ISOpub; -]]> - - - -%ISOtech; -]]> - - - diff --git a/lib/docbook/docbook-dtd/dbgenent.mod b/lib/docbook/docbook-dtd/dbgenent.mod deleted file mode 100644 index e38e14881..000000000 --- a/lib/docbook/docbook-dtd/dbgenent.mod +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/dbhierx.mod b/lib/docbook/docbook-dtd/dbhierx.mod deleted file mode 100644 index 0efff1986..000000000 --- a/lib/docbook/docbook-dtd/dbhierx.mod +++ /dev/null @@ -1,2074 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -%rdbhier; -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -%rdbhier2; -]]> - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - -]]> - - - -]]> - - - - - - -]]> - - - -]]> - - - - - - -]]> - - - -]]> - - - - - - -]]> - - - -]]> - - - - - - -]]> - - - -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - -]]> - - - -]]> - - - - - -]]> - - - -]]> - - - - - -]]> - -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - diff --git a/lib/docbook/docbook-dtd/dbnotnx.mod b/lib/docbook/docbook-dtd/dbnotnx.mod deleted file mode 100644 index 465167c02..000000000 --- a/lib/docbook/docbook-dtd/dbnotnx.mod +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/dbpoolx.mod b/lib/docbook/docbook-dtd/dbpoolx.mod deleted file mode 100644 index 4314ea0f3..000000000 --- a/lib/docbook/docbook-dtd/dbpoolx.mod +++ /dev/null @@ -1,7516 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -%rdbpool; -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - - - - -]]> - - - -]]> - - - - -]]> - - - -]]> - - - - -]]> - - - -]]> - - - - -]]> - - - -]]> - -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - - -]]> -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - -]]> - - - -]]> - - -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - - -]]> - - - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - -]]> - -%tablemodel; - -]]> - - - - - - - - -]]> - - - - - - - - - -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> - - -]]> - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - - -]]> - - - -]]> - ]]> - - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - ]]> - - - - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - ]]> - - -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - - - -]]> - - - - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - -]]> - - - - -]]> - - - - -]]> - - - - -]]> - - - - -]]> - -]]> - - - - - - - -]]> - - - -]]> - - - -]]> - - - -]]> -]]> -]]> - - - diff --git a/lib/docbook/docbook-dtd/docbook.cat b/lib/docbook/docbook-dtd/docbook.cat deleted file mode 100644 index 56d84ed8f..000000000 --- a/lib/docbook/docbook-dtd/docbook.cat +++ /dev/null @@ -1,59 +0,0 @@ - -- ...................................................................... -- - -- Catalog data for DocBook XML V4.1.2 .................................... -- - -- File docbook.cat ..................................................... -- - - -- Please direct all questions, bug reports, or suggestions for - changes to the docbook@lists.oasis-open.org mailing list. For more - information, see http://www.oasis-open.org/. - -- - - -- This is the catalog data file for DocBook XML V4.1.2. It is provided as - a convenience in building your own catalog files. You need not use - the filenames listed here, and need not use the filename method of - identifying storage objects at all. See the documentation for - detailed information on the files associated with the DocBook DTD. - See SGML Open Technical Resolution 9401 for detailed information - on supplying and using catalog data. - -- - - -- ...................................................................... -- - -- DocBook driver file .................................................. -- - -PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "docbookx.dtd" - - -- ...................................................................... -- - -- DocBook modules ...................................................... -- - -PUBLIC "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" "calstblx.dtd" -PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "soextblx.dtd" -PUBLIC "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" "dbpoolx.mod" -PUBLIC "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" "dbhierx.mod" -PUBLIC "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" "dbgenent.mod" -PUBLIC "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" "dbnotnx.mod" -PUBLIC "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" "dbcentx.mod" - - -- ...................................................................... -- - -- ISO entity sets ...................................................... -- - -PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "ent/iso-dia.ent" -PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "ent/iso-num.ent" -PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "ent/iso-pub.ent" -PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "ent/iso-tech.ent" -PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "ent/iso-lat1.ent" -PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "ent/iso-lat2.ent" -PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "ent/iso-grk1.ent" -PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "ent/iso-grk2.ent" -PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "ent/iso-grk3.ent" -PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "ent/iso-grk4.ent" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "ent/iso-amsa.ent" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "ent/iso-amsb.ent" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "ent/iso-amsc.ent" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "ent/iso-amsn.ent" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "ent/iso-amso.ent" -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "ent/iso-amsr.ent" -PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "ent/iso-box.ent" -PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "ent/iso-cyr1.ent" -PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "ent/iso-cyr2.ent" - - -- End of catalog data for DocBook XML V4.1.2 ............................. -- - -- ...................................................................... -- diff --git a/lib/docbook/docbook-dtd/docbookx.dtd b/lib/docbook/docbook-dtd/docbookx.dtd deleted file mode 100644 index 349e6ed22..000000000 --- a/lib/docbook/docbook-dtd/docbookx.dtd +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - -%dbnotn; -]]> - - - - - - - -%dbcent; -]]> - - - - - - - - -%dbpool; -]]> - - - - - - -%rdbmods; -]]> - - - - - -%dbhier; -]]> - - - - - - -%dbgenent; -]]> - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-amsa.ent b/lib/docbook/docbook-dtd/ent/iso-amsa.ent deleted file mode 100644 index 013464e21..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-amsa.ent +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-amsb.ent b/lib/docbook/docbook-dtd/ent/iso-amsb.ent deleted file mode 100644 index 074a110ba..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-amsb.ent +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-amsc.ent b/lib/docbook/docbook-dtd/ent/iso-amsc.ent deleted file mode 100644 index 61609429e..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-amsc.ent +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-amsn.ent b/lib/docbook/docbook-dtd/ent/iso-amsn.ent deleted file mode 100644 index 13fcdf30c..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-amsn.ent +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-amso.ent b/lib/docbook/docbook-dtd/ent/iso-amso.ent deleted file mode 100644 index ad5ad2ab0..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-amso.ent +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-amsr.ent b/lib/docbook/docbook-dtd/ent/iso-amsr.ent deleted file mode 100644 index 873de3e85..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-amsr.ent +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-box.ent b/lib/docbook/docbook-dtd/ent/iso-box.ent deleted file mode 100644 index 4d3987965..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-box.ent +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-cyr1.ent b/lib/docbook/docbook-dtd/ent/iso-cyr1.ent deleted file mode 100644 index f937b2c31..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-cyr1.ent +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-cyr2.ent b/lib/docbook/docbook-dtd/ent/iso-cyr2.ent deleted file mode 100644 index ce9494ca1..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-cyr2.ent +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-dia.ent b/lib/docbook/docbook-dtd/ent/iso-dia.ent deleted file mode 100644 index 36bf5a7fe..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-dia.ent +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-grk1.ent b/lib/docbook/docbook-dtd/ent/iso-grk1.ent deleted file mode 100644 index a543ae474..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-grk1.ent +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-grk2.ent b/lib/docbook/docbook-dtd/ent/iso-grk2.ent deleted file mode 100644 index a1dfad937..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-grk2.ent +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-grk3.ent b/lib/docbook/docbook-dtd/ent/iso-grk3.ent deleted file mode 100644 index 68ffd881a..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-grk3.ent +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-grk4.ent b/lib/docbook/docbook-dtd/ent/iso-grk4.ent deleted file mode 100644 index fd7ee10c3..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-grk4.ent +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-lat1.ent b/lib/docbook/docbook-dtd/ent/iso-lat1.ent deleted file mode 100644 index 0347523c7..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-lat1.ent +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-lat2.ent b/lib/docbook/docbook-dtd/ent/iso-lat2.ent deleted file mode 100644 index 29b7da37e..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-lat2.ent +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-num.ent b/lib/docbook/docbook-dtd/ent/iso-num.ent deleted file mode 100644 index 312af5028..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-num.ent +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-pub.ent b/lib/docbook/docbook-dtd/ent/iso-pub.ent deleted file mode 100644 index 6905ae4e0..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-pub.ent +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/ent/iso-tech.ent b/lib/docbook/docbook-dtd/ent/iso-tech.ent deleted file mode 100644 index 55ab939bc..000000000 --- a/lib/docbook/docbook-dtd/ent/iso-tech.ent +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-dtd/readme.txt b/lib/docbook/docbook-dtd/readme.txt deleted file mode 100644 index 383f7fed5..000000000 --- a/lib/docbook/docbook-dtd/readme.txt +++ /dev/null @@ -1,16 +0,0 @@ -README for DocBook XML V4.1.2 - -This is DocBook XML V4.1.2, released 27 Aug 2000. - -See 41chg.txt for information about what has changed since DocBook 4.0. - -For more information about DocBook, please see - - http://www.oasis-open.org/docbook/ - -a partial mirror of the official DocBook site is available at - - http://docbook.org/ - -Please send all questions, comments, concerns, and bug reports to the -DocBook mailing list: docbook@lists.oasis-open.org diff --git a/lib/docbook/docbook-dtd/soextblx.dtd b/lib/docbook/docbook-dtd/soextblx.dtd deleted file mode 100644 index 4c84d85fe..000000000 --- a/lib/docbook/docbook-dtd/soextblx.dtd +++ /dev/null @@ -1,308 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/BUGS b/lib/docbook/docbook-xsl/BUGS deleted file mode 100644 index 084edb1b1..000000000 --- a/lib/docbook/docbook-xsl/BUGS +++ /dev/null @@ -1,6 +0,0 @@ -The fo stylesheet is probably not in perfect sync with the html stylesheet - -Using Equations w/o titles results in incorrectly numbered - equations with titles. Use InformalEquation instead. - -The 'char' alignment in tables is not supported diff --git a/lib/docbook/docbook-xsl/ChangeLog b/lib/docbook/docbook-xsl/ChangeLog deleted file mode 100644 index 2350c8051..000000000 --- a/lib/docbook/docbook-xsl/ChangeLog +++ /dev/null @@ -1,58 +0,0 @@ -2001-08-14 Norman Walsh - - * VERSION: Version 1.44 released. - -2001-08-13 Norman Walsh - - * VERSION: Version 1.43 released. - - * VERSION: Keep CVS versions distinct from real releases - -2001-08-06 Norman Walsh - - * VERSION: Version 1.42 released. - - * VERSION: Keep CVS versions distinct from real releases - -2001-08-04 Norman Walsh - - * VERSION: Make VERSION a parameter so that it isn't an error some stylesheets override it - -2001-07-09 Norman Walsh - - * VERSION: Version 1.41 released. - -2001-06-14 Norman Walsh - - * VERSION: Version 1.40 released. - -2001-05-24 Norman Walsh - - * VERSION: Version 1.39 released. - -2001-05-21 Norman Walsh - - * VERSION: Version 1.38 released. - -2001-04-20 Norman Walsh - - * VERSION: Version 1.37 released. - -2001-04-15 Norman Walsh - - * Makefile, README: Make distribution hacks - -2001-04-04 Norman Walsh - - * VERSION: Version 1.36 released. - -2001-04-03 Norman Walsh - - * .cvsignore, Makefile: Misc. cleanup in preparation for making a distrib - -2001-04-02 Norman Walsh - - * BUGS, Makefile, README.CVS, TODO, VERSION: New file. - - * Makefile: Make common files - diff --git a/lib/docbook/docbook-xsl/README b/lib/docbook/docbook-xsl/README deleted file mode 100644 index bc94ede6e..000000000 --- a/lib/docbook/docbook-xsl/README +++ /dev/null @@ -1,104 +0,0 @@ -README for the DocBook Stylesheets - -These are XSL stylesheets for the DocBook XML DTD. (They would -also work for the DocBook DTD, modulo certain namecase problems -and the fact that there aren't (yet) any XSL implementations -that work with SGML source documents.) - -As of version 1.0, most of the elements in DocBook are handled -in some way or another, usually reasonably, but there's still -lots of work to be done. - -For more information, see http://docbook.sourceforge.net/ - -Manifest --------- - -README this file -TODO planned features not yet implemented (may be incomplete :-) -BUGS known problems (may also be incomplete :-) -VERSION the current version number (note that this is an XSL stylesheet, - included by both fo/docbook.xsl and html/docbook.xsl) -WhatsNew changes since the last public release (for a complete list - of changes, see the ChangeLog file(s)) -common/ contains code common to both stylesheets -doc/ documentation -docsrc/ documentation sources -extensions/ Java extensions -fo/ stylesheets that produce XSL FO -html/ stylesheets that produce HTML -htmlhelp/ stylesheets that produce HTML Help -images/ images -javahelp/ stylesheets that produce Java Help -lib/ contains schema-independent functions -template/ contains templates for building stylesheet customization layers -xhtml/ stylesheets that produce XHTML - -Changes -------- - -See the ChangeLog in each directory for additional information -about the specific changes. - -See WhatsNew for changes since the last release. - -Installation ------------- - -Unpack the distribution somewhere. - -Use ---- - -Process your DocBook documents with one of the following stylesheets -using your favorite XSLT processor: - - xhtml/docbook.xsl produces an XHTML result tree - html/docbook.xsl produces an HTML result tree - fo/docbook.xsl produces an FO result tree - -Copyright ---------- - -Copyright (C) 1999, 2000, 2001 Norman Walsh - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the ``Software''), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -Except as contained in this notice, the names of individuals -credited with contribution to this software shall not be used in -advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization -from the individuals in question. - -Any stylesheet derived from this Software that is publically -distributed will be identified with a different name and the -version strings in any derived Software will be changed so that -no possibility of confusion between the derived package and this -Software will exist. - -Warranty --------- - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER -CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - -Contacting the Author ---------------------- - -These stylesheets are maintained by Norman Walsh, . diff --git a/lib/docbook/docbook-xsl/TODO b/lib/docbook/docbook-xsl/TODO deleted file mode 100644 index 5d573a2c4..000000000 --- a/lib/docbook/docbook-xsl/TODO +++ /dev/null @@ -1,4 +0,0 @@ -Documentation -Continued lists -Bibliography support needs improvement - diff --git a/lib/docbook/docbook-xsl/VERSION b/lib/docbook/docbook-xsl/VERSION deleted file mode 100644 index 9795aa03d..000000000 --- a/lib/docbook/docbook-xsl/VERSION +++ /dev/null @@ -1,6 +0,0 @@ - - -1.44 - - diff --git a/lib/docbook/docbook-xsl/WhatsNew b/lib/docbook/docbook-xsl/WhatsNew deleted file mode 100644 index a79179038..000000000 --- a/lib/docbook/docbook-xsl/WhatsNew +++ /dev/null @@ -1,111 +0,0 @@ -Changes since version 1.42 (2001-08-06) - -Changes to xsl/* - - | 2001-08-14 Norman Walsh - | - | * VERSION: Version 1.44 released. - | - | 2001-08-13 Norman Walsh - | - | * VERSION: Version 1.43 released. - | - | * VERSION: Keep CVS versions distinct from real releases - | - -Changes to xsl/common/* - - | 2001-08-14 Norman Walsh - | - | * l10n.xsl: Calculation of the dingbat nodeset was simply - | broken - | - | 2001-08-13 Norman Walsh - | - | * Makefile: Added stylesheet as a dependency - | - -Changes to xsl/docsrc/* - - | 2001-08-13 Norman Walsh - | - | * documentation.xml: Added link to profiling documentation - | - -Changes to xsl/fo/* - - | 2001-08-09 Norman Walsh - | - | * component.xsl, titlepage.templates.xml, titlepage.xsl: - | Support colophon - | - | * graphics.xsl: Forgot curly braces in AVT for height/width - | - | * inline.xsl: Remark|comment must be formatted as a block in - | case it appears at the paragraph-level in a component - | - -Changes to xsl/html/* - - | 2001-08-14 Norman Walsh - | - | * xref.xsl: Display the ID when gentext cannot be created - | - | 2001-08-11 Robert Stayton - | - | * param.xsl: Removed the '?' from olink resolver parameter - | because the olink template will add that (or not, depending - | on how that template is customized). - | - | 2001-08-08 Norman Walsh - | - | * param.xsl, verbatim.xsl: Support shade.verbatim parameter - | - -Changes to xsl/doc/* - - | 2001-08-09 Norman Walsh - | - | * Makefile: Added tools to Makefile - | - -Changes to xsl/htmlhelp/* - - | 2001-08-13 Jirka Kosek - | - | * htmlhelp-common.xsl: Fixed problems with new lines in titles - | for TOC - | - | 2001-08-08 Jirka Kosek - | - | * htmlhelp-common.xsl: Added new parameters for controling - | filenames of project and output files. New parameter - | htmlhelp.hhp.tail for specifying user content for project - | file. - | - -Changes to xsl/docsrc/tools/* - - | 2001-08-13 Norman Walsh - | - | * Makefile: New file. - | - -Changes to xsl/doc/tools/* - - | 2001-08-09 Norman Walsh - | - | * Makefile: Use saxon and docbook.xsl - | - -Changes to xsl/tools/olink/* - - | 2001-08-11 Robert Stayton - | - | * olink-common.xsl: Fixed the attributes that were all being - | saved to the same id attribute. Also added lang as a - | supported attribute. - | - | * olinksum.dtd: Added lang as a supported attribute. - | - diff --git a/lib/docbook/docbook-xsl/common/ChangeLog b/lib/docbook/docbook-xsl/common/ChangeLog deleted file mode 100644 index f4640dbcf..000000000 --- a/lib/docbook/docbook-xsl/common/ChangeLog +++ /dev/null @@ -1,142 +0,0 @@ -2001-08-14 Norman Walsh - - * l10n.xsl: Calculation of the dingbat nodeset was simply broken - -2001-08-13 Norman Walsh - - * Makefile: Added stylesheet as a dependency - -2001-08-04 Norman Walsh - - * l10n.dtd: Rename internationalization to i18n, localization to l10n - - * l10n.xml: Rename internationalization to i18n, localization to l10n, add namespace declaration - - * l10n.xsl: Support a local i18n override, rename internationalization to i18n, localization to l10n, add namespace declaration - - * labels.xsl: PartIntros never get a label - -2001-08-01 Norman Walsh - - * gentext.xsl: Pass allow-anchors through properly - - * labels.xsl: Fix question labelling - - * titles.xsl: Output anchors for titles if the titles have ids - -2001-07-31 Robert Stayton - - * l10n.xsl: Reverted the change from [last()] to [1] back to [last()] - because that is the correct code. - - * l10n.xsl: Added code to the "l10n.language" template to fall - back to the two-letter lang code if a longer lang - does not have a .xml localization file. - And it falls back to the default lang if it can't - find that either. - - Also fixed a bug for finding the lang attribute. - It was using the last() function, but in an - ancestor-or-self node set you want the first ancestor - (closest) with a lang value. - - 49c49 - < |ancestor-or-self::*/@xml:lang)[last()]"/> - --- - > |ancestor-or-self::*/@xml:lang)[1]"/> - -2001-07-17 Jirka Kosek - - * common.xsl: Fixed bug #442160. Parameter graphic.default.extension is now used also for and not only for . - -2001-07-08 Norman Walsh - - * gentext.xsl, titles.xsl: Support xref to bridgehead - -2001-07-04 - - * .cvsignore, Makefile, l10n.xml: Added support for Turkish - - * .cvsignore, Makefile, l10n.xml: Added Afrikaans - - * common.xsl, titles.xsl: Bug #429011, fix xref to qandset elements - - * labels.xsl: Bug #426188, fix question/answer labels - -2001-06-21 Norman Walsh - - * common.xsl, gentext.xsl, labels.xsl, titles.xsl: Use common code to calculate step numbers; support xref to procedures and steps; added formal.procedures parameter - -2001-06-20 Norman Walsh - - * l10n.xsl: Xalan debugging; harmless changes - -2001-06-14 Norman Walsh - - * subtitles.xsl: Support subtitle on article - -2001-05-23 Norman Walsh - - * common.xsl: Fix dup. template bug with is.graphic.* - - * gentext.xsl: Workaround article/appendix formatting bug (HACK) - - * labels.xsl: Label appendixes correctly in books and articles - -2001-05-21 Norman Walsh - - * labels.xsl: Tweak for section labels in articles - -2001-05-12 Norman Walsh - - * common.xsl: Added refsect* to the section.level template - -2001-05-04 Norman Walsh - - * .cvsignore, Makefile, l10n.xml: Add Serbian localization - -2001-04-21 Norman Walsh - - * common.xsl: My first crude attempts at support for qandaset - -2001-04-19 Norman Walsh - - * gentext.xsl, titles.xsl: Fix bug #417193, make sure allow-anchors is properly propagated through substitute-markup - -2001-04-18 Norman Walsh - - * titles.xsl: Suppress indexterms in no.anchor.mode - -2001-04-17 Norman Walsh - - * labels.xsl: Move label.from.part parameter into param.xsl; default it to 0 so that chapters and appendixes are numbered monotonically throughout a book by default. Moved param.xsl up in the include list, just for good measure - -2001-04-16 Norman Walsh - - * gentext.xsl: Fix bug in processing of subtitle content - - * labels.xsl: Only label.from.part if there actually is a part - - * titles.xsl: Don't put ulink, link, olink, or xref in titles if anchor's aren't allowed - -2001-04-15 Norman Walsh - - * gentext.xsl: Localize the textonly calculations by creating a object.title.markup.textonly mode - -2001-04-03 Norman Walsh - - * gentext.xsl, labels.xsl, titles.xsl: Fix bug 412487, make XSL-generated callout marks honor callout mark parameters - - * titles.xsl: Restore no.anchor.mode and suppress footnotes in no.anchor.mode - -2001-04-02 Norman Walsh - - * .cvsignore, Makefile: New file. - - * common.xsl, gentext.xsl, l10n.xml, l10n.xsl, labels.xsl, subtitles.xsl, titles.xsl: - New file. - - * gentext.xsl: Commented out debugging messages - - * l10n.dtd: New file. - diff --git a/lib/docbook/docbook-xsl/common/af.xml b/lib/docbook/docbook-xsl/common/af.xml deleted file mode 100644 index 3a7f18c03..000000000 --- a/lib/docbook/docbook-xsl/common/af.xml +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/ca.xml b/lib/docbook/docbook-xsl/common/ca.xml deleted file mode 100644 index 0b1a9e5c8..000000000 --- a/lib/docbook/docbook-xsl/common/ca.xml +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/common.xsl b/lib/docbook/docbook-xsl/common/common.xsl deleted file mode 100644 index f4aaeeb9b..000000000 --- a/lib/docbook/docbook-xsl/common/common.xsl +++ /dev/null @@ -1,1060 +0,0 @@ - - - - - - - - -$Id: common.xsl,v 1.1 2002/05/15 17:22:23 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -Common Template Reference - - -
Introduction - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) -
-
- -
- - - - - - - - - - - -Tests if a given node is a component-level element - - -This template returns '1' if the specified node is a component -(Chapter, Appendix, etc.), and '0' otherwise. - - - - -node - -The node which is to be tested. - - - - - - -This template returns '1' if the specified node is a component -(Chapter, Appendix, etc.), and '0' otherwise. - - - - - - - 1 - 0 - - - - - - -Tests if a given node is a section-level element - - -This template returns '1' if the specified node is a section -(Section, Sect1, Sect2, etc.), and '0' otherwise. - - - - -node - -The node which is to be tested. - - - - - - -This template returns '1' if the specified node is a section -(Section, Sect1, Sect2, etc.), and '0' otherwise. - - - - - - - 1 - 0 - - - - - - -Returns the hierarchical level of a section. - - -This template calculates the hierarchical level of a section. -Hierarchically, components are top level, so a -sect1 is at level 2, sect3 is -at level 3, etc. - -Recursive sections are calculated down to the sixth level. - - - - -node - -The section node for which the level should be calculated. -Defaults to the context node. - - - - - - -The section level, 2, 3, etc. - - - - - - - - 2 - 3 - 4 - 5 - 6 - - - 6 - 5 - 4 - 3 - 2 - - - 2 - 3 - 4 - - - 3 - 4 - 5 - 6 - 6 - - - 6 - 5 - 4 - 3 - - - 2 - - - 2 - - - - -Returns the hierarchical level of a QandASet. - - -This template calculates the hierarchical level of a QandASet. - - - - -The level, 1, 2, etc. - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - question - answer - qandadiv - qandaset - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[ -] -{ -} - - -[ -] -... - - - | -4pi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Selects an appropriate media object from a list - - -This template examines a list of media objects (usually the -children of a mediaobject or inlinemediaobject) and processes -the "right" object. - -This template relies on a template named "is.acceptable.mediaobject" -to determine if a given object is an acceptable graphic. The semantics -of media objects is that the first acceptable graphic should be used. - - -If no acceptable object is located, nothing happens. - - - - -olist - -The node list of potential objects to examine. - - - - - - -Calls <xsl:apply-templates> on the selected object. - - - - - - 1 - - - - - - - - - 0 - - - - 1 - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Returns '1' if the specified media object is recognized. - - -This template examines a media object and returns '1' if the -object is recognized as a graphic. - - - - -object - -The media object to consider. - - - - - - -0 or 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - . - - - - - - - - - - - - - - - - -Warn users about references to non-unique IDs - -If passed an ID in linkend, -check.id.unique prints -a warning message to the user if either the ID does not exist or -the ID is not unique. - - - - - - - - - - - - Error: no ID for constraint linkend: - - . - - - - - - - Warning: multiple "IDs" for constraint linkend: - - . - - - - - - -Warn users about incorrectly typed references - -If passed an ID in linkend, -check.idref.targets makes sure that the element -pointed to by the link is one of the elements listed in -element-list and warns the user otherwise. - - - - - - - - - - - - - - Error: linkend ( - - ) points to " - - " not (one of): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Unexpected context in procedure.step.numeration: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- diff --git a/lib/docbook/docbook-xsl/common/cs.xml b/lib/docbook/docbook-xsl/common/cs.xml deleted file mode 100644 index a1940261c..000000000 --- a/lib/docbook/docbook-xsl/common/cs.xml +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/da.xml b/lib/docbook/docbook-xsl/common/da.xml deleted file mode 100644 index 26acb94f6..000000000 --- a/lib/docbook/docbook-xsl/common/da.xml +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/de.xml b/lib/docbook/docbook-xsl/common/de.xml deleted file mode 100644 index a566a9f1c..000000000 --- a/lib/docbook/docbook-xsl/common/de.xml +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/el.xml b/lib/docbook/docbook-xsl/common/el.xml deleted file mode 100644 index f300fd230..000000000 --- a/lib/docbook/docbook-xsl/common/el.xml +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/en.xml b/lib/docbook/docbook-xsl/common/en.xml deleted file mode 100644 index 759652109..000000000 --- a/lib/docbook/docbook-xsl/common/en.xml +++ /dev/null @@ -1,361 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/es.xml b/lib/docbook/docbook-xsl/common/es.xml deleted file mode 100644 index 94c5248da..000000000 --- a/lib/docbook/docbook-xsl/common/es.xml +++ /dev/null @@ -1,355 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/et.xml b/lib/docbook/docbook-xsl/common/et.xml deleted file mode 100644 index af5922504..000000000 --- a/lib/docbook/docbook-xsl/common/et.xml +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/fi.xml b/lib/docbook/docbook-xsl/common/fi.xml deleted file mode 100644 index 8a7969d61..000000000 --- a/lib/docbook/docbook-xsl/common/fi.xml +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/fr.xml b/lib/docbook/docbook-xsl/common/fr.xml deleted file mode 100644 index 8148430fc..000000000 --- a/lib/docbook/docbook-xsl/common/fr.xml +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/gentext.xsl b/lib/docbook/docbook-xsl/common/gentext.xsl deleted file mode 100644 index 5f9441d22..000000000 --- a/lib/docbook/docbook-xsl/common/gentext.xsl +++ /dev/null @@ -1,406 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %n. %t - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/hu.xml b/lib/docbook/docbook-xsl/common/hu.xml deleted file mode 100644 index 52ff1f171..000000000 --- a/lib/docbook/docbook-xsl/common/hu.xml +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/id.xml b/lib/docbook/docbook-xsl/common/id.xml deleted file mode 100644 index d7a9ffc31..000000000 --- a/lib/docbook/docbook-xsl/common/id.xml +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/it.xml b/lib/docbook/docbook-xsl/common/it.xml deleted file mode 100644 index 95df311ae..000000000 --- a/lib/docbook/docbook-xsl/common/it.xml +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/ja.xml b/lib/docbook/docbook-xsl/common/ja.xml deleted file mode 100644 index 3f8c39dbb..000000000 --- a/lib/docbook/docbook-xsl/common/ja.xml +++ /dev/null @@ -1,343 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/ko.xml b/lib/docbook/docbook-xsl/common/ko.xml deleted file mode 100644 index 2d4fb2e2e..000000000 --- a/lib/docbook/docbook-xsl/common/ko.xml +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/l10n.dtd b/lib/docbook/docbook-xsl/common/l10n.dtd deleted file mode 100644 index 8e285690b..000000000 --- a/lib/docbook/docbook-xsl/common/l10n.dtd +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/l10n.xml b/lib/docbook/docbook-xsl/common/l10n.xml deleted file mode 100644 index 2d75f6a09..000000000 --- a/lib/docbook/docbook-xsl/common/l10n.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - -⁡ -&ca; -&cs; -&da; -&de; -⪙ -&en; -&es; -&et; -&fi; -&fr; -&hu; -&id; -⁢ -&ja; -&ko; -&nl; -&no; -&pl; -&pt; -&pt_br; -&ro; -&ru; -&sk; -&sl; -&sr; -&sv; -&tr; -&zh_cn; -&zh_tw; - diff --git a/lib/docbook/docbook-xsl/common/l10n.xsl b/lib/docbook/docbook-xsl/common/l10n.xsl deleted file mode 100644 index 7fe043475..000000000 --- a/lib/docbook/docbook-xsl/common/l10n.xsl +++ /dev/null @@ -1,367 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - _ - - - - - - - - - - - - - - - - - - - - No localization exists for " - - " or " - - ". Using default " - - ". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No " - - " cross reference text for " - - " exists and no default specified. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No " - - " localization of " - - " exists; using "en". - - - - - - - - - - - - - - - - - - - - - - - - - - Editedby - - - - - - by - - - - - bullet - - - - - - - - - - - - - - - - - - No " - - " localization of dingbat - - exists; using "en". - - - - - - - - - - startquote - - - - - - endquote - - - - - - nestedstartquote - - - - - - nestedendquote - - - - - - nav-prev - - - - - - nav-next - - - - - - nav-home - - - - - - nav-up - - - - - - - - - - - - - - - - - - - No " - - " localization exists. - - - - - - - - - - No context named " - - " exists in the " - - " localization. - - - - - - - - - - No template named " - - " exists in the context named " - - " in the " - - " localization. - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/labels.xsl b/lib/docbook/docbook-xsl/common/labels.xsl deleted file mode 100644 index ed7a4fc79..000000000 --- a/lib/docbook/docbook-xsl/common/labels.xsl +++ /dev/null @@ -1,519 +0,0 @@ - - - - - - - -Provides access to element labels - -Processing an element in the -label.markup mode produces the -element label. -Trailing punctuation is not added to the label. - - - - - - . - - - - - Request for label of unexpected element: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - label.markup: this can't happen! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Returns true if $section should be labelled - -Returns true if the specified section should be labelled. -By default, this template simply returns $section.autolabel, but -custom stylesheets may override it to get more selective behavior. - - - - - - diff --git a/lib/docbook/docbook-xsl/common/nl.xml b/lib/docbook/docbook-xsl/common/nl.xml deleted file mode 100644 index d5c3b2aed..000000000 --- a/lib/docbook/docbook-xsl/common/nl.xml +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/no.xml b/lib/docbook/docbook-xsl/common/no.xml deleted file mode 100644 index 0e82603e2..000000000 --- a/lib/docbook/docbook-xsl/common/no.xml +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/pl.xml b/lib/docbook/docbook-xsl/common/pl.xml deleted file mode 100644 index 75ef59e58..000000000 --- a/lib/docbook/docbook-xsl/common/pl.xml +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/pt.xml b/lib/docbook/docbook-xsl/common/pt.xml deleted file mode 100644 index 07c989bd0..000000000 --- a/lib/docbook/docbook-xsl/common/pt.xml +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/pt_br.xml b/lib/docbook/docbook-xsl/common/pt_br.xml deleted file mode 100644 index 6120ea5c5..000000000 --- a/lib/docbook/docbook-xsl/common/pt_br.xml +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/ro.xml b/lib/docbook/docbook-xsl/common/ro.xml deleted file mode 100644 index afe8d1e31..000000000 --- a/lib/docbook/docbook-xsl/common/ro.xml +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/ru.xml b/lib/docbook/docbook-xsl/common/ru.xml deleted file mode 100644 index d98908296..000000000 --- a/lib/docbook/docbook-xsl/common/ru.xml +++ /dev/null @@ -1,362 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/sk.xml b/lib/docbook/docbook-xsl/common/sk.xml deleted file mode 100644 index 859c7c2ee..000000000 --- a/lib/docbook/docbook-xsl/common/sk.xml +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/sl.xml b/lib/docbook/docbook-xsl/common/sl.xml deleted file mode 100644 index a7154328a..000000000 --- a/lib/docbook/docbook-xsl/common/sl.xml +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/sr.xml b/lib/docbook/docbook-xsl/common/sr.xml deleted file mode 100644 index d9eb84683..000000000 --- a/lib/docbook/docbook-xsl/common/sr.xml +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/subtitles.xsl b/lib/docbook/docbook-xsl/common/subtitles.xsl deleted file mode 100644 index 0c53ebf0c..000000000 --- a/lib/docbook/docbook-xsl/common/subtitles.xsl +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - -Provides access to element subtitles - -Processing an element in the -subtitle.markup mode produces the -subtitle of the element. - - - - - - - Request for subtitle of unexpected element: - - - ???SUBTITLE??? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/sv.xml b/lib/docbook/docbook-xsl/common/sv.xml deleted file mode 100644 index 7802ed51b..000000000 --- a/lib/docbook/docbook-xsl/common/sv.xml +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/titles.xsl b/lib/docbook/docbook-xsl/common/titles.xsl deleted file mode 100644 index d1b562ba5..000000000 --- a/lib/docbook/docbook-xsl/common/titles.xsl +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - - -Provides access to element titles - -Processing an element in the -title.markup mode produces the -title of the element. This does not include the label. - - - - - - - - - - - - - - - - - - - Request for title of unexpected element: - - - ???TITLE??? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - REFENTRY WITHOUT TITLE??? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Note - Important - Caution - Warning - Tip - - - - - - - - - - Question - - - - - Answer - - - - - Question - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/tr.xml b/lib/docbook/docbook-xsl/common/tr.xml deleted file mode 100644 index e83b31f72..000000000 --- a/lib/docbook/docbook-xsl/common/tr.xml +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/zh_cn.xml b/lib/docbook/docbook-xsl/common/zh_cn.xml deleted file mode 100644 index 67b0d5b88..000000000 --- a/lib/docbook/docbook-xsl/common/zh_cn.xml +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/common/zh_tw.xml b/lib/docbook/docbook-xsl/common/zh_tw.xml deleted file mode 100644 index 6fe9e73f9..000000000 --- a/lib/docbook/docbook-xsl/common/zh_tw.xml +++ /dev/null @@ -1,315 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/doc/ChangeLog b/lib/docbook/docbook-xsl/doc/ChangeLog deleted file mode 100644 index 389ded7c7..000000000 --- a/lib/docbook/docbook-xsl/doc/ChangeLog +++ /dev/null @@ -1,25 +0,0 @@ -2001-08-09 Norman Walsh - - * Makefile: Added tools to Makefile - -2001-08-06 Norman Walsh - - * Makefile, book.xsl: Documentation and documentation generation tweaks - -2001-06-20 Norman Walsh - - * Makefile: Back to Xalan; but it only sort of works - - * Makefile, book.xsl, reference.xsl: Use XT again (neither Saxon nor Xalan work) - -2001-04-15 Norman Walsh - - * reference.css: New file. - -2001-04-03 Norman Walsh - - * .cvsignore, Makefile, book.xsl, jrefhtml.xsl, reference.xsl: - New file. - - * Makefile: Misc. cleanup in preparation for making a distrib - diff --git a/lib/docbook/docbook-xsl/doc/book.xsl b/lib/docbook/docbook-xsl/doc/book.xsl deleted file mode 100644 index ca7aa349b..000000000 --- a/lib/docbook/docbook-xsl/doc/book.xsl +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - copyright - - - - - - - - . - No Warranty - . -

-
- - diff --git a/lib/docbook/docbook-xsl/doc/ch01s02.html b/lib/docbook/docbook-xsl/doc/ch01s02.html deleted file mode 100644 index 3375fa9b4..000000000 --- a/lib/docbook/docbook-xsl/doc/ch01s02.html +++ /dev/null @@ -1,67 +0,0 @@ - - - A brief introduction to XSL

A brief introduction to XSL

XSL is both a transformation language and a - formatting language. The XSLT transformation part lets you - scan through a document's structure and rearrange its - content any way you like. You can write out the content - using a different set of XML tags, and generate text as - needed. For example, you can scan through a document to - locate all headings and then insert a generated table of - contents at the beginning of the document, at the same time - writing out the content marked up as HTML. XSL is also a - rich formatting language, letting you apply typesetting - controls to all components of your output. With a good - formatting backend, it is capable of producing high quality - printed pages.

An XSL stylesheet is written using XML syntax, and is - itself a well-formed XML document. That makes the basic - syntax familiar, and enables an XML processor to check for - basic syntax errors. The stylesheet instructions use - special element names, which typically begin with - xsl: to distinguish them from any XML - tags you want to appear in the output. The XSL namespace is - identified at the top of the stylesheet file. As with other - XML, any XSL elements that are not empty will require a - closing tag. And some XSL elements have specific attributes - that control their behavior. It helps to keep a good XSL - reference book handy.

Here is an example of a simple XSL stylesheet applied - to a simple XML file to generate HTML output.

Example 1.1. Simple XML file

<?xml version="1.0"?>
-<document>
-<title>Using a mouse</title>
-<para>It's easy to use a mouse. Just roll it
-around and click the buttons.</para>
-</document>

Example 1.2. Simple XSL stylesheet

<?xml version='1.0'?>
-<xsl:stylesheet
-          xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
-<xsl:output method="html"/>
-
-<xsl:template match="document">
-  <HTML><HEAD><TITLE>
-    <xsl:value-of select="./title"/>
-  </TITLE>
-  </HEAD>
-  <BODY>
-    <xsl:apply-templates/>
-  </BODY>
-  </HTML>
-</xsl:template>
-
-<xsl:template match="title">
-  <H1><xsl:apply-templates/></H1>
-</xsl:template>
-
-<xsl:template match="para">
-  <P><xsl:apply-templates/></P>
-</xsl:template>
-
-</xsl:stylesheet>
-

Example 1.3. HTML output

<HTML>
-<HEAD>
-<TITLE>Using a mouse</TITLE>
-</HEAD>
-<BODY>
-<H1>Using a mouse</H1>
-<P>It's easy to use a mouse. Just roll it
-around and click the buttons.</P>
-</BODY>
-</HTML>
-
\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/ch01s03.html b/lib/docbook/docbook-xsl/doc/ch01s03.html deleted file mode 100644 index fe30d5ad2..000000000 --- a/lib/docbook/docbook-xsl/doc/ch01s03.html +++ /dev/null @@ -1,422 +0,0 @@ - - - XSL processing model

XSL processing model

XSL is a template language, not a procedural -language. That means a stylesheet specifies a sample of the -output, not a sequence of programming steps to generate it. -A stylesheet consists of a mixture of output samples with -instructions of what to put in each sample. Each bit of -output sample and instructions is called -a template.

In general, you write a template for each element -type in your document. That lets you concentrate on -handling just one element at a time, and keeps a stylesheet -modular. The power of XSL comes from processing the -templates recursively. That is, each template handles the -processing of its own element, and then calls other -templates to process its children, and so on. Since an XML -document is always a single root element at the top level -that contains all of the nested descendent elements, the -XSL templates also start at the top and work their way down -through the hierarchy of elements.

Take the -DocBook <para> paragraph element as -an example. To convert this to HTML, you want to wrap the -paragraph content with the HTML -tags <p> and </p>. -But a DocBook <para> can contain -any number of in-line DocBook elements marking up the text. -Fortunately, you can let other templates take care of those -elements, so your XSL template -for <para> can be quite -simple:

<xsl:template match="para">
-  <p>
-    <xsl:apply-templates/>
-  </p>
-</xsl:template>
-

The <xsl:template> element -starts a new template, and -its match attribute indicates where to -apply the template, in this case to -any <para> elements. The template -says to output a literal <p> string -and then execute -the <xsl:apply-templates/> instruction. -This tells the XSL processor to look among all the -templates in the stylesheet for any that should be applied -to the content of the paragraph. If each template in the -stylesheet includes -an <xsl:apply-templates/> instruction, -then all descendents will eventually be processed. When it -is through recursively applying templates to the paragraph -content, it outputs the </p> closing -tag.

Context is important

Since you aren't writing a linear procedure to -process your document, the context of where and how to -apply each modular template is important. -The match attribute -of <xsl:template> provides that -context for most templates. There is an entire expression -language, XPath, for identifying what parts of your -document should be handled by each template. The simplest -context is just an element name, as in the example above. -But you can also specify elements as children of other -elements, elements with certain attribute values, the first -or last elements in a sequence, and so on. Here is how the -DocBook <formalpara> element is -handled:

<xsl:template match="formalpara">
-  <p>
-    <xsl:apply-templates/>
-  </p>
-</xsl:template>
-
-<xsl:template match="formalpara/title">
-  <b><xsl:apply-templates/></b>
-  <xsl:text> </xsl:text>
-</xsl:template>
-
-<xsl:template match="formalpara/para">
-  <xsl:apply-templates/>
-</xsl:template>
-

There are three templates defined, one for -the <formalpara> element itself, - and one for each of its children elements. The match attribute -value formalpara/title in the second -template is an XPath expression indicating -a <title> element that is an -immediate child of -a <formalpara> element. This -distinguishes such titles from -other <title> elements used in -DocBook. XPath expressions are the key to controlling how -your templates are applied.

In general, the XSL processor has internal rules that -apply templates that are more specific before templates -that are less specific. That lets you control the details, -but also provides a fallback mechanism to a less specific -template when you don't supply the full context for every -combination of elements. This feature is illustrated by the -third template, for formalpara/para. By -including this template, the stylesheet processes a <para> within <formalpara> in -a special way, in this case by not outputting the HTML <p> tags already output by its parent. If this template had not been included, then the processor would have fallen back to the template -specified by match="para" described -above, which would have output a second set of <p> tags.

You can also control template context with -XSL modes, which are used extensively -in the DocBook stylesheets. Modes let you process the same -input more than once in different ways. -A mode attribute in -an <xsl:template> definition adds a -specific mode name to that template. When the same mode -name is used -in <xsl:apply-templates/>, it acts -as a filter to narrow the selection of templates to only -those selected by -the match expression and that -have that mode name. This lets you define two different -templates for the same element match that are applied under -different contexts. For example, there are two templates -defined for -DocBook <listitem> elements:

<xsl:template match="listitem">
-  <li><xsl:apply-templates/></li>
-</xsl:template>
-
-<xsl:template match="listitem" mode="xref">
-  <xsl:number format="1"/>
-</xsl:template>
-

The first template is for the normal list item -context where you want to output the -HTML <li> tags. The second template -is called with <xsl:apply-templates -select="$target" mode="xref"/> in the context -of processing <xref> elements. In -this case the select attribute locates -the ID of the specific list item and -the mode attribute selects the second -template, whose effect is to output its item number when it -is in an ordered list. Because there are many such special -needs when -processing <xref> elements, it is -convenient to define a mode name xref to -handle them all. Keep in mind that mode settings -do not automatically get passed down to -other templates -through <xsl:apply-templates/>.

Programming features

Although XSL is template-driven, it also has some -features of traditional programming languages. Here are -some examples from the DocBook stylesheets.

Assign a value to a variable:
-<xsl:variable name="refelem" select="name($target)"/>
-
-If statement:
-<xsl:if test="$show.comments">
-    <i><xsl:call-template name="inline.charseq"/></i>
-</xsl:if>
-
-Case statement:
-<xsl:choose>
-    <xsl:when test="@columns">
-        <xsl:value-of select="@columns"/>
-    </xsl:when>
-    <xsl:otherwise>1</xsl:otherwise>
-</xsl:choose>
-
-Call a template by name like a subroutine, passing parameter values and accepting a return value:
-<xsl:call-template name="xref.xreflabel">
-   <xsl:with-param name="target" select="$target"/>
-</xsl:call-template>
-

However, you can't always use these constructs as you -do in other programming languages. Variables in particular -have very different behavior.

Using variables and parameters

XSL provides two elements that let you assign a value -to a -name: <xsl:variable> and <xsl:param>. -These share the same name space and syntax for assigning -names and values. Both can be referred to using -the $name syntax. The main difference -between these two elements is that a param's value acts as -a default value that can be overridden when a template is -called using -a <xsl:with-param> element as in the -last example above.

Here are two examples from DocBook:

<xsl:param name="cols">1</xsl:param>
-<xsl:variable name="segnum" select="position()"/>
-

In both elements, the name of the parameter or -variable is specified with -the name attribute. So the name of -the param here -is cols and the name of -the variable is segnum. -The value of either can be supplied in two ways. The value -of the first example is the text node "1" and is supplied -as the content of the element. The value of the second -example is supplied as the result of the expression in -its select attribute, and the element -itself has no content.

The feature of XSL variables that is odd to new users -is that once you assign a value to a variable, you cannot -assign a new value within the same scope. Doing so will -generate an error. So variables are not used as dynamic -storage bins they way they are in other languages. They -hold a fixed value within their scope of application, and -then disappear when the scope is exited. This feature is a -result of the design of XSL, which is template-driven and -not procedural. This means there is no definite order of -processing, so you can't rely on the values of changing -variables. To use variables in XSL, you need to understand -how their scope is defined.

Variables defined outside of all templates are -considered global variables, and they are readable within -all templates. The value of a global variable is fixed, and -its global value can't be altered from within any template. -However, a template can create a local variable of the same -name and give it a different value. That local value -remains in effect only within the scope of the local -variable.

Variables defined within a template remain in effect -only within their permitted scope, which is defined as all -following siblings and their descendants. To understand -such a scope, you have to remember that XSL instructions -are true XML elements that are embedded in an XML family -hierarchy of XSL elements, often referred to as parents, -children, siblings, ancestors and descendants. Taking the -family analogy a step further, think of a variable -assignment as a piece of advice that you are allowed to -give to certain family members. You can give your advice -only to your younger siblings (those that follow you) and -their descendents. Your older siblings won't listen, -neither will your parents or any of your ancestors. To -stretch the analogy a bit, it is an error to try to give -different advice under the same name to the same group of -listeners (in other words, to redefine the variable). Keep -in mind that this family is not the elements of your -document, but just the XSL instructions in your stylesheet. -To help you keep track of such scopes in hand-written -stylesheets, it helps to indent nested XSL elements. Here -is an edited snippet from the DocBook stylesheet -file pi.xsl that illustrates different -scopes for two variables:

- 1 <xsl:template name="dbhtml-attribute">
- 2 ...
- 3    <xsl:choose>
- 4       <xsl:when test="$count>count($pis)">
- 5          <!-- not found -->
- 6       </xsl:when>
- 7       <xsl:otherwise>
- 8          <xsl:variable name="pi">
- 9             <xsl:value-of select="$pis[$count]"/>
-10          </xsl:variable>
-11          <xsl:choose>
-12             <xsl:when test="contains($pi,concat($attribute, '='))">
-13                <xsl:variable name="rest" select="substring-after($pi,concat($attribute,'='))"/>
-14                <xsl:variable name="quote" select="substring($rest,1,1)"/>
-15                <xsl:value-of select="substring-before(substring($rest,2),$quote)"/>
-16             </xsl:when>
-17             <xsl:otherwise>
-18             ...
-19             </xsl:otherwise>
-20          </xsl:choose>
-21       </xsl:otherwise>
-22    </xsl:choose>
-23 </xsl:template>
-
-

The scope of the variable pi begins -on line 8 where it is defined in this template, and ends on -line 20 when its last sibling ends.[1] The scope of the -variable rest begins on line 13 and ends -on line 15. Fortunately, line 15 outputs an expression -using the value before it goes out of scope.

What happens when -an <xsl:apply-templates/> element -is used within the scope of a local variable? Do the -templates that are applied to the document children get the -variable? The answer is no. The templates that are applied -are not actually within the scope of the variable. They -exist elsewhere in the stylesheet and are not following -siblings or their descendants.

To pass a value to another template, you pass a -parameter using -the <xsl:with-param> element. This -parameter passing is usually done with calls to a specific -named template -using <xsl:call-template>, although -it works -with <xsl:apply-templates> too. -That's because the called template must be expecting the -parameter by defining it using -a <xsl:param> element with the same -parameter name. Any passed parameters whose names are not -defined in the called template are ignored.

Here is an example of parameter passing -from docbook.xsl:

<xsl:call-template name="head.content">
-   <xsl:with-param name="node" select="$doc"/>
-</xsl:call-template>
-

Here a template -named head.content is being called and -passed a parameter named node whose -content is the value of the $doc variable -in the current context. The top of that template looks like -this:

<xsl:template name="head.content">
-   <xsl:param name="node" select="."/>
-

The template is expecting the parameter because it -has a <xsl:param> defined with the -same name. The value in this definition is the default -value. This would be the parameter value used in the -template if the template was called without passing that -parameter.

Generating HTML output.

You generate HTML from your DocBook XML files by -applying the HTML version of the stylesheets. This is done -by using the HTML driver -file docbook/html/docbook.xsl as your -stylesheet. That is the master stylesheet file that -uses <xsl:include> to pull in the -component files it needs to assemble a complete stylesheet -for producing HTML.

The way the DocBook stylesheet generates HTML is to -apply templates that output a mix of text content and HTML -elements. Starting at the top level in the main -file docbook.xsl:

<xsl:template match="/">
-  <xsl:variable name="doc" select="*[1]"/>
-  <html>
-  <head>
-    <xsl:call-template name="head.content">
-      <xsl:with-param name="node" select="$doc"/>
-    </xsl:call-template>
-  </head>
-  <body>
-    <xsl:apply-templates/>
-  </body>
-  </html>
-</xsl:template>
-

This template matches the root element of your input -document, and starts the process of recursively applying -templates. It first defines a variable -named doc and then outputs two literal -HTML elements <html> and <head>. -Then it calls a named -template head.content to process the -content of the HTML <head>, closes -the <head> and starts -the <body>. There it -uses <xsl:apply-templates/> to -recursively process the entire input document. Then it just -closes out the HTML file.

Simple HTML elements can generated as literal -elements as shown here. But if the HTML being output -depends on the context, you need something more powerful to -select the element name and possibly add attributes and -their values. Here is a fragment -from sections.xsl that shows how a -heading tag is generated using -the <xsl:element> and <xsl:attribute> elements:

- 1 <xsl:element name="h{$level}">
- 2   <xsl:attribute name="class">title</xsl:attribute>
- 3   <xsl:if test="$level<3">
- 4     <xsl:attribute name="style">clear: all</xsl:attribute>
- 5   </xsl:if>
- 6   <a>
- 7     <xsl:attribute name="name">
- 8       <xsl:call-template name="object.id"/>
- 9     </xsl:attribute>
-10     <b><xsl:copy-of select="$title"/></b>
-11   </a>
-12 </xsl:element>
-

This whole example is generating a single HTML -heading element. Line 1 begins the HTML element definition -by identifying the name of the element. In this case, the -name is an expression that includes the -variable $level passed as a parameter to -this template. Thus a single template can -generate <h1>, <h2>, -etc. depending on the context in which it is called. Line 2 -defines a class="title" attribute that is -added to this element. Lines 3 to 5 add -a style="clear all" attribute, but only -if the heading level is less than 3. Line 6 opens -an <a> anchor element. Although this -looks like a literal output string, it is actually modified -by lines 7 to 9 that insert -the name attribute into -the <a> element. This illustrates -that XSL is managing output elements as active element -nodes, not just text strings. Line 10 outputs the text of -the heading title, also passed as a parameter to the -template, enclosed in HTML boldface tags. Line 11 closes -the anchor tag with the -literal </a> syntax, while line 12 -closes the heading tag by closing the element definition. -Since the actual element name is a variable, it couldn't -use the literal syntax.

As you follow the sequence of nested templates -processing elements, you might be wondering how the -ordinary text of your input document gets to the output. In -the file docbook.xsl you will find -this template that handles any text not processed by any -other template:

<xsl:template match="text()">
-  <xsl:value-of select="."/>
-</xsl:template>
-

This template's body consists of the "value" of the text node, -which is just its text. In general, all XSL processors have -some built-in templates to handle any content for which -your stylesheet doesn't supply a matching template. This -template serves the same function but appears explicitly in -the stylesheet.

Generating formatting objects.

You generate formatting objects from your DocBook XML -files by applying the fo version of the stylesheets. This -is done by using the fo driver -file docbook/fo/docbook.xsl as your -stylesheet. That is the master stylesheet file that -uses <xsl:include> to pull in the -component files it needs to assemble a complete stylesheet -for producing formatting objects. Generating a formatting -objects file is only half the process of producing typeset -output. You also need a formatting object processor such as -the Apache XML Project's FOP as described in an earlier -section.

The DocBook fo stylesheet works in a similar manner -to the HTML stylesheet. Instead of outputting HTML tags, it -outputs text marked up -with <fo:something> tags. -For example, to indicate that some text should be kept -in-line and typeset with a monospace font, it might look -like this:

<fo:inline-sequence font-family="monospace">/usr/man</fo:inline-sequence>

The templates -in docbook/fo/inline.xsl that produce -this output for a -DocBook <filename> element look -like this:

<xsl:template match="filename">
-  <xsl:call-template name="inline.monoseq"/>
-</xsl:template>
-
-<xsl:template name="inline.monoseq">
-  <xsl:param name="content">
-    <xsl:apply-templates/>
-  </xsl:param>
-  <fo:inline-sequence font-family="monospace">
-    <xsl:copy-of select="$content"/>
-  </fo:inline-sequence>
-</xsl:template>
-

There are dozens of fo tags and attributes specified -in the XSL standard. It is beyond the scope of this -document to cover how all of them are used in the DocBook -stylesheets. Fortunately, this is only an intermediate -format that you probably won't have to deal with very much -directly unless you are writing your own -stylesheets.



[1] Technically, the scope extends to the end tag of the parent of the <xsl:variable> element. That is effectively the last sibling.

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/ch01s04.html b/lib/docbook/docbook-xsl/doc/ch01s04.html deleted file mode 100644 index bf4a8c82b..000000000 --- a/lib/docbook/docbook-xsl/doc/ch01s04.html +++ /dev/null @@ -1,250 +0,0 @@ - - - Customizing DocBook XSL stylesheets

Customizing DocBook XSL stylesheets

The DocBook XSL stylesheets are written in a modular -fashion. Each of the HTML and FO stylesheets starts with a -driver file that assembles a collection of component files -into a complete stylesheet. This modular design puts similar things together into smaller files that are easier to write and maintain than one big stylesheet. The modular stylesheet files -are distributed among four directories:

common/

contains code common to both stylesheets, including localization data -

fo/

a stylesheet that produces XSL FO result trees -

html/

a stylesheet that produces HTML/XHTML result trees -

lib/

contains schema-independent functions -

The driver files for each of HTML and FO stylesheets -are html/docbook.xsl and fo/docbook.xsl, -respectively. A driver file consists mostly of a bunch -of <xsl:include> instructions to -pull in the component templates, and then defines some -top-level templates. For example:

<xsl:include href="../VERSION"/>
-<xsl:include href="../lib/lib.xsl"/>
-<xsl:include href="../common/l10n.xsl"/>
-<xsl:include href="../common/common.xsl"/>
-<xsl:include href="autotoc.xsl"/>
-<xsl:include href="lists.xsl"/>
-<xsl:include href="callout.xsl"/>
-...
-<xsl:include href="param.xsl"/>
-<xsl:include href="pi.xsl"/>
-

The first four modules are shared with the FO -stylesheet and are referenced using relative pathnames to -the common directories. Then the long list of component -stylesheets starts. Pathnames in include statements are -always taken to be relative to the including file. Each -included file must be a valid XSL stylesheet, which means -its root element must -be <xsl:stylesheet>.

Stylesheet inclusion vs. importing

XSL actually provides two inclusion -mechanisms: <xsl:include> and <xsl:import>. -Of the two, <xsl:include> is -the simpler. It treats the included content as if it were -actually typed into the file at that point, and doesn't -give it any more or less precedence relative to the -surrounding text. It is best used when assembling -dissimilar templates that don't overlap what they match. -The DocBook driver files use this instruction to assemble a -set of modules into a stylesheet.

In contrast, <xsl:import> lets -you manage the precedence of templates and variables. It is -the preferred mode of customizing another stylesheet because -it lets you override definitions in the distributed -stylesheet with your own, without altering the distribution -files at all. You simply import the whole stylesheet and -add whatever changes you want.

The precedence rules for import are detailed and -rigorously defined in the XSL standard. The basic rule is -that any templates and variables in the importing -stylesheet have precedence over equivalent templates and -variables in the imported stylesheet. Think of the imported stylesheet elements as a fallback collection, to be used only if a match is not found in the current stylesheet. You can customize the templates you want to change in your stylesheet file, and let the imported stylesheet handle the rest.

Note

Customizing a DocBook XSL stylesheet is the opposite -of customizing a DocBook DTD. When you customize a DocBook -DTD, the rules of XML and SGML dictate that -the first of any duplicate declarations -wins. Any subsequent declarations of the same element or -entity are ignored. The architecture of the DTD provides -slots for inserting your own custom declarations early -enough in the DTD for them to override the standard -declarations. In contrast, customizing an XSL stylesheet is -simpler because your definitions have precedence over imported ones.

You can carry modularization to deeper levels because -module files can also include or import other modules. -You'll need to be careful to maintain the precedence that -you want as the modules get rolled up into a complete -stylesheet.

Customizing -with <xsl:import>

There is currently one example of customizing -with <xsl:import> in the HTML -version of the DocBook stylesheets. -The xtchunk.xsl stylesheet modifies the -HTML processing to output many smaller HTML files rather -than a single large file per input document. It uses XSL -extensions defined only in the XSL -processor XT. In the driver -file xtchunk.xsl, the first instruction -is <xsl:import -href="docbook.xsl"/>. That instruction imports -the original driver file, which in turn uses -many <xsl:include> instructions to -include all the modules. That single import instruction -gives the new stylesheet the complete set of DocBook -templates to start with.

After the -import, xtchunk.xsl redefines some of -the templates and adds some new ones. Here is one example -of a redefined template:

Original template in autotoc.xsl
-<xsl:template name="href.target">
-  <xsl:param name="object" select="."/>
-  <xsl:text>#</xsl:text>
-  <xsl:call-template name="object.id">
-    <xsl:with-param name="object" select="$object"/>
-  </xsl:call-template>
-</xsl:template>
-
-New template in xtchunk.xsl
-<xsl:template name="href.target">
-  <xsl:param name="object" select="."/>
-  <xsl:variable name="ischunk">
-    <xsl:call-template name="chunk">
-      <xsl:with-param name="node" select="$object"/>
-    </xsl:call-template>
-  </xsl:variable>
-
-  <xsl:apply-templates mode="chunk-filename" select="$object"/>
-
-  <xsl:if test="$ischunk='0'">
-    <xsl:text>#</xsl:text>
-    <xsl:call-template name="object.id">
-      <xsl:with-param name="object" select="$object"/>
-    </xsl:call-template>
-  </xsl:if>
-</xsl:template>
-

The new template handles the more complex processing -of HREFs when the output is split into many HTML files. -Where the old template could simply -output #object.id, -the new one outputs filename#object.id.

Setting stylesheet variables

You may not have to define any new templates, -however. The DocBook stylesheets are parameterized using -XSL variables rather than hard-coded values for many of the -formatting features. Since -the <xsl:import> mechanism also -lets you redefine global variables, this gives you an easy -way to customize many features of the DocBook -stylesheets. Over time, more features will be parameterized to permit customization. If you find hardcoded values in the stylesheets that would be useful to customize, please let the maintainer know.

Near the end of the list of includes in the main -DocBook driver file is the -instruction <xsl:include -href="param.xsl"/>. -The param.xsl file is the most -important module for customizing a DocBook XSL stylesheet. -This module contains no templates, only definitions of -stylesheet variables. Since these variables are defined -outside of any template, they are global variables and -apply to the entire stylesheet. By redefining these -variables in an importing stylesheet, you can change the -behavior of the stylesheet.

To create a customized DocBook stylesheet, you simply -create a new stylesheet file such -as mystyle.xsl that imports the standard -stylesheet and adds your own new variable definitions. Here -is an example of a complete custom stylesheet that changes -the depth of sections listed in the table of contents from -two to three:

<?xml version='1.0'?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version='1.0'
-                xmlns="http://www.w3.org/TR/xhtml1/transitional"
-                exclude-result-prefixes="#default">
-
-<xsl:import href="docbook.xsl"/>
-
-<xsl:variable name="toc.section.depth">3</xsl:variable>
-<!-- Add other variable definitions here -->
-
-</xsl:stylesheet>
-

Following the opening stylesheet element are the -import instruction and one variable definition. The -variable toc.section.depth was defined -in param.xsl with value "2", and here -it is defined as "3". Since the importing stylesheet takes -precedence, this new value is used. Thus documents -processed with mystyle.xsl instead -of docbook.xsl will have three levels -of sections in the tables of contents, and all other -processing will be the same.

Use the list of variables -in param.xsl as your guide for creating -a custom stylesheet. If the changes you want are controlled -by a variable there, then customizing is easy.

Writing your own templates

If the changes you want are more extensive than what -is supported by variables, you can write new templates. You -can put your new templates directly in your importing -stylesheet, or you can modularize your importing stylesheet -as well. You can write your own stylesheet module -containing a collection of templates for processing lists, -for example, and put them in a file -named mylists.xsl. Then your importing -stylesheet can pull in your list templates with -a <xsl:include -href="mylists.xsl"/> instruction. Since your -included template definitions appear after the main import -instruction, your templates will take precedence.

You'll need to make sure your new templates are -compatible with the remaining modules, which means:

  • Any named templates should use the same name so -calling templates in other modules can find them.

  • Your template set should process the same elements -matched by templates in the original module, to ensure -complete coverage.

  • Include the same set -of <xsl:param> elements in each -template to interface properly with any calling templates, -although you can set different values for your -parameters.

  • Any templates that are used like subroutines to -return a value should return the same data type.

Writing your own driver

Another approach to customizing the stylesheets is to -write your own driver file. Instead of -using <xsl:import -href="docbook.xsl"/>, you copy that file to a -new name and rewrite any of -the <xsl:include/> instructions to -assemble a custom collection of stylesheet modules. One -reason to do this is to speed up processing by reducing the -size of the stylesheet. If you are using a customized -DocBook DTD that omits many elements you never use, you -might be able to omit those modules of the -stylesheet.

Localization

The DocBook stylesheets include features for -localizing generated text, that is, printing any generated -text in a language other than the default English. In -general, the stylesheets will switch to the language -identified by a lang attribute when -processing elements in your documents. If your documents -use the lang attribute, then you don't -need to customize the stylesheets at all for -localization.

As far as the stylesheets go, -a lang attribute is inherited by the -descendents of a document element. The stylesheet searches -for a lang attribute using this XPath -expression:

<xsl:variable name="lang-attr"
-         select="($target/ancestor-or-self::*/@lang
-                  |$target/ancestor-or-self::*/@xml:lang)[last()]"/>

This locates the attribute on the current element or -its most recent ancestor. Thus -a lang attribute is in effect for an -element and all of its descendents, unless it is reset in -one of those descendents. If you define it in only your -document root element, then it applies to the whole -document:

<?xml version="1.0"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN" "docbook.dtd">
-<book lang="fr">
-...
-</book>

When text is being generated, the stylesheet checks -the most recent lang attribute and looks -up the generated text strings for that language in a -localization XML file. These are located in -the common directory of the -stylesheets, one file per language. Here is the top of the -file fr.xml:

<localization language="fr">
-
-<gentext key="abstract"                 text="R&#x00E9;sum&#x00E9;"/>
-<gentext key="answer"                   text="R:"/>
-<gentext key="appendix"                 text="Annexe"/>
-<gentext key="article"                  text="Article"/>
-<gentext key="bibliography"             text="Bibliographie"/>
-...
-

The stylesheet templates use the gentext key names, -and then the stylesheet looks up the associated text value -when the document is processed with that lang setting. The -file l10n.xml (note -the .xml suffix) lists the filenames of -all the supported languages.

You can also create a custom stylesheet that sets the -language. That might be useful if your documents don't make -appropriate use of the lang attribute. -The module l10n.xsl defines two global -variables that can be overridden with an importing -stylesheet as described above. Here are their default -definitions:

<xsl:variable name="l10n.gentext.language"></xsl:variable>
-<xsl:variable name="l10n.gentext.default.language">en</xsl:variable>
-

The first one sets the language for all elements, -regardless of an element's lang attribute -value. The second just sets a default language for any -elements that haven't got a lang setting -of their own (or their ancestors).

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/ch02s02.html b/lib/docbook/docbook-xsl/doc/ch02s02.html deleted file mode 100644 index 22c265112..000000000 --- a/lib/docbook/docbook-xsl/doc/ch02s02.html +++ /dev/null @@ -1,7 +0,0 @@ - - - Using the Extensions

Using the Extensions

For compatibility with other processors, the extensions are disabled -by default. To enable the extensions, turn on -$saxon.extensions, for example by passing -saxon.extensions=1 to Saxon.

For more control over the specific extensions, see -HTML Parameter Reference.

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/ch03.html b/lib/docbook/docbook-xsl/doc/ch03.html deleted file mode 100644 index 3006a9482..000000000 --- a/lib/docbook/docbook-xsl/doc/ch03.html +++ /dev/null @@ -1,4 +0,0 @@ - - - Chapter 3. Tools documentation

Chapter 3. Tools documentation

There are several tools useful for usage with DocBook in -directory tools.

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/ch04.html b/lib/docbook/docbook-xsl/doc/ch04.html deleted file mode 100644 index c6c76391d..000000000 --- a/lib/docbook/docbook-xsl/doc/ch04.html +++ /dev/null @@ -1,3 +0,0 @@ - - - Chapter 4. Reference Documentation

Chapter 4. Reference Documentation

Reference documentation is also available:

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/ch05.html b/lib/docbook/docbook-xsl/doc/ch05.html deleted file mode 100644 index bf1ed393f..000000000 --- a/lib/docbook/docbook-xsl/doc/ch05.html +++ /dev/null @@ -1,60 +0,0 @@ - - - Chapter 5. The Template System

Chapter 5. The Template System

Norman Walsh

-$Id: ch05.html,v 1.1 2002/05/15 17:22:23 isberg Exp $ -

Some parts of the DocBook XSL Stylesheets are actually generated -using XSL Stylesheets. In particular, the formatting of title pages -is generated using a special template system. The same template system -will eventually allow you to easily customize bibliography entries and -perhaps other parts of the system as well.

FIXME: there needs to be more introductory/explanatory text -here!

Changing the Article Title Page

In order to demonstrate how this system works, let's consider -how we can use it to change the format of article title pages.

By default, the stylesheets print the following elements on the -article title page, in this order: title, subtitle, corpauthor, authorgroup, author, releaseinfo, copyright, legalnotice, pubdate, revision, revhistory, abstract. Suppose we want to put only the -title, author, and -edition elements on the title page, in the order -that they appear in the articleinfo. -

The hard (and wrong!) way to do it would be to -edit titlepage.templates.xsl and make the changes -by hand.

The easy and right way is to construct a template document that -describes the order and sequence of elements that you want:

-<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
-             xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-             base-stylesheet="/path/to/html/docbook.xsl">
-
-<t:titlepage element="article" wrapper="div" class="titlepage">
-  <t:titlepage-content side="recto" order="document">
-    <title predicate="[1]"/>
-    <author/>
-    <edition/>
-  </t:titlepage-content>
-</t:titlepage>
-</t:templates>
-

Then process this document with the -template/titlepage.xsl stylesheet. This will -produce the following somewhat cryptic stylesheet:

-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-<!-- This stylesheet was created by titlepage.xsl; do not edit it by hand. -->
-
-<xsl:import href="/path/to/html/docbook.xsl"/>
-
-<xsl:template name="article.titlepage.recto"><xsl:apply-templates mode="article.titlepage.recto.mode" select="(articleinfo/title|artheader/title|title)[1]|articleinfo/author|artheader/author|articleinfo/edition|artheader/edition"/>
-</xsl:template>
-
-<xsl:template name="article.titlepage">
-  <div class="titlepage">
-    <xsl:call-template name="article.titlepage.before.recto"/>
-    <xsl:call-template name="article.titlepage.recto"/>
-    <xsl:call-template name="article.titlepage.before.verso"/>
-    <xsl:call-template name="article.titlepage.verso"/>
-    <xsl:call-template name="article.titlepage.separator"/>
-  </div>
-</xsl:template>
-
-</xsl:stylesheet>
-

Despite its cryptic appearance, it has the desired result. -If you want to change how the titlepage elements -are formatted (as opposed to which ones are formatted), you have to -write your own customization layer that overrides the template for -the element in question in the titlepage.mode mode.

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/common/ChangeLog b/lib/docbook/docbook-xsl/doc/common/ChangeLog deleted file mode 100644 index 685464607..000000000 --- a/lib/docbook/docbook-xsl/doc/common/ChangeLog +++ /dev/null @@ -1,12 +0,0 @@ -2001-08-06 Norman Walsh - - * Makefile: Documentation and documentation generation tweaks - -2001-06-20 Norman Walsh - - * Makefile: Use XT again (neither Saxon nor Xalan work) - -2001-04-03 Norman Walsh - - * .cvsignore, Makefile: New file. - diff --git a/lib/docbook/docbook-xsl/doc/common/common.html b/lib/docbook/docbook-xsl/doc/common/common.html deleted file mode 100644 index 796384190..000000000 --- a/lib/docbook/docbook-xsl/doc/common/common.html +++ /dev/null @@ -1,387 +0,0 @@ - - - - - Common Template Reference - - - - -
-
-
-

Common Template Reference -

-
-
-

Norman Walsh

-
-
-

- $Id: common.html,v 1.1 2002/05/15 17:22:23 isberg Exp $ - -

-
-
- -
-
-
-
-
-
-
-

Introduction -

-
-
-

This is technical reference documentation for the DocBook XSL - Stylesheets; it documents (some of) the parameters, templates, and - other elements of the stylesheets. -

-

This is not intended to be user documentation. - It is provided for developers writing customization layers for the - stylesheets, and for anyone who's interested in how it - works. -

-

Although I am trying to be thorough, this documentation is known - to be incomplete. Don't forget to read the source, too :-) -

-
-
-

Table of Contents

-
-
is.component - Tests if a given node is a component-level element -
-
is.section - Tests if a given node is a section-level element -
-
section.level - Returns the hierarchical level of a section. -
-
qanda.section.level - Returns the hierarchical level of a QandASet. -
-
select.mediaobject - Selects an appropriate media object from a list -
-
is.acceptable.mediaobject - Returns '1' if the specified media object is recognized. -
-
check.id.unique - Warn users about references to non-unique IDs -
-
check.idref.targets - Warn users about incorrectly typed references -
-
-
-
-
-
-

is.component -

-

Name

is.component — Tests if a given node is a component-level element -
-

Synopsis

<xsl:template name="is.component">
-<xsl:param name="node" select="."/>
-  ...
-</xsl:template>
-
- - -

This template returns '1' if the specified node is a component - (Chapter, Appendix, etc.), and '0' otherwise. -

- - -
-
Parameters - - -
-
-
node
-
-

The node which is to be tested. -

-
-
-
- - -
-
Returns - - -

This template returns '1' if the specified node is a component - (Chapter, Appendix, etc.), and '0' otherwise. -

- - -
-
-
-
-

is.section -

-

Name

is.section — Tests if a given node is a section-level element -
-

Synopsis

<xsl:template name="is.section">
-<xsl:param name="node" select="."/>
-  ...
-</xsl:template>
-
- - -

This template returns '1' if the specified node is a section - (Section, Sect1, Sect2, etc.), and '0' otherwise. -

- - -
-
Parameters - - -
-
-
node
-
-

The node which is to be tested. -

-
-
-
- - -
-
Returns - - -

This template returns '1' if the specified node is a section - (Section, Sect1, Sect2, etc.), and '0' otherwise. -

- - -
-
-
-
-

section.level -

-

Name

section.level — Returns the hierarchical level of a section. -
-

Synopsis

<xsl:template name="section.level">
-<xsl:param name="node" select="."/>
-  ...
-</xsl:template>
-
- - -

This template calculates the hierarchical level of a section. - Hierarchically, components are top level, so a - sect1 is at level 2, sect3 is - at level 3, etc. -

- - - - -

Recursive sections are calculated down to the sixth level.

- - -
-
Parameters - - -
-
-
node
-
-

The section node for which the level should be calculated. - Defaults to the context node. -

-
-
-
- - -
-
Returns - - -

The section level, 2, 3, etc. - -

- - -
-
-
-
-

qanda.section.level -

-

Name

qanda.section.level — Returns the hierarchical level of a QandASet. -
-

Synopsis

<xsl:template name="qanda.section.level"/>
-
- - -

This template calculates the hierarchical level of a QandASet. - -

- - -
-
Returns - - -

The level, 1, 2, etc. - -

- - -
-
-
-
-

select.mediaobject -

-

Name

select.mediaobject — Selects an appropriate media object from a list -
-

Synopsis

<xsl:template name="select.mediaobject">
-<xsl:param name="olist" select="imageobject|imageobjectco                      |videoobject|audioobject|textobject"/>
-<xsl:param name="count">1</xsl:param>
-  ...
-</xsl:template>
-
- - -

This template examines a list of media objects (usually the - children of a mediaobject or inlinemediaobject) and processes - the "right" object. -

- - - - -

This template relies on a template named "is.acceptable.mediaobject" - to determine if a given object is an acceptable graphic. The semantics - of media objects is that the first acceptable graphic should be used. - -

- - - - -

If no acceptable object is located, nothing happens.

- - -
-
Parameters - - -
-
-
olist
-
-

The node list of potential objects to examine. -

-
-
-
- - -
-
Returns - - -

Calls <xsl:apply-templates> on the selected object.

- - -
-
-
-
-

is.acceptable.mediaobject -

-

Name

is.acceptable.mediaobject — Returns '1' if the specified media object is recognized. -
-

Synopsis

<xsl:template name="is.acceptable.mediaobject">
-<xsl:param name="object"/>
-  ...
-</xsl:template>
-
- - -

This template examines a media object and returns '1' if the - object is recognized as a graphic. -

- - -
-
Parameters - - -
-
-
object
-
-

The media object to consider. -

-
-
-
- - -
-
Returns - - -

0 or 1

- - -
-
-
-
-

check.id.unique -

-

Name

check.id.unique — Warn users about references to non-unique IDs -
-

Synopsis

<xsl:template name="check.id.unique">
-<xsl:param name="linkend"/>
-  ...
-</xsl:template>
-
- - -

If passed an ID in linkend, - check.id.unique prints - a warning message to the user if either the ID does not exist or - the ID is not unique. -

- - -
-
-
-
-

check.idref.targets -

-

Name

check.idref.targets — Warn users about incorrectly typed references -
-

Synopsis

<xsl:template name="check.idref.targets">
-<xsl:param name="linkend"/>
-<xsl:param name="element-list"/>
-  ...
-</xsl:template>
-
- - -

If passed an ID in linkend, - check.idref.targets makes sure that the element - pointed to by the link is one of the elements listed in - element-list and warns the user otherwise. -

- - -
-
-
- - \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/copyright.html b/lib/docbook/docbook-xsl/doc/copyright.html deleted file mode 100644 index 75eea146b..000000000 --- a/lib/docbook/docbook-xsl/doc/copyright.html +++ /dev/null @@ -1,19 +0,0 @@ - - - Copyright

Copyright

Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation files -(the Software), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished -to do so, subject to the following conditions: -

The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software.

Except as contained in this notice, the names of individuals -credited with contribution to this software shall not be used in -advertising or otherwise to promote the sale, use or other dealings in -this Software without prior written authorization from the individuals -in question.

Any stylesheet derived from this Software that is publically -distributed will be identified with a different name and the version -strings in any derived Software will be changed so that no possibility -of confusion between the derived package and this Software will -exist.

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/extensions.html b/lib/docbook/docbook-xsl/doc/extensions.html deleted file mode 100644 index 02d2510d8..000000000 --- a/lib/docbook/docbook-xsl/doc/extensions.html +++ /dev/null @@ -1,41 +0,0 @@ - - - Chapter 2. Saxon Extensions

Chapter 2. Saxon Extensions

Beginning with release 1.25, the DocBook XSL Stylesheets include -a set of Java extensions for Saxon.

These extensions enable callouts, numbered program listings, and -the direct inclusion of text:

  1 @rem = '--*-Perl-*--                                       (1)
-    @echo off
-    perl.exe %_batchname %$
-    goto endofperl                                             (2)
-  5 @rem ';
-    
-    # Compress mail...
-    
-    require 'n:/home/nwalsh/lib/cygnus.pl';                    (3)
- 10 require 'timelocal.pl';                                    (3)
-    use Cwd;   (4)
-    
-    select (STDERR); $| = 1;
-    select (STDOUT); $| = 1;
- 15 
-    @DIRS = ("/home/nwalsh/Mail");
-    while (@DIRS) {
-        $dir = shift @DIRS;
-        opendir (DIR, $dir);
- 20     while ($fname = readdir(DIR)) {
-            $file = "$dir/$fname";
-            next if ! -d $file;
-            next if $fname =~ /^\.\.?$/;
-    
- 25         print "$file\n";
-            push (@DIRS, $file);
-            &compress ($file);                                 (5)
-        }
-    }
- 30 
-    exit;
1

The prologue handles embedding a Perl script in a DOS batch file.

2

The goto statement, interpreted by the DOS batch -file interpreter, skips over the body of the Perl script.

3

The require statement sources in external program -fragments.

4

The use statement is similar, but has additional -utility. It is a Perl5 function. (Note that this callout area specifies -both a line and a column.)

5

This is a user subroutine call.

Installation

The extensions are included in the distribution in -extensions/nwalsh.jar. Just make sure that jar -file is in your CLASSPATH when you run Saxon.

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/fo/ChangeLog b/lib/docbook/docbook-xsl/doc/fo/ChangeLog deleted file mode 100644 index 685464607..000000000 --- a/lib/docbook/docbook-xsl/doc/fo/ChangeLog +++ /dev/null @@ -1,12 +0,0 @@ -2001-08-06 Norman Walsh - - * Makefile: Documentation and documentation generation tweaks - -2001-06-20 Norman Walsh - - * Makefile: Use XT again (neither Saxon nor Xalan work) - -2001-04-03 Norman Walsh - - * .cvsignore, Makefile: New file. - diff --git a/lib/docbook/docbook-xsl/doc/fo/param.html b/lib/docbook/docbook-xsl/doc/fo/param.html deleted file mode 100644 index 8b2170c33..000000000 --- a/lib/docbook/docbook-xsl/doc/fo/param.html +++ /dev/null @@ -1,1833 +0,0 @@ - - - - - Formatting Object Parameter Reference - - - - -
-
-
-

Formatting Object Parameter Reference -

-
-
-

Norman Walsh

-
-
-

- $Id: param.html,v 1.1 2002/05/15 17:22:23 isberg Exp $ - -

-
-
- -
-
-
-
-
-
-
-

Introduction -

-
-
-

This is technical reference documentation for the DocBook XSL - Stylesheets; it documents (some of) the parameters, templates, and - other elements of the stylesheets. -

-

This reference describes each of the Formatting Object - Stylesheet parameters. These are the easily - customizable parts of the stylesheet. If you want to specify - an alternate value for one or more of these parameters, you can do so - in a driver stylesheet. -

-

For example, if you want to turn on automatic section numbering, - you might create a driver stylesheet like this: -

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version='1.0'>
-
-  <xsl:import href="/path/to/fo/docbook.xsl"/>
-
-  <xsl:param name="section.autolabel" select="1"/>
-
-</xsl:stylesheet>

Naturally, you have to change the - href attribute on - <xsl:import> - to point to docbook.xsl - on your system. -

-

This is not intended to be user documentation. - It is provided for developers writing customization layers for the - stylesheets, and for anyone who's interested in how it - works. -

-

Although I am trying to be thorough, this documentation is known - to be incomplete. Don't forget to read the source, too :-) -

-
-
-

Table of Contents

-
-
admon.graphics.extension - Extension for admonition graphics -
-
qandadiv.autolabel - Are divisions in QAndASets enumerated? -
-
qanda.inherit.numeration - Does enumeration of QandASet components inherit the numeration of parent elements? -
-
graphic.default.extension - Default extension for graphic filenames -
-
formal.title.properties mode - Properties of formal object titles -
-
component.title.properties mode - Properties of component titles -
-
admonition.title.properties mode - Properties of admonition titles -
-
xref.properties mode - Visual properties of hotlinks -
-
insert.xref.page.number - Turns page numbers in xrefs on and off -
-
normal.para.spacing mode - Spacing properties of normal paragraphs -
-
list.block.spacing mode - Spacing properties of list blocks -
-
list.item.spacing mode - Spacing properties of list items -
-
rootid - Specify the root element to format -
-
callout.graphics - Use graphics for callouts? -
-
callout.unicode - First character to use for Unicode callouts -
-
callout.unicode.font - Font to use for Unicode dingbats -
-
callout.unicode.start.character - Number of the largest callout graphic -
-
callout.unicode.number.limit - Number of the largest callout graphic -
-
callout.graphics.extension - Extension for callout graphics -
-
callout.graphics.path - Path to callout graphics -
-
callout.graphics.number.limit - Number of the largest callout graphic -
-
use.extensions - Enable extensions -
-
textinsert.extension - Enable the textinsert extension element -
-
linenumbering.extension - Enable the line numbering extension -
-
linenumbering.everyNth - Indicate which lines should be numbered -
-
linenumbering.width - Indicates the width of line numbers -
-
linenumbering.separator - Specify a separator between line numbers and lines -
-
callouts.extension - Enable the callout extension -
-
callout.defaultcolumn - Indicates what column callouts appear in by default -
-
tablecolumns.extension - Enable the table columns extension function -
-
nominal.table.width - The (absolute) nominal width of tables -
-
default.table.width - The default width of tables -
-
paper.type - Select the paper type -
-
page.orientation - Select the page orientation -
-
page.width.portrait - Specify the physical size of the short edge of the page -
-
page.height.portrait - Specify the physical size of the long edge of the page -
-
page.width - The width of the physical page -
-
page.height - The height of the physical page -
-
double.sided - Is the document to be printed double sided? -
-
column.count - Specifies the number of columns of text on the page -
-
region.after.extent - Specifies the height of the footer. -
-
region.before.extent - Specifies the height of the header -
-
page.margin.top - The top margin of the page -
-
page.margin.bottom - The bottom margin of the page -
-
page.margin.inner - The inner page margin -
-
page.margin.outer - The outer page margin -
-
body.margin.bottom - The bottom margin of the body text -
-
body.margin.top - FIXME: -
-
body.font.family - The default font family for body text -
-
title.font.family - The default font family for titles -
-
monospace.font.family - The default font family for monospace environments -
-
sans.font.family - The default sans-serif font family -
-
dingbat.font.family - The font family for copyright, quotes, and other symbols -
-
body.font.master - Specifies the default point size for body text -
-
body.font.size - Specifies the default font size for body text -
-
footnote.font.size - The font size for footnotes -
-
hyphenate - Specify hyphenation behavior -
-
alignment - Specify the default text alignment -
-
stylesheet.result.type - Identifies the output format of this stylesheet -
-
generate.component.toc - Generate a table of contents for components? -
-
generate.division.toc - Generate a table of contents for divisions? -
-
generate.division.figure.lot - Generate a list of titles for Figures? -
-
generate.division.example.lot - Generate a list of titles for Examples? -
-
generate.division.equation.lot - Generate a list of titles for Equations? -
-
generate.division.table.lot - Generate a list of titles for Tables? -
-
passivetex.extensions - Enable PassiveTeX extensions? -
-
arbortext.extensions - Enable Arbortext extensions? -
-
fop.extensions - Enable FOP extensions? -
-
xep.extensions - Enable XEP extensions? -
-
default.units - Default units for an unqualified dimension -
-
label.from.part - Renumber chapters in each part? -
-
formal.procedures - Selects formal or informal procedures -
-
bibliography.collection - Name of the bibliography collection file -
-
format.variablelist.as.list - Use an fo:list to format VariableLists? -
-
runinhead.title.end.punct - Characters that count as punctuation on a run-in-head -
-
runinhead.default.title.end.punct - Default punctuation character on a run-in-head -
-
-
-
-
-
-

admon.graphics.extension -

-

Name

admon.graphics.extension — Extension for admonition graphics -
-

Synopsis

-<xsl:param name="admon.graphics.extension" select="'.png'" doc:type="string"/>
-
- - -

Sets the extension to use on admonition graphics.

- - -
-
-
-
-

qandadiv.autolabel -

-

Name

qandadiv.autolabel — Are divisions in QAndASets enumerated? -
-

Synopsis

-
- - -

If true (non-zero), unlabeled qandadivs will be enumerated. - -

- - -
-
-
-
-

qanda.inherit.numeration -

-

Name

qanda.inherit.numeration — Does enumeration of QandASet components inherit the numeration of parent elements? -
-

Synopsis

-
- - -

If true (non-zero), numbered QandADiv elements and Questions and Answers inherit - the numeration of the ancestors of the QandASet. - -

- - -
-
-
-
-

graphic.default.extension -

-

Name

graphic.default.extension — Default extension for graphic filenames -
-

Synopsis

-
- - -

If a graphic or mediaobject - includes a reference to a filename that does not include an extension, - and the format attribute is - unspecified, the default extension will be used. - -

- - -
-
-
-
-

formal.title.properties mode -

-

Name

formal.title.properties mode — Properties of formal object titles -
-
- - -

This attribute set is used to specify the properties of formal - object titles. - -

- - -
-
-
-
-

component.title.properties mode -

-

Name

component.title.properties mode — Properties of component titles -
-
- - -

This attribute set is used to specify the properties of component - titles. - -

- - -
-
-
-
-

admonition.title.properties mode -

-

Name

admonition.title.properties mode — Properties of admonition titles -
-
- - -

This attribute set is used to specify the properties of admonition - titles. - -

- - -
-
-
-
-

xref.properties mode -

-

Name

xref.properties mode — Visual properties of hotlinks -
-
- - -

This attribute set is used to specify properties of xrefs - -

- - -
-
-
-
-

insert.xref.page.number -

-

Name

insert.xref.page.number — Turns page numbers in xrefs on and off -
-

Synopsis

-<xsl:param name="insert.xref.page.number" select="0" doc:type="boolean"/>
-
- - -

When equal to 1, this parameter triggers generation of page - number citations after xrefs. - -

- - -
-
-
-
-

normal.para.spacing mode -

-

Name

normal.para.spacing mode — Spacing properties of normal paragraphs -
-
- - -

This attribute set is used to specify the spacing properties - of normal paragraphs. - -

- - -
-
-
-
-

list.block.spacing mode -

-

Name

list.block.spacing mode — Spacing properties of list blocks -
-
- - -

This attribute set is used to specify the spacing properties - of list blocks. - -

- - -
-
-
-
-

list.item.spacing mode -

-

Name

list.item.spacing mode — Spacing properties of list items -
-
- - -

This attribute set is used to specify the spacing properties - of list items. - -

- - -
-
-
-
-

rootid -

-

Name

rootid — Specify the root element to format -
-

Synopsis

-<xsl:param name="rootid" select="''"/>
-
- - -

If rootid is specified, it must be the - value of an ID that occurs in the document being formatted. The entire - document will be loaded and parsed, but formatting will begin at the - element identified, rather than at the root. For example, this allows - you to process only chapter 4 of a book. -

- - - -

Because the entire document is available to the processor, automatic - numbering, cross references, and other dependencies are correctly - resolved. -

- - -
-
-
-
-

callout.graphics -

-

Name

callout.graphics — Use graphics for callouts? -
-

Synopsis

-<xsl:param name="callout.graphics" select="'0'"/>
-
- - -

If non-zero, callouts are presented with graphics (e.g., reverse-video - circled numbers instead of "(1)", "(2)", etc.). - Default graphics are provided in the distribution. - -

- - -
-
-
-
-

callout.unicode -

-

Name

callout.unicode — First character to use for Unicode callouts -
-

Synopsis

-<xsl:param name="callout.unicode" select="1"/>
-
- - -

If non-zero, callouts are presented with Unicode characters - starting with the character specified. Zero indicates that Unicode - callouts should not be used. - -

- - -
-
-
-
-

callout.unicode.font -

-

Name

callout.unicode.font — Font to use for Unicode dingbats -
-

Synopsis

-<xsl:param name="callout.unicode.font" select="'ZapfDingbats'"/>
-
- - -

The name of the font to specify around Unicode callout glyphs. - If set to the empty string, no font change will occur. - -

- - -
-
-
-
-

callout.unicode.start.character -

-

Name

callout.unicode.start.character — Number of the largest callout graphic -
-

Synopsis

-<xsl:param name="callout.unicode.start.character" select="10102" doc:type="integer"/>
-
- - -

If callout.graphics - is non-zero, graphics are used to represent - callout numbers. The value of - callout.graphics.number.limit - is - the largest number for which a graphic exists. If the callout number - exceeds this limit, the default presentation "(nnn)" will always - be used. - -

- - -
-
-
-
-

callout.unicode.number.limit -

-

Name

callout.unicode.number.limit — Number of the largest callout graphic -
-

Synopsis

-<xsl:param name="callout.unicode.number.limit" select="'10'" doc:type="integer"/>
-
- - -

If callout.graphics - is non-zero, graphics are used to represent - callout numbers. The value of - callout.graphics.number.limit - is - the largest number for which a graphic exists. If the callout number - exceeds this limit, the default presentation "(nnn)" will always - be used. - -

- - -
-
-
-
-

callout.graphics.extension -

-

Name

callout.graphics.extension — Extension for callout graphics -
-

Synopsis

-<xsl:param name="callout.graphics.extension" select="'.png'"/>
-
- - -

Sets the extension to use on callout graphics.

- - -
-
-
-
-

callout.graphics.path -

-

Name

callout.graphics.path — Path to callout graphics -
-

Synopsis

-<xsl:param name="callout.graphics.path" select="'../images/callouts/'"/>
-
- - -

Sets the path, probably relative to the directory where the HTML - files are created, to the callout graphics. - -

- - -
-
-
-
-

callout.graphics.number.limit -

-

Name

callout.graphics.number.limit — Number of the largest callout graphic -
-

Synopsis

-<xsl:param name="callout.graphics.number.limit" select="'10'"/>
-
- - -

If callout.graphics - is non-zero, graphics are used to represent - callout numbers. The value of - callout.graphics.number.limit - is - the largest number for which a graphic exists. If the callout number - exceeds this limit, the default presentation "(nnn)" will always - be used. - -

- - -
-
-
-
-

use.extensions -

-

Name

use.extensions — Enable extensions -
-

Synopsis

-<xsl:param name="use.extensions" select="'0'"/>
-
- - -

If non-zero, extensions may be used. Each extension is - further controlled by its own parameter. But if - use.extensions is zero, no extensions will - be used. - -

- - -
-
-
-
-

textinsert.extension -

-

Name

textinsert.extension — Enable the textinsert extension element -
-

Synopsis

-<xsl:param name="textinsert.extension" select="'1'"/>
-
- - -

The textinsert extension element inserts the contents of a - a file into the result tree (as text). - -

- - -
-
-
-
-

linenumbering.extension -

-

Name

linenumbering.extension — Enable the line numbering extension -
-

Synopsis

-<xsl:param name="linenumbering.extension" select="'1'"/>
-
- - -

If true, verbatim environments (elements that have the - format='linespecific' notation attribute: address, literallayout, - programlisting, screen, synopsis) that specify line numbering will - have, surprise, line numbers. - -

- - -
-
-
-
-

linenumbering.everyNth -

-

Name

linenumbering.everyNth — Indicate which lines should be numbered -
-

Synopsis

-<xsl:param name="linenumbering.everyNth" select="'5'"/>
-
- - -

If line numbering is enabled, everyNth line will be numbered. - -

- - -
-
-
-
-

linenumbering.width -

-

Name

linenumbering.width — Indicates the width of line numbers -
-

Synopsis

-<xsl:param name="linenumbering.width" select="'3'"/>
-
- - -

If line numbering is enabled, line numbers will appear right - justified in a field "width" characters wide. - -

- - -
-
-
-
-

linenumbering.separator -

-

Name

linenumbering.separator — Specify a separator between line numbers and lines -
-

Synopsis

-<xsl:param name="linenumbering.separator" select="' '"/>
-
- - -

The separator is inserted between line numbers and lines in - the verbatim environment. - -

- - -
-
-
-
-

callouts.extension -

-

Name

callouts.extension — Enable the callout extension -
-

Synopsis

-<xsl:param name="callouts.extension" select="'1'"/>
-
- - -

The callouts extension processes areaset - elements in ProgramListingCO and other text-based - callout elements. - -

- - -
-
-
-
-

callout.defaultcolumn -

-

Name

callout.defaultcolumn — Indicates what column callouts appear in by default -
-

Synopsis

-<xsl:param name="callout.defaultcolumn" select="'60'"/>
-
- - -

If a callout does not identify a column (for example, if it uses - the linerange unit), - it will appear in the default column. - -

- - -
-
-
-
-

tablecolumns.extension -

-

Name

tablecolumns.extension — Enable the table columns extension function -
-

Synopsis

-<xsl:param name="tablecolumns.extension" select="'1'" doc:type="boolean"/>
-
- - -

The table columns extension function adjusts the widths of table - columns in the HTML result to more accurately reflect the specifications - in the CALS table. - -

- - -
-
-
-
-

nominal.table.width -

-

Name

nominal.table.width — The (absolute) nominal width of tables -
-

Synopsis

-<xsl:param name="nominal.table.width" select="'6in'" doc:type="length"/>
-
- - -

In order to convert CALS column widths into FO column widths, it - is sometimes necessary to have an absolute table width to use for conversion - of mixed absolute and relative widths. This value must be an absolute - length (not a percentage). -

- - -
-
-
-
-

default.table.width -

-

Name

default.table.width — The default width of tables -
-

Synopsis

-<xsl:param name="default.table.width" select="''" doc:type="length"/>
-
- - -

If specified, this value will be used for the WIDTH attribute on - tables that do not specify an alternate width (with the dbhtml processing - instruction). -

- - -
-
-
-
-

paper.type -

-

Name

paper.type — Select the paper type -
-

Synopsis

-<xsl:param name="paper.type" select="'USletter'"/>
-
- - -

The paper type is a convenient way to specify the paper size. - The list of known paper sizes includes USletter and most of the A, - B, and C sizes. See page.width.portrait, for example. - -

- - -
-
-
-
-

page.orientation -

-

Name

page.orientation — Select the page orientation -
-

Synopsis

-<xsl:param name="page.orientation" select="'portrait'"/>
-
- - -

In portrait orientation, the short edge is horizontal; in - landscape orientation, it is vertical. - -

- - -
-
-
-
-

page.width.portrait -

-

Name

page.width.portrait — Specify the physical size of the short edge of the page -
-

Synopsis

-<xsl:param name="page.width.portrait">
-  <xsl:choose>
-    <xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when>
-    <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when>
-    <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when>
-    <xsl:when test="$paper.type = 'A0'">841mm</xsl:when>
-    <xsl:when test="$paper.type = 'A1'">594mm</xsl:when>
-    <xsl:when test="$paper.type = 'A2'">420mm</xsl:when>
-    <xsl:when test="$paper.type = 'A3'">297mm</xsl:when>
-    <xsl:when test="$paper.type = 'A4'">210mm</xsl:when>
-    <xsl:when test="$paper.type = 'A5'">148mm</xsl:when>
-    <xsl:when test="$paper.type = 'A6'">105mm</xsl:when>
-    <xsl:when test="$paper.type = 'A7'">74mm</xsl:when>
-    <xsl:when test="$paper.type = 'A8'">52mm</xsl:when>
-    <xsl:when test="$paper.type = 'A9'">37mm</xsl:when>
-    <xsl:when test="$paper.type = 'A10'">26mm</xsl:when>
-    <xsl:when test="$paper.type = 'B0'">1000mm</xsl:when>
-    <xsl:when test="$paper.type = 'B1'">707mm</xsl:when>
-    <xsl:when test="$paper.type = 'B2'">500mm</xsl:when>
-    <xsl:when test="$paper.type = 'B3'">353mm</xsl:when>
-    <xsl:when test="$paper.type = 'B4'">250mm</xsl:when>
-    <xsl:when test="$paper.type = 'B5'">176mm</xsl:when>
-    <xsl:when test="$paper.type = 'B6'">125mm</xsl:when>
-    <xsl:when test="$paper.type = 'B7'">88mm</xsl:when>
-    <xsl:when test="$paper.type = 'B8'">62mm</xsl:when>
-    <xsl:when test="$paper.type = 'B9'">44mm</xsl:when>
-    <xsl:when test="$paper.type = 'B10'">31mm</xsl:when>
-    <xsl:when test="$paper.type = 'C0'">917mm</xsl:when>
-    <xsl:when test="$paper.type = 'C1'">648mm</xsl:when>
-    <xsl:when test="$paper.type = 'C2'">458mm</xsl:when>
-    <xsl:when test="$paper.type = 'C3'">324mm</xsl:when>
-    <xsl:when test="$paper.type = 'C4'">229mm</xsl:when>
-    <xsl:when test="$paper.type = 'C5'">162mm</xsl:when>
-    <xsl:when test="$paper.type = 'C6'">114mm</xsl:when>
-    <xsl:when test="$paper.type = 'C7'">81mm</xsl:when>
-    <xsl:when test="$paper.type = 'C8'">57mm</xsl:when>
-    <xsl:when test="$paper.type = 'C9'">40mm</xsl:when>
-    <xsl:when test="$paper.type = 'C10'">28mm</xsl:when>
-    <xsl:otherwise>8.5in</xsl:otherwise>
-  </xsl:choose>
-</xsl:param>
-
- - -

The portrait page width is the length of the short - edge of the physical page. - -

- - -
-
-
-
-

page.height.portrait -

-

Name

page.height.portrait — Specify the physical size of the long edge of the page -
-

Synopsis

-<xsl:param name="page.height.portrait">
-  <xsl:choose>
-    <xsl:when test="$paper.type = 'A4landscape'">210mm</xsl:when>
-    <xsl:when test="$paper.type = 'USletter'">11in</xsl:when>
-    <xsl:when test="$paper.type = 'USlandscape'">8.5in</xsl:when>
-    <xsl:when test="$paper.type = '4A0'">2378mm</xsl:when>
-    <xsl:when test="$paper.type = '2A0'">1682mm</xsl:when>
-    <xsl:when test="$paper.type = 'A0'">1189mm</xsl:when>
-    <xsl:when test="$paper.type = 'A1'">841mm</xsl:when>
-    <xsl:when test="$paper.type = 'A2'">594mm</xsl:when>
-    <xsl:when test="$paper.type = 'A3'">420mm</xsl:when>
-    <xsl:when test="$paper.type = 'A4'">297mm</xsl:when>
-    <xsl:when test="$paper.type = 'A5'">210mm</xsl:when>
-    <xsl:when test="$paper.type = 'A6'">148mm</xsl:when>
-    <xsl:when test="$paper.type = 'A7'">105mm</xsl:when>
-    <xsl:when test="$paper.type = 'A8'">74mm</xsl:when>
-    <xsl:when test="$paper.type = 'A9'">52mm</xsl:when>
-    <xsl:when test="$paper.type = 'A10'">37mm</xsl:when>
-    <xsl:when test="$paper.type = 'B0'">1414mm</xsl:when>
-    <xsl:when test="$paper.type = 'B1'">1000mm</xsl:when>
-    <xsl:when test="$paper.type = 'B2'">707mm</xsl:when>
-    <xsl:when test="$paper.type = 'B3'">500mm</xsl:when>
-    <xsl:when test="$paper.type = 'B4'">353mm</xsl:when>
-    <xsl:when test="$paper.type = 'B5'">250mm</xsl:when>
-    <xsl:when test="$paper.type = 'B6'">176mm</xsl:when>
-    <xsl:when test="$paper.type = 'B7'">125mm</xsl:when>
-    <xsl:when test="$paper.type = 'B8'">88mm</xsl:when>
-    <xsl:when test="$paper.type = 'B9'">62mm</xsl:when>
-    <xsl:when test="$paper.type = 'B10'">44mm</xsl:when>
-    <xsl:when test="$paper.type = 'C0'">1297mm</xsl:when>
-    <xsl:when test="$paper.type = 'C1'">917mm</xsl:when>
-    <xsl:when test="$paper.type = 'C2'">648mm</xsl:when>
-    <xsl:when test="$paper.type = 'C3'">458mm</xsl:when>
-    <xsl:when test="$paper.type = 'C4'">324mm</xsl:when>
-    <xsl:when test="$paper.type = 'C5'">229mm</xsl:when>
-    <xsl:when test="$paper.type = 'C6'">162mm</xsl:when>
-    <xsl:when test="$paper.type = 'C7'">114mm</xsl:when>
-    <xsl:when test="$paper.type = 'C8'">81mm</xsl:when>
-    <xsl:when test="$paper.type = 'C9'">57mm</xsl:when>
-    <xsl:when test="$paper.type = 'C10'">40mm</xsl:when>
-    <xsl:otherwise>11in</xsl:otherwise>
-  </xsl:choose>
-</xsl:param>
-
- - -

The portrait page height is the length of the long - edge of the physical page. - -

- - -
-
-
-
-

page.width -

-

Name

page.width — The width of the physical page -
-

Synopsis

-<xsl:param name="page.width">
-  <xsl:choose>
-    <xsl:when test="$page.orientation = 'portrait'">
-      <xsl:value-of select="$page.width.portrait"/>
-    </xsl:when>
-    <xsl:otherwise>
-      <xsl:value-of select="$page.height.portrait"/>
-    </xsl:otherwise>
-  </xsl:choose>
-</xsl:param>
-
- - -

The page width is generally calculated from the - paper.type and - page.orientation. - -

- - -
-
-
-
-

page.height -

-

Name

page.height — The height of the physical page -
-

Synopsis

-<xsl:param name="page.height">
-  <xsl:choose>
-    <xsl:when test="$page.orientation = 'portrait'">
-      <xsl:value-of select="$page.height.portrait"/>
-    </xsl:when>
-    <xsl:otherwise>
-      <xsl:value-of select="$page.width.portrait"/>
-    </xsl:otherwise>
-  </xsl:choose>
-</xsl:param>
-
- - -

The page height is generally calculated from the - paper.type and - page.orientation. - -

- - -
-
-
-
-

double.sided -

-

Name

double.sided — Is the document to be printed double sided? -
-

Synopsis

-<xsl:param name="double.sided" select="'0'"/>
-
- - -

Double-sided documents are printed with a slightly wider margin - on the binding edge of the page. - -

- - - -

FIXME: The current set of parameters does not take writing direction - into account. -

- - -
-
-
-
-

column.count -

-

Name

column.count — Specifies the number of columns of text on the page -
-

Synopsis

-<xsl:param name="column.count" select="'1'"/>
-
- - -

The specified number of columns of text will appear on each page. - -

- - -
-
-
-
-

region.after.extent -

-

Name

region.after.extent — Specifies the height of the footer. -
-

Synopsis

-<xsl:param name="region.after.extent" select="'12pt'"/>
-
- - -

The region after extent is the height of the area where footers - are printed. - -

- - -
-
-
-
-

region.before.extent -

-

Name

region.before.extent — Specifies the height of the header -
-

Synopsis

-<xsl:param name="region.before.extent" select="'12pt'"/>
-
- - -

The region before extent is the height of the area where headers - are printed. - -

- - -
-
-
-
-

page.margin.top -

-

Name

page.margin.top — The top margin of the page -
-

Synopsis

-<xsl:param name="page.margin.top">1in</xsl:param>
-
- - -

The top page margin is the distance from the physical top of the - page to the first line of text (body or header). - -

- - -
-
-
-
-

page.margin.bottom -

-

Name

page.margin.bottom — The bottom margin of the page -
-

Synopsis

-<xsl:param name="page.margin.bottom">1in</xsl:param>
-
- - -

The bottom page margin is the distance from the physical bottom of - the page to the last line of text (body or footer). - -

- - -
-
-
-
-

page.margin.inner -

-

Name

page.margin.inner — The inner page margin -
-

Synopsis

-<xsl:param name="page.margin.inner">
-  <xsl:choose>
-    <xsl:when test="$double.sided != 0">1.25in</xsl:when>
-    <xsl:otherwise>1in</xsl:otherwise>
-  </xsl:choose>
-</xsl:param>
-
- - -

The inner page margin is the distance from binding edge of the - page to the first column of text. In the left-to-right, top-to-bottom writing - direction, this is the left margin of recto pages. -

- - - -

The inner and outer margins are usually the same unless the output - is double-sided. - -

- - -
-
-
-
-

page.margin.outer -

-

Name

page.margin.outer — The outer page margin -
-

Synopsis

-<xsl:param name="page.margin.outer">
-  <xsl:choose>
-    <xsl:when test="$double.sided != 0">0.75in</xsl:when>
-    <xsl:otherwise>10pc</xsl:otherwise>
-  </xsl:choose>
-</xsl:param>
-
- - -

The outer page margin is the distance from non-binding edge of the - page to the last column of text. In the left-to-right, top-to-bottom writing - direction, this is the right margin of recto pages. -

- - - -

The inner and outer margins are usually the same unless the output - is double-sided. - -

- - -
-
-
-
-

body.margin.bottom -

-

Name

body.margin.bottom — The bottom margin of the body text -
-

Synopsis

-<xsl:param name="body.margin.bottom">24pt</xsl:param>
-
- - -

The body bottom margin is the distance from the last line of text - in the page body to the bottom page margin. Note that the page footer, if - any, appears in the space between the body bottom margin and the page - bottom margin. - -

- - -
-
-
-
-

body.margin.top -

-

Name

body.margin.top — FIXME: -
-

Synopsis

-<xsl:param name="body.margin.top">24pt</xsl:param>
-
- - -

The body top margin is the distance from the page top margin to - the first line of text - in the page body. Note that the page header, if - any, appears in the space between the page top margin and the body - top margin. - -

- - -
-
-
-
-

body.font.family -

-

Name

body.font.family — The default font family for body text -
-

Synopsis

-<xsl:param name="body.font.family">Times Roman</xsl:param>
-
- - -

The body font family is the default font used for text in the page body. - -

- - -
-
-
-
-

title.font.family -

-

Name

title.font.family — The default font family for titles -
-

Synopsis

-<xsl:param name="title.font.family">Helvetica</xsl:param>
-
- - -

The title font family is used for titles (chapter, section, figure, - etc.) - -

- - -
-
-
-
-

monospace.font.family -

-

Name

monospace.font.family — The default font family for monospace environments -
-

Synopsis

-<xsl:param name="monospace.font.family">Courier</xsl:param>
-
- - -

The monospace font family is used for verbatim environments - (program listings, screens, etc.). - -

- - -
-
-
-
-

sans.font.family -

-

Name

sans.font.family — The default sans-serif font family -
-

Synopsis

-<xsl:param name="sans.font.family">Helvetica</xsl:param>
-
- - -

The default sans-serif font family. At the present, this isn't - actually used by the stylesheets. - -

- - -
-
-
-
-

dingbat.font.family -

-

Name

dingbat.font.family — The font family for copyright, quotes, and other symbols -
-

Synopsis

-<xsl:param name="dingbat.font.family">Times Roman</xsl:param>
-
- - -

The dingbat font family is used for dingbats. If it is defined - as the empty string, no font change is effected around dingbats. - -

- - -
-
-
-
-

body.font.master -

-

Name

body.font.master — Specifies the default point size for body text -
-

Synopsis

-<xsl:param name="body.font.master">10</xsl:param>
-
- - -

The body font size is specified in two parameters - (body.font.master and body.font.size) - so that math can be performed on the font size by XSLT. - -

- - -
-
-
-
-

body.font.size -

-

Name

body.font.size — Specifies the default font size for body text -
-

Synopsis

-<xsl:param name="body.font.size">
- <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text>
-</xsl:param>
-
- - -

The body font size is specified in two parameters - (body.font.master and body.font.size) - so that math can be performed on the font size by XSLT. - -

- - -
-
-
-
-

footnote.font.size -

-

Name

footnote.font.size — The font size for footnotes -
-

Synopsis

-<xsl:param name="footnote.font.size">
- <xsl:value-of select="$body.font.master * 0.8"/><xsl:text>pt</xsl:text>
-</xsl:param>
-
- - -

The footnote font size is used for...footnotes! - -

- - -
-
-
-
-

hyphenate -

-

Name

hyphenate — Specify hyphenation behavior -
-

Synopsis

-<xsl:param name="hyphenate">true</xsl:param>
-
- - -

If true, words may be hyphenated. Otherwise, they may not. - -

- - -
-
-
-
-

alignment -

-

Name

alignment — Specify the default text alignment -
-

Synopsis

-<xsl:param name="alignment">justify</xsl:param>
-
- - -

The default text alignment is used for most body text. - -

- - -
-
-
-
-

stylesheet.result.type -

-

Name

stylesheet.result.type — Identifies the output format of this stylesheet -
-

Synopsis

-<xsl:param name="stylesheet.result.type" select="'fo'"/>
-
- - -

The extension functions need to know if the output format - is HTML ('html') or XSL Formatting Objects ('fo'). This variable answers - that question. Valid settings are 'html' or 'fo'. -

- - -
-
-
-
-

generate.component.toc -

-

Name

generate.component.toc — Generate a table of contents for components? -
-

Synopsis

-<xsl:param name="generate.component.toc" select="0" doc:type="boolean"/>
-
- - -

If non-zero, a table of contents is generated at the beginning - of each component (chapters, appendixes, etc.) - -

- - -
-
-
-
-

generate.division.toc -

-

Name

generate.division.toc — Generate a table of contents for divisions? -
-

Synopsis

-<xsl:param name="generate.division.toc" select="1" doc:type="boolean"/>
-
- - -

If non-zero, a table of contents is generated at the beginning - of each division (sets, books, etc.) - -

- - -
-
-
-
-

generate.division.figure.lot -

-

Name

generate.division.figure.lot — Generate a list of titles for Figures? -
-

Synopsis

-<xsl:param name="generate.division.figure.lot" select="1" doc:type="boolean"/>
-
- - -

If non-zero, a list of titles is generated for Figures. - -

- - -
-
-
-
-

generate.division.example.lot -

-

Name

generate.division.example.lot — Generate a list of titles for Examples? -
-

Synopsis

-<xsl:param name="generate.division.example.lot" select="1" doc:type="boolean"/>
-
- - -

If non-zero, a list of titles is generated for Examples. - -

- - -
-
-
-
-

generate.division.equation.lot -

-

Name

generate.division.equation.lot — Generate a list of titles for Equations? -
-

Synopsis

-<xsl:param name="generate.division.equation.lot" select="1" doc:type="boolean"/>
-
- - -

If non-zero, a list of titles is generated for Equations. - -

- - -
-
-
-
-

generate.division.table.lot -

-

Name

generate.division.table.lot — Generate a list of titles for Tables? -
-

Synopsis

-<xsl:param name="generate.division.table.lot" select="1" doc:type="boolean"/>
-
- - -

If non-zero, a list of titles is generated for Tables. - -

- - -
-
-
-
-

passivetex.extensions -

-

Name

passivetex.extensions — Enable PassiveTeX extensions? -
-

Synopsis

-<xsl:param name="passivetex.extensions" select="0" doc:type="boolean"/>
-
- - -

If non-zero, - PassiveTeX - extensions will be used. At present, this consists of PDF bookmarks - and sorted index terms. - -

- - -
-
-
-
-

arbortext.extensions -

-

Name

arbortext.extensions — Enable Arbortext extensions? -
-

Synopsis

-<xsl:param name="arbortext.extensions" select="0" doc:type="boolean"/>
-
- - -

If non-zero, - Arbortext - extensions will be used. - -

- - -
-
-
-
-

fop.extensions -

-

Name

fop.extensions — Enable FOP extensions? -
-

Synopsis

-<xsl:param name="fop.extensions" select="0" doc:type="boolean"/>
-
- - -

If non-zero, - FOP - extensions will be used. At present, this consists of PDF bookmarks. - -

- - -
-
-
-
-

xep.extensions -

-

Name

xep.extensions — Enable XEP extensions? -
-

Synopsis

-<xsl:param name="xep.extensions" select="0" doc:type="boolean"/>
-
- - -

If non-zero, - XEP - extensions will be used. XEP extensions consists of PDF bookmarks and document information. - -

- - -
-
-
-
-

default.units -

-

Name

default.units — Default units for an unqualified dimension -
-

Synopsis

-<xsl:param name="default.units" select="'pt'" doc:type="list" doc:list="cm mm in pt pc px em"/>
-
- - -

If an unqualified dimension is encountered (for example, in a - graphic width), the default-units will be used for the - units. Unqualified dimensions are not allowed in XSL Formatting Objects. - -

- - -
-
-
-
-

label.from.part -

-

Name

label.from.part — Renumber chapters in each part? -
-

Synopsis

-<xsl:param name="label.from.part" select="'0'" doc:type="boolean"/>
-
- - -

If label.from.part is non-zero, components - (chapters, appendixes, etc.) - will be numbered from 1 in each part. Otherwise, - they will be numbered monotonically throughout each - book. - -

- - -
-
-
-
-

formal.procedures -

-

Name

formal.procedures — Selects formal or informal procedures -
-

Synopsis

-<xsl:param name="formal.procedures" select="1" doc:type="boolean"/>
-
- - -

Formal procedures are numbered and always hav a title. - -

- - -
-
-
-
-

bibliography.collection -

-

Name

bibliography.collection — Name of the bibliography collection file -
-

Synopsis

-<xsl:param name="bibliography.collection" doc:type="string" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/>
-
- - -

Tired of copying bibliography entries from one document to another? - Now you can maintain a central bibliography and let the stylesheets do - the copying for you. This parameter identifies the file (by URI reference) - that contains your complete bibliography collection. - -

- - -
-
-
-
-

format.variablelist.as.list -

-

Name

format.variablelist.as.list — Use an fo:list to format VariableLists? -
-

Synopsis

-<xsl:param name="format.variablelist.as.list" select="1" doc:type="boolean"/>
-
- - -

If non-zero, an fo:list will be used to format VariableLists. - Otherwise, nested fo:blocks will be used. - -

- - -
-
-
-
-

runinhead.title.end.punct -

-

Name

runinhead.title.end.punct — Characters that count as punctuation on a run-in-head -
-

Synopsis

-<xsl:param name="runinhead.title.end.punct" select="'.!?:'" doc:type="string"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

runinhead.default.title.end.punct -

-

Name

runinhead.default.title.end.punct — Default punctuation character on a run-in-head -
-

Synopsis

-<xsl:param name="runinhead.default.title.end.punct" select="'.'" doc:type="string"/>
-
- - -

FIXME: - -

- - -
-
-
- - \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/fo/table.html b/lib/docbook/docbook-xsl/doc/fo/table.html deleted file mode 100644 index 023fd0a8c..000000000 --- a/lib/docbook/docbook-xsl/doc/fo/table.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - Formatting Object Table Reference - - - - -
-
-
-

Formatting Object Table Reference -

-
-
-

Norman Walsh

-
-
-

- $Id: table.html,v 1.1 2002/05/15 17:22:23 isberg Exp $ - -

-
-
- -
-
-
-
-
-
-
-

Introduction -

-
-
-

This is technical reference documentation for the DocBook XSL - Stylesheets; it documents (some of) the parameters, templates, and - other elements of the stylesheets. -

-

This is not intended to be user documentation. - It is provided for developers writing customization layers for the - stylesheets, and for anyone who's interested in how it - works. -

-

Although I am trying to be thorough, this documentation is known - to be incomplete. Don't forget to read the source, too :-) -

-
-
-

Table of Contents

-
-
calc.column.width - Calculate an XSL FO table column width specification from a - CALS table column width specification. -
-
-
-
-
-
-

calc.column.width -

-

Name

calc.column.width — Calculate an XSL FO table column width specification from a - CALS table column width specification. -
-

Synopsis

<xsl:template name="calc.column.width">
-<xsl:param name="colwidth">1*</xsl:param>
-  ...
-</xsl:template>
-
- - -

CALS expresses table column widths in the following basic - forms: -

- - - - -
-
    -
  • -

    99.99units, a fixed length specifier. -

    -
  • -
  • -

    99.99, a fixed length specifier without any units. -

    -
  • -
  • -

    99.99*, a relative length specifier. -

    -
  • -
  • -

    99.99*+99.99units, a combination of both. -

    -
  • -
-
- - - - -

The CALS units are points (pt), picas (pi), centimeters (cm), - millimeters (mm), and inches (in). These are the same units as XSL, - except that XSL abbreviates picas "pc" instead of "pi". If a length - specifier has no units, the CALS default unit (pt) is assumed. -

- - - - -

Relative length specifiers are represented in XSL with the - proportional-column-width() function. -

- - - - -

Here are some examples:

- - - - -
-
    -
  • -

    "36pt" becomes "36pt" -

    -
  • -
  • -

    "3pi" becomes "3pc" -

    -
  • -
  • -

    "36" becomes "36pt" -

    -
  • -
  • -

    "3*" becomes "proportional-column-width(3)" -

    -
  • -
  • -

    "3*+2pi" becomes "proportional-column-width(3)+2pc" -

    -
  • -
  • -

    "1*+2" becomes "proportional-column-width(1)+2pt" -

    -
  • -
-
- - -
-
Parameters - - -
-
-
colwidth
-
-

The CALS column width specification. -

-
-
-
- - -
-
Returns - - -

The XSL column width specification.

- - -
-
-
- - \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/html/ChangeLog b/lib/docbook/docbook-xsl/doc/html/ChangeLog deleted file mode 100644 index 685464607..000000000 --- a/lib/docbook/docbook-xsl/doc/html/ChangeLog +++ /dev/null @@ -1,12 +0,0 @@ -2001-08-06 Norman Walsh - - * Makefile: Documentation and documentation generation tweaks - -2001-06-20 Norman Walsh - - * Makefile: Use XT again (neither Saxon nor Xalan work) - -2001-04-03 Norman Walsh - - * .cvsignore, Makefile: New file. - diff --git a/lib/docbook/docbook-xsl/doc/html/ebnf.html b/lib/docbook/docbook-xsl/doc/html/ebnf.html deleted file mode 100644 index 4f12718fe..000000000 --- a/lib/docbook/docbook-xsl/doc/html/ebnf.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - HTML EBNF Reference - - - - -
-
-
-

HTML EBNF Reference -

-
-
-

Norman Walsh

-
-
-

- $Id: ebnf.html,v 1.1 2002/05/15 17:22:24 isberg Exp $ - -

-
-
- -
-
-
-
-
-
-
-

Introduction -

-
-
-

This is technical reference documentation for the DocBook XSL - Stylesheets; it documents (some of) the parameters, templates, and - other elements of the stylesheets. -

-

This reference describes the templates and parameters relevant - to formatting EBNF markup. -

-

This is not intended to be user documentation. - It is provided for developers writing customization layers for the - stylesheets, and for anyone who's interested in how it - works. -

-

Although I am trying to be thorough, this documentation is known - to be incomplete. Don't forget to read the source, too :-) -

-
-
-

Table of Contents

-
-
ebnf.table.bgcolor - Background color for EBNF tables -
-
ebnf.table.border - Selects border on EBNF tables -
-
-
-
-
-
-

ebnf.table.bgcolor -

-

Name

ebnf.table.bgcolor — Background color for EBNF tables -
-

Synopsis

-<xsl:param name="ebnf.table.bgcolor">#F5DCB3</xsl:param>
-
- - -

Sets the background color for EBNF tables. No bgcolor - attribute is output if ebnf.table.bgcolor is set to - the null string. The default value matches the value used in recent - online versions of the W3C's XML Spec productions. -

- - -
-
-
-
-

ebnf.table.border -

-

Name

ebnf.table.border — Selects border on EBNF tables -
-

Synopsis

-<xsl:param name="ebnf.table.border">1</xsl:param>
-
- - -

Selects the border on EBNF tables. If non-zero, the tables have - borders, otherwise they don't. -

- - -
-
-
- - \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/html/param.html b/lib/docbook/docbook-xsl/doc/html/param.html deleted file mode 100644 index 893cce8af..000000000 --- a/lib/docbook/docbook-xsl/doc/html/param.html +++ /dev/null @@ -1,2020 +0,0 @@ - - - - - HTML Parameter Reference - - - - -
-
-
-

HTML Parameter Reference -

-
-
-

Norman Walsh

-
-
-

- $Id: param.html,v 1.1 2002/05/15 17:22:24 isberg Exp $ - -

-
-
- -
-
-
-
-
-
-
-

Introduction -

-
-
-

This is technical reference documentation for the DocBook XSL - Stylesheets; it documents (some of) the parameters, templates, and - other elements of the stylesheets. -

-

This reference describes each of the HTML Stylesheet parameters. - These are the easily customizable parts of the stylesheet. - If you want to specify an alternate value for one or more of these - parameters, you can do so in a driver stylesheet. -

-

For example, if you want to change the html.stylesheet - to reference.css, you might create a driver - stylesheet like this: -

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version='1.0'>
-
-  <xsl:import href="/path/to/html/docbook.xsl"/>
-
-  <xsl:param name="html.stylesheet">reference.css</xsl:param>
-
-</xsl:stylesheet>

Naturally, you have to change the - href attribute on - <xsl:import> - to point to docbook.xsl - on your system. (Or chunk.xsl, if you're using - chunking.) -

-

This is not intended to be user documentation. - It is provided for developers writing customization layers for the - stylesheets, and for anyone who's interested in how it - works. -

-

Although I am trying to be thorough, this documentation is known - to be incomplete. Don't forget to read the source, too :-) -

-
-
-

Table of Contents

-
-
author.othername.in.middle - Is othername in author a - middle name? -
-
html.stylesheet - Name of the stylesheet to use in the generated HTML -
-
html.stylesheet.type - The type of the stylesheet used in the generated HTML -
-
html.base - An HTML base URI -
-
ulink.target - The HTML anchor target for ULinks -
-
refentry.xref.manvolnum - Output manvolnum as part of - refentry cross-reference? -
-
show.comments - Display comment elements? -
-
funcsynopsis.style - What style of 'FuncSynopsis' should be generated? -
-
funcsynopsis.decoration - Decorate elements of a FuncSynopsis? -
-
function.parens - Generate parens after a function? -
-
refentry.generate.name - Output NAME header before 'RefName'(s)? -
-
admon.graphics - Use graphics in admonitions? -
-
admon.graphics.path - Path to admonition graphics -
-
admon.graphics.extension - Extension for admonition graphics -
-
admon.style - CSS style attributes for admonitions -
-
section.autolabel - Are sections enumerated? -
-
section.label.includes.component.label - Do section labels include the component label? -
-
chapter.autolabel - Are chapters and appendixes enumerated? -
-
preface.autolabel - Are prefaces enumerated? -
-
part.autolabel - Are parts and references enumerated? -
-
qandadiv.autolabel - Are divisions in QAndASets enumerated? -
-
qanda.inherit.numeration - Does enumeration of QandASet components inherit the numeration of parent elements? -
-
qanda.defaultlabel - Sets the default for defaultlabel on QandASet. -
-
generate.qandaset.toc - Is a Table of Contents created for QandASets? -
-
generate.qandadiv.toc - Is a Table of Contents created for QandADivs? -
-
biblioentry.item.separator - Text to separate bibliography entries -
-
toc.section.depth - How deep should recursive sections appear - in the TOC? -
-
using.chunker - Will the output be chunked? -
-
generate.component.toc - Should TOCs be genereated in components (Chapters, Appendixes, etc.)? -
-
generate.division.toc - Should TOCs be genereated in divisions (Books, Parts, etc.)? -
-
link.mailto.url - Mailto URL for the LINK REL=made HTML HEAD element -
-
graphic.default.extension - Default extension for graphic filenames -
-
toc.list.type - Type of HTML list element to use for Tables of Contents -
-
use.id.function - Use the XPath id() function to find link targets? -
-
spacing.paras - Insert additional <p> elements for spacing? -
-
css.decoration - Enable CSS decoration of elements -
-
show.revisionflag - Enable decoration of elements that have a revisionflag -
-
suppress.navigation - Disable header and footer navigation -
-
rootid - Specify the root element to format -
-
callout.list.table - Present callout lists using a table? -
-
callout.graphics - Use graphics for callouts? -
-
callout.graphics.extension - Extension for callout graphics -
-
callout.graphics.path - Path to callout graphics -
-
callout.graphics.number.limit - Number of the largest callout graphic -
-
use.extensions - Enable extensions -
-
textinsert.extension - Enable the textinsert extension element -
-
saxon.linenumbering - Enable the line numbering extension -
-
linenumbering.extension - Enable the line numbering extension -
-
linenumbering.everyNth - Indicate which lines should be numbered -
-
linenumbering.width - Indicates the width of line numbers -
-
linenumbering.separator - Specify a separator between line numbers and lines -
-
saxon.callouts - Enable the callout extension -
-
callouts.extension - Enable the callout extension -
-
callout.defaultcolumn - Indicates what column callouts appear in by default -
-
stylesheet.result.type - Identifies the output format of this stylesheet -
-
nominal.table.width - The (absolute) nominal width of tables -
-
default.table.width - The default width of tables -
-
saxon.tablecolumns - Enable the table columns extension function -
-
tablecolumns.extension - Enable the table columns extension function -
-
generate.set.toc - FIXME: -
-
generate.book.toc - FIXME: -
-
generate.part.toc - FIXME: -
-
generate.reference.toc - FIXME: -
-
generate.preface.toc - FIXME: -
-
generate.chapter.toc - FIXME: -
-
generate.appendix.toc - FIXME: -
-
generate.article.toc - FIXME: -
-
generate.section.toc - Generate TOCs inside Sections? -
-
generate.section.toc.level - Control depth of TOC generation in sections -
-
process.source.toc - FIXME: -
-
process.empty.source.toc - FIXME: -
-
bridgehead.in.toc - Should bridgehead elements appear in the TOC? -
-
generate.index - FIXME: -
-
callout.unicode - FIXME: -
-
callout.unicode.start.character - First Unicode character to use, decimal value. -
-
callout.unicode.number.limit - Number of the largest callout graphic -
-
callout.unicode.font - Font to use for Unicode dingbats -
-
use.id.as.filename - Use ID value of chunk elements as the filename? -
-
inherit.keywords - Inherit keywords from ancestor elements? -
-
label.from.part - Renumber chapters in each part? -
-
citerefentry.link - Generate URL links when cross-referencing RefEntrys? -
-
formal.procedures - Selects formal or informal procedures -
-
bibliography.collection - Name of the bibliography collection file -
-
annotate.toc - Annotate the Table of Contents? -
-
emphasis.propagates.style - Pass emphasis role attribute through to HTML? -
-
phrase.propagates.style - Pass phrase role attribute through to HTML? -
-
runinhead.title.end.punct - Characters that count as punctuation on a run-in-head -
-
runinhead.default.title.end.punct - Default punctuation character on a run-in-head -
-
-
-
-
-
-

author.othername.in.middle -

-

Name

author.othername.in.middle — Is othername in author a - middle name? -
-

Synopsis

-<xsl:param name="author.othername.in.middle" select="1" doc:type="boolean"/>
-
- - -

If true (non-zero), the othername of an author - appears between the firstname and - surname. Otherwise, othername - is suppressed. - -

- - -
-
-
-
-

html.stylesheet -

-

Name

html.stylesheet — Name of the stylesheet to use in the generated HTML -
-

Synopsis

-<xsl:param name="html.stylesheet" select="''" doc:type="string"/>
-
- - -

The name of the stylesheet to place in the HTML LINK - tag, or the empty string to suppress the stylesheet LINK. - -

- - -
-
-
-
-

html.stylesheet.type -

-

Name

html.stylesheet.type — The type of the stylesheet used in the generated HTML -
-

Synopsis

-<xsl:param name="html.stylesheet.type" doc:type="string">text/css</xsl:param>
-
- - -

The type of the stylesheet to place in the HTML link tag. - -

- - -
-
-
-
-

html.base -

-

Name

html.base — An HTML base URI -
-

Synopsis

-<xsl:param name="html.base" doc:type="uri"/>
-
- - -

If html.base is set, it is used for the BASE - element in the HEAD of the HTML documents. - This is useful for dynamically served HTML where the base URI needs - to be shifted. -

- - -
-
-
-
-

ulink.target -

-

Name

ulink.target — The HTML anchor target for ULinks -
-

Synopsis

-<xsl:param name="ulink.target" select="'_top'" doc:type="string"/>
-
- - -

If ulink.target is set, its value will - be used for the target attribute - on anchors generated for ulinks. -

- - -
-
-
-
-

refentry.xref.manvolnum -

-

Name

refentry.xref.manvolnum — Output manvolnum as part of - refentry cross-reference? -
-

Synopsis

-<xsl:param name="refentry.xref.manvolnum" select="1" doc:type="boolean"/>
-
- - -

if true (non-zero), the manvolnum is used when cross-referencing - refentrys, either with xref - or citerefentry. - -

- - -
-
-
-
-

show.comments -

-

Name

show.comments — Display comment elements? -
-

Synopsis

-<xsl:param name="show.comments" doc:type="boolean">1</xsl:param>
-
- - -

If true (non-zero), comments will be displayed, otherwise they are suppressed. - Comments here refers to the comment element, - which will be renamed remark in DocBook V4.0, - not XML comments (<-- like this -->) which are unavailable. - -

- - -
-
-
-
-

funcsynopsis.style -

-

Name

funcsynopsis.style — What style of 'FuncSynopsis' should be generated? -
-

Synopsis

-<xsl:param name="funcsynopsis.style" doc:type="list" doc:list="ansi kr">kr</xsl:param>
-
- - -

If funcsynopsis.style is ansi, - ANSI-style function synopses are generated for a - funcsynopsis, otherwise K&R-style - function synopses are generated. - -

- - -
-
-
-
-

funcsynopsis.decoration -

-

Name

funcsynopsis.decoration — Decorate elements of a FuncSynopsis? -
-

Synopsis

-<xsl:param name="funcsynopsis.decoration" select="1" doc:type="boolean"/>
-
- - -

If true (non-zero), elements of the FuncSynopsis will be decorated (e.g. bold or - italic). The decoration is controlled by functions that can be redefined - in a customization layer. - -

- - -
-
-
-
-

function.parens -

-

Name

function.parens — Generate parens after a function? -
-

Synopsis

-<xsl:param name="function.parens" doc:type="boolean">0</xsl:param>
-
- - -

If not 0, the formatting of - a <function> element will include - generated parenthesis. - -

- - -
-
-
-
-

refentry.generate.name -

-

Name

refentry.generate.name — Output NAME header before 'RefName'(s)? -
-

Synopsis

-<xsl:param name="refentry.generate.name" select="1" doc:type="boolean"/>
-
- - -

If true (non-zero), a "NAME" section title is output before the list - of 'RefName's. - -

- - -
-
-
-
-

admon.graphics -

-

Name

admon.graphics — Use graphics in admonitions? -
-

Synopsis

-<xsl:param name="admon.graphics" select="0" doc:type="boolean"/>
-
- - -

If true (non-zero), admonitions are presented in an alternate style that uses - a graphic. Default graphics are provided in the distribution. - -

- - -
-
-
-
-

admon.graphics.path -

-

Name

admon.graphics.path — Path to admonition graphics -
-

Synopsis

-<xsl:param name="admon.graphics.path" doc:type="string">images/</xsl:param>
-
- - -

Sets the path, probably relative to the directory where the HTML - files are created, to the admonition graphics. - -

- - -
-
-
-
-

admon.graphics.extension -

-

Name

admon.graphics.extension — Extension for admonition graphics -
-

Synopsis

-<xsl:param name="admon.graphics.extension" select="'.png'" doc:type="string"/>
-
- - -

Sets the extension to use on admonition graphics.

- - -
-
-
-
-

admon.style -

-

Name

admon.style — CSS style attributes for admonitions -
-

Synopsis

-<xsl:param name="admon.style" doc:type="string">
-  <xsl:text>margin-left: 0.5in; margin-right: 0.5in;</xsl:text>
-</xsl:param>
-
- - -

Specifies the value of the STYLE - attribute that should be added to admonitions. - -

- - -
-
-
-
-

section.autolabel -

-

Name

section.autolabel — Are sections enumerated? -
-

Synopsis

-<xsl:param name="section.autolabel" select="0" doc:type="boolean"/>
-
- - -

If true (non-zero), unlabeled sections will be enumerated. - -

- - -
-
-
-
-

section.label.includes.component.label -

-

Name

section.label.includes.component.label — Do section labels include the component label? -
-

Synopsis

-<xsl:param name="section.label.includes.component.label" select="0" doc:type="boolean"/>
-
- - -

If true (non-zero), section labels are prefixed with the label of the - component that contains them. - -

- - -
-
-
-
-

chapter.autolabel -

-

Name

chapter.autolabel — Are chapters and appendixes enumerated? -
-

Synopsis

-<xsl:param name="chapter.autolabel" select="1" doc:type="boolean"/>
-
- - -

If true (non-zero), unlabeled chapters and appendixes will be enumerated. - -

- - -
-
-
-
-

preface.autolabel -

-

Name

preface.autolabel — Are prefaces enumerated? -
-

Synopsis

-<xsl:param name="preface.autolabel" select="0" doc:type="boolean"/>
-
- - -

If true (non-zero), unlabeled prefaces will be enumerated. - -

- - -
-
-
-
-

part.autolabel -

-

Name

part.autolabel — Are parts and references enumerated? -
-

Synopsis

-<xsl:param name="part.autolabel" select="1" doc:type="boolean"/>
-
- - -

If true (non-zero), unlabeled parts and references will be enumerated. - -

- - -
-
-
-
-

qandadiv.autolabel -

-

Name

qandadiv.autolabel — Are divisions in QAndASets enumerated? -
-

Synopsis

-<xsl:param name="qandadiv.autolabel" select="1" doc:type="boolean"/>
-
- - -

If true (non-zero), unlabeled qandadivs will be enumerated. - -

- - -
-
-
-
-

qanda.inherit.numeration -

-

Name

qanda.inherit.numeration — Does enumeration of QandASet components inherit the numeration of parent elements? -
-

Synopsis

-<xsl:param name="qanda.inherit.numeration" select="1" doc:type="boolean"/>
-
- - -

If true (non-zero), numbered QandADiv elements and Questions and Answers inherit - the numeration of the ancestors of the QandASet. - -

- - -
-
-
-
-

qanda.defaultlabel -

-

Name

qanda.defaultlabel — Sets the default for defaultlabel on QandASet. -
-

Synopsis

-<xsl:param name="qanda.defaultlabel" doc:type="boolean" doc:list="qanda number none">number</xsl:param>
-
- - -

If no defaultlabel attribute is specified on a QandASet, this - value is used. It must be one of the legal values for the defaultlabel - attribute. - -

- - -
-
-
-
-

generate.qandaset.toc -

-

Name

generate.qandaset.toc — Is a Table of Contents created for QandASets? -
-

Synopsis

-<xsl:param name="generate.qandaset.toc" doc:type="boolean">1</xsl:param>
-
- - -

If true (non-zero), a ToC is constructed for QandASets. - -

- - -
-
-
-
-

generate.qandadiv.toc -

-

Name

generate.qandadiv.toc — Is a Table of Contents created for QandADivs? -
-

Synopsis

-<xsl:param name="generate.qandadiv.toc" doc:type="boolean">0</xsl:param>
-
- - -

If true (non-zero), a ToC is constructed for QandADivs. - -

- - -
-
-
-
-

biblioentry.item.separator -

-

Name

biblioentry.item.separator — Text to separate bibliography entries -
-

Synopsis

-<xsl:param name="biblioentry.item.separator" doc:type="string">. </xsl:param>
-
- - -

Text to separate bibliography entries - -

- - -
-
-
-
-

toc.section.depth -

-

Name

toc.section.depth — How deep should recursive sections appear - in the TOC? -
-

Synopsis

-<xsl:param name="toc.section.depth" doc:type="integer" doc:min="1" doc:max="10">2</xsl:param>
-
- - -

Specifies the depth to which recursive sections should appear in the - TOC. - -

- - -
-
-
-
-

using.chunker -

-

Name

using.chunker — Will the output be chunked? -
-

Synopsis

-<xsl:param name="using.chunker" select="0" doc:type="boolean"/>
-
- - -

In addition to providing chunking, the chunker can cleanup a - number of XML to HTML issues. If the chunker is not being used, the - stylesheets try to avoid producing results that will not appear properly - in browsers. - -

- - -
-
-
-
-

generate.component.toc -

-

Name

generate.component.toc — Should TOCs be genereated in components (Chapters, Appendixes, etc.)? -
-

Synopsis

-<xsl:param name="generate.component.toc" select="1" doc:type="boolean"/>
-
- - -

If true (non-zero), they are. - -

- - -
-
-
-
-

generate.division.toc -

-

Name

generate.division.toc — Should TOCs be genereated in divisions (Books, Parts, etc.)? -
-

Synopsis

-<xsl:param name="generate.division.toc" select="1" doc:type="boolean"/>
-
- - -

If true (non-zero), they are. - -

- - -
-
-
-
-

link.mailto.url -

-

Name

link.mailto.url — Mailto URL for the LINK REL=made HTML HEAD element -
-

Synopsis

-<xsl:param name="link.mailto.url" doc:type="string"/>
-
- - -

If not the empty string, this address will be used for the - REL=made LINK element in the HTML HEAD. - -

- - -
-
-
-
-

graphic.default.extension -

-

Name

graphic.default.extension — Default extension for graphic filenames -
-

Synopsis

-<xsl:param name="graphic.default.extension" doc:type="string"/>
-
- - -

If a graphic or mediaobject - includes a reference to a filename that does not include an extension, - and the format attribute is - unspecified, the default extension will be used. - -

- - -
-
-
-
-

toc.list.type -

-

Name

toc.list.type — Type of HTML list element to use for Tables of Contents -
-

Synopsis

-<xsl:param name="toc.list.type" doc:type="list" doc:list="dl ul ol">dl</xsl:param>
-
- - -

When an automatically generated Table of Contents (or List of Titles) - is produced, this HTML element will be used to make the list. - -

- - -
-
-
-
-

use.id.function -

-

Name

use.id.function — Use the XPath id() function to find link targets? -
-

Synopsis

-<xsl:param name="use.id.function" doc:type="boolean" select="'1'"/>
-
- - -

If 1, the stylesheets use the id() function - to find the targets of cross reference elements. This is more - efficient, but only works if your XSLT processor implements the - id() function, naturally. -

- - - -

THIS PARAMETER IS NOT SUPPORTED. IT IS ALWAYS ASSUMED TO BE 1. - SEE xref.xsl IF YOU NEED TO TURN IT OFF. -

- - -
-
-
-
-

spacing.paras -

-

Name

spacing.paras — Insert additional <p> elements for spacing? -
-

Synopsis

-<xsl:param name="spacing.paras" doc:type="boolean" select="'0'"/>
-
- - -

When non-zero, additional, empty paragraphs are inserted in - several contexts (for example, around informal figures), to create a - more pleasing visual appearance in many browsers. - -

- - -
-
-
-
-

css.decoration -

-

Name

css.decoration — Enable CSS decoration of elements -
-

Synopsis

-<xsl:param name="css.decoration" doc:type="boolean">1</xsl:param>
-
- - -

- If css.decoration is turned on, then HTML elements - produced by the - stylesheet may be decorated with STYLE attributes. For example, the - LI tags produced for list items may include a fragment of CSS in the - STYLE attribute which sets the CSS property "list-style-type". - -

- - -
-
-
-
-

show.revisionflag -

-

Name

show.revisionflag — Enable decoration of elements that have a revisionflag -
-

Synopsis

-<xsl:param name="show.revisionflag" doc:type="boolean">0</xsl:param>
-
- - -

- If show.revisionflag is turned on, then the stylesheets - may produce additional markup designed to allow a CSS stylesheet to - highlight elements that have specific revisionflag settings. -

- - - - -

The markup inserted will be usually be either a <span> or <div> - with an appropriate class attribute. (The value of - the class attribute will be the same as the value of the revisionflag - attribute). In some contexts, for example tables, where extra markup - would be structurally illegal, the class attribute will be added to the - appropriate container element. -

- - - - -

In general, the stylesheets only test for revisionflag in contexts - where an importing stylesheet would have to redefine whole templates. - Most of the revisionflag processing is expected to be done by another - stylesheet, for example changebars.xsl. -

- - -
-
-
-
-

suppress.navigation -

-

Name

suppress.navigation — Disable header and footer navigation -
-

Synopsis

-<xsl:param name="suppress.navigation" doc:type="boolean">0</xsl:param>
-
- - -

- If suppress.navigation is turned on, header and - footer navigation will be suppressed. -

- - -
-
-
-
-

rootid -

-

Name

rootid — Specify the root element to format -
-

Synopsis

-<xsl:param name="rootid" select="''" doc:type="string"/>
-
- - -

If rootid is specified, it must be the - value of an ID that occurs in the document being formatted. The entire - document will be loaded and parsed, but formatting will begin at the - element identified, rather than at the root. For example, this allows - you to process only chapter 4 of a book. -

- - - -

Because the entire document is available to the processor, automatic - numbering, cross references, and other dependencies are correctly - resolved. -

- - -
-
-
-
-

callout.list.table -

-

Name

callout.list.table — Present callout lists using a table? -
-

Synopsis

-<xsl:param name="callout.list.table" select="'1'" doc:type="boolean"/>
-
- - -

The default presentation of CalloutLists uses - an HTML DL. Some browsers don't align DLs very well - if callout.graphics are used. With this option - turned on, CalloutLists are presented in an HTML - TABLE, which usually results in better alignment - of the callout number with the callout description. -

- - -
-
-
-
-

callout.graphics -

-

Name

callout.graphics — Use graphics for callouts? -
-

Synopsis

-<xsl:param name="callout.graphics" select="'1'" doc:type="boolean"/>
-
- - -

If non-zero, callouts are presented with graphics (e.g., reverse-video - circled numbers instead of "(1)", "(2)", etc.). - Default graphics are provided in the distribution. - -

- - -
-
-
-
-

callout.graphics.extension -

-

Name

callout.graphics.extension — Extension for callout graphics -
-

Synopsis

-<xsl:param name="callout.graphics.extension" select="'.png'" doc:type="string"/>
-
- - -

Sets the extension to use on callout graphics.

- - -
-
-
-
-

callout.graphics.path -

-

Name

callout.graphics.path — Path to callout graphics -
-

Synopsis

-<xsl:param name="callout.graphics.path" select="'images/callouts/'" doc:type="string"/>
-
- - -

Sets the path, probably relative to the directory where the HTML - files are created, to the callout graphics. - -

- - -
-
-
-
-

callout.graphics.number.limit -

-

Name

callout.graphics.number.limit — Number of the largest callout graphic -
-

Synopsis

-<xsl:param name="callout.graphics.number.limit" select="'10'" doc:type="integer"/>
-
- - -

If callout.graphics - is non-zero, graphics are used to represent - callout numbers. The value of - callout.graphics.number.limit - is - the largest number for which a graphic exists. If the callout number - exceeds this limit, the default presentation "(nnn)" will always - be used. - -

- - -
-
-
-
-

use.extensions -

-

Name

use.extensions — Enable extensions -
-

Synopsis

-<xsl:param name="use.extensions" select="'0'" doc:type="boolean"/>
-
- - -

If non-zero, extensions may be used. Each extension is - further controlled by its own parameter. But if - use.extensions is zero, no extensions will - be used. - -

- - -
-
-
-
-

textinsert.extension -

-

Name

textinsert.extension — Enable the textinsert extension element -
-

Synopsis

-<xsl:param name="textinsert.extension" select="'1'" doc:type="boolean"/>
-
- - -

The textinsert extension element inserts the contents of a - a file into the result tree (as text). - -

- - -
-
-
-
-

saxon.linenumbering -

-

Name

saxon.linenumbering — Enable the line numbering extension -
-

Synopsis

-<xsl:param name="saxon.linenumbering" select="'1'" doc:type="boolean"/>
-
- - -

If true, verbatim environments (elements that have the - format='linespecific' notation attribute: address, literallayout, - programlisting, screen, synopsis) that specify line numbering will - have, surprise, line numbers. - -

- - -
-
-
-
-

linenumbering.extension -

-

Name

linenumbering.extension — Enable the line numbering extension -
-

Synopsis

-<xsl:param name="linenumbering.extension" select="'1'" doc:type="boolean"/>
-
- - -

If true, verbatim environments (elements that have the - format='linespecific' notation attribute: address, literallayout, - programlisting, screen, synopsis) that specify line numbering will - have, surprise, line numbers. - -

- - -
-
-
-
-

linenumbering.everyNth -

-

Name

linenumbering.everyNth — Indicate which lines should be numbered -
-

Synopsis

-<xsl:param name="linenumbering.everyNth" select="'5'" doc:type="integer"/>
-
- - -

If line numbering is enabled, everyNth line will be numbered. - -

- - -
-
-
-
-

linenumbering.width -

-

Name

linenumbering.width — Indicates the width of line numbers -
-

Synopsis

-<xsl:param name="linenumbering.width" select="'3'" doc:type="integer"/>
-
- - -

If line numbering is enabled, line numbers will appear right - justified in a field "width" characters wide. - -

- - -
-
-
-
-

linenumbering.separator -

-

Name

linenumbering.separator — Specify a separator between line numbers and lines -
-

Synopsis

-<xsl:param name="linenumbering.separator" select="' '" doc:type="string"/>
-
- - -

The separator is inserted between line numbers and lines in - the verbatim environment. - -

- - -
-
-
-
-

saxon.callouts -

-

Name

saxon.callouts — Enable the callout extension -
-

Synopsis

-<xsl:param name="saxon.callouts" select="'1'" doc:type="boolean"/>
-
- - -

The callouts extension processes areaset - elements in ProgramListingCO and other text-based - callout elements. - -

- - -
-
-
-
-

callouts.extension -

-

Name

callouts.extension — Enable the callout extension -
-

Synopsis

-<xsl:param name="callouts.extension" select="'1'" doc:type="boolean"/>
-
- - -

The callouts extension processes areaset - elements in ProgramListingCO and other text-based - callout elements. - -

- - -
-
-
-
-

callout.defaultcolumn -

-

Name

callout.defaultcolumn — Indicates what column callouts appear in by default -
-

Synopsis

-<xsl:param name="callout.defaultcolumn" select="'60'" doc:type="integer"/>
-
- - -

If a callout does not identify a column (for example, if it uses - the linerange unit), - it will appear in the default column. - -

- - -
-
-
-
-

stylesheet.result.type -

-

Name

stylesheet.result.type — Identifies the output format of this stylesheet -
-

Synopsis

-<xsl:param name="stylesheet.result.type" select="'html'" doc:type="list" doc:list="html fo"/>
-
- - -

The Saxon extension functions need to know if the output format - is HTML ('html') or XSL Formatting Objects ('fo'). This variable answers - that question. Valid settings are 'html' or 'fo'. -

- - -
-
-
-
-

nominal.table.width -

-

Name

nominal.table.width — The (absolute) nominal width of tables -
-

Synopsis

-<xsl:param name="nominal.table.width" select="'6in'" doc:type="length"/>
-
- - -

In order to convert CALS column widths into HTML column widths, it - is sometimes necessary to have an absolute table width to use for conversion - of mixed absolute and relative widths. This value must be an absolute - length (not a percentag). -

- - -
-
-
-
-

default.table.width -

-

Name

default.table.width — The default width of tables -
-

Synopsis

-<xsl:param name="default.table.width" select="''" doc:type="length"/>
-
- - -

If specified, this value will be used for the WIDTH attribute on - tables that do not specify an alternate width (with the dbhtml processing - instruction). -

- - -
-
-
-
-

saxon.tablecolumns -

-

Name

saxon.tablecolumns — Enable the table columns extension function -
-

Synopsis

-<xsl:param name="saxon.tablecolumns" select="'1'" doc:type="boolean"/>
-
- - -

The table columns extension function adjusts the widths of table - columns in the HTML result to more accurately reflect the specifications - in the CALS table. - -

- - -
-
-
-
-

tablecolumns.extension -

-

Name

tablecolumns.extension — Enable the table columns extension function -
-

Synopsis

-<xsl:param name="tablecolumns.extension" select="'1'" doc:type="boolean"/>
-
- - -

The table columns extension function adjusts the widths of table - columns in the HTML result to more accurately reflect the specifications - in the CALS table. - -

- - -
-
-
-
-

generate.set.toc -

-

Name

generate.set.toc — FIXME: -
-

Synopsis

-<xsl:param name="generate.set.toc" select="1" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

generate.book.toc -

-

Name

generate.book.toc — FIXME: -
-

Synopsis

-<xsl:param name="generate.book.toc" select="1" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

generate.part.toc -

-

Name

generate.part.toc — FIXME: -
-

Synopsis

-<xsl:param name="generate.part.toc" select="1" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

generate.reference.toc -

-

Name

generate.reference.toc — FIXME: -
-

Synopsis

-<xsl:param name="generate.reference.toc" select="1" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

generate.preface.toc -

-

Name

generate.preface.toc — FIXME: -
-

Synopsis

-<xsl:param name="generate.preface.toc" select="1" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

generate.chapter.toc -

-

Name

generate.chapter.toc — FIXME: -
-

Synopsis

-<xsl:param name="generate.chapter.toc" select="1" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

generate.appendix.toc -

-

Name

generate.appendix.toc — FIXME: -
-

Synopsis

-<xsl:param name="generate.appendix.toc" select="1" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

generate.article.toc -

-

Name

generate.article.toc — FIXME: -
-

Synopsis

-<xsl:param name="generate.article.toc" select="1" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

generate.section.toc -

-

Name

generate.section.toc — Generate TOCs inside Sections? -
-

Synopsis

-<xsl:param name="generate.section.toc" select="1" doc:type="boolean"/>
-
- - -

If non-zero, a Table of Contents will be generated inside section - elements. Note that - generate.section.toc.level - may suppress some section TOCs. - -

- - -
-
-
-
-

generate.section.toc.level -

-

Name

generate.section.toc.level — Control depth of TOC generation in sections -
-

Synopsis

-<xsl:param name="generate.section.toc.level" select="0" doc:type="integer"/>
-
- - -

The generate.section.toc.level parameter - controls the depth of section in which TOCs will be generated. Note - that this is related to, but not the same as - toc.section.depth, which controls the depth to - which TOC entries will be generated in a given TOC. -

- - - -

If, for example, generate.section.toc.level - is 3, TOCs will be generated in first, second, and third - level sections, but not in fourth level sections. - -

- - -
-
-
-
-

process.source.toc -

-

Name

process.source.toc — FIXME: -
-

Synopsis

-<xsl:param name="process.source.toc" select="0" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

process.empty.source.toc -

-

Name

process.empty.source.toc — FIXME: -
-

Synopsis

-<xsl:param name="process.empty.source.toc" select="0" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

bridgehead.in.toc -

-

Name

bridgehead.in.toc — Should bridgehead elements appear in the TOC? -
-

Synopsis

-<xsl:param name="bridgehead.in.toc" select="0" doc:type="boolean"/>
-
- - -

If non-zero, bridgeheads appear in the TOC. Note that this option - is not fully supported and may be removed in a future version of the - stylesheets. - -

- - -
-
-
-
-

generate.index -

-

Name

generate.index — FIXME: -
-

Synopsis

-<xsl:param name="generate.index" select="1" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

callout.unicode -

-

Name

callout.unicode — FIXME: -
-

Synopsis

-<xsl:param name="callout.unicode" select="0" doc:type="boolean"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

callout.unicode.start.character -

-

Name

callout.unicode.start.character — First Unicode character to use, decimal value. -
-

Synopsis

-<xsl:param name="callout.unicode.start.character" select="10102" doc:type="integer"/>
-
- - -

If callout.graphics - is non-zero, graphics are used to represent - callout numbers. The value of - callout.graphics.number.limit - is - the largest number for which a graphic exists. If the callout number - exceeds this limit, the default presentation "(nnn)" will always - be used. - -

- - -
-
-
-
-

callout.unicode.number.limit -

-

Name

callout.unicode.number.limit — Number of the largest callout graphic -
-

Synopsis

-<xsl:param name="callout.unicode.number.limit" select="'10'" doc:type="integer"/>
-
- - -

If callout.graphics - is non-zero, graphics are used to represent - callout numbers. The value of - callout.graphics.number.limit - is - the largest number for which a graphic exists. If the callout number - exceeds this limit, the default presentation "(nnn)" will always - be used. - -

- - -
-
-
-
-

callout.unicode.font -

-

Name

callout.unicode.font — Font to use for Unicode dingbats -
-

Synopsis

-<xsl:param name="callout.unicode.font" select="'ZapfDingbats'"/>
-
- - -

The name of the font to specify around Unicode callout glyphs. - If set to the empty string, no font change will occur. - -

- - -
-
-
-
-

use.id.as.filename -

-

Name

use.id.as.filename — Use ID value of chunk elements as the filename? -
-

Synopsis

-<xsl:param name="use.id.as.filename" select="'0'" doc:type="boolean"/>
-
- - -

If use.id.as.filename - is non-zero, the filename of chunk elements that have IDs will be - derived from the ID value. - -

- - -
-
-
-
-

inherit.keywords -

-

Name

inherit.keywords — Inherit keywords from ancestor elements? -
-

Synopsis

-<xsl:param name="inherit.keywords" select="'1'" doc:type="boolean"/>
-
- - -

If inherit.keywords - is non-zero, the keyword META for each HTML - HEAD element will include all of the keywords from - ancestral elements. Otherwise, only the keywords from the current section - will be used. - -

- - -
-
-
-
-

label.from.part -

-

Name

label.from.part — Renumber chapters in each part? -
-

Synopsis

-<xsl:param name="label.from.part" select="'0'" doc:type="boolean"/>
-
- - -

If label.from.part is non-zero, components - (chapters, appendixes, etc.) - will be numbered from 1 in each part. Otherwise, - they will be numbered monotonically throughout each - book. - -

- - -
-
-
-
-

citerefentry.link -

-

Name

citerefentry.link — Generate URL links when cross-referencing RefEntrys? -
-

Synopsis

-<xsl:param name="citerefentry.link" select="'0'" doc:type="boolean"/>
-
- - -

If true, a web link will be generated, presumably - to an online man->HTML gateway. The text of the link is - generated by the generate.citerefentry.link template. - -

- - -
-
-
-
-

formal.procedures -

-

Name

formal.procedures — Selects formal or informal procedures -
-

Synopsis

-<xsl:param name="formal.procedures" select="1" doc:type="boolean"/>
-
- - -

Formal procedures are numbered and always hav a title. - -

- - -
-
-
-
-

bibliography.collection -

-

Name

bibliography.collection — Name of the bibliography collection file -
-

Synopsis

-<xsl:param name="bibliography.collection" doc:type="string" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/>
-
- - -

Tired of copying bibliography entries from one document to another? - Now you can maintain a central bibliography and let the stylesheets do - the copying for you. This parameter identifies the file (by URI reference) - that contains your complete bibliography collection. - -

- - -
-
-
-
-

annotate.toc -

-

Name

annotate.toc — Annotate the Table of Contents? -
-

Synopsis

-<xsl:param name="annotate.toc" select="1" doc:type="boolean"/>
-
- - -

If true, TOCs will be annotated. At present, this just means - that the RefPurpose of RefEntry - TOC entries will be displayed. - -

- - -
-
-
-
-

emphasis.propagates.style -

-

Name

emphasis.propagates.style — Pass emphasis role attribute through to HTML? -
-

Synopsis

-<xsl:param name="emphasis.propagates.style" select="1" doc:type="boolean"/>
-
- - -

If true, the role attribute of emphasis elements - will be passed through to the HTML as a class attribute on a - span that surrounds the emphasis. -

- - -
-
-
-
-

phrase.propagates.style -

-

Name

phrase.propagates.style — Pass phrase role attribute through to HTML? -
-

Synopsis

-<xsl:param name="phrase.propagates.style" select="1" doc:type="boolean"/>
-
- - -

If true, the role attribute of phrase elements - will be passed through to the HTML as a class attribute on a - span that surrounds the phrase. -

- - -
-
-
-
-

runinhead.title.end.punct -

-

Name

runinhead.title.end.punct — Characters that count as punctuation on a run-in-head -
-

Synopsis

-<xsl:param name="runinhead.title.end.punct" select="'.!?:'" doc:type="string"/>
-
- - -

FIXME: - -

- - -
-
-
-
-

runinhead.default.title.end.punct -

-

Name

runinhead.default.title.end.punct — Default punctuation character on a run-in-head -
-

Synopsis

-<xsl:param name="runinhead.default.title.end.punct" select="'.'" doc:type="string"/>
-
- - -

FIXME: - -

- - -
-
-
- - \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/index.html b/lib/docbook/docbook-xsl/doc/index.html deleted file mode 100644 index bebda9d99..000000000 --- a/lib/docbook/docbook-xsl/doc/index.html +++ /dev/null @@ -1,4 +0,0 @@ - - - DocBook XSL Stylesheet Documentation \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/jrefhtml.xsl b/lib/docbook/docbook-xsl/doc/jrefhtml.xsl deleted file mode 100644 index acf2c7c3b..000000000 --- a/lib/docbook/docbook-xsl/doc/jrefhtml.xsl +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - -

- - - - - - copyright - - - - - - - - . - No Warranty - . -

-
- -
diff --git a/lib/docbook/docbook-xsl/doc/lib/ChangeLog b/lib/docbook/docbook-xsl/doc/lib/ChangeLog deleted file mode 100644 index 685464607..000000000 --- a/lib/docbook/docbook-xsl/doc/lib/ChangeLog +++ /dev/null @@ -1,12 +0,0 @@ -2001-08-06 Norman Walsh - - * Makefile: Documentation and documentation generation tweaks - -2001-06-20 Norman Walsh - - * Makefile: Use XT again (neither Saxon nor Xalan work) - -2001-04-03 Norman Walsh - - * .cvsignore, Makefile: New file. - diff --git a/lib/docbook/docbook-xsl/doc/lib/lib.html b/lib/docbook/docbook-xsl/doc/lib/lib.html deleted file mode 100644 index 2716b24e9..000000000 --- a/lib/docbook/docbook-xsl/doc/lib/lib.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - Library Template Reference - - - - -
-
-
-

Library Template Reference -

-
-
-

Norman Walsh

-
-
-

- $Id: lib.html,v 1.1 2002/05/15 17:22:24 isberg Exp $ - -

-
-
- -
-
-
-
-
-
-
-

Introduction -

-
-
-

This is technical reference documentation for the DocBook XSL - Stylesheets; it documents (some of) the parameters, templates, and - other elements of the stylesheets. -

-

This is not intended to be user documentation. - It is provided for developers writing customization layers for the - stylesheets, and for anyone who's interested in how it - works. -

-

Although I am trying to be thorough, this documentation is known - to be incomplete. Don't forget to read the source, too :-) -

-
-
-

Table of Contents

-
-
string.subst - Substitute one text string for another in a string -
-
xpointer.idref - Extract IDREF from an XPointer -
-
length-magnitude - Return the unqualified dimension from a length specification -
-
length-spec - Return a fully qualified length specification -
-
-
-
-
-
-

string.subst -

-

Name

string.subst — Substitute one text string for another in a string -
-

Synopsis

<xsl:template name="string.subst">
-<xsl:param name="string"/>
-<xsl:param name="target"/>
-<xsl:param name="replacement"/>
-  ...
-</xsl:template>
-
- - -

The string.subst template replaces all - occurances of target in string - with replacement and returns the result. - -

- - -
-
-
-
-

xpointer.idref -

-

Name

xpointer.idref — Extract IDREF from an XPointer -
-

Synopsis

<xsl:template name="xpointer.idref">
-<xsl:param name="xpointer">http://...</xsl:param>
-  ...
-</xsl:template>
-
- - -

The xpointer.idref template returns the - ID portion of an XPointer which is a pointer to an ID within the current - document, or the empty string if it is not. -

- - - -

In other words, xpointer.idref returns - foo when passed either #foo - or #xpointer(id('foo')), otherwise it returns - the empty string. -

- - -
-
-
-
-

length-magnitude -

-

Name

length-magnitude — Return the unqualified dimension from a length specification -
-

Synopsis

<xsl:template name="length-magnitude">
-<xsl:param name="length" select="'0pt'"/>
-  ...
-</xsl:template>
-
- - -

The length-magnitude template returns the - unqualified length ("20" for "20pt") from a dimension. - -

- - -
-
-
-
-

length-spec -

-

Name

length-spec — Return a fully qualified length specification -
-

Synopsis

<xsl:template name="length-spec">
-<xsl:param name="length" select="'0pt'"/>
-<xsl:param name="default.units" select="'pt'"/>
-  ...
-</xsl:template>
-
- - -

The length-spec template returns the - qualified length from a dimension. If an unqualified length is given, - the default.units will be added to it. - -

- - -
-
-
- - \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/pr01.html b/lib/docbook/docbook-xsl/doc/pr01.html deleted file mode 100644 index 89c2174c5..000000000 --- a/lib/docbook/docbook-xsl/doc/pr01.html +++ /dev/null @@ -1,4 +0,0 @@ - - - Preface

Preface

This is the beginnings of documentation for the DocBook XSL -Stylesheets.

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/publishing.html b/lib/docbook/docbook-xsl/doc/publishing.html deleted file mode 100644 index d285bfdcd..000000000 --- a/lib/docbook/docbook-xsl/doc/publishing.html +++ /dev/null @@ -1,56 +0,0 @@ - - - Chapter 1. DocBook XSL

Chapter 1. DocBook XSL

Bob Stayton

-$Id: publishing.html,v 1.1 2002/05/15 17:22:23 isberg Exp $ -

Using XSL tools to publish DocBook - documents

There is a growing list of tools to process DocBook - documents using XSL stylesheets. Each tool implements parts - or all of the XSL standard, which actually has several - components: -

Extensible Stylesheet Language (XSL)

A language for expressing stylesheets written - in XML. It includes the formatting object language, but - refers to separate documents for the transformation - language and the path language.

XSL Transformation (XSLT)

The part of XSL for transforming XML documents - into other XML documents, HTML, or text. It can be used to - rearrange the content and generate new content.

XML Path Language (XPath)

A language for addressing parts of an XML - document. It is used to find the parts of your document to - apply different styles to. All XSL processors use this - component.

To publish HTML from your XML documents, you just - need an XSLT engine. To get to print, you need an XSLT - engine to produce formatting objects (FO), which then must - be processed with a formatting object processor to produce - PostScript or PDF output.

James Clark's XT was the first useful XSLT engine, - and it is still in wide use. It is written in Java, so it - runs on many platforms, and it is free ( - http://www.jclark.com). - XT comes with James Clark's nonvalidating parser XP, but - you can substitute a different Java parser. Here is a - simple example of using XT from the Unix command line to - produce HTML: You'll need to alter your - CLASSPATH environment variable to - include the path to where you put the - .jar files from the XT - distribution.

CLASSPATH=xt.jar:xp.jar:sax.jar
-export CLASSPATH
-java  com.jclark.xsl.sax.Driver filename.xml docbook/html/docbook.xsl > output.html

If you replace the HTML stylesheet with a - formatting object stylesheet, XT will produce a formatting - object file. Then you can convert that to PDF using FOP, a - formatting object processor available for free from the - Apache XML Project ( - http://xml.apache.org). - Here is an example of that two stage processing:

CLASSPATH=xt.jar:xp.jar:sax.jar:fop.jar
-export CLASSPATH
-java  com.jclark.xsl.sax.Driver filename.xml docbook/fo/docbook.xsl > output.fo
-java  org.apache.fop.apps.CommandLine output.fo output.pdf

As of this writing, some other XSLT processors to - choose from include:

For print output, these additional tools are available for processing formatting objects:

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/reference.css b/lib/docbook/docbook-xsl/doc/reference.css deleted file mode 100644 index 2ea813b99..000000000 --- a/lib/docbook/docbook-xsl/doc/reference.css +++ /dev/null @@ -1,4 +0,0 @@ -/* reference.css, a stylesheet for reference documentation */ - -div.legalnotice { font-size: 80%; } - diff --git a/lib/docbook/docbook-xsl/doc/reference.html b/lib/docbook/docbook-xsl/doc/reference.html deleted file mode 100644 index 2f8bd8d63..000000000 --- a/lib/docbook/docbook-xsl/doc/reference.html +++ /dev/null @@ -1,9 +0,0 @@ - - - DocBook XSL Stylesheet Reference Documentation

DocBook XSL Stylesheet Reference Documentation

Norman Walsh

-$Id: reference.html,v 1.1 2002/05/15 17:22:23 isberg Exp $ -


Table of Contents

Preface

Preface

This constitutes only the most rudimentary beginnings of -documentation for these stylesheets.

At present, the only documentation available is the set -of references generated from the stylesheet sources:

The reference to the template system is also available, -but at this point it's probably even less useful than the preceding -references.

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/reference.xsl b/lib/docbook/docbook-xsl/doc/reference.xsl deleted file mode 100644 index 3e6ee57ff..000000000 --- a/lib/docbook/docbook-xsl/doc/reference.xsl +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - copyright - - - - - - - - . - No Warranty - . -

-
- -
diff --git a/lib/docbook/docbook-xsl/doc/tools/ChangeLog b/lib/docbook/docbook-xsl/doc/tools/ChangeLog deleted file mode 100644 index 9bdc3834d..000000000 --- a/lib/docbook/docbook-xsl/doc/tools/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -2001-08-09 Norman Walsh - - * Makefile: Use saxon and docbook.xsl - -2001-07-31 Jirka Kosek - - * .cvsignore, Makefile: New file. - diff --git a/lib/docbook/docbook-xsl/doc/tools/profile-chain.png b/lib/docbook/docbook-xsl/doc/tools/profile-chain.png deleted file mode 100644 index ad3a3576595f6a150f2ecd3a8531b2d202dc1dc5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13801 zcmZ|0cRXC*6E}VltkqWUtP(al(Ibi8dtDM`l|)TM?*ywv4I!fUx>$q=(N-rx^zu;> zM2+6-Z}a^N{50AL>g&i}~=C;);1AYlL`1%TuLkQxBe13+*9WDS5E0FWC1@&!Pl04N#&B>|vx0F(!S$^Z}= z05t)i4gk~-fJOn(3;I8#n|6Kp+5w9)Lgr2n>J-0}v?yA_qX!0Eiv{ zfdde00O9~Z+yIC#00{*k(Eua~fTRPEJOEM#K+piB34n9}kbVF%3P5H6$T9%g03iDS z=0nl^+ng>A304N%OHUZEM0NM{g zM*-*z09^*48vt}4fS&)mpD+*rg8(pk00sqMFaRbDz@z|}8~{@TV0r)y4#2Ddm;(TF z17N-YEEIr61F$3jmJY!309Y9SLj$lT0M-G(`T^J|0Gk0|%K&Txfb9dY^MB4F3<889 zfG|BE3H2Z?GXE9_-g9v0~aO%vW$fhbF&{xj7~me4ytQwZlKHjC`h z2{QM=d8o8T>x&cTH>r=Cp$H*m+4geGh=?#&VDaxfe_OJL$4w?rB5aU5ot%VL6V50Q z+K{0P#tDO!>1;Wv@OWSt^OX?nO9+B8s|Wli9QQuq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d8WPbs4!tzn(O=~Ib@M}KNnMUknI|6oz4 z0)qXan1Sf09e$Rc!mT7a%lA2}r>GB+v7WrwSQ-L6S!<|nYv-sk?IGhhY{aQue#MF{ z5hodJDaR=Q56uP&Nwn!t*Z z7rkGmBJ+g8D=3|fS=lr$0BL1dqk>@fD9h6*rhM`};^$9}hj!xRYsEZTA5@vYU%tnR zOGq5lRv%9l4w#7PWGDU1==9}qIi7@?Ry1n3gfDTrbEaZgPv+M7Y9JkLoR6&!Ww)aD z+~6vyn;I?hk5nF^EVlWtOyRUQBLZ8u{X)Ofm}5MbEg+QvQxSFeS#Uj_#u+;oS?=87 z8@5b`pA*@k4XwoTlVk7VHLU+B838Kl6A2C3(lI9`{$B_J4kWOkE?+pG$hEEJg;&s1 z@MSZe<%91ZEQVYK^3h3t8Y%iCa6RL%AE|O080csPT_V0GZ67Q~ttpjOs;9Xm z!ME+ggG_LU$?M+tk#~*Qj=#N%YqiJ-bV>WX}}KF3=qLtoo~@=`#l%e?DTlSXvd?)7h{MrYXH%aYst_fMyScvutl@-DJq9A3D_LM0Jn z{Ftr2mNq8F>D-R<1yd3<@b6z2m#fZU;f?9V^8|=Jz=mu<~!@k$(V2&mt%<0lZkx6RXV(oFu$`8uSgJ++2{DV>? m>+DcGtlO3c<{NrKI1?M;V6Nsgf_;w#P*>Jbs#dTL`~Lu7^~yc~ diff --git a/lib/docbook/docbook-xsl/doc/tools/profiling.html b/lib/docbook/docbook-xsl/doc/tools/profiling.html deleted file mode 100644 index 021bd4758..000000000 --- a/lib/docbook/docbook-xsl/doc/tools/profiling.html +++ /dev/null @@ -1,150 +0,0 @@ - - - Profiling DocBook documents

Profiling DocBook documents

An easy way to personalize your content for several target audiences

Jirka Kosek

E-mail: <jirka@kosek.cz>
-Web: http://www.kosek.cz
-
-

-$Id: profiling.html,v 1.1 2002/05/15 17:22:24 isberg Exp $ -


Introduction

There are many situations when we need to generate several -versions of document with slightly different content from the single -source. User guide for program with both Windows and Linux port will -differ only in several topics related to installation and -configuration. It would be futile to create and maintain two different -documents in sync. Another real world example – in addition to -standard documentation we can have guide enriched with problem -solutions from help-desk. It also may be better to store these -information in one document in order to make them absolutely -synchronized.

Several high-end editing tools have built in support for -profiling. User can easily add target audiences for any part of -document in a simple to use dialog box. User can select desired target -audience before printing or generation of other output formats. -Software will automatically filter out excess parts of document and -pass rest of it to rendering engine. However, if your budget is -limited you can not use commercial solutions. In the following text I -will show you simple but flexible profiling solution based on freely -available technologies.

$0 solution

In the document we mark parts targeted for particular platform -or user group. When generating final output version of document we -must do profiling i.e. personalization for particular target audience. -Only some parts of document are processed. DocBook has built in -support for marking document parts – on almost every element you -can use attributes os, userlevel and arch. We can store identifier of operating -system, user group or hardware architecture here. You can also store -profiling information into some general use attribute like role. Example 1 shows how document with profile information might -look.

Example 1. Sample DocBook document with profiling information

<?xml version='1.0' encoding='iso-8859-1'?>
-<!DOCTYPE chapter PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN'
-	                 'http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd'>
-<chapter>
-<title>How to setup SGML catalogs</title>
-
-<para>Many existing SGML tools are able to map public identifiers to
-files on your local file system. Mapping is specified in so called
-catalog file. List of catalog files to use is stored in environment
-variable <envar>SGML_CATALOG_FILES</envar>.</para>
-
-<para os="unix">On Unix systems you can set this variable by invoking
-command <command>export SGML_CATALOG_FILES=/usr/lib/catalog</command>
-on command line. If you want maintain value of the variable between
-sessions, place this command into startup file,
-e.g. <filename>.profile</filename>.</para>
-
-<para os="win">In Windows NT/2000 you can set environment variable by
-issuing command <menuchoice><guimenu>Start</guimenu>
-<guisubmenu>Settings</guisubmenu> <guisubmenu>Control
-Pannel</guisubmenu>
-<guimenuitem>System</guimenuitem></menuchoice>. Then select
-<guilabel>Advanced</guilabel> card in the dialog box and click on the
-<guibutton>Environment Variables...</guibutton> button. Using the
-<guibutton>New</guibutton> button you can add new environment variable
-into your system.</para>
-
-</chapter>

DocBook documents are often processed by freely available DSSSL -and XSL stylesheets. Most DocBook users who want profiling starts with -creation of customization layer which filters out some parts of -document. This approach has several serious disadvantages. First, you -must create profiling customization for all output formats as they are -using different stylesheets. This mean that you must maintain same -code on several places or do some dirty tricks with importing several -stylesheets into one stylesheet.

Second drawback is more serious. If you override templates to -filter out documents, you can get almost correct output in a single -run of stylesheet. If you will closely look on generated output, you -will recognize that in the table of contents there are entries for -items which should be completely removed by profiling. Similar -problems are in several other places – e.g. skipped auto -generated numbers for tables, pictures and so on. To correct this one -should change all stylesheet code which generates ToC, -cross-references and so on to ignore filtered content. This is very -complicated task and will disallow you to easily upgrade to new -versions of stylesheets.

Thus we must use different approach. Profiling should be totally -separate step which will filter out some parts of original document -and will create new correct DocBook document. When processed with any -DocBook tool or stylesheet you will get always correct output from the -new standalone document now. Big advantage of this method is -compatibility with all DocBook tools. Filtered document is normal -DocBook document and it does not require any special processing. Of -course, there is also one disadvantage – formating is now two -stage process – first you must filter source document and in -second step you could apply normal stylesheets on result of filtering. -This may be little bit inconvenient for many users, but whole task can -be very easily automated by set of shell scripts or batch files or -whatever else.

Figure 1. Profiling stream

When implementing filter, you can use many different approaches -and tools. I decided to use XSLT stylesheet. Writing necessary filter -is very easy in XSLT and many users have XSLT processor already -installed. Profiling stylesheet is part of standard XSL stylesheets -distribution and can be found in file -tools/profile.xsl.

Usage

If you want to generate Unix specific guide from our sample -document (Example 1) you can do it in the following -way. (We assume, that command saxon is able to run -XSLT processor on your machine. You can use your preffered XSLT -processor instead.)

saxon -o unixsample.xml sample.xml profile.xsl "os=unix"

We are processing source document -sample.xml with profiling stylesheet -profile.xsl. Result of transformation is stored -in file unixsample.xml. By setting parameter -os to value unix, we tell -that only general and Unix specific parts of document should be copied -to the result document. If you will look at generated result, you will -notice that this is correct DocBook document:

<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE chapter
-  PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
-         "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
-<chapter>
-<title>How to setup SGML catalogs</title>
-
-<para>Many existing SGML tools are able to map public identifiers to
-files on your local file system. Mapping is specified in so called
-catalog file. List of catalog files to use is stored in environment
-variable <envar>SGML_CATALOG_FILES</envar>.</para>
-
-<para os="unix">On Unix systems you can set this variable by invoking
-command <command moreinfo="none">export SGML_CATALOG_FILES=/usr/lib/catalog</command>
-on command line. If you want maintain value of the variable between
-sessions, place this command into startup file,
-e.g. <filename moreinfo="none">.profile</filename>.</para>
-
-</chapter>

It is same as the input document, only Windows specific -paragraph is missing. Same procedure can be used to get Windows -specific version of document. The result generated by profiling -stylesheet have correct document type declaration (DOCTYPE). Without -it some tools would not be able to process them further. On the result -of filtering you can run common tools – for example DSSSL or XSL -stylesheets.

Stylesheet support several attributes for specifying profiling -values. They are summarized in the following list.

os

This parameter is used for specifying operating system (os attribute) for which you want get -profiled version of document.

ul

This parameter is used for specifying user level (userlevel attribute) for which you want get -profiled version of document.

arch

This parameter is used for specifying hardware architecture (arch attribute) for which you want get -profiled version of document.

attr

Name of attribute on which profiling should be based. It can be -used if profiling information is stored in other attributes then -os, userlevel and arch.

val

This parameter is used for specifying value for attribute -selected by attr parameter.

E.g. setting attr=os and -val=unix is same as setting -os=unix.

sep

Separator for multiple target audience identifiers. Default is -;.

Current implementation is able to handle multiple profiling -targets in one attribute. In that case you must separate identifiers -by semicolon:

<para os="unix;mac;win">...</para>

It is possible to use different separator than semicolon by -setting sep parameter. There cann't be spaces -between separator and target names.

You can also perform profiling based on several profiling -attributes in a single step as stylesheet can handle all parameters -simultaneously. For example to get hypothetical guide for Windows -beginners, you can run profiling like this:

saxon -o xsample.xml sample.xml profile.xsl "os=win" "ul=beginner"

As you can see above described profiling process can be used to -substitute SGML marked sections mechanism which is missing in XML.

Conclusion

Profiling is necessary in many larger DocBook applications. It -can be quite easily implemented by simple XSLT stylesheet which is -presented here. This mechanism can also be used to simulate behavior -of marked sections known from SGML.

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/doc/warranty.html b/lib/docbook/docbook-xsl/doc/warranty.html deleted file mode 100644 index 5ab66b40e..000000000 --- a/lib/docbook/docbook-xsl/doc/warranty.html +++ /dev/null @@ -1,10 +0,0 @@ - - - Warranty

Warranty

THE SOFTWARE IS PROVIDED AS IS, -WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY -OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT -OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE.

\ No newline at end of file diff --git a/lib/docbook/docbook-xsl/docsrc/ChangeLog b/lib/docbook/docbook-xsl/docsrc/ChangeLog deleted file mode 100644 index e7c4f95c9..000000000 --- a/lib/docbook/docbook-xsl/docsrc/ChangeLog +++ /dev/null @@ -1,37 +0,0 @@ -2001-08-13 Norman Walsh - - * documentation.xml: Added link to profiling documentation - -2001-08-06 Norman Walsh - - * xsl2jref.xsl: Documentation and documentation generation tweaks - -2001-08-01 Norman Walsh - - * xsl2jref.xsl: Expand the sf.net reference to sourceforge.net because of DNS problems - -2001-07-31 Jirka Kosek - - * documentation.xml: Added stylesheet for profiling together with documentation. - -2001-07-09 Norman Walsh - - * xsl2jref.xsl: Fixed doctype for jrefentry DTD - -2001-06-20 Norman Walsh - - * copyright.xml, reference.xml: Fixed FPI - -2001-05-13 Norman Walsh - - * xsl2jref.xsl: Include param.xsl for chunker - -2001-04-03 Norman Walsh - - * Makefile, jrefhtml.xsl, xsl2jref.xsl: Documentation fixes - -2001-04-02 Norman Walsh - - * Makefile, copyright.xml, documentation.xml, extensions.xml, jrefhtml.xsl, legalnotice.xml, publishing.xml, reference.xml, template-example.xml, template-example.xsl, templates.xml, warranty.xml, xsl2jref.xsl: - New file. - diff --git a/lib/docbook/docbook-xsl/docsrc/common/ChangeLog b/lib/docbook/docbook-xsl/docsrc/common/ChangeLog deleted file mode 100644 index ca59668ce..000000000 --- a/lib/docbook/docbook-xsl/docsrc/common/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -2001-04-03 Norman Walsh - - * Makefile: Documentation fixes - -2001-04-02 Norman Walsh - - * .cvsignore, Makefile: New file. - diff --git a/lib/docbook/docbook-xsl/docsrc/common/common.xml b/lib/docbook/docbook-xsl/docsrc/common/common.xml deleted file mode 100644 index df0736768..000000000 --- a/lib/docbook/docbook-xsl/docsrc/common/common.xml +++ /dev/null @@ -1,294 +0,0 @@ - - - - - -$Id: common.xml,v 1.1 2002/05/15 17:22:24 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -Common Template Reference - - -
Introduction - - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - - - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - - - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) - -
-
- - - - -is.component -Tests if a given node is a component-level element - - -<xsl:template name="is.component"> -<xsl:param name="node" select="."/> - ... -</xsl:template> - - - -This template returns '1' if the specified node is a component -(Chapter, Appendix, etc.), and '0' otherwise. - - - - -node - - -The node which is to be tested. - - - - - - - -This template returns '1' if the specified node is a component -(Chapter, Appendix, etc.), and '0' otherwise. - - - - - -is.section -Tests if a given node is a section-level element - - -<xsl:template name="is.section"> -<xsl:param name="node" select="."/> - ... -</xsl:template> - - - -This template returns '1' if the specified node is a section -(Section, Sect1, Sect2, etc.), and '0' otherwise. - - - - -node - - -The node which is to be tested. - - - - - - - -This template returns '1' if the specified node is a section -(Section, Sect1, Sect2, etc.), and '0' otherwise. - - - - - -section.level -Returns the hierarchical level of a section. - - -<xsl:template name="section.level"> -<xsl:param name="node" select="."/> - ... -</xsl:template> - - - -This template calculates the hierarchical level of a section. -Hierarchically, components are top level, so a -sect1 is at level 2, sect3 is -at level 3, etc. - - - -Recursive sections are calculated down to the sixth level. - - - - -node - - -The section node for which the level should be calculated. -Defaults to the context node. - - - - - - - -The section level, 2, 3, etc. - - - - - - -qanda.section.level -Returns the hierarchical level of a QandASet. - - -<xsl:template name="qanda.section.level"/> - - - -This template calculates the hierarchical level of a QandASet. - - - - -The level, 1, 2, etc. - - - - - - -select.mediaobject -Selects an appropriate media object from a list - - -<xsl:template name="select.mediaobject"> -<xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/> -<xsl:param name="count">1</xsl:param> - ... -</xsl:template> - - - -This template examines a list of media objects (usually the -children of a mediaobject or inlinemediaobject) and processes -the "right" object. - - - -This template relies on a template named "is.acceptable.mediaobject" -to determine if a given object is an acceptable graphic. The semantics -of media objects is that the first acceptable graphic should be used. - - - - -If no acceptable object is located, nothing happens. - - - - -olist - - -The node list of potential objects to examine. - - - - - - - -Calls <xsl:apply-templates> on the selected object. - - - - - -is.acceptable.mediaobject -Returns '1' if the specified media object is recognized. - - -<xsl:template name="is.acceptable.mediaobject"> -<xsl:param name="object"/> - ... -</xsl:template> - - - -This template examines a media object and returns '1' if the -object is recognized as a graphic. - - - - -object - - -The media object to consider. - - - - - - - -0 or 1 - - - - - -check.id.unique -Warn users about references to non-unique IDs - - -<xsl:template name="check.id.unique"> -<xsl:param name="linkend"/> - ... -</xsl:template> - - - -If passed an ID in linkend, -check.id.unique prints -a warning message to the user if either the ID does not exist or -the ID is not unique. - - - - - -check.idref.targets -Warn users about incorrectly typed references - - -<xsl:template name="check.idref.targets"> -<xsl:param name="linkend"/> -<xsl:param name="element-list"/> - ... -</xsl:template> - - - -If passed an ID in linkend, -check.idref.targets makes sure that the element -pointed to by the link is one of the elements listed in -element-list and warns the user otherwise. - - -
diff --git a/lib/docbook/docbook-xsl/docsrc/copyright.xml b/lib/docbook/docbook-xsl/docsrc/copyright.xml deleted file mode 100644 index dff3ea7f2..000000000 --- a/lib/docbook/docbook-xsl/docsrc/copyright.xml +++ /dev/null @@ -1,30 +0,0 @@ - - -Copyright - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation files -(the Software), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished -to do so, subject to the following conditions: - - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -Except as contained in this notice, the names of individuals -credited with contribution to this software shall not be used in -advertising or otherwise to promote the sale, use or other dealings in -this Software without prior written authorization from the individuals -in question. - -Any stylesheet derived from this Software that is publically -distributed will be identified with a different name and the version -strings in any derived Software will be changed so that no possibility -of confusion between the derived package and this Software will -exist. - diff --git a/lib/docbook/docbook-xsl/docsrc/documentation.xml b/lib/docbook/docbook-xsl/docsrc/documentation.xml deleted file mode 100644 index 46f0cc1b2..000000000 --- a/lib/docbook/docbook-xsl/docsrc/documentation.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - -]> - - -DocBook XSL Stylesheet Documentation - - - -Walsh -Norman -Stayton -Bob - - -199920002001 -Norman Walsh - - - -Preface - -This is the beginnings of documentation for the DocBook XSL -Stylesheets. - - - -&publishing.xml; -&extensions.xml; - - -Tools documentation - -There are several tools useful for usage with DocBook in -directory tools. - - - -Profiling - - - - - - -Reference Documentation - -Reference documentation is also available: - - - - - - - -&templates.xml; - - diff --git a/lib/docbook/docbook-xsl/docsrc/extensions.xml b/lib/docbook/docbook-xsl/docsrc/extensions.xml deleted file mode 100644 index 5122effc7..000000000 --- a/lib/docbook/docbook-xsl/docsrc/extensions.xml +++ /dev/null @@ -1,96 +0,0 @@ - -Saxon Extensions - - -Beginning with release 1.25, the DocBook XSL Stylesheets include -a set of Java extensions for Saxon. - -These extensions enable callouts, numbered program listings, and -the direct inclusion of text: - - - - - - - - - - - - -@rem = '--*-Perl-*-- -@echo off -perl.exe %_batchname %$ -goto endofperl -@rem '; - -# Compress mail... - -require 'n:/home/nwalsh/lib/cygnus.pl'; -require 'timelocal.pl'; -use Cwd; - -select (STDERR); $| = 1; -select (STDOUT); $| = 1; - -@DIRS = ("/home/nwalsh/Mail"); -while (@DIRS) { - $dir = shift @DIRS; - opendir (DIR, $dir); - while ($fname = readdir(DIR)) { - $file = "$dir/$fname"; - next if ! -d $file; - next if $fname =~ /^\.\.?$/; - - print "$file\n"; - push (@DIRS, $file); - &compress ($file); - } -} - -exit; - - -The prologue handles embedding a Perl script in a DOS batch file. - - -The goto statement, interpreted by the DOS batch -file interpreter, skips over the body of the Perl script. - - -The require statement sources in external program -fragments. - - -The use statement is similar, but has additional -utility. It is a Perl5 function. (Note that this callout area specifies -both a line and a column.) - - -This is a user subroutine call. - - - - -
Installation - -The extensions are included in the distribution in -extensions/nwalsh.jar. Just make sure that jar -file is in your CLASSPATH when you run Saxon. - -
- -
Using the Extensions - -For compatibility with other processors, the extensions are disabled -by default. To enable the extensions, turn on -$saxon.extensions, for example by passing -saxon.extensions=1 to Saxon. - -For more control over the specific extensions, see -. -
- -
diff --git a/lib/docbook/docbook-xsl/docsrc/fo/ChangeLog b/lib/docbook/docbook-xsl/docsrc/fo/ChangeLog deleted file mode 100644 index ca59668ce..000000000 --- a/lib/docbook/docbook-xsl/docsrc/fo/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -2001-04-03 Norman Walsh - - * Makefile: Documentation fixes - -2001-04-02 Norman Walsh - - * .cvsignore, Makefile: New file. - diff --git a/lib/docbook/docbook-xsl/docsrc/fo/param.xml b/lib/docbook/docbook-xsl/docsrc/fo/param.xml deleted file mode 100644 index b8b647dec..000000000 --- a/lib/docbook/docbook-xsl/docsrc/fo/param.xml +++ /dev/null @@ -1,1448 +0,0 @@ - - - - - -$Id: param.xml,v 1.1 2002/05/15 17:22:25 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -Formatting Object Parameter Reference - - -
Introduction - - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - - - -This reference describes each of the Formatting Object -Stylesheet parameters. These are the easily -customizable parts of the stylesheet. If you want to specify -an alternate value for one or more of these parameters, you can do so -in a driver stylesheet. - - - -For example, if you want to turn on automatic section numbering, -you might create a driver stylesheet like this: - - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - - <xsl:import href="/path/to/fo/docbook.xsl"/> - - <xsl:param name="section.autolabel" select="1"/> - -</xsl:stylesheet> - - -Naturally, you have to change the -href attribute on -<xsl:import> -to point to docbook.xsl -on your system. - - - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - - - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) - -
-
- - - -admon.graphics.extension -Extension for admonition graphics - - - -<xsl:param name="admon.graphics.extension" select="'.png'" doc:type="string"/> - - - -Sets the extension to use on admonition graphics. - - - - - -qandadiv.autolabel -Are divisions in QAndASets enumerated? - - - - - - -If true (non-zero), unlabeled qandadivs will be enumerated. - - - - - - -qanda.inherit.numeration -Does enumeration of QandASet components inherit the numeration of parent elements? - - - - - - -If true (non-zero), numbered QandADiv elements and Questions and Answers inherit -the numeration of the ancestors of the QandASet. - - - - - - -graphic.default.extension -Default extension for graphic filenames - - - - - - -If a graphic or mediaobject -includes a reference to a filename that does not include an extension, -and the format attribute is -unspecified, the default extension will be used. - - - -formal.title.properties modeProperties of formal object titles - -This attribute set is used to specify the properties of formal -object titles. - - -component.title.properties modeProperties of component titles - -This attribute set is used to specify the properties of component -titles. - - -admonition.title.properties modeProperties of admonition titles - -This attribute set is used to specify the properties of admonition -titles. - - -xref.properties modeVisual properties of hotlinks - -This attribute set is used to specify properties of xrefs - - - - - -insert.xref.page.number -Turns page numbers in xrefs on and off - - - -<xsl:param name="insert.xref.page.number" select="0" doc:type="boolean"/> - - - -When equal to 1, this parameter triggers generation of page -number citations after xrefs. - - - -normal.para.spacing modeSpacing properties of normal paragraphs - -This attribute set is used to specify the spacing properties -of normal paragraphs. - - -list.block.spacing modeSpacing properties of list blocks - -This attribute set is used to specify the spacing properties -of list blocks. - - -list.item.spacing modeSpacing properties of list items - -This attribute set is used to specify the spacing properties -of list items. - - - - - -rootid -Specify the root element to format - - - -<xsl:param name="rootid" select="''"/> - - - -If rootid is specified, it must be the -value of an ID that occurs in the document being formatted. The entire -document will be loaded and parsed, but formatting will begin at the -element identified, rather than at the root. For example, this allows -you to process only chapter 4 of a book. - - -Because the entire document is available to the processor, automatic -numbering, cross references, and other dependencies are correctly -resolved. - - - - - -callout.graphics -Use graphics for callouts? - - - -<xsl:param name="callout.graphics" select="'0'"/> - - - -If non-zero, callouts are presented with graphics (e.g., reverse-video -circled numbers instead of "(1)", "(2)", etc.). -Default graphics are provided in the distribution. - - - - - - -callout.unicode -First character to use for Unicode callouts - - - -<xsl:param name="callout.unicode" select="1"/> - - - -If non-zero, callouts are presented with Unicode characters -starting with the character specified. Zero indicates that Unicode -callouts should not be used. - - - - - - -callout.unicode.font -Font to use for Unicode dingbats - - - -<xsl:param name="callout.unicode.font" select="'ZapfDingbats'"/> - - - -The name of the font to specify around Unicode callout glyphs. -If set to the empty string, no font change will occur. - - - - - - -callout.unicode.start.character -Number of the largest callout graphic - - - -<xsl:param name="callout.unicode.start.character" select="10102" doc:type="integer"/> - - - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - -callout.unicode.number.limit -Number of the largest callout graphic - - - -<xsl:param name="callout.unicode.number.limit" select="'10'" doc:type="integer"/> - - - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - -callout.graphics.extension -Extension for callout graphics - - - -<xsl:param name="callout.graphics.extension" select="'.png'"/> - - - -Sets the extension to use on callout graphics. - - - - - -callout.graphics.path -Path to callout graphics - - - -<xsl:param name="callout.graphics.path" select="'../images/callouts/'"/> - - - -Sets the path, probably relative to the directory where the HTML -files are created, to the callout graphics. - - - - - - -callout.graphics.number.limit -Number of the largest callout graphic - - - -<xsl:param name="callout.graphics.number.limit" select="'10'"/> - - - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - -use.extensions -Enable extensions - - - -<xsl:param name="use.extensions" select="'0'"/> - - - -If non-zero, extensions may be used. Each extension is -further controlled by its own parameter. But if -use.extensions is zero, no extensions will -be used. - - - - - - -textinsert.extension -Enable the textinsert extension element - - - -<xsl:param name="textinsert.extension" select="'1'"/> - - - -The textinsert extension element inserts the contents of a -a file into the result tree (as text). - - - - - - -linenumbering.extension -Enable the line numbering extension - - - -<xsl:param name="linenumbering.extension" select="'1'"/> - - - -If true, verbatim environments (elements that have the -format='linespecific' notation attribute: address, literallayout, -programlisting, screen, synopsis) that specify line numbering will -have, surprise, line numbers. - - - - - - -linenumbering.everyNth -Indicate which lines should be numbered - - - -<xsl:param name="linenumbering.everyNth" select="'5'"/> - - - -If line numbering is enabled, everyNth line will be numbered. - - - - - - -linenumbering.width -Indicates the width of line numbers - - - -<xsl:param name="linenumbering.width" select="'3'"/> - - - -If line numbering is enabled, line numbers will appear right -justified in a field "width" characters wide. - - - - - - -linenumbering.separator -Specify a separator between line numbers and lines - - - -<xsl:param name="linenumbering.separator" select="' '"/> - - - -The separator is inserted between line numbers and lines in -the verbatim environment. - - - - - - -callouts.extension -Enable the callout extension - - - -<xsl:param name="callouts.extension" select="'1'"/> - - - -The callouts extension processes areaset -elements in ProgramListingCO and other text-based -callout elements. - - - - - - -callout.defaultcolumn -Indicates what column callouts appear in by default - - - -<xsl:param name="callout.defaultcolumn" select="'60'"/> - - - -If a callout does not identify a column (for example, if it uses -the linerange unit), -it will appear in the default column. - - - - - - -tablecolumns.extension -Enable the table columns extension function - - - -<xsl:param name="tablecolumns.extension" select="'1'" doc:type="boolean"/> - - - -The table columns extension function adjusts the widths of table -columns in the HTML result to more accurately reflect the specifications -in the CALS table. - - - - - - -nominal.table.width -The (absolute) nominal width of tables - - - -<xsl:param name="nominal.table.width" select="'6in'" doc:type="length"/> - - - -In order to convert CALS column widths into FO column widths, it -is sometimes necessary to have an absolute table width to use for conversion -of mixed absolute and relative widths. This value must be an absolute -length (not a percentage). - - - - - -default.table.width -The default width of tables - - - -<xsl:param name="default.table.width" select="''" doc:type="length"/> - - - -If specified, this value will be used for the WIDTH attribute on -tables that do not specify an alternate width (with the dbhtml processing -instruction). - - - - - -paper.type -Select the paper type - - - -<xsl:param name="paper.type" select="'USletter'"/> - - - -The paper type is a convenient way to specify the paper size. -The list of known paper sizes includes USletter and most of the A, -B, and C sizes. See page.width.portrait, for example. - - - - - - -page.orientation -Select the page orientation - - - -<xsl:param name="page.orientation" select="'portrait'"/> - - - -In portrait orientation, the short edge is horizontal; in -landscape orientation, it is vertical. - - - - - - -page.width.portrait -Specify the physical size of the short edge of the page - - - -<xsl:param name="page.width.portrait"> - <xsl:choose> - <xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when> - <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when> - <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when> - <xsl:when test="$paper.type = 'A0'">841mm</xsl:when> - <xsl:when test="$paper.type = 'A1'">594mm</xsl:when> - <xsl:when test="$paper.type = 'A2'">420mm</xsl:when> - <xsl:when test="$paper.type = 'A3'">297mm</xsl:when> - <xsl:when test="$paper.type = 'A4'">210mm</xsl:when> - <xsl:when test="$paper.type = 'A5'">148mm</xsl:when> - <xsl:when test="$paper.type = 'A6'">105mm</xsl:when> - <xsl:when test="$paper.type = 'A7'">74mm</xsl:when> - <xsl:when test="$paper.type = 'A8'">52mm</xsl:when> - <xsl:when test="$paper.type = 'A9'">37mm</xsl:when> - <xsl:when test="$paper.type = 'A10'">26mm</xsl:when> - <xsl:when test="$paper.type = 'B0'">1000mm</xsl:when> - <xsl:when test="$paper.type = 'B1'">707mm</xsl:when> - <xsl:when test="$paper.type = 'B2'">500mm</xsl:when> - <xsl:when test="$paper.type = 'B3'">353mm</xsl:when> - <xsl:when test="$paper.type = 'B4'">250mm</xsl:when> - <xsl:when test="$paper.type = 'B5'">176mm</xsl:when> - <xsl:when test="$paper.type = 'B6'">125mm</xsl:when> - <xsl:when test="$paper.type = 'B7'">88mm</xsl:when> - <xsl:when test="$paper.type = 'B8'">62mm</xsl:when> - <xsl:when test="$paper.type = 'B9'">44mm</xsl:when> - <xsl:when test="$paper.type = 'B10'">31mm</xsl:when> - <xsl:when test="$paper.type = 'C0'">917mm</xsl:when> - <xsl:when test="$paper.type = 'C1'">648mm</xsl:when> - <xsl:when test="$paper.type = 'C2'">458mm</xsl:when> - <xsl:when test="$paper.type = 'C3'">324mm</xsl:when> - <xsl:when test="$paper.type = 'C4'">229mm</xsl:when> - <xsl:when test="$paper.type = 'C5'">162mm</xsl:when> - <xsl:when test="$paper.type = 'C6'">114mm</xsl:when> - <xsl:when test="$paper.type = 'C7'">81mm</xsl:when> - <xsl:when test="$paper.type = 'C8'">57mm</xsl:when> - <xsl:when test="$paper.type = 'C9'">40mm</xsl:when> - <xsl:when test="$paper.type = 'C10'">28mm</xsl:when> - <xsl:otherwise>8.5in</xsl:otherwise> - </xsl:choose> -</xsl:param> - - - -The portrait page width is the length of the short -edge of the physical page. - - - - - - -page.height.portrait -Specify the physical size of the long edge of the page - - - -<xsl:param name="page.height.portrait"> - <xsl:choose> - <xsl:when test="$paper.type = 'A4landscape'">210mm</xsl:when> - <xsl:when test="$paper.type = 'USletter'">11in</xsl:when> - <xsl:when test="$paper.type = 'USlandscape'">8.5in</xsl:when> - <xsl:when test="$paper.type = '4A0'">2378mm</xsl:when> - <xsl:when test="$paper.type = '2A0'">1682mm</xsl:when> - <xsl:when test="$paper.type = 'A0'">1189mm</xsl:when> - <xsl:when test="$paper.type = 'A1'">841mm</xsl:when> - <xsl:when test="$paper.type = 'A2'">594mm</xsl:when> - <xsl:when test="$paper.type = 'A3'">420mm</xsl:when> - <xsl:when test="$paper.type = 'A4'">297mm</xsl:when> - <xsl:when test="$paper.type = 'A5'">210mm</xsl:when> - <xsl:when test="$paper.type = 'A6'">148mm</xsl:when> - <xsl:when test="$paper.type = 'A7'">105mm</xsl:when> - <xsl:when test="$paper.type = 'A8'">74mm</xsl:when> - <xsl:when test="$paper.type = 'A9'">52mm</xsl:when> - <xsl:when test="$paper.type = 'A10'">37mm</xsl:when> - <xsl:when test="$paper.type = 'B0'">1414mm</xsl:when> - <xsl:when test="$paper.type = 'B1'">1000mm</xsl:when> - <xsl:when test="$paper.type = 'B2'">707mm</xsl:when> - <xsl:when test="$paper.type = 'B3'">500mm</xsl:when> - <xsl:when test="$paper.type = 'B4'">353mm</xsl:when> - <xsl:when test="$paper.type = 'B5'">250mm</xsl:when> - <xsl:when test="$paper.type = 'B6'">176mm</xsl:when> - <xsl:when test="$paper.type = 'B7'">125mm</xsl:when> - <xsl:when test="$paper.type = 'B8'">88mm</xsl:when> - <xsl:when test="$paper.type = 'B9'">62mm</xsl:when> - <xsl:when test="$paper.type = 'B10'">44mm</xsl:when> - <xsl:when test="$paper.type = 'C0'">1297mm</xsl:when> - <xsl:when test="$paper.type = 'C1'">917mm</xsl:when> - <xsl:when test="$paper.type = 'C2'">648mm</xsl:when> - <xsl:when test="$paper.type = 'C3'">458mm</xsl:when> - <xsl:when test="$paper.type = 'C4'">324mm</xsl:when> - <xsl:when test="$paper.type = 'C5'">229mm</xsl:when> - <xsl:when test="$paper.type = 'C6'">162mm</xsl:when> - <xsl:when test="$paper.type = 'C7'">114mm</xsl:when> - <xsl:when test="$paper.type = 'C8'">81mm</xsl:when> - <xsl:when test="$paper.type = 'C9'">57mm</xsl:when> - <xsl:when test="$paper.type = 'C10'">40mm</xsl:when> - <xsl:otherwise>11in</xsl:otherwise> - </xsl:choose> -</xsl:param> - - - -The portrait page height is the length of the long -edge of the physical page. - - - - - - -page.width -The width of the physical page - - - -<xsl:param name="page.width"> - <xsl:choose> - <xsl:when test="$page.orientation = 'portrait'"> - <xsl:value-of select="$page.width.portrait"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$page.height.portrait"/> - </xsl:otherwise> - </xsl:choose> -</xsl:param> - - - -The page width is generally calculated from the -paper.type and -page.orientation. - - - - - - -page.height -The height of the physical page - - - -<xsl:param name="page.height"> - <xsl:choose> - <xsl:when test="$page.orientation = 'portrait'"> - <xsl:value-of select="$page.height.portrait"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$page.width.portrait"/> - </xsl:otherwise> - </xsl:choose> -</xsl:param> - - - -The page height is generally calculated from the -paper.type and -page.orientation. - - - - - - -double.sided -Is the document to be printed double sided? - - - -<xsl:param name="double.sided" select="'0'"/> - - - -Double-sided documents are printed with a slightly wider margin -on the binding edge of the page. - - - -FIXME: The current set of parameters does not take writing direction -into account. - - - - - -column.count -Specifies the number of columns of text on the page - - - -<xsl:param name="column.count" select="'1'"/> - - - -The specified number of columns of text will appear on each page. - - - - - - -region.after.extent -Specifies the height of the footer. - - - -<xsl:param name="region.after.extent" select="'12pt'"/> - - - -The region after extent is the height of the area where footers -are printed. - - - - - - -region.before.extent -Specifies the height of the header - - - -<xsl:param name="region.before.extent" select="'12pt'"/> - - - -The region before extent is the height of the area where headers -are printed. - - - - - - -page.margin.top -The top margin of the page - - - -<xsl:param name="page.margin.top">1in</xsl:param> - - - -The top page margin is the distance from the physical top of the -page to the first line of text (body or header). - - - - - - -page.margin.bottom -The bottom margin of the page - - - -<xsl:param name="page.margin.bottom">1in</xsl:param> - - - -The bottom page margin is the distance from the physical bottom of -the page to the last line of text (body or footer). - - - - - - -page.margin.inner -The inner page margin - - - -<xsl:param name="page.margin.inner"> - <xsl:choose> - <xsl:when test="$double.sided != 0">1.25in</xsl:when> - <xsl:otherwise>1in</xsl:otherwise> - </xsl:choose> -</xsl:param> - - - -The inner page margin is the distance from binding edge of the -page to the first column of text. In the left-to-right, top-to-bottom writing -direction, this is the left margin of recto pages. - - -The inner and outer margins are usually the same unless the output -is double-sided. - - - - - - -page.margin.outer -The outer page margin - - - -<xsl:param name="page.margin.outer"> - <xsl:choose> - <xsl:when test="$double.sided != 0">0.75in</xsl:when> - <xsl:otherwise>10pc</xsl:otherwise> - </xsl:choose> -</xsl:param> - - - -The outer page margin is the distance from non-binding edge of the -page to the last column of text. In the left-to-right, top-to-bottom writing -direction, this is the right margin of recto pages. - - -The inner and outer margins are usually the same unless the output -is double-sided. - - - - - - -body.margin.bottom -The bottom margin of the body text - - - -<xsl:param name="body.margin.bottom">24pt</xsl:param> - - - -The body bottom margin is the distance from the last line of text -in the page body to the bottom page margin. Note that the page footer, if -any, appears in the space between the body bottom margin and the page -bottom margin. - - - - - - -body.margin.top -FIXME: - - - -<xsl:param name="body.margin.top">24pt</xsl:param> - - - -The body top margin is the distance from the page top margin to -the first line of text -in the page body. Note that the page header, if -any, appears in the space between the page top margin and the body -top margin. - - - - - - -body.font.family -The default font family for body text - - - -<xsl:param name="body.font.family">Times Roman</xsl:param> - - - -The body font family is the default font used for text in the page body. - - - - - - -title.font.family -The default font family for titles - - - -<xsl:param name="title.font.family">Helvetica</xsl:param> - - - -The title font family is used for titles (chapter, section, figure, -etc.) - - - - - - -monospace.font.family -The default font family for monospace environments - - - -<xsl:param name="monospace.font.family">Courier</xsl:param> - - - -The monospace font family is used for verbatim environments -(program listings, screens, etc.). - - - - - - -sans.font.family -The default sans-serif font family - - - -<xsl:param name="sans.font.family">Helvetica</xsl:param> - - - -The default sans-serif font family. At the present, this isn't -actually used by the stylesheets. - - - - - - -dingbat.font.family -The font family for copyright, quotes, and other symbols - - - -<xsl:param name="dingbat.font.family">Times Roman</xsl:param> - - - -The dingbat font family is used for dingbats. If it is defined -as the empty string, no font change is effected around dingbats. - - - - - - -body.font.master -Specifies the default point size for body text - - - -<xsl:param name="body.font.master">10</xsl:param> - - - -The body font size is specified in two parameters -(body.font.master and body.font.size) -so that math can be performed on the font size by XSLT. - - - - - - -body.font.size -Specifies the default font size for body text - - - -<xsl:param name="body.font.size"> - <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text> -</xsl:param> - - - -The body font size is specified in two parameters -(body.font.master and body.font.size) -so that math can be performed on the font size by XSLT. - - - - - - -footnote.font.size -The font size for footnotes - - - -<xsl:param name="footnote.font.size"> - <xsl:value-of select="$body.font.master * 0.8"/><xsl:text>pt</xsl:text> -</xsl:param> - - - -The footnote font size is used for...footnotes! - - - - - - -hyphenate -Specify hyphenation behavior - - - -<xsl:param name="hyphenate">true</xsl:param> - - - -If true, words may be hyphenated. Otherwise, they may not. - - - - - - -alignment -Specify the default text alignment - - - -<xsl:param name="alignment">justify</xsl:param> - - - -The default text alignment is used for most body text. - - - - - - -stylesheet.result.type -Identifies the output format of this stylesheet - - - -<xsl:param name="stylesheet.result.type" select="'fo'"/> - - - -The extension functions need to know if the output format -is HTML ('html') or XSL Formatting Objects ('fo'). This variable answers -that question. Valid settings are 'html' or 'fo'. - - - - - -generate.component.toc -Generate a table of contents for components? - - - -<xsl:param name="generate.component.toc" select="0" doc:type="boolean"/> - - - -If non-zero, a table of contents is generated at the beginning -of each component (chapters, appendixes, etc.) - - - - - - -generate.division.toc -Generate a table of contents for divisions? - - - -<xsl:param name="generate.division.toc" select="1" doc:type="boolean"/> - - - -If non-zero, a table of contents is generated at the beginning -of each division (sets, books, etc.) - - - - - - -generate.division.figure.lot -Generate a list of titles for Figures? - - - -<xsl:param name="generate.division.figure.lot" select="1" doc:type="boolean"/> - - - -If non-zero, a list of titles is generated for Figures. - - - - - - -generate.division.example.lot -Generate a list of titles for Examples? - - - -<xsl:param name="generate.division.example.lot" select="1" doc:type="boolean"/> - - - -If non-zero, a list of titles is generated for Examples. - - - - - - -generate.division.equation.lot -Generate a list of titles for Equations? - - - -<xsl:param name="generate.division.equation.lot" select="1" doc:type="boolean"/> - - - -If non-zero, a list of titles is generated for Equations. - - - - - - -generate.division.table.lot -Generate a list of titles for Tables? - - - -<xsl:param name="generate.division.table.lot" select="1" doc:type="boolean"/> - - - -If non-zero, a list of titles is generated for Tables. - - - - - - -passivetex.extensions -Enable PassiveTeX extensions? - - - -<xsl:param name="passivetex.extensions" select="0" doc:type="boolean"/> - - - -If non-zero, -PassiveTeX -extensions will be used. At present, this consists of PDF bookmarks -and sorted index terms. - - - - - - -arbortext.extensions -Enable Arbortext extensions? - - - -<xsl:param name="arbortext.extensions" select="0" doc:type="boolean"/> - - - -If non-zero, -Arbortext -extensions will be used. - - - - - - -fop.extensions -Enable FOP extensions? - - - -<xsl:param name="fop.extensions" select="0" doc:type="boolean"/> - - - -If non-zero, -FOP -extensions will be used. At present, this consists of PDF bookmarks. - - - - - - -xep.extensions -Enable XEP extensions? - - - -<xsl:param name="xep.extensions" select="0" doc:type="boolean"/> - - - -If non-zero, -XEP -extensions will be used. XEP extensions consists of PDF bookmarks and document information. - - - - - - -default.units -Default units for an unqualified dimension - - - -<xsl:param name="default.units" select="'pt'" doc:type="list" doc:list="cm mm in pt pc px em"/> - - - -If an unqualified dimension is encountered (for example, in a -graphic width), the default-units will be used for the -units. Unqualified dimensions are not allowed in XSL Formatting Objects. - - - - - - -label.from.part -Renumber chapters in each part? - - - -<xsl:param name="label.from.part" select="'0'" doc:type="boolean"/> - - - -If label.from.part is non-zero, components -(chapters, appendixes, etc.) -will be numbered from 1 in each part. Otherwise, -they will be numbered monotonically throughout each -book. - - - - - - -formal.procedures -Selects formal or informal procedures - - - -<xsl:param name="formal.procedures" select="1" doc:type="boolean"/> - - - -Formal procedures are numbered and always hav a title. - - - - - - -bibliography.collection -Name of the bibliography collection file - - - -<xsl:param name="bibliography.collection" doc:type="string" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/> - - - -Tired of copying bibliography entries from one document to another? -Now you can maintain a central bibliography and let the stylesheets do -the copying for you. This parameter identifies the file (by URI reference) -that contains your complete bibliography collection. - - - - - - -format.variablelist.as.list -Use an fo:list to format VariableLists? - - - -<xsl:param name="format.variablelist.as.list" select="1" doc:type="boolean"/> - - - -If non-zero, an fo:list will be used to format VariableLists. -Otherwise, nested fo:blocks will be used. - - - - - - -runinhead.title.end.punct -Characters that count as punctuation on a run-in-head - - - -<xsl:param name="runinhead.title.end.punct" select="'.!?:'" doc:type="string"/> - - - -FIXME: - - - - - - -runinhead.default.title.end.punct -Default punctuation character on a run-in-head - - - -<xsl:param name="runinhead.default.title.end.punct" select="'.'" doc:type="string"/> - - - -FIXME: - - - -
diff --git a/lib/docbook/docbook-xsl/docsrc/fo/table.xml b/lib/docbook/docbook-xsl/docsrc/fo/table.xml deleted file mode 100644 index ac929b555..000000000 --- a/lib/docbook/docbook-xsl/docsrc/fo/table.xml +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -$Id: table.xml,v 1.1 2002/05/15 17:22:25 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -Formatting Object Table Reference - - -
Introduction - - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - - - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - - - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) - -
-
- - - -calc.column.width -Calculate an XSL FO table column width specification from a -CALS table column width specification. - - -<xsl:template name="calc.column.width"> -<xsl:param name="colwidth">1*</xsl:param> - ... -</xsl:template> - - - -CALS expresses table column widths in the following basic -forms: - - - - - - -99.99units, a fixed length specifier. - - - - -99.99, a fixed length specifier without any units. - - - - -99.99*, a relative length specifier. - - - - -99.99*+99.99units, a combination of both. - - - - - - -The CALS units are points (pt), picas (pi), centimeters (cm), -millimeters (mm), and inches (in). These are the same units as XSL, -except that XSL abbreviates picas "pc" instead of "pi". If a length -specifier has no units, the CALS default unit (pt) is assumed. - - - -Relative length specifiers are represented in XSL with the -proportional-column-width() function. - - - -Here are some examples: - - - - - - -"36pt" becomes "36pt" - - - - -"3pi" becomes "3pc" - - - - -"36" becomes "36pt" - - - - -"3*" becomes "proportional-column-width(3)" - - - - -"3*+2pi" becomes "proportional-column-width(3)+2pc" - - - - -"1*+2" becomes "proportional-column-width(1)+2pt" - - - - - - - -colwidth - - -The CALS column width specification. - - - - - - - -The XSL column width specification. - - -
diff --git a/lib/docbook/docbook-xsl/docsrc/html/ChangeLog b/lib/docbook/docbook-xsl/docsrc/html/ChangeLog deleted file mode 100644 index ca59668ce..000000000 --- a/lib/docbook/docbook-xsl/docsrc/html/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -2001-04-03 Norman Walsh - - * Makefile: Documentation fixes - -2001-04-02 Norman Walsh - - * .cvsignore, Makefile: New file. - diff --git a/lib/docbook/docbook-xsl/docsrc/html/ebnf.xml b/lib/docbook/docbook-xsl/docsrc/html/ebnf.xml deleted file mode 100644 index 42b74d597..000000000 --- a/lib/docbook/docbook-xsl/docsrc/html/ebnf.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - -$Id: ebnf.xml,v 1.1 2002/05/15 17:22:25 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -HTML EBNF Reference - - -
Introduction - - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - - - -This reference describes the templates and parameters relevant -to formatting EBNF markup. - - - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - - - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) - -
-
- - - -ebnf.table.bgcolor -Background color for EBNF tables - - - -<xsl:param name="ebnf.table.bgcolor">#F5DCB3</xsl:param> - - - -Sets the background color for EBNF tables. No bgcolor -attribute is output if ebnf.table.bgcolor is set to -the null string. The default value matches the value used in recent -online versions of the W3C's XML Spec productions. - - - - - -ebnf.table.border -Selects border on EBNF tables - - - -<xsl:param name="ebnf.table.border">1</xsl:param> - - - -Selects the border on EBNF tables. If non-zero, the tables have -borders, otherwise they don't. - - -
diff --git a/lib/docbook/docbook-xsl/docsrc/html/param.xml b/lib/docbook/docbook-xsl/docsrc/html/param.xml deleted file mode 100644 index 2500e4054..000000000 --- a/lib/docbook/docbook-xsl/docsrc/html/param.xml +++ /dev/null @@ -1,1645 +0,0 @@ - - - - - -$Id: param.xml,v 1.1 2002/05/15 17:22:25 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -HTML Parameter Reference - - -
Introduction - - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - - - -This reference describes each of the HTML Stylesheet parameters. -These are the easily customizable parts of the stylesheet. -If you want to specify an alternate value for one or more of these -parameters, you can do so in a driver stylesheet. - - - -For example, if you want to change the html.stylesheet -to reference.css, you might create a driver -stylesheet like this: - - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - - <xsl:import href="/path/to/html/docbook.xsl"/> - - <xsl:param name="html.stylesheet">reference.css</xsl:param> - -</xsl:stylesheet> - - -Naturally, you have to change the -href attribute on -<xsl:import> -to point to docbook.xsl -on your system. (Or chunk.xsl, if you're using -chunking.) - - - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - - - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) - -
-
- - - -author.othername.in.middle -Is othername in author a -middle name? - - - -<xsl:param name="author.othername.in.middle" select="1" doc:type="boolean"/> - - - -If true (non-zero), the othername of an author -appears between the firstname and -surname. Otherwise, othername -is suppressed. - - - - - - -html.stylesheet -Name of the stylesheet to use in the generated HTML - - - -<xsl:param name="html.stylesheet" select="''" doc:type="string"/> - - - -The name of the stylesheet to place in the HTML LINK -tag, or the empty string to suppress the stylesheet LINK. - - - - - - -html.stylesheet.type -The type of the stylesheet used in the generated HTML - - - -<xsl:param name="html.stylesheet.type" doc:type="string">text/css</xsl:param> - - - -The type of the stylesheet to place in the HTML link tag. - - - - - - -html.base -An HTML base URI - - - -<xsl:param name="html.base" doc:type="uri"/> - - - -If html.base is set, it is used for the BASE -element in the HEAD of the HTML documents. -This is useful for dynamically served HTML where the base URI needs -to be shifted. - - - - - -ulink.target -The HTML anchor target for ULinks - - - -<xsl:param name="ulink.target" select="'_top'" doc:type="string"/> - - - -If ulink.target is set, its value will -be used for the target attribute -on anchors generated for ulinks. - - - - - -refentry.xref.manvolnum -Output manvolnum as part of -refentry cross-reference? - - - -<xsl:param name="refentry.xref.manvolnum" select="1" doc:type="boolean"/> - - - -if true (non-zero), the manvolnum is used when cross-referencing -refentrys, either with xref -or citerefentry. - - - - - - -show.comments -Display comment elements? - - - -<xsl:param name="show.comments" doc:type="boolean">1</xsl:param> - - - -If true (non-zero), comments will be displayed, otherwise they are suppressed. -Comments here refers to the comment element, -which will be renamed remark in DocBook V4.0, -not XML comments (<-- like this -->) which are unavailable. - - - - - - -funcsynopsis.style -What style of 'FuncSynopsis' should be generated? - - - -<xsl:param name="funcsynopsis.style" doc:type="list" doc:list="ansi kr">kr</xsl:param> - - - -If funcsynopsis.style is ansi, -ANSI-style function synopses are generated for a -funcsynopsis, otherwise K&R-style -function synopses are generated. - - - - - - -funcsynopsis.decoration -Decorate elements of a FuncSynopsis? - - - -<xsl:param name="funcsynopsis.decoration" select="1" doc:type="boolean"/> - - - -If true (non-zero), elements of the FuncSynopsis will be decorated (e.g. bold or -italic). The decoration is controlled by functions that can be redefined -in a customization layer. - - - - - - -function.parens -Generate parens after a function? - - - -<xsl:param name="function.parens" doc:type="boolean">0</xsl:param> - - - -If not 0, the formatting of -a function element will include -generated parenthesis. - - - - - - -refentry.generate.name -Output NAME header before 'RefName'(s)? - - - -<xsl:param name="refentry.generate.name" select="1" doc:type="boolean"/> - - - -If true (non-zero), a "NAME" section title is output before the list -of 'RefName's. - - - - - - -admon.graphics -Use graphics in admonitions? - - - -<xsl:param name="admon.graphics" select="0" doc:type="boolean"/> - - - -If true (non-zero), admonitions are presented in an alternate style that uses -a graphic. Default graphics are provided in the distribution. - - - - - - -admon.graphics.path -Path to admonition graphics - - - -<xsl:param name="admon.graphics.path" doc:type="string">images/</xsl:param> - - - -Sets the path, probably relative to the directory where the HTML -files are created, to the admonition graphics. - - - - - - -admon.graphics.extension -Extension for admonition graphics - - - -<xsl:param name="admon.graphics.extension" select="'.png'" doc:type="string"/> - - - -Sets the extension to use on admonition graphics. - - - - - -admon.style -CSS style attributes for admonitions - - - -<xsl:param name="admon.style" doc:type="string"> - <xsl:text>margin-left: 0.5in; margin-right: 0.5in;</xsl:text> -</xsl:param> - - - -Specifies the value of the STYLE -attribute that should be added to admonitions. - - - - - - -section.autolabel -Are sections enumerated? - - - -<xsl:param name="section.autolabel" select="0" doc:type="boolean"/> - - - -If true (non-zero), unlabeled sections will be enumerated. - - - - - - -section.label.includes.component.label -Do section labels include the component label? - - - -<xsl:param name="section.label.includes.component.label" select="0" doc:type="boolean"/> - - - -If true (non-zero), section labels are prefixed with the label of the -component that contains them. - - - - - - -chapter.autolabel -Are chapters and appendixes enumerated? - - - -<xsl:param name="chapter.autolabel" select="1" doc:type="boolean"/> - - - -If true (non-zero), unlabeled chapters and appendixes will be enumerated. - - - - - - -preface.autolabel -Are prefaces enumerated? - - - -<xsl:param name="preface.autolabel" select="0" doc:type="boolean"/> - - - -If true (non-zero), unlabeled prefaces will be enumerated. - - - - - - -part.autolabel -Are parts and references enumerated? - - - -<xsl:param name="part.autolabel" select="1" doc:type="boolean"/> - - - -If true (non-zero), unlabeled parts and references will be enumerated. - - - - - - -qandadiv.autolabel -Are divisions in QAndASets enumerated? - - - -<xsl:param name="qandadiv.autolabel" select="1" doc:type="boolean"/> - - - -If true (non-zero), unlabeled qandadivs will be enumerated. - - - - - - -qanda.inherit.numeration -Does enumeration of QandASet components inherit the numeration of parent elements? - - - -<xsl:param name="qanda.inherit.numeration" select="1" doc:type="boolean"/> - - - -If true (non-zero), numbered QandADiv elements and Questions and Answers inherit -the numeration of the ancestors of the QandASet. - - - - - - -qanda.defaultlabel -Sets the default for defaultlabel on QandASet. - - - -<xsl:param name="qanda.defaultlabel" doc:type="boolean" doc:list="qanda number none">number</xsl:param> - - - -If no defaultlabel attribute is specified on a QandASet, this -value is used. It must be one of the legal values for the defaultlabel -attribute. - - - - - - -generate.qandaset.toc -Is a Table of Contents created for QandASets? - - - -<xsl:param name="generate.qandaset.toc" doc:type="boolean">1</xsl:param> - - - -If true (non-zero), a ToC is constructed for QandASets. - - - - - - -generate.qandadiv.toc -Is a Table of Contents created for QandADivs? - - - -<xsl:param name="generate.qandadiv.toc" doc:type="boolean">0</xsl:param> - - - -If true (non-zero), a ToC is constructed for QandADivs. - - - - - - -biblioentry.item.separator -Text to separate bibliography entries - - - -<xsl:param name="biblioentry.item.separator" doc:type="string">. </xsl:param> - - - -Text to separate bibliography entries - - - - - - -toc.section.depth -How deep should recursive sections appear -in the TOC? - - - -<xsl:param name="toc.section.depth" doc:type="integer" doc:min="1" doc:max="10">2</xsl:param> - - - -Specifies the depth to which recursive sections should appear in the -TOC. - - - - - - -using.chunker -Will the output be chunked? - - - -<xsl:param name="using.chunker" select="0" doc:type="boolean"/> - - - -In addition to providing chunking, the chunker can cleanup a -number of XML to HTML issues. If the chunker is not being used, the -stylesheets try to avoid producing results that will not appear properly -in browsers. - - - - - - -generate.component.toc -Should TOCs be genereated in components (Chapters, Appendixes, etc.)? - - - -<xsl:param name="generate.component.toc" select="1" doc:type="boolean"/> - - - -If true (non-zero), they are. - - - - - - -generate.division.toc -Should TOCs be genereated in divisions (Books, Parts, etc.)? - - - -<xsl:param name="generate.division.toc" select="1" doc:type="boolean"/> - - - -If true (non-zero), they are. - - - - - - -link.mailto.url -Mailto URL for the LINK REL=made HTML HEAD element - - - -<xsl:param name="link.mailto.url" doc:type="string"/> - - - -If not the empty string, this address will be used for the -REL=made LINK element in the HTML HEAD. - - - - - - -graphic.default.extension -Default extension for graphic filenames - - - -<xsl:param name="graphic.default.extension" doc:type="string"/> - - - -If a graphic or mediaobject -includes a reference to a filename that does not include an extension, -and the format attribute is -unspecified, the default extension will be used. - - - - - - -toc.list.type -Type of HTML list element to use for Tables of Contents - - - -<xsl:param name="toc.list.type" doc:type="list" doc:list="dl ul ol">dl</xsl:param> - - - -When an automatically generated Table of Contents (or List of Titles) -is produced, this HTML element will be used to make the list. - - - - - - -use.id.function -Use the XPath id() function to find link targets? - - - -<xsl:param name="use.id.function" doc:type="boolean" select="'1'"/> - - - -If 1, the stylesheets use the id() function -to find the targets of cross reference elements. This is more -efficient, but only works if your XSLT processor implements the -id() function, naturally. - - -THIS PARAMETER IS NOT SUPPORTED. IT IS ALWAYS ASSUMED TO BE 1. -SEE xref.xsl IF YOU NEED TO TURN IT OFF. - - - - - -spacing.paras -Insert additional <p> elements for spacing? - - - -<xsl:param name="spacing.paras" doc:type="boolean" select="'0'"/> - - - -When non-zero, additional, empty paragraphs are inserted in -several contexts (for example, around informal figures), to create a -more pleasing visual appearance in many browsers. - - - - - - -css.decoration -Enable CSS decoration of elements - - - -<xsl:param name="css.decoration" doc:type="boolean">1</xsl:param> - - - - -If css.decoration is turned on, then HTML elements -produced by the -stylesheet may be decorated with STYLE attributes. For example, the -LI tags produced for list items may include a fragment of CSS in the -STYLE attribute which sets the CSS property "list-style-type". - - - - - - -show.revisionflag -Enable decoration of elements that have a revisionflag - - - -<xsl:param name="show.revisionflag" doc:type="boolean">0</xsl:param> - - - - -If show.revisionflag is turned on, then the stylesheets -may produce additional markup designed to allow a CSS stylesheet to -highlight elements that have specific revisionflag settings. - - - -The markup inserted will be usually be either a <span> or <div> -with an appropriate class attribute. (The value of -the class attribute will be the same as the value of the revisionflag -attribute). In some contexts, for example tables, where extra markup -would be structurally illegal, the class attribute will be added to the -appropriate container element. - - - -In general, the stylesheets only test for revisionflag in contexts -where an importing stylesheet would have to redefine whole templates. -Most of the revisionflag processing is expected to be done by another -stylesheet, for example changebars.xsl. - - - - - -suppress.navigation -Disable header and footer navigation - - - -<xsl:param name="suppress.navigation" doc:type="boolean">0</xsl:param> - - - - -If suppress.navigation is turned on, header and -footer navigation will be suppressed. - - - - - -rootid -Specify the root element to format - - - -<xsl:param name="rootid" select="''" doc:type="string"/> - - - -If rootid is specified, it must be the -value of an ID that occurs in the document being formatted. The entire -document will be loaded and parsed, but formatting will begin at the -element identified, rather than at the root. For example, this allows -you to process only chapter 4 of a book. - - -Because the entire document is available to the processor, automatic -numbering, cross references, and other dependencies are correctly -resolved. - - - - - -callout.list.table -Present callout lists using a table? - - - -<xsl:param name="callout.list.table" select="'1'" doc:type="boolean"/> - - - -The default presentation of CalloutLists uses -an HTML DL. Some browsers don't align DLs very well -if callout.graphics are used. With this option -turned on, CalloutLists are presented in an HTML -TABLE, which usually results in better alignment -of the callout number with the callout description. - - - - - -callout.graphics -Use graphics for callouts? - - - -<xsl:param name="callout.graphics" select="'1'" doc:type="boolean"/> - - - -If non-zero, callouts are presented with graphics (e.g., reverse-video -circled numbers instead of "(1)", "(2)", etc.). -Default graphics are provided in the distribution. - - - - - - -callout.graphics.extension -Extension for callout graphics - - - -<xsl:param name="callout.graphics.extension" select="'.png'" doc:type="string"/> - - - -Sets the extension to use on callout graphics. - - - - - -callout.graphics.path -Path to callout graphics - - - -<xsl:param name="callout.graphics.path" select="'images/callouts/'" doc:type="string"/> - - - -Sets the path, probably relative to the directory where the HTML -files are created, to the callout graphics. - - - - - - -callout.graphics.number.limit -Number of the largest callout graphic - - - -<xsl:param name="callout.graphics.number.limit" select="'10'" doc:type="integer"/> - - - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - -use.extensions -Enable extensions - - - -<xsl:param name="use.extensions" select="'0'" doc:type="boolean"/> - - - -If non-zero, extensions may be used. Each extension is -further controlled by its own parameter. But if -use.extensions is zero, no extensions will -be used. - - - - - - -textinsert.extension -Enable the textinsert extension element - - - -<xsl:param name="textinsert.extension" select="'1'" doc:type="boolean"/> - - - -The textinsert extension element inserts the contents of a -a file into the result tree (as text). - - - - - - -saxon.linenumbering -Enable the line numbering extension - - - -<xsl:param name="saxon.linenumbering" select="'1'" doc:type="boolean"/> - - - -If true, verbatim environments (elements that have the -format='linespecific' notation attribute: address, literallayout, -programlisting, screen, synopsis) that specify line numbering will -have, surprise, line numbers. - - - - - - -linenumbering.extension -Enable the line numbering extension - - - -<xsl:param name="linenumbering.extension" select="'1'" doc:type="boolean"/> - - - -If true, verbatim environments (elements that have the -format='linespecific' notation attribute: address, literallayout, -programlisting, screen, synopsis) that specify line numbering will -have, surprise, line numbers. - - - - - - -linenumbering.everyNth -Indicate which lines should be numbered - - - -<xsl:param name="linenumbering.everyNth" select="'5'" doc:type="integer"/> - - - -If line numbering is enabled, everyNth line will be numbered. - - - - - - -linenumbering.width -Indicates the width of line numbers - - - -<xsl:param name="linenumbering.width" select="'3'" doc:type="integer"/> - - - -If line numbering is enabled, line numbers will appear right -justified in a field "width" characters wide. - - - - - - -linenumbering.separator -Specify a separator between line numbers and lines - - - -<xsl:param name="linenumbering.separator" select="' '" doc:type="string"/> - - - -The separator is inserted between line numbers and lines in -the verbatim environment. - - - - - - -saxon.callouts -Enable the callout extension - - - -<xsl:param name="saxon.callouts" select="'1'" doc:type="boolean"/> - - - -The callouts extension processes areaset -elements in ProgramListingCO and other text-based -callout elements. - - - - - - -callouts.extension -Enable the callout extension - - - -<xsl:param name="callouts.extension" select="'1'" doc:type="boolean"/> - - - -The callouts extension processes areaset -elements in ProgramListingCO and other text-based -callout elements. - - - - - - -callout.defaultcolumn -Indicates what column callouts appear in by default - - - -<xsl:param name="callout.defaultcolumn" select="'60'" doc:type="integer"/> - - - -If a callout does not identify a column (for example, if it uses -the linerange unit), -it will appear in the default column. - - - - - - -stylesheet.result.type -Identifies the output format of this stylesheet - - - -<xsl:param name="stylesheet.result.type" select="'html'" doc:type="list" doc:list="html fo"/> - - - -The Saxon extension functions need to know if the output format -is HTML ('html') or XSL Formatting Objects ('fo'). This variable answers -that question. Valid settings are 'html' or 'fo'. - - - - - -nominal.table.width -The (absolute) nominal width of tables - - - -<xsl:param name="nominal.table.width" select="'6in'" doc:type="length"/> - - - -In order to convert CALS column widths into HTML column widths, it -is sometimes necessary to have an absolute table width to use for conversion -of mixed absolute and relative widths. This value must be an absolute -length (not a percentag). - - - - - -default.table.width -The default width of tables - - - -<xsl:param name="default.table.width" select="''" doc:type="length"/> - - - -If specified, this value will be used for the WIDTH attribute on -tables that do not specify an alternate width (with the dbhtml processing -instruction). - - - - - -saxon.tablecolumns -Enable the table columns extension function - - - -<xsl:param name="saxon.tablecolumns" select="'1'" doc:type="boolean"/> - - - -The table columns extension function adjusts the widths of table -columns in the HTML result to more accurately reflect the specifications -in the CALS table. - - - - - - -tablecolumns.extension -Enable the table columns extension function - - - -<xsl:param name="tablecolumns.extension" select="'1'" doc:type="boolean"/> - - - -The table columns extension function adjusts the widths of table -columns in the HTML result to more accurately reflect the specifications -in the CALS table. - - - - - - -generate.set.toc -FIXME: - - - -<xsl:param name="generate.set.toc" select="1" doc:type="boolean"/> - - - -FIXME: - - - - - - -generate.book.toc -FIXME: - - - -<xsl:param name="generate.book.toc" select="1" doc:type="boolean"/> - - - -FIXME: - - - - - - -generate.part.toc -FIXME: - - - -<xsl:param name="generate.part.toc" select="1" doc:type="boolean"/> - - - -FIXME: - - - - - - -generate.reference.toc -FIXME: - - - -<xsl:param name="generate.reference.toc" select="1" doc:type="boolean"/> - - - -FIXME: - - - - - - -generate.preface.toc -FIXME: - - - -<xsl:param name="generate.preface.toc" select="1" doc:type="boolean"/> - - - -FIXME: - - - - - - -generate.chapter.toc -FIXME: - - - -<xsl:param name="generate.chapter.toc" select="1" doc:type="boolean"/> - - - -FIXME: - - - - - - -generate.appendix.toc -FIXME: - - - -<xsl:param name="generate.appendix.toc" select="1" doc:type="boolean"/> - - - -FIXME: - - - - - - -generate.article.toc -FIXME: - - - -<xsl:param name="generate.article.toc" select="1" doc:type="boolean"/> - - - -FIXME: - - - - - - -generate.section.toc -Generate TOCs inside Sections? - - - -<xsl:param name="generate.section.toc" select="1" doc:type="boolean"/> - - - -If non-zero, a Table of Contents will be generated inside section -elements. Note that -generate.section.toc.level -may suppress some section TOCs. - - - - - - -generate.section.toc.level -Control depth of TOC generation in sections - - - -<xsl:param name="generate.section.toc.level" select="0" doc:type="integer"/> - - - -The generate.section.toc.level parameter -controls the depth of section in which TOCs will be generated. Note -that this is related to, but not the same as -toc.section.depth, which controls the depth to -which TOC entries will be generated in a given TOC. - - -If, for example, generate.section.toc.level -is 3, TOCs will be generated in first, second, and third -level sections, but not in fourth level sections. - - - - - - -process.source.toc -FIXME: - - - -<xsl:param name="process.source.toc" select="0" doc:type="boolean"/> - - - -FIXME: - - - - - - -process.empty.source.toc -FIXME: - - - -<xsl:param name="process.empty.source.toc" select="0" doc:type="boolean"/> - - - -FIXME: - - - - - - -bridgehead.in.toc -Should bridgehead elements appear in the TOC? - - - -<xsl:param name="bridgehead.in.toc" select="0" doc:type="boolean"/> - - - -If non-zero, bridgeheads appear in the TOC. Note that this option -is not fully supported and may be removed in a future version of the -stylesheets. - - - - - - -generate.index -FIXME: - - - -<xsl:param name="generate.index" select="1" doc:type="boolean"/> - - - -FIXME: - - - - - - -callout.unicode -FIXME: - - - -<xsl:param name="callout.unicode" select="0" doc:type="boolean"/> - - - -FIXME: - - - - - - -callout.unicode.start.character -First Unicode character to use, decimal value. - - - -<xsl:param name="callout.unicode.start.character" select="10102" doc:type="integer"/> - - - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - -callout.unicode.number.limit -Number of the largest callout graphic - - - -<xsl:param name="callout.unicode.number.limit" select="'10'" doc:type="integer"/> - - - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - -callout.unicode.font -Font to use for Unicode dingbats - - - -<xsl:param name="callout.unicode.font" select="'ZapfDingbats'"/> - - - -The name of the font to specify around Unicode callout glyphs. -If set to the empty string, no font change will occur. - - - - - - -use.id.as.filename -Use ID value of chunk elements as the filename? - - - -<xsl:param name="use.id.as.filename" select="'0'" doc:type="boolean"/> - - - -If use.id.as.filename -is non-zero, the filename of chunk elements that have IDs will be -derived from the ID value. - - - - - - -inherit.keywords -Inherit keywords from ancestor elements? - - - -<xsl:param name="inherit.keywords" select="'1'" doc:type="boolean"/> - - - -If inherit.keywords -is non-zero, the keyword META for each HTML -HEAD element will include all of the keywords from -ancestral elements. Otherwise, only the keywords from the current section -will be used. - - - - - - -label.from.part -Renumber chapters in each part? - - - -<xsl:param name="label.from.part" select="'0'" doc:type="boolean"/> - - - -If label.from.part is non-zero, components -(chapters, appendixes, etc.) -will be numbered from 1 in each part. Otherwise, -they will be numbered monotonically throughout each -book. - - - - - - -citerefentry.link -Generate URL links when cross-referencing RefEntrys? - - - -<xsl:param name="citerefentry.link" select="'0'" doc:type="boolean"/> - - - -If true, a web link will be generated, presumably -to an online man->HTML gateway. The text of the link is -generated by the generate.citerefentry.link template. - - - - - - -formal.procedures -Selects formal or informal procedures - - - -<xsl:param name="formal.procedures" select="1" doc:type="boolean"/> - - - -Formal procedures are numbered and always hav a title. - - - - - - -bibliography.collection -Name of the bibliography collection file - - - -<xsl:param name="bibliography.collection" doc:type="string" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/> - - - -Tired of copying bibliography entries from one document to another? -Now you can maintain a central bibliography and let the stylesheets do -the copying for you. This parameter identifies the file (by URI reference) -that contains your complete bibliography collection. - - - - - - -annotate.toc -Annotate the Table of Contents? - - - -<xsl:param name="annotate.toc" select="1" doc:type="boolean"/> - - - -If true, TOCs will be annotated. At present, this just means -that the RefPurpose of RefEntry -TOC entries will be displayed. - - - - - - -emphasis.propagates.style -Pass emphasis role attribute through to HTML? - - - -<xsl:param name="emphasis.propagates.style" select="1" doc:type="boolean"/> - - - -If true, the role attribute of emphasis elements -will be passed through to the HTML as a class attribute on a -span that surrounds the emphasis. - - - - - -phrase.propagates.style -Pass phrase role attribute through to HTML? - - - -<xsl:param name="phrase.propagates.style" select="1" doc:type="boolean"/> - - - -If true, the role attribute of phrase elements -will be passed through to the HTML as a class attribute on a -span that surrounds the phrase. - - - - - -runinhead.title.end.punct -Characters that count as punctuation on a run-in-head - - - -<xsl:param name="runinhead.title.end.punct" select="'.!?:'" doc:type="string"/> - - - -FIXME: - - - - - - -runinhead.default.title.end.punct -Default punctuation character on a run-in-head - - - -<xsl:param name="runinhead.default.title.end.punct" select="'.'" doc:type="string"/> - - - -FIXME: - - - -
diff --git a/lib/docbook/docbook-xsl/docsrc/jrefhtml.xsl b/lib/docbook/docbook-xsl/docsrc/jrefhtml.xsl deleted file mode 100644 index 1fc53ec4c..000000000 --- a/lib/docbook/docbook-xsl/docsrc/jrefhtml.xsl +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - -
- -
- - -
- - - - - - -
-
- - -
- - - - - - - Author - - -
-
- - -
- - - - - - - Version - - -
-
- - -
- - - - - - - Parameters - - -
-
- - -
- - - - - - - Returns - - -
-
- - -
- - - - - - - Exceptions - - -
-
- - -
- - - - - - - See - - -
-
- - -
- - - - - - - Since - - -
-
- - -
- - - - - - - Serial - - -
-
- - -
- - - - - - - Deprecated - - -
-
- - - -
diff --git a/lib/docbook/docbook-xsl/docsrc/legalnotice.xml b/lib/docbook/docbook-xsl/docsrc/legalnotice.xml deleted file mode 100644 index 06bb66943..000000000 --- a/lib/docbook/docbook-xsl/docsrc/legalnotice.xml +++ /dev/null @@ -1,37 +0,0 @@ -Copyright Statement - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation files -(the Software), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished -to do so, subject to the following conditions: - - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -Except as contained in this notice, the names of individuals -credited with contribution to this software shall not be used in -advertising or otherwise to promote the sale, use or other dealings in -this Software without prior written authorization from the individuals -in question. - -Any stylesheet derived from this Software that is publically -distributed will be identified with a different name and the version -strings in any derived Software will be changed so that no possibility -of confusion between the derived package and this Software will -exist. - - -Warranty -THE SOFTWARE IS PROVIDED AS IS, -WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY -OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT -OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/lib/docbook/docbook-xsl/docsrc/lib/ChangeLog b/lib/docbook/docbook-xsl/docsrc/lib/ChangeLog deleted file mode 100644 index ca59668ce..000000000 --- a/lib/docbook/docbook-xsl/docsrc/lib/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -2001-04-03 Norman Walsh - - * Makefile: Documentation fixes - -2001-04-02 Norman Walsh - - * .cvsignore, Makefile: New file. - diff --git a/lib/docbook/docbook-xsl/docsrc/lib/lib.xml b/lib/docbook/docbook-xsl/docsrc/lib/lib.xml deleted file mode 100644 index ca2d021f0..000000000 --- a/lib/docbook/docbook-xsl/docsrc/lib/lib.xml +++ /dev/null @@ -1,126 +0,0 @@ - - - - - -$Id: lib.xml,v 1.1 2002/05/15 17:22:25 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -Library Template Reference - - -
Introduction - - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - - - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - - - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) - -
-
- - - -string.subst -Substitute one text string for another in a string - - -<xsl:template name="string.subst"> -<xsl:param name="string"/> -<xsl:param name="target"/> -<xsl:param name="replacement"/> - ... -</xsl:template> - - - -The string.subst template replaces all -occurances of target in string -with replacement and returns the result. - - - - - - -xpointer.idref -Extract IDREF from an XPointer - - -<xsl:template name="xpointer.idref"> -<xsl:param name="xpointer">http://...</xsl:param> - ... -</xsl:template> - - - -The xpointer.idref template returns the -ID portion of an XPointer which is a pointer to an ID within the current -document, or the empty string if it is not. - - -In other words, xpointer.idref returns -foo when passed either #foo -or #xpointer(id('foo')), otherwise it returns -the empty string. - - - - - -length-magnitude -Return the unqualified dimension from a length specification - - -<xsl:template name="length-magnitude"> -<xsl:param name="length" select="'0pt'"/> - ... -</xsl:template> - - - -The length-magnitude template returns the -unqualified length ("20" for "20pt") from a dimension. - - - - - - -length-spec -Return a fully qualified length specification - - -<xsl:template name="length-spec"> -<xsl:param name="length" select="'0pt'"/> -<xsl:param name="default.units" select="'pt'"/> - ... -</xsl:template> - - - -The length-spec template returns the -qualified length from a dimension. If an unqualified length is given, -the default.units will be added to it. - - - -
diff --git a/lib/docbook/docbook-xsl/docsrc/publishing.xml b/lib/docbook/docbook-xsl/docsrc/publishing.xml deleted file mode 100644 index ce3efcb5a..000000000 --- a/lib/docbook/docbook-xsl/docsrc/publishing.xml +++ /dev/null @@ -1,1019 +0,0 @@ - - - -$Id: publishing.xml,v 1.1 2002/05/15 17:22:24 isberg Exp $ - -Stayton -Bob -2000Bob Stayton - - -DocBook XSL - - - Using XSL tools to publish DocBook - documents - There is a growing list of tools to process DocBook - documents using XSL stylesheets. Each tool implements parts - or all of the XSL standard, which actually has several - components: - - - Extensible Stylesheet Language (XSL) - - A language for expressing stylesheets written - in XML. It includes the formatting object language, but - refers to separate documents for the transformation - language and the path language. - - - - XSL Transformation (XSLT) - - The part of XSL for transforming XML documents - into other XML documents, HTML, or text. It can be used to - rearrange the content and generate new content. - - - - XML Path Language (XPath) - - A language for addressing parts of an XML - document. It is used to find the parts of your document to - apply different styles to. All XSL processors use this - component. - - - -To publish HTML from your XML documents, you just - need an XSLT engine. To get to print, you need an XSLT - engine to produce formatting objects (FO), which then must - be processed with a formatting object processor to produce - PostScript or PDF output. -James Clark's XT was the first useful XSLT engine, - and it is still in wide use. It is written in Java, so it - runs on many platforms, and it is free ( - http://www.jclark.com). - XT comes with James Clark's nonvalidating parser XP, but - you can substitute a different Java parser. Here is a - simple example of using XT from the Unix command line to - produce HTML: You'll need to alter your - CLASSPATH environment variable to - include the path to where you put the - .jar files from the XT - distribution. -CLASSPATH=xt.jar:xp.jar:sax.jar -export CLASSPATH -java com.jclark.xsl.sax.Driver filename.xml docbook/html/docbook.xsl > output.html -If you replace the HTML stylesheet with a - formatting object stylesheet, XT will produce a formatting - object file. Then you can convert that to PDF using FOP, a - formatting object processor available for free from the - Apache XML Project ( - http://xml.apache.org). - Here is an example of that two stage processing: -CLASSPATH=xt.jar:xp.jar:sax.jar:fop.jar -export CLASSPATH -java com.jclark.xsl.sax.Driver filename.xml docbook/fo/docbook.xsl > output.fo -java org.apache.fop.apps.CommandLine output.fo output.pdf -As of this writing, some other XSLT processors to - choose from include: - - - 4XSLT, written in Python, from FourThought LLC ( - http://www.fourthought.com) - - -Sablotron, written in C++, from Ginger Alliance ( - - http://www.gingerall.com) - - -Saxon, written in Java, from Michael Kay ( - http://users.iclway.co.uk/mhkay/saxon) - - -Xalan, written in Java, from the Apache XML - Project ( - http://xml.apache.org) - - -XML::XSLT,written in Perl, from Geert Josten and - Egon Willighagen ( - http://www.cpan.org) - - -For print output, these additional tools are available for processing formatting objects: -XEP (written in Java) from - RenderX ( - http://www.renderx.com).PassiveTeX from Sebastian Rahtz (http://users.ox.ac.uk/~rahtz/passivetex/). - -A brief introduction to XSL -XSL is both a transformation language and a - formatting language. The XSLT transformation part lets you - scan through a document's structure and rearrange its - content any way you like. You can write out the content - using a different set of XML tags, and generate text as - needed. For example, you can scan through a document to - locate all headings and then insert a generated table of - contents at the beginning of the document, at the same time - writing out the content marked up as HTML. XSL is also a - rich formatting language, letting you apply typesetting - controls to all components of your output. With a good - formatting backend, it is capable of producing high quality - printed pages. -An XSL stylesheet is written using XML syntax, and is - itself a well-formed XML document. That makes the basic - syntax familiar, and enables an XML processor to check for - basic syntax errors. The stylesheet instructions use - special element names, which typically begin with - xsl: to distinguish them from any XML - tags you want to appear in the output. The XSL namespace is - identified at the top of the stylesheet file. As with other - XML, any XSL elements that are not empty will require a - closing tag. And some XSL elements have specific attributes - that control their behavior. It helps to keep a good XSL - reference book handy. -Here is an example of a simple XSL stylesheet applied - to a simple XML file to generate HTML output. - -Simple XML file -<?xml version="1.0"?> -<document> -<title>Using a mouse</title> -<para>It's easy to use a mouse. Just roll it -around and click the buttons.</para> -</document> - - -Simple XSL stylesheet -<?xml version='1.0'?> -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> -<xsl:output method="html"/> - -<xsl:template match="document"> - <HTML><HEAD><TITLE> - <xsl:value-of select="./title"/> - </TITLE> - </HEAD> - <BODY> - <xsl:apply-templates/> - </BODY> - </HTML> -</xsl:template> - -<xsl:template match="title"> - <H1><xsl:apply-templates/></H1> -</xsl:template> - -<xsl:template match="para"> - <P><xsl:apply-templates/></P> -</xsl:template> - -</xsl:stylesheet> - - - -HTML output -<HTML> -<HEAD> -<TITLE>Using a mouse</TITLE> -</HEAD> -<BODY> -<H1>Using a mouse</H1> -<P>It's easy to use a mouse. Just roll it -around and click the buttons.</P> -</BODY> -</HTML> - - - - -XSL processing model -XSL is a template language, not a procedural -language. That means a stylesheet specifies a sample of the -output, not a sequence of programming steps to generate it. -A stylesheet consists of a mixture of output samples with -instructions of what to put in each sample. Each bit of -output sample and instructions is called -a template. -In general, you write a template for each element -type in your document. That lets you concentrate on -handling just one element at a time, and keeps a stylesheet -modular. The power of XSL comes from processing the -templates recursively. That is, each template handles the -processing of its own element, and then calls other -templates to process its children, and so on. Since an XML -document is always a single root element at the top level -that contains all of the nested descendent elements, the -XSL templates also start at the top and work their way down -through the hierarchy of elements. -Take the -DocBook <para> paragraph element as -an example. To convert this to HTML, you want to wrap the -paragraph content with the HTML -tags <p> and </p>. -But a DocBook <para> can contain -any number of in-line DocBook elements marking up the text. -Fortunately, you can let other templates take care of those -elements, so your XSL template -for <para> can be quite -simple: -<xsl:template match="para"> - <p> - <xsl:apply-templates/> - </p> -</xsl:template> - -The <xsl:template> element -starts a new template, and -its match attribute indicates where to -apply the template, in this case to -any <para> elements. The template -says to output a literal <p> string -and then execute -the <xsl:apply-templates/> instruction. -This tells the XSL processor to look among all the -templates in the stylesheet for any that should be applied -to the content of the paragraph. If each template in the -stylesheet includes -an <xsl:apply-templates/> instruction, -then all descendents will eventually be processed. When it -is through recursively applying templates to the paragraph -content, it outputs the </p> closing -tag. - -Context is important -Since you aren't writing a linear procedure to -process your document, the context of where and how to -apply each modular template is important. -The match attribute -of <xsl:template> provides that -context for most templates. There is an entire expression -language, XPath, for identifying what parts of your -document should be handled by each template. The simplest -context is just an element name, as in the example above. -But you can also specify elements as children of other -elements, elements with certain attribute values, the first -or last elements in a sequence, and so on. Here is how the -DocBook <formalpara> element is -handled: -<xsl:template match="formalpara"> - <p> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="formalpara/title"> - <b><xsl:apply-templates/></b> - <xsl:text> </xsl:text> -</xsl:template> - -<xsl:template match="formalpara/para"> - <xsl:apply-templates/> -</xsl:template> - -There are three templates defined, one for -the <formalpara> element itself, - and one for each of its children elements. The match attribute -value formalpara/title in the second -template is an XPath expression indicating -a <title> element that is an -immediate child of -a <formalpara> element. This -distinguishes such titles from -other <title> elements used in -DocBook. XPath expressions are the key to controlling how -your templates are applied. -In general, the XSL processor has internal rules that -apply templates that are more specific before templates -that are less specific. That lets you control the details, -but also provides a fallback mechanism to a less specific -template when you don't supply the full context for every -combination of elements. This feature is illustrated by the -third template, for formalpara/para. By -including this template, the stylesheet processes a <para> within <formalpara> in -a special way, in this case by not outputting the HTML <p> tags already output by its parent. If this template had not been included, then the processor would have fallen back to the template -specified by match="para" described -above, which would have output a second set of <p> tags. -You can also control template context with -XSL modes, which are used extensively -in the DocBook stylesheets. Modes let you process the same -input more than once in different ways. -A mode attribute in -an <xsl:template> definition adds a -specific mode name to that template. When the same mode -name is used -in <xsl:apply-templates/>, it acts -as a filter to narrow the selection of templates to only -those selected by -the match expression and that -have that mode name. This lets you define two different -templates for the same element match that are applied under -different contexts. For example, there are two templates -defined for -DocBook <listitem> elements: -<xsl:template match="listitem"> - <li><xsl:apply-templates/></li> -</xsl:template> - -<xsl:template match="listitem" mode="xref"> - <xsl:number format="1"/> -</xsl:template> - -The first template is for the normal list item -context where you want to output the -HTML <li> tags. The second template -is called with <xsl:apply-templates -select="$target" mode="xref"/> in the context -of processing <xref> elements. In -this case the select attribute locates -the ID of the specific list item and -the mode attribute selects the second -template, whose effect is to output its item number when it -is in an ordered list. Because there are many such special -needs when -processing <xref> elements, it is -convenient to define a mode name xref to -handle them all. Keep in mind that mode settings -do not automatically get passed down to -other templates -through <xsl:apply-templates/>. - - -Programming features -Although XSL is template-driven, it also has some -features of traditional programming languages. Here are -some examples from the DocBook stylesheets. -Assign a value to a variable: -<xsl:variable name="refelem" select="name($target)"/> - -If statement: -<xsl:if test="$show.comments"> - <i><xsl:call-template name="inline.charseq"/></i> -</xsl:if> - -Case statement: -<xsl:choose> - <xsl:when test="@columns"> - <xsl:value-of select="@columns"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> -</xsl:choose> - -Call a template by name like a subroutine, passing parameter values and accepting a return value: -<xsl:call-template name="xref.xreflabel"> - <xsl:with-param name="target" select="$target"/> -</xsl:call-template> - -However, you can't always use these constructs as you -do in other programming languages. Variables in particular -have very different behavior. - -Using variables and parameters -XSL provides two elements that let you assign a value -to a -name: <xsl:variable> and <xsl:param>. -These share the same name space and syntax for assigning -names and values. Both can be referred to using -the $name syntax. The main difference -between these two elements is that a param's value acts as -a default value that can be overridden when a template is -called using -a <xsl:with-param> element as in the -last example above. -Here are two examples from DocBook: -<xsl:param name="cols">1</xsl:param> -<xsl:variable name="segnum" select="position()"/> - -In both elements, the name of the parameter or -variable is specified with -the name attribute. So the name of -the param here -is cols and the name of -the variable is segnum. -The value of either can be supplied in two ways. The value -of the first example is the text node "1" and is supplied -as the content of the element. The value of the second -example is supplied as the result of the expression in -its select attribute, and the element -itself has no content. -The feature of XSL variables that is odd to new users -is that once you assign a value to a variable, you cannot -assign a new value within the same scope. Doing so will -generate an error. So variables are not used as dynamic -storage bins they way they are in other languages. They -hold a fixed value within their scope of application, and -then disappear when the scope is exited. This feature is a -result of the design of XSL, which is template-driven and -not procedural. This means there is no definite order of -processing, so you can't rely on the values of changing -variables. To use variables in XSL, you need to understand -how their scope is defined. -Variables defined outside of all templates are -considered global variables, and they are readable within -all templates. The value of a global variable is fixed, and -its global value can't be altered from within any template. -However, a template can create a local variable of the same -name and give it a different value. That local value -remains in effect only within the scope of the local -variable. -Variables defined within a template remain in effect -only within their permitted scope, which is defined as all -following siblings and their descendants. To understand -such a scope, you have to remember that XSL instructions -are true XML elements that are embedded in an XML family -hierarchy of XSL elements, often referred to as parents, -children, siblings, ancestors and descendants. Taking the -family analogy a step further, think of a variable -assignment as a piece of advice that you are allowed to -give to certain family members. You can give your advice -only to your younger siblings (those that follow you) and -their descendents. Your older siblings won't listen, -neither will your parents or any of your ancestors. To -stretch the analogy a bit, it is an error to try to give -different advice under the same name to the same group of -listeners (in other words, to redefine the variable). Keep -in mind that this family is not the elements of your -document, but just the XSL instructions in your stylesheet. -To help you keep track of such scopes in hand-written -stylesheets, it helps to indent nested XSL elements. Here -is an edited snippet from the DocBook stylesheet -file pi.xsl that illustrates different -scopes for two variables: - - 1 <xsl:template name="dbhtml-attribute"> - 2 ... - 3 <xsl:choose> - 4 <xsl:when test="$count>count($pis)"> - 5 <!-- not found --> - 6 </xsl:when> - 7 <xsl:otherwise> - 8 <xsl:variable name="pi"> - 9 <xsl:value-of select="$pis[$count]"/> -10 </xsl:variable> -11 <xsl:choose> -12 <xsl:when test="contains($pi,concat($attribute, '='))"> -13 <xsl:variable name="rest" select="substring-after($pi,concat($attribute,'='))"/> -14 <xsl:variable name="quote" select="substring($rest,1,1)"/> -15 <xsl:value-of select="substring-before(substring($rest,2),$quote)"/> -16 </xsl:when> -17 <xsl:otherwise> -18 ... -19 </xsl:otherwise> -20 </xsl:choose> -21 </xsl:otherwise> -22 </xsl:choose> -23 </xsl:template> - - -The scope of the variable pi begins -on line 8 where it is defined in this template, and ends on -line 20 when its last sibling ends.Technically, the scope extends to the end tag of the parent of the <xsl:variable> element. That is effectively the last sibling. The scope of the -variable rest begins on line 13 and ends -on line 15. Fortunately, line 15 outputs an expression -using the value before it goes out of scope. -What happens when -an <xsl:apply-templates/> element -is used within the scope of a local variable? Do the -templates that are applied to the document children get the -variable? The answer is no. The templates that are applied -are not actually within the scope of the variable. They -exist elsewhere in the stylesheet and are not following -siblings or their descendants. -To pass a value to another template, you pass a -parameter using -the <xsl:with-param> element. This -parameter passing is usually done with calls to a specific -named template -using <xsl:call-template>, although -it works -with <xsl:apply-templates> too. -That's because the called template must be expecting the -parameter by defining it using -a <xsl:param> element with the same -parameter name. Any passed parameters whose names are not -defined in the called template are ignored. -Here is an example of parameter passing -from docbook.xsl: -<xsl:call-template name="head.content"> - <xsl:with-param name="node" select="$doc"/> -</xsl:call-template> - -Here a template -named head.content is being called and -passed a parameter named node whose -content is the value of the $doc variable -in the current context. The top of that template looks like -this: -<xsl:template name="head.content"> - <xsl:param name="node" select="."/> - -The template is expecting the parameter because it -has a <xsl:param> defined with the -same name. The value in this definition is the default -value. This would be the parameter value used in the -template if the template was called without passing that -parameter. - - - -Generating HTML output. -You generate HTML from your DocBook XML files by -applying the HTML version of the stylesheets. This is done -by using the HTML driver -file docbook/html/docbook.xsl as your -stylesheet. That is the master stylesheet file that -uses <xsl:include> to pull in the -component files it needs to assemble a complete stylesheet -for producing HTML. -The way the DocBook stylesheet generates HTML is to -apply templates that output a mix of text content and HTML -elements. Starting at the top level in the main -file docbook.xsl: -<xsl:template match="/"> - <xsl:variable name="doc" select="*[1]"/> - <html> - <head> - <xsl:call-template name="head.content"> - <xsl:with-param name="node" select="$doc"/> - </xsl:call-template> - </head> - <body> - <xsl:apply-templates/> - </body> - </html> -</xsl:template> - -This template matches the root element of your input -document, and starts the process of recursively applying -templates. It first defines a variable -named doc and then outputs two literal -HTML elements <html> and <head>. -Then it calls a named -template head.content to process the -content of the HTML <head>, closes -the <head> and starts -the <body>. There it -uses <xsl:apply-templates/> to -recursively process the entire input document. Then it just -closes out the HTML file. -Simple HTML elements can generated as literal -elements as shown here. But if the HTML being output -depends on the context, you need something more powerful to -select the element name and possibly add attributes and -their values. Here is a fragment -from sections.xsl that shows how a -heading tag is generated using -the <xsl:element> and <xsl:attribute> elements: - - 1 <xsl:element name="h{$level}"> - 2 <xsl:attribute name="class">title</xsl:attribute> - 3 <xsl:if test="$level<3"> - 4 <xsl:attribute name="style">clear: all</xsl:attribute> - 5 </xsl:if> - 6 <a> - 7 <xsl:attribute name="name"> - 8 <xsl:call-template name="object.id"/> - 9 </xsl:attribute> -10 <b><xsl:copy-of select="$title"/></b> -11 </a> -12 </xsl:element> - -This whole example is generating a single HTML -heading element. Line 1 begins the HTML element definition -by identifying the name of the element. In this case, the -name is an expression that includes the -variable $level passed as a parameter to -this template. Thus a single template can -generate <h1>, <h2>, -etc. depending on the context in which it is called. Line 2 -defines a class="title" attribute that is -added to this element. Lines 3 to 5 add -a style="clear all" attribute, but only -if the heading level is less than 3. Line 6 opens -an <a> anchor element. Although this -looks like a literal output string, it is actually modified -by lines 7 to 9 that insert -the name attribute into -the <a> element. This illustrates -that XSL is managing output elements as active element -nodes, not just text strings. Line 10 outputs the text of -the heading title, also passed as a parameter to the -template, enclosed in HTML boldface tags. Line 11 closes -the anchor tag with the -literal </a> syntax, while line 12 -closes the heading tag by closing the element definition. -Since the actual element name is a variable, it couldn't -use the literal syntax. -As you follow the sequence of nested templates -processing elements, you might be wondering how the -ordinary text of your input document gets to the output. In -the file docbook.xsl you will find -this template that handles any text not processed by any -other template: -<xsl:template match="text()"> - <xsl:value-of select="."/> -</xsl:template> - -This template's body consists of the "value" of the text node, -which is just its text. In general, all XSL processors have -some built-in templates to handle any content for which -your stylesheet doesn't supply a matching template. This -template serves the same function but appears explicitly in -the stylesheet. - - -Generating formatting objects. -You generate formatting objects from your DocBook XML -files by applying the fo version of the stylesheets. This -is done by using the fo driver -file docbook/fo/docbook.xsl as your -stylesheet. That is the master stylesheet file that -uses <xsl:include> to pull in the -component files it needs to assemble a complete stylesheet -for producing formatting objects. Generating a formatting -objects file is only half the process of producing typeset -output. You also need a formatting object processor such as -the Apache XML Project's FOP as described in an earlier -section. -The DocBook fo stylesheet works in a similar manner -to the HTML stylesheet. Instead of outputting HTML tags, it -outputs text marked up -with <fo:something> tags. -For example, to indicate that some text should be kept -in-line and typeset with a monospace font, it might look -like this: -<fo:inline-sequence font-family="monospace">/usr/man</fo:inline-sequence> -The templates -in docbook/fo/inline.xsl that produce -this output for a -DocBook <filename> element look -like this: -<xsl:template match="filename"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template name="inline.monoseq"> - <xsl:param name="content"> - <xsl:apply-templates/> - </xsl:param> - <fo:inline-sequence font-family="monospace"> - <xsl:copy-of select="$content"/> - </fo:inline-sequence> -</xsl:template> - -There are dozens of fo tags and attributes specified -in the XSL standard. It is beyond the scope of this -document to cover how all of them are used in the DocBook -stylesheets. Fortunately, this is only an intermediate -format that you probably won't have to deal with very much -directly unless you are writing your own -stylesheets. - - - -Customizing DocBook XSL stylesheets -The DocBook XSL stylesheets are written in a modular -fashion. Each of the HTML and FO stylesheets starts with a -driver file that assembles a collection of component files -into a complete stylesheet. This modular design puts similar things together into smaller files that are easier to write and maintain than one big stylesheet. The modular stylesheet files -are distributed among four directories: - - -common/ - -contains code common to both stylesheets, including localization data - - - -fo/ - -a stylesheet that produces XSL FO result trees - - - -html/ - -a stylesheet that produces HTML/XHTML result trees - - - -lib/ - -contains schema-independent functions - - - - - -The driver files for each of HTML and FO stylesheets -are html/docbook.xsl and fo/docbook.xsl, -respectively. A driver file consists mostly of a bunch -of <xsl:include> instructions to -pull in the component templates, and then defines some -top-level templates. For example: -<xsl:include href="../VERSION"/> -<xsl:include href="../lib/lib.xsl"/> -<xsl:include href="../common/l10n.xsl"/> -<xsl:include href="../common/common.xsl"/> -<xsl:include href="autotoc.xsl"/> -<xsl:include href="lists.xsl"/> -<xsl:include href="callout.xsl"/> -... -<xsl:include href="param.xsl"/> -<xsl:include href="pi.xsl"/> - -The first four modules are shared with the FO -stylesheet and are referenced using relative pathnames to -the common directories. Then the long list of component -stylesheets starts. Pathnames in include statements are -always taken to be relative to the including file. Each -included file must be a valid XSL stylesheet, which means -its root element must -be <xsl:stylesheet>. - -Stylesheet inclusion vs. importing -XSL actually provides two inclusion -mechanisms: <xsl:include> and <xsl:import>. -Of the two, <xsl:include> is -the simpler. It treats the included content as if it were -actually typed into the file at that point, and doesn't -give it any more or less precedence relative to the -surrounding text. It is best used when assembling -dissimilar templates that don't overlap what they match. -The DocBook driver files use this instruction to assemble a -set of modules into a stylesheet. -In contrast, <xsl:import> lets -you manage the precedence of templates and variables. It is -the preferred mode of customizing another stylesheet because -it lets you override definitions in the distributed -stylesheet with your own, without altering the distribution -files at all. You simply import the whole stylesheet and -add whatever changes you want. -The precedence rules for import are detailed and -rigorously defined in the XSL standard. The basic rule is -that any templates and variables in the importing -stylesheet have precedence over equivalent templates and -variables in the imported stylesheet. Think of the imported stylesheet elements as a fallback collection, to be used only if a match is not found in the current stylesheet. You can customize the templates you want to change in your stylesheet file, and let the imported stylesheet handle the rest. - -Customizing a DocBook XSL stylesheet is the opposite -of customizing a DocBook DTD. When you customize a DocBook -DTD, the rules of XML and SGML dictate that -the first of any duplicate declarations -wins. Any subsequent declarations of the same element or -entity are ignored. The architecture of the DTD provides -slots for inserting your own custom declarations early -enough in the DTD for them to override the standard -declarations. In contrast, customizing an XSL stylesheet is -simpler because your definitions have precedence over imported ones. - -You can carry modularization to deeper levels because -module files can also include or import other modules. -You'll need to be careful to maintain the precedence that -you want as the modules get rolled up into a complete -stylesheet. - - -Customizing -with <literal><xsl:import></literal> -There is currently one example of customizing -with <xsl:import> in the HTML -version of the DocBook stylesheets. -The xtchunk.xsl stylesheet modifies the -HTML processing to output many smaller HTML files rather -than a single large file per input document. It uses XSL -extensions defined only in the XSL -processor XT. In the driver -file xtchunk.xsl, the first instruction -is <xsl:import -href="docbook.xsl"/>. That instruction imports -the original driver file, which in turn uses -many <xsl:include> instructions to -include all the modules. That single import instruction -gives the new stylesheet the complete set of DocBook -templates to start with. -After the -import, xtchunk.xsl redefines some of -the templates and adds some new ones. Here is one example -of a redefined template: -Original template in autotoc.xsl -<xsl:template name="href.target"> - <xsl:param name="object" select="."/> - <xsl:text>#</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> -</xsl:template> - -New template in xtchunk.xsl -<xsl:template name="href.target"> - <xsl:param name="object" select="."/> - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$object"/> - </xsl:call-template> - </xsl:variable> - - <xsl:apply-templates mode="chunk-filename" select="$object"/> - - <xsl:if test="$ischunk='0'"> - <xsl:text>#</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -The new template handles the more complex processing -of HREFs when the output is split into many HTML files. -Where the old template could simply -output #object.id, -the new one outputs filename#object.id. - - -Setting stylesheet variables -You may not have to define any new templates, -however. The DocBook stylesheets are parameterized using -XSL variables rather than hard-coded values for many of the -formatting features. Since -the <xsl:import> mechanism also -lets you redefine global variables, this gives you an easy -way to customize many features of the DocBook -stylesheets. Over time, more features will be parameterized to permit customization. If you find hardcoded values in the stylesheets that would be useful to customize, please let the maintainer know. -Near the end of the list of includes in the main -DocBook driver file is the -instruction <xsl:include -href="param.xsl"/>. -The param.xsl file is the most -important module for customizing a DocBook XSL stylesheet. -This module contains no templates, only definitions of -stylesheet variables. Since these variables are defined -outside of any template, they are global variables and -apply to the entire stylesheet. By redefining these -variables in an importing stylesheet, you can change the -behavior of the stylesheet. -To create a customized DocBook stylesheet, you simply -create a new stylesheet file such -as mystyle.xsl that imports the standard -stylesheet and adds your own new variable definitions. Here -is an example of a complete custom stylesheet that changes -the depth of sections listed in the table of contents from -two to three: -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0' - xmlns="http://www.w3.org/TR/xhtml1/transitional" - exclude-result-prefixes="#default"> - -<xsl:import href="docbook.xsl"/> - -<xsl:variable name="toc.section.depth">3</xsl:variable> -<!-- Add other variable definitions here --> - -</xsl:stylesheet> - -Following the opening stylesheet element are the -import instruction and one variable definition. The -variable toc.section.depth was defined -in param.xsl with value "2", and here -it is defined as "3". Since the importing stylesheet takes -precedence, this new value is used. Thus documents -processed with mystyle.xsl instead -of docbook.xsl will have three levels -of sections in the tables of contents, and all other -processing will be the same. -Use the list of variables -in param.xsl as your guide for creating -a custom stylesheet. If the changes you want are controlled -by a variable there, then customizing is easy. - - - -Writing your own templates -If the changes you want are more extensive than what -is supported by variables, you can write new templates. You -can put your new templates directly in your importing -stylesheet, or you can modularize your importing stylesheet -as well. You can write your own stylesheet module -containing a collection of templates for processing lists, -for example, and put them in a file -named mylists.xsl. Then your importing -stylesheet can pull in your list templates with -a <xsl:include -href="mylists.xsl"/> instruction. Since your -included template definitions appear after the main import -instruction, your templates will take precedence. -You'll need to make sure your new templates are -compatible with the remaining modules, which means: - - -Any named templates should use the same name so -calling templates in other modules can find them. - - -Your template set should process the same elements -matched by templates in the original module, to ensure -complete coverage. - - -Include the same set -of <xsl:param> elements in each -template to interface properly with any calling templates, -although you can set different values for your -parameters. - - -Any templates that are used like subroutines to -return a value should return the same data type. - - - - -Writing your own driver -Another approach to customizing the stylesheets is to -write your own driver file. Instead of -using <xsl:import -href="docbook.xsl"/>, you copy that file to a -new name and rewrite any of -the <xsl:include/> instructions to -assemble a custom collection of stylesheet modules. One -reason to do this is to speed up processing by reducing the -size of the stylesheet. If you are using a customized -DocBook DTD that omits many elements you never use, you -might be able to omit those modules of the -stylesheet. - - -Localization -The DocBook stylesheets include features for -localizing generated text, that is, printing any generated -text in a language other than the default English. In -general, the stylesheets will switch to the language -identified by a lang attribute when -processing elements in your documents. If your documents -use the lang attribute, then you don't -need to customize the stylesheets at all for -localization. -As far as the stylesheets go, -a lang attribute is inherited by the -descendents of a document element. The stylesheet searches -for a lang attribute using this XPath -expression: -<xsl:variable name="lang-attr" - select="($target/ancestor-or-self::*/@lang - |$target/ancestor-or-self::*/@xml:lang)[last()]"/> - -This locates the attribute on the current element or -its most recent ancestor. Thus -a lang attribute is in effect for an -element and all of its descendents, unless it is reset in -one of those descendents. If you define it in only your -document root element, then it applies to the whole -document: -<?xml version="1.0"?> -<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN" "docbook.dtd"> -<book lang="fr"> -... -</book> -When text is being generated, the stylesheet checks -the most recent lang attribute and looks -up the generated text strings for that language in a -localization XML file. These are located in -the common directory of the -stylesheets, one file per language. Here is the top of the -file fr.xml: -<localization language="fr"> - -<gentext key="abstract" text="R&#x00E9;sum&#x00E9;"/> -<gentext key="answer" text="R:"/> -<gentext key="appendix" text="Annexe"/> -<gentext key="article" text="Article"/> -<gentext key="bibliography" text="Bibliographie"/> -... - -The stylesheet templates use the gentext key names, -and then the stylesheet looks up the associated text value -when the document is processed with that lang setting. The -file l10n.xml (note -the .xml suffix) lists the filenames of -all the supported languages. -You can also create a custom stylesheet that sets the -language. That might be useful if your documents don't make -appropriate use of the lang attribute. -The module l10n.xsl defines two global -variables that can be overridden with an importing -stylesheet as described above. Here are their default -definitions: -<xsl:variable name="l10n.gentext.language"></xsl:variable> -<xsl:variable name="l10n.gentext.default.language">en</xsl:variable> - -The first one sets the language for all elements, -regardless of an element's lang attribute -value. The second just sets a default language for any -elements that haven't got a lang setting -of their own (or their ancestors). - - - diff --git a/lib/docbook/docbook-xsl/docsrc/reference.xml b/lib/docbook/docbook-xsl/docsrc/reference.xml deleted file mode 100644 index ddd63f8a7..000000000 --- a/lib/docbook/docbook-xsl/docsrc/reference.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - -]> - - -DocBook XSL Stylesheet Reference Documentation - -$Id: reference.xml,v 1.1 2002/05/15 17:22:24 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - - -Preface - -This constitutes only the most rudimentary beginnings of -documentation for these stylesheets. - -At present, the only documentation available is the set -of references generated from the stylesheet sources: - - - - - - - - - - - - - - - - -The reference to the template system is also available, -but at this point it's probably even less useful than the preceding -references. - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/docsrc/template-example.xml b/lib/docbook/docbook-xsl/docsrc/template-example.xml deleted file mode 100644 index abb3dbd1e..000000000 --- a/lib/docbook/docbook-xsl/docsrc/template-example.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - <author/> - <edition/> - </t:titlepage-content> -</t:titlepage> -</t:templates> diff --git a/lib/docbook/docbook-xsl/docsrc/template-example.xsl b/lib/docbook/docbook-xsl/docsrc/template-example.xsl deleted file mode 100644 index c72e25b46..000000000 --- a/lib/docbook/docbook-xsl/docsrc/template-example.xsl +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<!-- This stylesheet was created by titlepage.xsl; do not edit it by hand. --> - -<xsl:import href="/path/to/html/docbook.xsl"/> - -<xsl:template name="article.titlepage.recto"><xsl:apply-templates mode="article.titlepage.recto.mode" select="(articleinfo/title|artheader/title|title)[1]|articleinfo/author|artheader/author|articleinfo/edition|artheader/edition"/> -</xsl:template> - -<xsl:template name="article.titlepage"> - <div class="titlepage"> - <xsl:call-template name="article.titlepage.before.recto"/> - <xsl:call-template name="article.titlepage.recto"/> - <xsl:call-template name="article.titlepage.before.verso"/> - <xsl:call-template name="article.titlepage.verso"/> - <xsl:call-template name="article.titlepage.separator"/> - </div> -</xsl:template> - -</xsl:stylesheet> \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/docsrc/template/ChangeLog b/lib/docbook/docbook-xsl/docsrc/template/ChangeLog deleted file mode 100644 index ca59668ce..000000000 --- a/lib/docbook/docbook-xsl/docsrc/template/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -2001-04-03 Norman Walsh <nwalsh@users.sourceforge.net> - - * Makefile: Documentation fixes - -2001-04-02 Norman Walsh <nwalsh@users.sourceforge.net> - - * .cvsignore, Makefile: New file. - diff --git a/lib/docbook/docbook-xsl/docsrc/template/titlepage.xml b/lib/docbook/docbook-xsl/docsrc/template/titlepage.xml deleted file mode 100644 index f85a2f672..000000000 --- a/lib/docbook/docbook-xsl/docsrc/template/titlepage.xml +++ /dev/null @@ -1,493 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE reference - PUBLIC "-//Norman Walsh//DTD JRefEntry V1.1//EN" "http://docbook.sourceforge.net/release/jrefentry/1.1/jrefentry.dtd"> -<reference> -<referenceinfo> -<releaseinfo role="meta"> -$Id: titlepage.xml,v 1.1 2002/05/15 17:22:25 isberg Exp $ -</releaseinfo> -<author><surname>Walsh</surname> -<firstname>Norman</firstname></author> -<copyright><year>1999</year><year>2000</year> -<holder>Norman Walsh</holder> -</copyright> -</referenceinfo> -<title>Template Stylesheet Reference - - -
Introduction - - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - - - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - - - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) - -
-
- - - - -t:templates -Construct a stylesheet for the templates provided - - -<xsl:template match="t:templates"/> - - - -The t:templates element is the root of a -set of templates. This template creates an appropriate -xsl:stylesheet for the templates. - - - -If the t:templates element has a -base-stylesheet attribute, an -xsl:import statement is constructed for it. - - - - - -xsl:* -Copy xsl: elements straight through - - -<xsl:template match="xsl:*"/> - - - -This template simply copies the xsl: elements -straight through into the result tree. - - - - - -t:titlepage -Create the templates necessary to construct a title page - - -<xsl:template match="t:titlepage"/> - - - -The t:titlepage element creates a set of -templates for processing the titlepage for an element. The -root of this template set is the template named -wrapper.titlepage. That is the -template that should be called to generate the title page. - - - - -The t:titlepage element has three attributes: - - - -element - -The name of the source document element for which -these templates apply. In other words, to make a title page for the -article element, set the -element attribute to -article. This attribute is required. - - - -wrapper - -The entire title page can be wrapped with an element. -This attribute identifies that element. - - - -class - -If the class attribute -is set, a class attribute with this -value will be added to the wrapper element that surrounds the entire -title page. - - - - - - - - - -Any other attributes are copied through literally to the -wrapper element. - - - -The content of a t:titlepage is one or -more t:titlepage-content, -t:titlepage-separator, and -t:titlepage-before elements. - - - -Each of these elements may be provided for the recto -and verso sides of the title page. - - - - - - -@* (in copy.literal.atts mode) -Copy t:titlepage attributes - - -<xsl:template match="@*" mode="copy.literal.atts"/> - - - -This template copies all of the other attributes -from a t:titlepage element onto the specified -wrapper. - - - - - -t:titlepage-content -Create templates for the content of one side of a title page - - -<xsl:template match="t:titlepage-content"/> - - - -The title page content, that is, the elements from the source -document that are rendered on the title page, can be controlled independently -for the recto and verso sides of the title page. - - - -The t:titlepage-content element has two attributes: - - - -side - -Identifies the side of the page to which this title -page content applies. The -side attribute is required and -must be set to either -recto or -verso. In addition, you must specify -exactly one t:titlepage-content for each side -within each t:titlepage. - - - -order - -Indicates how the order of the elements presented on -the title page is determined. If the -order is -document, the elements are presented -in document order. Otherwise (if the -order is -stylesheet), the elements are presented -in the order that they appear in the template (and consequently in -the stylesheet). - - - - - - - - - -The content of a t:titlepage-content element is -a list of element names. These names should be unqualified. They identify -the elements in the source document that should appear on the title page. - - - - -Each element may have a single attribute: -predicate. The value of this -attribute is used as a predicate for the expression that matches -the element on which it occurs. - - - -In other words, to put only the first three authors on the -recto-side of a title -page, you could specify: - - - <t:titlepage-contents side="recto"> - <!-- other titlepage elements --> - <author predicate="[count(previous-sibling::author)<2]"/> - <!-- other titlepage elements --> - </t:titlepage-contents> - - - - - -Usually, the elements so named are empty. But it is possible to -make one level of selection within them. Suppose that you want to -process authorgroup elements on the title page, but -you want to select only proper authors, editors, or corporate authors, -not collaborators or other credited authors. - - - -In that case, you can put a t:or group inside -the authorgroup element: - - - <t:titlepage-contents side="recto"> - <!-- other titlepage elements --> - <authorgroup> - <t:or> - <author/> - <editor/> - <corpauthor/> - </t:or> - </authorgroup> - <!-- other titlepage elements --> - </t:titlepage-contents> - - - - - -This will have the effect of automatically generating a template -for processing authorgroups in the title page mode, -selecting only the specified children. If you need more complex processing, -you'll have to construct the templates by hand. - - - - - - -t:titlepage-separator -Create templates for the separator - - -<xsl:template match="t:titlepage-separator"/> - - - -The title page is separated from the content which follows it by -the markup specified in the t:titlepage-separator -element. - - - - - -t:titlepage-before -Create templates for what precedes a title page - - -<xsl:template match="t:titlepage-before"/> - - - -Each side of the title page is preceded by the markup specified -in the t:titlepage-before element for that -side. - - - - - -* (in copy mode) -Copy elements - - -<xsl:template match="*" mode="copy"/> - - - -This template simply copies the elements that it applies to -straight through into the result tree. - - - - - -@* (in copy mode) -Copy attributes - - -<xsl:template match="@*" mode="copy"/> - - - -This template simply copies the attributes that it applies to -straight through into the result tree. - - - - - -* (in document.order mode) -Create rules to process titlepage elements in document order - - -<xsl:template match="*" mode="document.order"/> - - - -This template is called to process all of the children of the -t:titlepage-content element. It creates the hairy -select expression necessary to process each of those elements in -the title page. - - - -Note that this template automatically handles the case where -some DocBook elements, like title and subtitle, can occur both inside -the *info elements where metadata is usually stored and outside. - - - - -It also automatically calculates the name for the *info container -and handles elements that have historically had containers with different -names. - - - - - - -* (in document.order mode) -Create rules to process titlepage elements in stylesheet order - - -<xsl:template match="*" mode="document.order"/> - - - -This template is called to process all of the children of the -t:titlepage-content element. It creates the set -of xsl:apply-templates elements necessary -process each of those elements in the title page. - - - -Note that this template automatically handles the case where -some DocBook elements, like title and subtitle, can occur both inside -the *info elements where metadata is usually stored and outside. - - - - -It also automatically calculates the name for the *info container -and handles elements that have historically had containers with different -names. - - - - - - -* (in titlepage.specialrules mode) -Create templates for special rules - - -<xsl:template match="*" mode="titlepage.specialrules"/> - - - -This template is called to process all of the descendants of the -t:titlepage-content element that require special -processing. At present, that's just t:or elements. - - - - - - -* (in titlepage.subrules mode) -Create template for individual special rules - - -<xsl:template match="*" mode="titlepage.subrules"/> - - - -This template is called to process the children of special -template elements. - - - - - - -t:or -Process the t:or special rule - - -<xsl:template match="t:or"/><xsl:template match="t:or" mode="titlepage.subrules"/> - - - -This template processes t:or. - - - - - -t:or (in titlepage.subrules mode) -Process the t:or special rule in -titlepage.subrules mode - - -<xsl:template match="t:or" mode="titlepage.subrules"/> - - - -The titlepage.subrules mode doesn't apply to t:or, so just -reprocess this node in the normal mode. - - - - - -element-or-list -Construct the "or-list" used in the select attribute for -special rules. - - -<xsl:template name="element-or-list"> -<xsl:param name="elements" select="*"/> -<xsl:param name="element.count" select="count($elements)"/> -<xsl:param name="count" select="1"/> -<xsl:param name="orlist"/> - ... -</xsl:template> - - - -Walk through each of the children of t:or, producing the -text of the select attribute. - - - diff --git a/lib/docbook/docbook-xsl/docsrc/templates.xml b/lib/docbook/docbook-xsl/docsrc/templates.xml deleted file mode 100644 index 04f4ae11f..000000000 --- a/lib/docbook/docbook-xsl/docsrc/templates.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - -$Id: templates.xml,v 1.1 2002/05/15 17:22:24 isberg Exp $ - -Walsh -Norman -2000Norman Walsh - - -The Template System - -Some parts of the DocBook XSL Stylesheets are actually generated -using XSL Stylesheets. In particular, the formatting of title pages -is generated using a special template system. The same template system -will eventually allow you to easily customize bibliography entries and -perhaps other parts of the system as well. - -FIXME: there needs to be more introductory/explanatory text -here! - -
Changing the Article Title Page - -In order to demonstrate how this system works, let's consider -how we can use it to change the format of article title pages. - -By default, the stylesheets print the following elements on the -article title page, in this order: -title -subtitle -corpauthor -authorgroup -author -releaseinfo -copyright -legalnotice -pubdate -revision -revhistory -abstract -. Suppose we want to put only the -title, author, and -edition elements on the title page, in the order -that they appear in the articleinfo. - - -The hard (and wrong!) way to do it would be to -edit titlepage.templates.xsl and make the changes -by hand. - -The easy and right way is to construct a template document that -describes the order and sequence of elements that you want: - - - - - - - <author/> - <edition/> - </t:titlepage-content> -</t:titlepage> -</t:templates> -]]></screen> - -<para>Then process this document with the -<filename>template/titlepage.xsl</filename> stylesheet. This will -produce the following somewhat cryptic stylesheet:</para> - -<screen><![CDATA[ -<?xml version="1.0" encoding="utf-8"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<!-- This stylesheet was created by titlepage.xsl; do not edit it by hand. --> - -<xsl:import href="/path/to/html/docbook.xsl"/> - -<xsl:template name="article.titlepage.recto"><xsl:apply-templates mode="article.titlepage.recto.mode" select="(articleinfo/title|artheader/title|title)[1]|articleinfo/author|artheader/author|articleinfo/edition|artheader/edition"/> -</xsl:template> - -<xsl:template name="article.titlepage"> - <div class="titlepage"> - <xsl:call-template name="article.titlepage.before.recto"/> - <xsl:call-template name="article.titlepage.recto"/> - <xsl:call-template name="article.titlepage.before.verso"/> - <xsl:call-template name="article.titlepage.verso"/> - <xsl:call-template name="article.titlepage.separator"/> - </div> -</xsl:template> - -</xsl:stylesheet> -]]></screen> - -<para>Despite its cryptic appearance, it has the desired result. -If you want to change <emphasis>how</emphasis> the titlepage elements -are formatted (as opposed to which ones are formatted), you have to -write your own customization layer that overrides the template for -the element in question in the <quote>titlepage.mode</quote> mode.</para> -</section> - -</chapter> diff --git a/lib/docbook/docbook-xsl/docsrc/tools/ChangeLog b/lib/docbook/docbook-xsl/docsrc/tools/ChangeLog deleted file mode 100644 index 51aa8bf61..000000000 --- a/lib/docbook/docbook-xsl/docsrc/tools/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -2001-08-13 Norman Walsh <nwalsh@users.sourceforge.net> - - * Makefile: New file. - -2001-07-31 Jirka Kosek <kosek@users.sourceforge.net> - - * profile-chain.png, profiling.xml: New file. - diff --git a/lib/docbook/docbook-xsl/docsrc/tools/profile-chain.png b/lib/docbook/docbook-xsl/docsrc/tools/profile-chain.png deleted file mode 100644 index ad3a3576595f6a150f2ecd3a8531b2d202dc1dc5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13801 zcmZ|0cRXC*6E}VltkqWUtP(al(Ibi8dtDM`l|)TM?*ywv4I!fUx>$q=(N-rx^zu;> zM2+6-Z}a^<e?0#@`+Du&^Lo#mnRDjOIp^-o+!#F_RZ=h`7ytlLbu}de0KkP~zqlYg zEW%Z#7y<xzfS#6-^7;8W76}av?da%`lat%n*Z_e*%gf79C^RoG&)V9$zrP;_gO!z) zIXF0|si{RrM@vab`TF|8;qa!WCIA2d00aQ&0RRdBFaQt+04V^F0{}Gu&;tNC09XTn z0|2-IfG<`L07L^o5&)zFKpp^;0RS2RngE~!0Qv!76aZ!bU>N{50AL>g&i}~<fdCK$ z0MP>=C;);1AYlL`1%TuLkQxBe13+*9WDS5E0FWC1@&!Pl04N#&B>|vx0F(!S$^Z}= z05t)i4gk~-fJOn(3;<dNKpOyP9{`>I8#n|6Kp+5w9)Lgr2n>J-0}v?yA_qX!0Eiv{ zfdde00O9~Z+yIC#00{*k(Eua~fTRPEJOEM#K+piB34n9}kbVF%3P5H6$T9%g03iDS z<ousi=s^HI1fZt}=%D~T44@YV=%oO9Ie=abpw|QF;Q+lgK<@z1y8-mR0DUMx9}Una z0rcqreI7tx2GFAc`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zk)@4!?x}rS2G6XWRIfzsEo*76jy&x%Oq(*<DHUWIs!P)bm>9V^8|=Jz=mu<Fg4?#4 z-(xr|oFZdEHXH1FeLesAi3U4~c-n=_J%dY&`!%HkqV~@h7cJRSER0m}?bz<4658-z zNk(ZgnA}riY5y{yPGH-MoJ{#JE9AnZEc@i3Ld_TB6cK0C+W#V+NZiJvES^|?Dw(dx z0WO;3kI_|C<kymfs><~!@k$(V2&mt%<0lZkx6RXV(oFu$`8uSgJ++2{D<?Stw>V>? m>+DcGtlO3c<{NrKI1?M;V6Nsgf_;w#P*>Jbs#dTL`~Lu7^~yc~ diff --git a/lib/docbook/docbook-xsl/docsrc/tools/profiling.xml b/lib/docbook/docbook-xsl/docsrc/tools/profiling.xml deleted file mode 100644 index b7e08553a..000000000 --- a/lib/docbook/docbook-xsl/docsrc/tools/profiling.xml +++ /dev/null @@ -1,294 +0,0 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!DOCTYPE article PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN' 'http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd'> -<article> -<articleinfo> -<title>Profiling DocBook documents -An easy way to personalize your content for several target audiences - -Jirka -Kosek - -
E-mail: jirka@kosek.cz -Web: http://www.kosek.cz - -
-
-
- -2001 -Jiří Kosek - - -$Id: profiling.xml,v 1.1 2002/05/15 17:22:26 isberg Exp $ - - - -
-Introduction - -There are many situations when we need to generate several -versions of document with slightly different content from the single -source. User guide for program with both Windows and Linux port will -differ only in several topics related to installation and -configuration. It would be futile to create and maintain two different -documents in sync. Another real world example – in addition to -standard documentation we can have guide enriched with problem -solutions from help-desk. It also may be better to store these -information in one document in order to make them absolutely -synchronized. -Several high-end editing tools have built in support for -profiling. User can easily add target audiences for any part of -document in a simple to use dialog box. User can select desired target -audience before printing or generation of other output formats. -Software will automatically filter out excess parts of document and -pass rest of it to rendering engine. However, if your budget is -limited you can not use commercial solutions. In the following text I -will show you simple but flexible profiling solution based on freely -available technologies. - -
- -
-$0 solution - -In the document we mark parts targeted for particular platform -or user group. When generating final output version of document we -must do profiling i.e. personalization for particular target audience. -Only some parts of document are processed. DocBook has built in -support for marking document parts – on almost every element you -can use attributes os, userlevel and arch. We can store identifier of operating -system, user group or hardware architecture here. You can also store -profiling information into some general use attribute like role. shows how document with profile information might -look. - - -Sample DocBook document with profiling information - - - -How to setup SGML catalogs - -Many existing SGML tools are able to map public identifiers to -files on your local file system. Mapping is specified in so called -catalog file. List of catalog files to use is stored in environment -variable SGML_CATALOG_FILES. - -On Unix systems you can set this variable by invoking -command export SGML_CATALOG_FILES=/usr/lib/catalog -on command line. If you want maintain value of the variable between -sessions, place this command into startup file, -e.g. .profile. - -In Windows NT/2000 you can set environment variable by -issuing command Start -Settings Control -Pannel -System. Then select -Advanced card in the dialog box and click on the -Environment Variables... button. Using the -New button you can add new environment variable -into your system. - -]]> - - -DocBook documents are often processed by freely available DSSSL -and XSL stylesheets. Most DocBook users who want profiling starts with -creation of customization layer which filters out some parts of -document. This approach has several serious disadvantages. First, you -must create profiling customization for all output formats as they are -using different stylesheets. This mean that you must maintain same -code on several places or do some dirty tricks with importing several -stylesheets into one stylesheet. -Second drawback is more serious. If you override templates to -filter out documents, you can get almost correct output in a single -run of stylesheet. If you will closely look on generated output, you -will recognize that in the table of contents there are entries for -items which should be completely removed by profiling. Similar -problems are in several other places – e.g. skipped auto -generated numbers for tables, pictures and so on. To correct this one -should change all stylesheet code which generates ToC, -cross-references and so on to ignore filtered content. This is very -complicated task and will disallow you to easily upgrade to new -versions of stylesheets. -Thus we must use different approach. Profiling should be totally -separate step which will filter out some parts of original document -and will create new correct DocBook document. When processed with any -DocBook tool or stylesheet you will get always correct output from the -new standalone document now. Big advantage of this method is -compatibility with all DocBook tools. Filtered document is normal -DocBook document and it does not require any special processing. Of -course, there is also one disadvantage – formating is now two -stage process – first you must filter source document and in -second step you could apply normal stylesheets on result of filtering. -This may be little bit inconvenient for many users, but whole task can -be very easily automated by set of shell scripts or batch files or -whatever else. - -
-Profiling stream - - - - - -
- -When implementing filter, you can use many different approaches -and tools. I decided to use XSLT stylesheet. Writing necessary filter -is very easy in XSLT and many users have XSLT processor already -installed. Profiling stylesheet is part of standard XSL stylesheets -distribution and can be found in file -tools/profile.xsl. -
- -
-Usage - -If you want to generate Unix specific guide from our sample -document () you can do it in the following -way. (We assume, that command saxon is able to run -XSLT processor on your machine. You can use your preffered XSLT -processor instead.) - -saxon unixsample.xml sample.xml profile.xsl "os=unix" - -We are processing source document -sample.xml with profiling stylesheet -profile.xsl. Result of transformation is stored -in file unixsample.xml. By setting parameter -os to value unix, we tell -that only general and Unix specific parts of document should be copied -to the result document. If you will look at generated result, you will -notice that this is correct DocBook document: - - - - -How to setup SGML catalogs - -Many existing SGML tools are able to map public identifiers to -files on your local file system. Mapping is specified in so called -catalog file. List of catalog files to use is stored in environment -variable SGML_CATALOG_FILES. - -On Unix systems you can set this variable by invoking -command export SGML_CATALOG_FILES=/usr/lib/catalog -on command line. If you want maintain value of the variable between -sessions, place this command into startup file, -e.g. .profile. - -]]> - -It is same as the input document, only Windows specific -paragraph is missing. Same procedure can be used to get Windows -specific version of document. The result generated by profiling -stylesheet have correct document type declaration (DOCTYPE). Without -it some tools would not be able to process them further. On the result -of filtering you can run common tools – for example DSSSL or XSL -stylesheets. - -Stylesheet support several attributes for specifying profiling -values. They are summarized in the following list. - - - -os - -This parameter is used for specifying operating system (os attribute) for which you want get -profiled version of document. - - - -ul - -This parameter is used for specifying user level (userlevel attribute) for which you want get -profiled version of document. - - - -arch - -This parameter is used for specifying hardware architecture (arch attribute) for which you want get -profiled version of document. - - - -attr - -Name of attribute on which profiling should be based. It can be -used if profiling information is stored in other attributes then -os, userlevel and arch. - - - -val - -This parameter is used for specifying value for attribute -selected by attr parameter. -E.g. setting attr=os and -val=unix is same as setting -os=unix. - - - -sep - -Separator for multiple target audience identifiers. Default is -;. - - - - - -Current implementation is able to handle multiple profiling -targets in one attribute. In that case you must separate identifiers -by semicolon: - -...]]> - -It is possible to use different separator than semicolon by -setting sep parameter. There cann't be spaces -between separator and target names. - -You can also perform profiling based on several profiling -attributes in a single step as stylesheet can handle all parameters -simultaneously. For example to get hypothetical guide for Windows -beginners, you can run profiling like this: - -saxon xsample.xml sample.xml profile.xsl "os=win" "ul=beginner" - -As you can see above described profiling process can be used to -substitute SGML marked sections mechanism which is missing in XML. - -
- -
-Conclusion - -Profiling is necessary in many larger DocBook applications. It -can be quite easily implemented by simple XSLT stylesheet which is -presented here. This mechanism can also be used to simulate behavior -of marked sections known from SGML. - -
- - - diff --git a/lib/docbook/docbook-xsl/docsrc/warranty.xml b/lib/docbook/docbook-xsl/docsrc/warranty.xml deleted file mode 100644 index 534b8f90e..000000000 --- a/lib/docbook/docbook-xsl/docsrc/warranty.xml +++ /dev/null @@ -1,14 +0,0 @@ - - -Warranty -THE SOFTWARE IS PROVIDED AS IS, -WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY -OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT -OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/lib/docbook/docbook-xsl/docsrc/xsl2jref.xsl b/lib/docbook/docbook-xsl/docsrc/xsl2jref.xsl deleted file mode 100644 index e68c1e3be..000000000 --- a/lib/docbook/docbook-xsl/docsrc/xsl2jref.xsl +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - You must set the output-file parameter! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - =" - - " - - - - - - - - < - - - - - / - > - - - > - - </ - - > - - - - - - <!-- - - --> - - - - <? - - - - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (in - - mode) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - mode - - - - - - - - - - - - mode - - - - - - - - - - - - - - - - - - - - - - - < - - - - - / - > - - - > - - - ... - - </ - - > - - - - - - - diff --git a/lib/docbook/docbook-xsl/extensions/ChangeLog b/lib/docbook/docbook-xsl/extensions/ChangeLog deleted file mode 100644 index 53a35485c..000000000 --- a/lib/docbook/docbook-xsl/extensions/ChangeLog +++ /dev/null @@ -1,16 +0,0 @@ -2001-07-16 Norman Walsh - - * Makefile: Produce correct 6.4.2/6.4.3 jar files - -2001-07-07 Norman Walsh - - * Makefile: Remove old versions of Saxon from Makefile; make sure jars are always up-to-date - -2001-05-21 Norman Walsh - - * Makefile: Tweak Makefile for Saxon 6.3 - -2001-04-02 Norman Walsh - - * .cvsignore, Makefile, prj.el: New file. - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/CVS.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/CVS.html deleted file mode 100644 index cceca4883..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/CVS.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - -: Class CVS - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon -
-Class CVS

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon.CVS
-
-
-
-
public class CVS
extends java.lang.Object
- -

-

Saxon extension to convert CVS date strings into local time

- -

$Id: CVS.html,v 1.1 2002/05/15 17:22:26 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon - extension to turn the CVS date strings, which are UTC:

- -
$Date: 2000/11/09 02:34:20 $
- -

into legibly formatted local time:

- -
Wed Nov 08 18:34:20 PST 2000
- -

(I happened to be in California when I wrote this documentation.)

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
CVS() - -
-          Constructor for CVS
-  - - - - - - - - - - - -
-Method Summary
-static java.lang.StringlocalTime(java.lang.String cvsDate) - -
-          Convert a CVS date string into local time.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CVS

-
-public CVS()
-
-

Constructor for CVS

- -

All of the methods are static, so the constructor does nothing.

- - - - - - - - -
-Method Detail
- -

-localTime

-
-public static java.lang.String localTime(java.lang.String cvsDate)
-
-

Convert a CVS date string into local time.

-
Parameters:
cvsDate - The CVS date string.
Returns:
The date, converted to local time and reformatted.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Callout.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Callout.html deleted file mode 100644 index 950598092..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Callout.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - -: Class Callout - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon -
-Class Callout

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon.Callout
-
-
-
-
public class Callout
extends java.lang.Object
implements java.lang.Comparable
- -

-

Utility class for the Verbatim extension (ignore this).

- -

$Id: Callout.html,v 1.1 2002/05/15 17:22:26 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class is just for book keeping in the Verbatim class. - It stores information about the location of callouts.

- -

Only line/column based callouts are supported. This class - implements the Comparable interface so that callouts can be sorted. - Callouts are sorted so that they occur in left-to-right, - top-to-bottom order based on line/column.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-

-
See Also:
Verbatim
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Callout(int callout, - com.icl.saxon.om.ElementInfo area, - int line, - int col) - -
-          The constructor; initialize the private data structures.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intcompareTo(java.lang.Object o) - -
-          The compareTo method compares this Callout with another.
- com.icl.saxon.om.ElementInfogetArea() - -
-          Access the Callout's area.
- intgetCallout() - -
-          Access the Callout's callout number.
- intgetColumn() - -
-          Access the Callout's column.
- intgetLine() - -
-          Access the Callout's line.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Callout

-
-public Callout(int callout,
-               com.icl.saxon.om.ElementInfo area,
-               int line,
-               int col)
-
-
The constructor; initialize the private data structures.
- - - - - - - - -
-Method Detail
- -

-compareTo

-
-public int compareTo(java.lang.Object o)
-
-

The compareTo method compares this Callout with another.

- -

Given two Callouts, A and B, A < B if:

- -
    -
  1. A.line < B.line, or
  2. -
  3. A.line = B.line && A.col < B.col, or
  4. -
  5. A.line = B.line && A.col = B.col && A.callout < B.callout
  6. -
  7. Otherwise, they're equal.
  8. -
-
Specified by:
compareTo in interface java.lang.Comparable
-
-
-
- -

-getArea

-
-public com.icl.saxon.om.ElementInfo getArea()
-
-
Access the Callout's area.
-
-
-
-
- -

-getLine

-
-public int getLine()
-
-
Access the Callout's line.
-
-
-
-
- -

-getColumn

-
-public int getColumn()
-
-
Access the Callout's column.
-
-
-
-
- -

-getCallout

-
-public int getCallout()
-
-
Access the Callout's callout number.
-
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Driver.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Driver.html deleted file mode 100644 index 6f60d4c95..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Driver.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -: Class Driver - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon -
-Class Driver

-
-com.nwalsh.saxon.Driver
-
-
-
-
public class Driver
- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Driver() - -
-           
-  - - - -

- - - - - - - - - - - -
-Constructor Detail
- -

-Driver

-
-public Driver()
-
-
- - - - -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Text.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Text.html deleted file mode 100644 index 1960e8f9b..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Text.html +++ /dev/null @@ -1,469 +0,0 @@ - - - - - - -: Class Text - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon -
-Class Text

-
-java.lang.Object
-  |
-  +--com.icl.saxon.tree.NodeImpl
-        |
-        +--com.icl.saxon.tree.ParentNodeImpl
-              |
-              +--com.icl.saxon.tree.ElementImpl
-                    |
-                    +--com.icl.saxon.tree.ElementWithAttributes
-                          |
-                          +--com.icl.saxon.style.StyleElement
-                                |
-                                +--com.nwalsh.saxon.Text
-
-
-
-
public class Text
extends com.icl.saxon.style.StyleElement
- -

-

Saxon extension element for inserting text - -

$Id: Text.html,v 1.1 2002/05/15 17:22:26 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon - extension element for inserting text into a result tree.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Text() - -
-          Constructor for Text
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidprepareAttributes() - -
-          Validate the arguments
- voidprocess(com.icl.saxon.Context context) - -
-          Insert the text of the file into the result tree
- voidvalidate() - -
-          Validate that the element occurs in a reasonable place.
- - - - - - - -
Methods inherited from class com.icl.saxon.style.StyleElement
allowAttributes, -bindVariable, -checkEmpty, -checkNotTopLevel, -checkTopLevel, -checkWithinTemplate, -expandChildren, -forwardsCompatibleModeIsEnabled, -getPrecedence, -getStyleSheetFunction, -getVariableBinding, -getVariableNames, -getVersion, -isExcludedNamespace, -isExtensionNamespace, -isInstruction, -isTopLevel, -preprocess, -processAllAttributes, -processAttributes, -processChildren, -reportAbsence, -requiresXSLprefix, -substituteFor, -validateSubtree
- - - - - - - -
Methods inherited from class com.icl.saxon.tree.ElementWithAttributes
addNamespaceNodes, -copy, -getAttribute, -getAttributeList, -getAttributeNode, -getAttributeNodeNS, -getAttributeNS, -getAttributes, -getAttributeValue, -getAttributeValue, -getLength, -getNamedItem, -getNamedItemNS, -getPrefixForURI, -getURIforPrefix, -hasAttribute, -hasAttributeNS, -hasAttributes, -initialise, -item, -makeAttributeNode, -outputNamespaceNodes, -removeAttribute, -removeAttributeNode, -removeAttributeNS, -removeNamedItem, -removeNamedItemNS, -setAttribute, -setAttributeNode, -setAttributeNodeNS, -setAttributeNS, -setNamedItem, -setNamedItemNS, -setNamespaceDeclarations
- - - - - - - -
Methods inherited from class com.icl.saxon.tree.ElementImpl
getElementsByTagName, -getElementsByTagNameNS, -getExpandedName, -getInheritedAttribute, -getLineNumber, -getNodeType, -getNodeValue, -getPath, -getPrefix, -getSystemId, -getTagName, -getURI, -isFirstChild, -isFirstInGroup, -isLastChild, -isLastInGroup, -makeName, -makePrefixTest, -setLineNumber
- - - - - - - -
Methods inherited from class com.icl.saxon.tree.ParentNodeImpl
addChild, -compact, -copyStringValue, -defaultAction, -dropChildren, -getAllChildNodes, -getFirstChild, -getLastChild, -getNumberOfChildren, -getSequenceNumber, -getValue, -removeChild, -renumberChildren, -useChildrenArray
- - - - - - - -
Methods inherited from class com.icl.saxon.tree.NodeImpl
appendChild, -cloneNode, -getAbsoluteName, -getAncestor, -getAncestor, -getChildNodes, -getColumnNumber, -getDisplayName, -getDocumentElement, -getDocumentRoot, -getFirstChild, -getIndex, -getLastChild, -getLocalName, -getNamespaceURI, -getNextInDocument, -getNextSibling, -getNextSibling, -getNodeName, -getNodeTypeName, -getNumberAny, -getNumberMulti, -getNumberSimple, -getNumberSimple, -getNumberSingle, -getOwnerDocument, -getParentNode, -getPreviousInDocument, -getPreviousInDocument, -getPreviousSibling, -getPreviousSibling, -getPublicId, -getSequentialKey, -hasChildNodes, -hasName, -insertBefore, -isa, -isAncestor, -isDocumentElement, -isSameNode, -isSupported, -normalize, -removeChild, -removeNode, -replaceChild, -setNodeValue, -setPrefix, -supports, -toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Text

-
-public Text()
-
-

Constructor for Text

- -

Does nothing.

- - - - - - - - -
-Method Detail
- -

-prepareAttributes

-
-public void prepareAttributes()
-                       throws org.xml.sax.SAXException
-
-

Validate the arguments

- -

The element must have an href attribute.

-
Overrides:
prepareAttributes in class com.icl.saxon.style.StyleElement
-
-
-
- -

-validate

-
-public void validate()
-              throws org.xml.sax.SAXException
-
-
Validate that the element occurs in a reasonable place.
-
Overrides:
validate in class com.icl.saxon.style.StyleElement
-
-
-
- -

-process

-
-public void process(com.icl.saxon.Context context)
-             throws org.xml.sax.SAXException
-
-

Insert the text of the file into the result tree

- -

Processing this element inserts the contents of the URL named - by the href attribute into the result tree as plain text.

-
Overrides:
process in class com.icl.saxon.style.StyleElement
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/TextFactory.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/TextFactory.html deleted file mode 100644 index e64f02916..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/TextFactory.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -: Class TextFactory - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon -
-Class TextFactory

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon.TextFactory
-
-
-
-
public class TextFactory
extends java.lang.Object
implements com.icl.saxon.style.ExtensionElementFactory
- -

-

Saxon extension element factory - -

$Id: TextFactory.html,v 1.1 2002/05/15 17:22:26 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon - extension element factory for the Text extension element - family.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-

-
See Also:
Text
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
TextFactory() - -
-          Constructor for TextFactory
-  - - - - - - - - - - - -
-Method Summary
- java.lang.ClassgetExtensionClass(java.lang.String localname) - -
-          Return the class that implements a particular extension element.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-TextFactory

-
-public TextFactory()
-
-

Constructor for TextFactory

- -

Does nothing.

- - - - - - - - -
-Method Detail
- -

-getExtensionClass

-
-public java.lang.Class getExtensionClass(java.lang.String localname)
-                                  throws org.xml.sax.SAXException
-
-

Return the class that implements a particular extension element.

-
Specified by:
getExtensionClass in interface com.icl.saxon.style.ExtensionElementFactory
-
-
-
Parameters:
localname - The local name of the extension element.
Returns:
The class that handles that extension element.
Throws:
SAXException("Unknown - Text extension element")
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Verbatim.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Verbatim.html deleted file mode 100644 index 4f1bda5d3..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/Verbatim.html +++ /dev/null @@ -1,464 +0,0 @@ - - - - - - -: Class Verbatim - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon -
-Class Verbatim

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon.Verbatim
-
-
-
-
public class Verbatim
extends java.lang.Object
- -

-

Saxon extensions supporting DocBook verbatim environments

- -

$Id: Verbatim.html,v 1.1 2002/05/15 17:22:26 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon - implementation of two features that would be impractical to - implement directly in XSLT: line numbering and callouts.

- -

Line Numbering

-

The numberLines family of functions takes a result tree - fragment (assumed to contain the contents of a formatted verbatim - element in DocBook: programlisting, screen, address, literallayout, - or synopsis) and returns a result tree fragment decorated with - line numbers.

- -

Callouts

-

The insertCallouts family of functions takes an - areaspec and a result tree fragment - (assumed to contain the contents of a formatted verbatim - element in DocBook: programlisting, screen, address, literallayout, - or synopsis) and returns a result tree fragment decorated with - callouts.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Verbatim() - -
-          Constructor for Verbatim
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static com.icl.saxon.expr.FragmentValueinsertCallouts(com.icl.saxon.expr.NodeSetIntent areaspecNodeSet, - com.icl.saxon.expr.FragmentValue saxonRTF, - int defaultColumn) - -
-          Insert text callouts into a verbatim environment.
-static com.icl.saxon.expr.FragmentValueinsertCallouts(com.icl.saxon.expr.NodeSetIntent areaspecNodeSet, - com.icl.saxon.expr.FragmentValue saxonRTF, - int defaultColumn, - java.lang.String gPath, - java.lang.String gExt, - int gMax, - boolean useFO) - -
-          Insert graphical callouts into a verbatim environment.
-static com.icl.saxon.expr.FragmentValuenumberLines(com.icl.saxon.expr.FragmentValue saxonRTF) - -
-          Number lines in a verbatim environment using default values for - modulus, width and separator.
-static com.icl.saxon.expr.FragmentValuenumberLines(com.icl.saxon.expr.FragmentValue saxonRTF, - int saxonMod) - -
-          Number lines in a verbatim environment using default values for - width and separator.
-static com.icl.saxon.expr.FragmentValuenumberLines(com.icl.saxon.expr.FragmentValue saxonRTF, - int saxonMod, - int saxonWidth) - -
-          Number lines in a verbatim environment using the default value - separator.
-static com.icl.saxon.expr.FragmentValuenumberLines(com.icl.saxon.expr.FragmentValue saxonRTF, - int saxonMod, - int saxonWidth, - java.lang.String saxonSep) - -
-          Number lines in a verbatim environment.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Verbatim

-
-public Verbatim()
-
-

Constructor for Verbatim

- -

All of the methods are static, so the constructor does nothing.

- - - - - - - - -
-Method Detail
- -

-numberLines

-
-public static com.icl.saxon.expr.FragmentValue numberLines(com.icl.saxon.expr.FragmentValue saxonRTF)
-
-

Number lines in a verbatim environment using default values for - modulus, width and separator.

- -

The default modulus is 1, the default width is 5, and the - default separator is a space.

-
Parameters:
saxonRTF - The result tree fragment of the verbatim environment.
Returns:
The modified result tree fragment.
-
-
-
- -

-numberLines

-
-public static com.icl.saxon.expr.FragmentValue numberLines(com.icl.saxon.expr.FragmentValue saxonRTF,
-                                                           int saxonMod)
-
-

Number lines in a verbatim environment using default values for - width and separator.

- -

The default width is 5, and the - default separator is a space.

-
Parameters:
saxonRTF - The result tree fragment of the verbatim environment.
saxonMod - The modulus to use for line numbering.
Returns:
The modified result tree fragment.
-
-
-
- -

-numberLines

-
-public static com.icl.saxon.expr.FragmentValue numberLines(com.icl.saxon.expr.FragmentValue saxonRTF,
-                                                           int saxonMod,
-                                                           int saxonWidth)
-
-

Number lines in a verbatim environment using the default value - separator.

- -

The default separator is a space.

-
Parameters:
saxonRTF - The result tree fragment of the verbatim environment.
saxonMod - The modulus to use for line numbering.
saxonWidth - The width of line numbers.
Returns:
The modified result tree fragment.
-
-
-
- -

-numberLines

-
-public static com.icl.saxon.expr.FragmentValue numberLines(com.icl.saxon.expr.FragmentValue saxonRTF,
-                                                           int saxonMod,
-                                                           int saxonWidth,
-                                                           java.lang.String saxonSep)
-
-

Number lines in a verbatim environment.

- -

This method adds line numbers to a result tree fragment. Each - newline that occurs in a text node is assumed to start a new line. - The first line is always numbered, every subsequent saxonMod line - is numbered (so if saxonMod=5, lines 1, 5, 10, 15, etc. will be - numbered. If there are fewer than saxonMod lines in the environment, - every line is numbered.

- -

Every line number will be right justified in a string saxonWidth - characters long. If the line number of the last line in the - environment is too long to fit in the specified width, the width - is automatically increased to the smallest value that can hold the - number of the last line. (In other words, if you specify the value 2 - and attempt to enumerate the lines of an environment that is 100 lines - long, the value 3 will automatically be used for every line in the - environment.)

- -

The saxonSep string is inserted between the line - number and the original program listing. Lines that aren't numbered - are preceded by a saxonWidth blank string and the separator.

- -

If inline markup extends across line breaks, markup changes are - required. All the open elements are closed before the line break and - "reopened" afterwards. The reopened elements will have the same - attributes as the originals, except that 'name' and 'id' attributes - are not duplicated.

-
Parameters:
saxonRTF - The result tree fragment of the verbatim environment.
saxonMod - The modulus to use for line numbering.
saxonWidth - The width of line numbers.
saxonSep - The separator between line numbers and lines.
Returns:
The modified result tree fragment.
-
-
-
- -

-insertCallouts

-
-public static com.icl.saxon.expr.FragmentValue insertCallouts(com.icl.saxon.expr.NodeSetIntent areaspecNodeSet,
-                                                              com.icl.saxon.expr.FragmentValue saxonRTF,
-                                                              int defaultColumn)
-
-

Insert text callouts into a verbatim environment.

- -

This method examines the areaset and area elements - in the supplied areaspec and decorates the supplied - result tree fragment with appropriate callout markers.

- -

If a label attribute is supplied on an area, - its content will be used for the label, otherwise the callout - number will be used, surrounded by parenthesis. Callouts are - numbered in document order. All of the areas in an - areaset get the same number.

- -

Only the linecolumn and linerange units are - supported. If no unit is specifed, linecolumn is assumed. - If only a line is specified, the callout decoration appears in - the defaultColumn. Lines will be padded with blanks to reach the - necessary column, but callouts that are located beyond the last - line of the verbatim environment will be ignored.

- -

Callouts are inserted before the character at the line/column - where they are to occur.

-
Parameters:
areaspecNodeSet - The source node set that contains the areaspec.
saxonRTF - The result tree fragment of the verbatim environment.
defaultColumn - The column for callouts that specify only a line.
Returns:
The modified result tree fragment.
-
-
-
- -

-insertCallouts

-
-public static com.icl.saxon.expr.FragmentValue insertCallouts(com.icl.saxon.expr.NodeSetIntent areaspecNodeSet,
-                                                              com.icl.saxon.expr.FragmentValue saxonRTF,
-                                                              int defaultColumn,
-                                                              java.lang.String gPath,
-                                                              java.lang.String gExt,
-                                                              int gMax,
-                                                              boolean useFO)
-
-

Insert graphical callouts into a verbatim environment.

- -

This method examines the areaset and area elements - in the supplied areaspec and decorates the supplied - result tree fragment with appropriate callout markers.

- -

If a label attribute is supplied on an area, - its content will be used for the label, otherwise the callout - number will be used. Callouts are - numbered in document order. All of the areas in an - areaset get the same number.

- -

If the callout number is not greater than gMax, the - callout generated will be:

- -
- <img src="$gPath/conumber$gExt" alt="conumber">
- 
- -

Otherwise, it will be the callout number surrounded by - parenthesis.

- -

Only the linecolumn and linerange units are - supported. If no unit is specifed, linecolumn is assumed. - If only a line is specified, the callout decoration appears in - the defaultColumn. Lines will be padded with blanks to reach the - necessary column, but callouts that are located beyond the last - line of the verbatim environment will be ignored.

- -

Callouts are inserted before the character at the line/column - where they are to occur.

-
Parameters:
areaspecNodeSet - The source node set that contains the areaspec.
saxonRTF - The result tree fragment of the verbatim environment.
defaultColumn - The column for callouts that specify only a line.
gPath - The path to use for callout graphics.
gExt - The extension to use for callout graphics.
gMax - The largest number that can be represented as a graphic.
useFO - Should fo:external-graphics be produced, as opposed to - HTML imgs. This is bogus, the extension should figure it out, but I - haven't figured out how to do that yet.
Returns:
The modified result tree fragment.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-frame.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-frame.html deleted file mode 100644 index d8f63b5aa..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-frame.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -: Package com.nwalsh.saxon - - - - - -com.nwalsh.saxon - - - - -
-Classes  - -
-Callout -
-CVS -
-Text -
-TextFactory -
-Verbatim
- - - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-summary.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-summary.html deleted file mode 100644 index d9eb24604..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-summary.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -: Package com.nwalsh.saxon - - - - - - - - - - - - - - - - - -
- -
- - -
-

-Package com.nwalsh.saxon -

-Norman Walsh's Saxon Extensions Package for Saxon 5.* -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
CalloutUtility class for the Verbatim extension (ignore this).
CVSSaxon extension to convert CVS date strings into local time
TextSaxon extension element for inserting text - -
TextFactorySaxon extension element factory - -
VerbatimSaxon extensions supporting DocBook verbatim environments
-  - -

-

-Package com.nwalsh.saxon Description -

- -

-

Norman Walsh's Saxon Extensions Package for Saxon 5.*

- -

This package implements Saxon extensions for XSLT. Future development -of this package will be limited to bug fixes only. The Saxon 6.0 Extension -Package is a practically complete, and much cleaner, reimplementation.

- -

Copyright (C) 2000 Norman Walsh

-

Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions:

- -

The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software.

- -

Except as contained in this notice, the names of individuals -credited with contribution to this software shall not be used in -advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the -individuals in question.

- -

Anything derived from this Software that is publically -distributed will be identified with a different name and the -version strings in any derived Software will be changed so that no -possibility of confusion between the derived package and this -Software will exist.

- - -
-

Warranty

-

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER -CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE.

-
-

-


- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-tree.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-tree.html deleted file mode 100644 index ea5286efd..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/com/nwalsh/saxon/package-tree.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - -: com.nwalsh.saxon Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For Package com.nwalsh.saxon -

-
-

-Class Hierarchy -

-
    -
  • class java.lang.Object
      -
    • class com.nwalsh.saxon.Callout (implements java.lang.Comparable) -
    • class com.nwalsh.saxon.CVS
    • class com.icl.saxon.tree.NodeImpl (implements com.icl.saxon.om.NodeInfo) -
        -
      • class com.icl.saxon.tree.ParentNodeImpl
          -
        • class com.icl.saxon.tree.ElementImpl (implements org.w3c.dom.Element, com.icl.saxon.om.ElementInfo, org.w3c.dom.NamedNodeMap) -
            -
          • class com.icl.saxon.tree.ElementWithAttributes (implements org.w3c.dom.Element, com.icl.saxon.om.ElementInfo, org.w3c.dom.NamedNodeMap) -
              -
            • class com.icl.saxon.style.StyleElement (implements org.xml.sax.Locator, com.icl.saxon.expr.StaticContext) -
                -
              • class com.nwalsh.saxon.Text
              -
            -
          -
        -
      -
    • class com.nwalsh.saxon.TextFactory (implements com.icl.saxon.style.ExtensionElementFactory) -
    • class com.nwalsh.saxon.Verbatim
    -
-
- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/deprecated-list.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/deprecated-list.html deleted file mode 100644 index c2855cd0b..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/deprecated-list.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - -: Deprecated List - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Deprecated API

-
-
- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/help-doc.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/help-doc.html deleted file mode 100644 index 37d3b6b4c..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/help-doc.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -: API Help - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    -
  • Interfaces (italic)
  • Classes
  • Exceptions
  • Errors
-
-

-Class/Interface

-
- -

-Each class, interface, inner class and inner interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description -

    -

  • Inner Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary -

    -

  • Field Detail
  • Constructor Detail
  • Method Detail
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    -
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
-
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/index-all.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/index-all.html deleted file mode 100644 index a6c6f9026..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/index-all.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - -: Index - - - - - - - - - - - - - - - - - -
- -
- - -C G I L N P T V
-

-C

-
-
Callout - class com.nwalsh.saxon.Callout.
Utility class for the Verbatim extension (ignore this).
Callout(int, ElementInfo, int, int) - -Constructor for class com.nwalsh.saxon.Callout -
The constructor; initialize the private data structures. -
com.nwalsh.saxon - package com.nwalsh.saxon
Norman Walsh's Saxon Extensions Package for Saxon 5.*
compareTo(Object) - -Method in class com.nwalsh.saxon.Callout -
The compareTo method compares this Callout with another. -
CVS - class com.nwalsh.saxon.CVS.
Saxon extension to convert CVS date strings into local time
CVS() - -Constructor for class com.nwalsh.saxon.CVS -
Constructor for CVS -
-
-

-G

-
-
getArea() - -Method in class com.nwalsh.saxon.Callout -
Access the Callout's area. -
getCallout() - -Method in class com.nwalsh.saxon.Callout -
Access the Callout's callout number. -
getColumn() - -Method in class com.nwalsh.saxon.Callout -
Access the Callout's column. -
getExtensionClass(String) - -Method in class com.nwalsh.saxon.TextFactory -
Return the class that implements a particular extension element. -
getLine() - -Method in class com.nwalsh.saxon.Callout -
Access the Callout's line. -
-
-

-I

-
-
insertCallouts(NodeSetIntent, FragmentValue, int) - -Static method in class com.nwalsh.saxon.Verbatim -
Insert text callouts into a verbatim environment. -
insertCallouts(NodeSetIntent, FragmentValue, int, String, String, int, boolean) - -Static method in class com.nwalsh.saxon.Verbatim -
Insert graphical callouts into a verbatim environment. -
-
-

-L

-
-
localTime(String) - -Static method in class com.nwalsh.saxon.CVS -
Convert a CVS date string into local time. -
-
-

-N

-
-
numberLines(FragmentValue) - -Static method in class com.nwalsh.saxon.Verbatim -
Number lines in a verbatim environment using default values for - modulus, width and separator. -
numberLines(FragmentValue, int) - -Static method in class com.nwalsh.saxon.Verbatim -
Number lines in a verbatim environment using default values for - width and separator. -
numberLines(FragmentValue, int, int) - -Static method in class com.nwalsh.saxon.Verbatim -
Number lines in a verbatim environment using the default value - separator. -
numberLines(FragmentValue, int, int, String) - -Static method in class com.nwalsh.saxon.Verbatim -
Number lines in a verbatim environment. -
-
-

-P

-
-
prepareAttributes() - -Method in class com.nwalsh.saxon.Text -
Validate the arguments -
process(Context) - -Method in class com.nwalsh.saxon.Text -
Insert the text of the file into the result tree -
-
-

-T

-
-
Text - class com.nwalsh.saxon.Text.
Saxon extension element for inserting text - -
Text() - -Constructor for class com.nwalsh.saxon.Text -
Constructor for Text -
TextFactory - class com.nwalsh.saxon.TextFactory.
Saxon extension element factory - -
TextFactory() - -Constructor for class com.nwalsh.saxon.TextFactory -
Constructor for TextFactory -
-
-

-V

-
-
validate() - -Method in class com.nwalsh.saxon.Text -
Validate that the element occurs in a reasonable place. -
Verbatim - class com.nwalsh.saxon.Verbatim.
Saxon extensions supporting DocBook verbatim environments
Verbatim() - -Constructor for class com.nwalsh.saxon.Verbatim -
Constructor for Verbatim -
-
-C G I L N P T V - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/index.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/index.html deleted file mode 100644 index c04435fd4..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/index.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -Generated Documentation (Untitled) - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to <A HREF="com/nwalsh/saxon/package-summary.html">Non-frame version.</A> - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/overview-tree.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/overview-tree.html deleted file mode 100644 index 78c8b2b14..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/overview-tree.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -: Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For All Packages

-
-
-
Package Hierarchies:
com.nwalsh.saxon
-
-

-Class Hierarchy -

-
    -
  • class java.lang.Object
      -
    • class com.nwalsh.saxon.Callout (implements java.lang.Comparable) -
    • class com.nwalsh.saxon.CVS
    • class com.icl.saxon.tree.NodeImpl (implements com.icl.saxon.om.NodeInfo) -
        -
      • class com.icl.saxon.tree.ParentNodeImpl
          -
        • class com.icl.saxon.tree.ElementImpl (implements org.w3c.dom.Element, com.icl.saxon.om.ElementInfo, org.w3c.dom.NamedNodeMap) -
            -
          • class com.icl.saxon.tree.ElementWithAttributes (implements org.w3c.dom.Element, com.icl.saxon.om.ElementInfo, org.w3c.dom.NamedNodeMap) -
              -
            • class com.icl.saxon.style.StyleElement (implements org.xml.sax.Locator, com.icl.saxon.expr.StaticContext) -
                -
              • class com.nwalsh.saxon.Text
              -
            -
          -
        -
      -
    • class com.nwalsh.saxon.TextFactory (implements com.icl.saxon.style.ExtensionElementFactory) -
    • class com.nwalsh.saxon.Verbatim
    -
-
- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/package-list b/lib/docbook/docbook-xsl/extensions/doc/saxon5/package-list deleted file mode 100644 index b90355d83..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/package-list +++ /dev/null @@ -1 +0,0 @@ -com.nwalsh.saxon diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/packages.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/packages.html deleted file mode 100644 index 9c6ea39de..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/packages.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - -
- -
- -
-
-The front page has been relocated.Please see: -
-          Frame version -
-          Non-frame version.
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/serialized-form.html b/lib/docbook/docbook-xsl/extensions/doc/saxon5/serialized-form.html deleted file mode 100644 index 0319f201f..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/serialized-form.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - -Serialized Form - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Serialized Form

-
-
- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon5/stylesheet.css b/lib/docbook/docbook-xsl/extensions/doc/saxon5/stylesheet.css deleted file mode 100644 index 07dc9eaf3..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon5/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ -.TableRowColor { background: #FFFFFF } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: normal; font-family: normal } -.FrameHeadingFont { font-size: normal; font-family: normal } -.FrameItemFont { font-size: normal; font-family: normal } - -/* Example of smaller, sans-serif font in frames */ -/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */ - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */ -.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CVS.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CVS.html deleted file mode 100644 index 2b93c7bde..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CVS.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - -: Class CVS - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon6 -
-Class CVS

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon6.CVS
-
-
-
-
public class CVS
extends java.lang.Object
- -

-

Saxon extension to convert CVS date strings into local time

- -

$Id: CVS.html,v 1.1 2002/05/15 17:22:27 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon - extension to turn the CVS date strings, which are UTC:

- -
$Date: 2000/11/09 02:34:20 $
- -

into legibly formatted local time:

- -
Wed Nov 08 18:34:20 PST 2000
- -

(I happened to be in California when I wrote this documentation.)

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
CVS() - -
-          Constructor for CVS
-  - - - - - - - - - - - -
-Method Summary
-static java.lang.StringlocalTime(java.lang.String cvsDate) - -
-          Convert a CVS date string into local time.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CVS

-
-public CVS()
-
-

Constructor for CVS

- -

All of the methods are static, so the constructor does nothing.

- - - - - - - - -
-Method Detail
- -

-localTime

-
-public static java.lang.String localTime(java.lang.String cvsDate)
-
-

Convert a CVS date string into local time.

-
Parameters:
cvsDate - The CVS date string.
Returns:
The date, converted to local time and reformatted.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CalloutEmitter.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CalloutEmitter.html deleted file mode 100644 index 02253e0ba..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CalloutEmitter.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - - -: Class CalloutEmitter - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon6 -
-Class CalloutEmitter

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon6.CopyEmitter
-        |
-        +--com.nwalsh.saxon6.CalloutEmitter
-
-
-
-
public class CalloutEmitter
extends CopyEmitter
- -

-

Saxon extension to decorate a result tree fragment with callouts.

- -

$Id: CalloutEmitter.html,v 1.1 2002/05/15 17:22:27 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides the guts of a - Saxon 6.* - implementation of callouts for verbatim environments. (It is used - by the Verbatim class.)

- -

The general design is this: the stylesheets construct a result tree - fragment for some verbatim environment. The Verbatim class initializes - a CalloutEmitter with information about the callouts that should be applied - to the verbatim environment in question. Then the result tree fragment - is "replayed" through the CalloutEmitter; the CalloutEmitter builds a - new result tree fragment from this event stream, decorated with callouts, - and that is returned.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-

-
See Also:
Verbatim
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
CalloutEmitter(com.icl.saxon.om.NamePool namePool, - java.lang.String graphicsPath, - java.lang.String graphicsExt, - int graphicsMax, - int defaultColumn, - boolean foStylesheet) - -
-          Constructor for the CalloutEmitter.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcharacters(char[] chars, - int start, - int len) - -
-          Process characters.
- voidendElement(int nameCode) - -
-          Process end element events.
- voidsetupCallouts(com.icl.saxon.expr.NodeSetIntent areaspecNodeSet) - -
-          Examine the areaspec and determine the number and position of - callouts.
- voidstartElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) - -
-          Process start element events.
- - - - - - - -
Methods inherited from class com.nwalsh.saxon6.CopyEmitter
comment, -endDocument, -getResultTreeFragment, -processingInstruction, -setCharacterSet, -setDocumentLocator, -setEscaping, -setNamePool, -setOutputDetails, -setUnparsedEntity, -setWriter, -startDocument
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CalloutEmitter

-
-public CalloutEmitter(com.icl.saxon.om.NamePool namePool,
-                      java.lang.String graphicsPath,
-                      java.lang.String graphicsExt,
-                      int graphicsMax,
-                      int defaultColumn,
-                      boolean foStylesheet)
-
-

Constructor for the CalloutEmitter.

-
Parameters:
namePool - The name pool to use for constructing elements and attributes.
graphicsPath - The path to callout number graphics.
graphicsExt - The extension for callout number graphics.
graphicsMax - The largest callout number that can be represented as a graphic.
defaultColumn - The default column for callouts.
foStylesheet - Is this an FO stylesheet?
-
-
- - - - - - - - -
-Method Detail
- -

-setupCallouts

-
-public void setupCallouts(com.icl.saxon.expr.NodeSetIntent areaspecNodeSet)
-
-

Examine the areaspec and determine the number and position of - callouts.

- -

The areaspecNodeSet - is examined and a sorted list of the callouts is constructed.

- -

This data structure is used to augment the result tree fragment - with callout bullets.

-
Parameters:
areaspecNodeSet - The source document <areaspec> element.
-
-
-
- -

-characters

-
-public void characters(char[] chars,
-                       int start,
-                       int len)
-                throws org.xml.sax.SAXException
-
-
Process characters.
-
Overrides:
characters in class CopyEmitter
-
-
-
- -

-endElement

-
-public void endElement(int nameCode)
-                throws org.xml.sax.SAXException
-
-
Process end element events.
-
Overrides:
endElement in class CopyEmitter
-
-
-
- -

-startElement

-
-public void startElement(int nameCode,
-                         org.xml.sax.Attributes attributes,
-                         int[] namespaces,
-                         int nscount)
-                  throws org.xml.sax.SAXException
-
-
Process start element events.
-
Overrides:
startElement in class CopyEmitter
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CopyEmitter.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CopyEmitter.html deleted file mode 100644 index 3dc56a112..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/CopyEmitter.html +++ /dev/null @@ -1,543 +0,0 @@ - - - - - - -: Class CopyEmitter - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon6 -
-Class CopyEmitter

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon6.CopyEmitter
-
-
-
Direct Known Subclasses:
CalloutEmitter, NumberLinesEmitter
-
-
-
-
public class CopyEmitter
extends java.lang.Object
implements com.icl.saxon.output.Emitter
- -

-

A Saxon 6.0 Emitter that clones its input.

- -

$Id: CopyEmitter.html,v 1.1 2002/05/15 17:22:27 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon 6.* - implementation of an emitter that manufactures a cloned result - tree fragment.

- -

The purpose of this emitter is to provide something for - CalloutEmitter and NumberLinesEmitter to extend. - This emitter simply copies all input to a new result tree fragment.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-

-
See Also:
CalloutEmitter, -NumberLinesEmitter
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
CopyEmitter(com.icl.saxon.om.NamePool namePool) - -
-          Constructor for the CopyEmitter.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcharacters(char[] chars, - int start, - int len) - -
-          Copy characters.
- voidcomment(char[] chars, - int start, - int length) - -
-          Copy comments.
- voidendDocument() - -
-          Copy end document events.
- voidendElement(int nameCode) - -
-          Copy end element events.
- com.icl.saxon.expr.FragmentValuegetResultTreeFragment() - -
-          Return the result tree fragment constructed by replaying events - through this emitter.
- voidprocessingInstruction(java.lang.String name, - java.lang.String data) - -
-          Copy processing instructions.
- voidsetCharacterSet(com.icl.saxon.output.CharacterSet charset) - -
-          Copy set character set events.
- voidsetDocumentLocator(org.xml.sax.Locator locator) - -
-          Copy set document locator events.
- voidsetEscaping(boolean escaping) - -
-          Copy set escaping events.
- voidsetNamePool(com.icl.saxon.om.NamePool namePool) - -
-          Copy set name pool events.
- voidsetOutputDetails(com.icl.saxon.output.OutputDetails details) - -
-          Copy set output details events.
- voidsetUnparsedEntity(java.lang.String name, - java.lang.String uri) - -
-          Copy set unparsed entity events.
- voidsetWriter(java.io.Writer writer) - -
-          Copy set writer events.
- voidstartDocument() - -
-          Copy start document events.
- voidstartElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) - -
-          Copy start element events.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CopyEmitter

-
-public CopyEmitter(com.icl.saxon.om.NamePool namePool)
-
-

Constructor for the CopyEmitter.

-
Parameters:
namePool - The name pool to use for constructing elements and attributes.
-
-
- - - - - - - - -
-Method Detail
- -

-getResultTreeFragment

-
-public com.icl.saxon.expr.FragmentValue getResultTreeFragment()
-
-

Return the result tree fragment constructed by replaying events - through this emitter.

-
-
-
-
- -

-characters

-
-public void characters(char[] chars,
-                       int start,
-                       int len)
-                throws org.xml.sax.SAXException
-
-
Copy characters.
-
Specified by:
characters in interface com.icl.saxon.output.Emitter
-
-
-
- -

-comment

-
-public void comment(char[] chars,
-                    int start,
-                    int length)
-             throws org.xml.sax.SAXException
-
-
Copy comments.
-
Specified by:
comment in interface com.icl.saxon.output.Emitter
-
-
-
- -

-endDocument

-
-public void endDocument()
-                 throws org.xml.sax.SAXException
-
-
Copy end document events.
-
Specified by:
endDocument in interface com.icl.saxon.output.Emitter
-
-
-
- -

-endElement

-
-public void endElement(int nameCode)
-                throws org.xml.sax.SAXException
-
-
Copy end element events.
-
Specified by:
endElement in interface com.icl.saxon.output.Emitter
-
-
-
- -

-processingInstruction

-
-public void processingInstruction(java.lang.String name,
-                                  java.lang.String data)
-                           throws org.xml.sax.SAXException
-
-
Copy processing instructions.
-
Specified by:
processingInstruction in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setCharacterSet

-
-public void setCharacterSet(com.icl.saxon.output.CharacterSet charset)
-                     throws org.xml.sax.SAXException
-
-
Copy set character set events.
-
Specified by:
setCharacterSet in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setDocumentLocator

-
-public void setDocumentLocator(org.xml.sax.Locator locator)
-
-
Copy set document locator events.
-
Specified by:
setDocumentLocator in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setEscaping

-
-public void setEscaping(boolean escaping)
-                 throws org.xml.sax.SAXException
-
-
Copy set escaping events.
-
Specified by:
setEscaping in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setNamePool

-
-public void setNamePool(com.icl.saxon.om.NamePool namePool)
-
-
Copy set name pool events.
-
Specified by:
setNamePool in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setOutputDetails

-
-public void setOutputDetails(com.icl.saxon.output.OutputDetails details)
-                      throws org.xml.sax.SAXException
-
-
Copy set output details events.
-
Specified by:
setOutputDetails in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setUnparsedEntity

-
-public void setUnparsedEntity(java.lang.String name,
-                              java.lang.String uri)
-                       throws org.xml.sax.SAXException
-
-
Copy set unparsed entity events.
-
Specified by:
setUnparsedEntity in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setWriter

-
-public void setWriter(java.io.Writer writer)
-               throws org.xml.sax.SAXException
-
-
Copy set writer events.
-
Specified by:
setWriter in interface com.icl.saxon.output.Emitter
-
-
-
- -

-startDocument

-
-public void startDocument()
-                   throws org.xml.sax.SAXException
-
-
Copy start document events.
-
Specified by:
startDocument in interface com.icl.saxon.output.Emitter
-
-
-
- -

-startElement

-
-public void startElement(int nameCode,
-                         org.xml.sax.Attributes attributes,
-                         int[] namespaces,
-                         int nscount)
-                  throws org.xml.sax.SAXException
-
-
Copy start element events.
-
Specified by:
startElement in interface com.icl.saxon.output.Emitter
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/LineCountEmitter.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/LineCountEmitter.html deleted file mode 100644 index 3a7fc4a1d..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/LineCountEmitter.html +++ /dev/null @@ -1,555 +0,0 @@ - - - - - - -: Class LineCountEmitter - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon6 -
-Class LineCountEmitter

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon6.LineCountEmitter
-
-
-
-
public class LineCountEmitter
extends java.lang.Object
implements com.icl.saxon.output.Emitter
- -

-

Saxon extension to count the lines in a result tree fragment.

- -

$Id: LineCountEmitter.html,v 1.1 2002/05/15 17:22:27 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon 6.* - implementation to count the number of lines in a result tree - fragment.

- -

The general design is this: the stylesheets construct a result tree - fragment for some verbatim environment. That result tree fragment - is "replayed" through the LineCountEmitter; the LineCountEmitter watches - characters go by and counts the number of line feeds that it sees. - That number is then returned.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-

-
See Also:
Verbatim
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
LineCountEmitter() - -
-          Construct a new LineCountEmitter.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcharacters(char[] chars, - int start, - int len) - -
-          Process characters.
- voidcomment(char[] chars, - int start, - int length) - -
-          Discarded.
- voidendDocument() - -
-          Discarded.
- voidendElement(int nameCode) - -
-          Discarded.
- intlineCount() - -
-          Return the number of lines.
- voidprocessingInstruction(java.lang.String name, - java.lang.String data) - -
-          Discarded.
- voidreset() - -
-          Reset the number of lines.
- voidsetCharacterSet(com.icl.saxon.output.CharacterSet charset) - -
-          Discarded.
- voidsetDocumentLocator(org.xml.sax.Locator locator) - -
-          Discarded.
- voidsetEscaping(boolean escaping) - -
-          Discarded.
- voidsetNamePool(com.icl.saxon.om.NamePool namePool) - -
-          Discarded.
- voidsetOutputDetails(com.icl.saxon.output.OutputDetails details) - -
-          Discarded.
- voidsetUnparsedEntity(java.lang.String name, - java.lang.String uri) - -
-          Discarded.
- voidsetWriter(java.io.Writer writer) - -
-          Discarded.
- voidstartDocument() - -
-          Discarded.
- voidstartElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) - -
-          Discarded.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-LineCountEmitter

-
-public LineCountEmitter()
-
-
Construct a new LineCountEmitter.
- - - - - - - - -
-Method Detail
- -

-reset

-
-public void reset()
-
-
Reset the number of lines.
-
-
-
-
- -

-lineCount

-
-public int lineCount()
-
-
Return the number of lines.
-
-
-
-
- -

-characters

-
-public void characters(char[] chars,
-                       int start,
-                       int len)
-                throws org.xml.sax.SAXException
-
-
Process characters.
-
Specified by:
characters in interface com.icl.saxon.output.Emitter
-
-
-
- -

-comment

-
-public void comment(char[] chars,
-                    int start,
-                    int length)
-             throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
comment in interface com.icl.saxon.output.Emitter
-
-
-
- -

-endDocument

-
-public void endDocument()
-                 throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
endDocument in interface com.icl.saxon.output.Emitter
-
-
-
- -

-endElement

-
-public void endElement(int nameCode)
-                throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
endElement in interface com.icl.saxon.output.Emitter
-
-
-
- -

-processingInstruction

-
-public void processingInstruction(java.lang.String name,
-                                  java.lang.String data)
-                           throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
processingInstruction in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setCharacterSet

-
-public void setCharacterSet(com.icl.saxon.output.CharacterSet charset)
-                     throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
setCharacterSet in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setDocumentLocator

-
-public void setDocumentLocator(org.xml.sax.Locator locator)
-
-
Discarded.
-
Specified by:
setDocumentLocator in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setEscaping

-
-public void setEscaping(boolean escaping)
-                 throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
setEscaping in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setNamePool

-
-public void setNamePool(com.icl.saxon.om.NamePool namePool)
-
-
Discarded.
-
Specified by:
setNamePool in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setOutputDetails

-
-public void setOutputDetails(com.icl.saxon.output.OutputDetails details)
-                      throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
setOutputDetails in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setUnparsedEntity

-
-public void setUnparsedEntity(java.lang.String name,
-                              java.lang.String uri)
-                       throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
setUnparsedEntity in interface com.icl.saxon.output.Emitter
-
-
-
- -

-setWriter

-
-public void setWriter(java.io.Writer writer)
-               throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
setWriter in interface com.icl.saxon.output.Emitter
-
-
-
- -

-startDocument

-
-public void startDocument()
-                   throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
startDocument in interface com.icl.saxon.output.Emitter
-
-
-
- -

-startElement

-
-public void startElement(int nameCode,
-                         org.xml.sax.Attributes attributes,
-                         int[] namespaces,
-                         int nscount)
-                  throws org.xml.sax.SAXException
-
-
Discarded.
-
Specified by:
startElement in interface com.icl.saxon.output.Emitter
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/NumberLinesEmitter.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/NumberLinesEmitter.html deleted file mode 100644 index 97515d0c1..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/NumberLinesEmitter.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - -: Class NumberLinesEmitter - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon6 -
-Class NumberLinesEmitter

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon6.CopyEmitter
-        |
-        +--com.nwalsh.saxon6.NumberLinesEmitter
-
-
-
-
public class NumberLinesEmitter
extends CopyEmitter
- -

-

Saxon extension to decorate a result tree fragment with line numbers.

- -

$Id: NumberLinesEmitter.html,v 1.1 2002/05/15 17:22:27 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides the guts of a - Saxon 6.* - implementation of line numbering for verbatim environments. (It is used - by the Verbatim class.)

- -

The general design is this: the stylesheets construct a result tree - fragment for some verbatim environment. The Verbatim class initializes - a NumberLinesEmitter with information about what lines should be - numbered and how. Then the result tree fragment - is "replayed" through the NumberLinesEmitter; the NumberLinesEmitter - builds a - new result tree fragment from this event stream, decorated with line - numbers, - and that is returned.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-

-
See Also:
Verbatim
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
NumberLinesEmitter(com.icl.saxon.om.NamePool namePool, - int modulus, - int width, - java.lang.String separator, - boolean foStylesheet) - -
-          Constructor for the NumberLinesEmitter.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcharacters(char[] chars, - int start, - int len) - -
-          Process characters.
- voidendElement(int nameCode) - -
-          Process end element events.
- voidstartElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) - -
-          Process start element events.
- - - - - - - -
Methods inherited from class com.nwalsh.saxon6.CopyEmitter
comment, -endDocument, -getResultTreeFragment, -processingInstruction, -setCharacterSet, -setDocumentLocator, -setEscaping, -setNamePool, -setOutputDetails, -setUnparsedEntity, -setWriter, -startDocument
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-NumberLinesEmitter

-
-public NumberLinesEmitter(com.icl.saxon.om.NamePool namePool,
-                          int modulus,
-                          int width,
-                          java.lang.String separator,
-                          boolean foStylesheet)
-
-

Constructor for the NumberLinesEmitter.

-
Parameters:
namePool - The name pool to use for constructing elements and attributes.
modulus - The modulus to use for this listing.
width - The width to use for line numbers in this listing.
separator - The separator to use for this listing.
foStylesheet - Is this an FO stylesheet?
-
-
- - - - - - - - -
-Method Detail
- -

-characters

-
-public void characters(char[] chars,
-                       int start,
-                       int len)
-                throws org.xml.sax.SAXException
-
-
Process characters.
-
Overrides:
characters in class CopyEmitter
-
-
-
- -

-endElement

-
-public void endElement(int nameCode)
-                throws org.xml.sax.SAXException
-
-
Process end element events.
-
Overrides:
endElement in class CopyEmitter
-
-
-
- -

-startElement

-
-public void startElement(int nameCode,
-                         org.xml.sax.Attributes attributes,
-                         int[] namespaces,
-                         int nscount)
-                  throws org.xml.sax.SAXException
-
-
Process start element events.
-
Overrides:
startElement in class CopyEmitter
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Table.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Table.html deleted file mode 100644 index ce0be4fed..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Table.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - -: Class Table - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon6 -
-Class Table

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon6.Table
-
-
-
-
public class Table
extends java.lang.Object
- -

-

Saxon extensions supporting Tables

- -

$Id: Table.html,v 1.1 2002/05/15 17:22:27 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon - implementation of some code to adjust CALS Tables to HTML - Tables.

- -

Column Widths

-

The columnWidth method takes a result tree - fragment (assumed to contain the colgroup of an HTML Table) - and returns the result tree fragment with the column widths - adjusted to HTML terms.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Table() - -
-          Constructor for Verbatim
-  - - - - - - - - - - - - - - - -
-Method Summary
-static com.icl.saxon.expr.FragmentValueadjustColumnWidths(com.icl.saxon.Context context, - com.icl.saxon.expr.FragmentValue rtf) - -
-           
-static intconvertLength(java.lang.String length) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Table

-
-public Table()
-
-

Constructor for Verbatim

- -

All of the methods are static, so the constructor does nothing.

- - - - - - - - -
-Method Detail
- -

-convertLength

-
-public static int convertLength(java.lang.String length)
-
-
-
- -

-adjustColumnWidths

-
-public static com.icl.saxon.expr.FragmentValue adjustColumnWidths(com.icl.saxon.Context context,
-                                                                  com.icl.saxon.expr.FragmentValue rtf)
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Text.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Text.html deleted file mode 100644 index b05eb74ed..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Text.html +++ /dev/null @@ -1,506 +0,0 @@ - - - - - - -: Class Text - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon6 -
-Class Text

-
-java.lang.Object
-  |
-  +--com.icl.saxon.tree.NodeImpl
-        |
-        +--com.icl.saxon.tree.ParentNodeImpl
-              |
-              +--com.icl.saxon.tree.ElementImpl
-                    |
-                    +--com.icl.saxon.tree.ElementWithAttributes
-                          |
-                          +--com.icl.saxon.style.StyleElement
-                                |
-                                +--com.nwalsh.saxon6.Text
-
-
-
-
public class Text
extends com.icl.saxon.style.StyleElement
- -

-

Saxon extension element for inserting text - -

$Id: Text.html,v 1.1 2002/05/15 17:22:27 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon - extension element for inserting text into a result tree.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Text() - -
-          Constructor for Text
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanisInstruction() - -
-          Is this element an instruction?
- booleanmayContainTemplateBody() - -
-          Can this element contain a template-body?
- voidprepareAttributes() - -
-          Validate the arguments
- voidprocess(com.icl.saxon.Context context) - -
-          Insert the text of the file into the result tree
- voidvalidate() - -
-          Validate that the element occurs in a reasonable place.
- - - - - - - -
Methods inherited from class com.icl.saxon.style.StyleElement
bindVariable, -checkEmpty, -checkNotTopLevel, -checkTopLevel, -checkWithinTemplate, -expandChildren, -forwardsCompatibleModeIsEnabled, -getColumnNumber, -getContainingStyleSheet, -getPrecedence, -getPreparedStyleSheet, -getStandardNames, -getStyleSheetFunction, -getVariableBinding, -getVariableNames, -getVersion, -isExcludedNamespace, -isExtensionNamespace, -isTopLevel, -makeAttributeValueTemplate, -makeExpression, -makePattern, -preprocess, -processAllAttributes, -processAttributes, -processChildren, -reportAbsence, -substituteFor, -validateSubtree
- - - - - - - -
Methods inherited from class com.icl.saxon.tree.ElementWithAttributes
addNamespaceNodes, -copy, -getAttribute, -getAttributeList, -getAttributeNode, -getAttributeNodeNS, -getAttributeNS, -getAttributes, -getAttributeValue, -getAttributeValue, -getAttributeValue, -getLength, -getNamedItem, -getNamedItemNS, -getPrefixForURI, -getURICodeForPrefix, -hasAttribute, -hasAttributeNS, -hasAttributes, -initialise, -item, -makeAttributeNode, -makeAttributeNodeFS, -outputNamespaceNodes, -removeAttribute, -removeAttributeNode, -removeAttributeNS, -removeNamedItem, -removeNamedItemNS, -setAttribute, -setAttributeNode, -setAttributeNodeNS, -setAttributeNS, -setNamedItem, -setNamedItemNS, -setNamespaceDeclarations
- - - - - - - -
Methods inherited from class com.icl.saxon.tree.ElementImpl
copy, -getAttributeValue, -getDocumentRoot, -getElementsByTagName, -getElementsByTagNameNS, -getLineNumber, -getNameCode, -getNodeType, -getNodeValue, -getPath, -getSystemId, -getTagName, -makeNameCode, -setLineNumber, -setNameCode
- - - - - - - -
Methods inherited from class com.icl.saxon.tree.ParentNodeImpl
addChild, -compact, -copyStringValue, -defaultAction, -dropChildren, -enumerateChildren, -getAllChildNodes, -getFirstChild, -getLastChild, -getNumberOfChildren, -getSequenceNumber, -getValue, -removeChild, -renumberChildren, -useChildrenArray
- - - - - - - -
Methods inherited from class com.icl.saxon.tree.NodeImpl
appendChild, -cloneNode, -getChildNodes, -getDisplayName, -getDocumentElement, -getFingerprint, -getIndex, -getLocalName, -getNamePool, -getNamespaceURI, -getNextInDocument, -getNextSibling, -getNodeName, -getOwnerDocument, -getParentNode, -getPrefix, -getPreviousInDocument, -getPreviousSibling, -getPublicId, -getSequentialKey, -getURI, -getURICode, -hasChildNodes, -insertBefore, -isa, -isDocumentElement, -isSameNode, -isSupported, -normalize, -removeChild, -removeNode, -replaceChild, -setNodeValue, -setPrefix, -toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Text

-
-public Text()
-
-

Constructor for Text

- -

Does nothing.

- - - - - - - - -
-Method Detail
- -

-isInstruction

-
-public boolean isInstruction()
-
-

Is this element an instruction?

- -

Yes, it is.

-
Overrides:
isInstruction in class com.icl.saxon.style.StyleElement
-
-
-
Returns:
true
-
-
-
- -

-mayContainTemplateBody

-
-public boolean mayContainTemplateBody()
-
-

Can this element contain a template-body?

- -

Yes, it can, but only so that it can contain xsl:fallback.

-
Overrides:
mayContainTemplateBody in class com.icl.saxon.style.StyleElement
-
-
-
Returns:
true
-
-
-
- -

-prepareAttributes

-
-public void prepareAttributes()
-                       throws org.xml.sax.SAXException
-
-

Validate the arguments

- -

The element must have an href attribute.

-
Overrides:
prepareAttributes in class com.icl.saxon.style.StyleElement
-
-
-
- -

-validate

-
-public void validate()
-              throws org.xml.sax.SAXException
-
-
Validate that the element occurs in a reasonable place.
-
Overrides:
validate in class com.icl.saxon.style.StyleElement
-
-
-
- -

-process

-
-public void process(com.icl.saxon.Context context)
-             throws org.xml.sax.SAXException
-
-

Insert the text of the file into the result tree

- -

Processing this element inserts the contents of the URL named - by the href attribute into the result tree as plain text.

-
Overrides:
process in class com.icl.saxon.style.StyleElement
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/TextFactory.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/TextFactory.html deleted file mode 100644 index fbb44443e..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/TextFactory.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -: Class TextFactory - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon6 -
-Class TextFactory

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon6.TextFactory
-
-
-
-
public class TextFactory
extends java.lang.Object
implements com.icl.saxon.style.ExtensionElementFactory
- -

-

Saxon extension element factory - -

$Id: TextFactory.html,v 1.1 2002/05/15 17:22:27 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon - extension element factory for the Text extension element - family.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-

-
See Also:
Text
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
TextFactory() - -
-          Constructor for TextFactory
-  - - - - - - - - - - - -
-Method Summary
- java.lang.ClassgetExtensionClass(java.lang.String localname) - -
-          Return the class that implements a particular extension element.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-TextFactory

-
-public TextFactory()
-
-

Constructor for TextFactory

- -

Does nothing.

- - - - - - - - -
-Method Detail
- -

-getExtensionClass

-
-public java.lang.Class getExtensionClass(java.lang.String localname)
-                                  throws org.xml.sax.SAXException
-
-

Return the class that implements a particular extension element.

-
Specified by:
getExtensionClass in interface com.icl.saxon.style.ExtensionElementFactory
-
-
-
Parameters:
localname - The local name of the extension element.
Returns:
The class that handles that extension element.
Throws:
SAXException("Unknown - Text extension element")
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Verbatim.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Verbatim.html deleted file mode 100644 index ebfa1a5dc..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/Verbatim.html +++ /dev/null @@ -1,347 +0,0 @@ - - - - - - -: Class Verbatim - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -com.nwalsh.saxon6 -
-Class Verbatim

-
-java.lang.Object
-  |
-  +--com.nwalsh.saxon6.Verbatim
-
-
-
-
public class Verbatim
extends java.lang.Object
- -

-

Saxon extensions supporting DocBook verbatim environments

- -

$Id: Verbatim.html,v 1.1 2002/05/15 17:22:27 isberg Exp $

- -

Copyright (C) 2000 Norman Walsh.

- -

This class provides a - Saxon - implementation of two features that would be impractical to - implement directly in XSLT: line numbering and callouts.

- -

Line Numbering

-

The numberLines method takes a result tree - fragment (assumed to contain the contents of a formatted verbatim - element in DocBook: programlisting, screen, address, literallayout, - or synopsis) and returns a result tree fragment decorated with - line numbers.

- -

Callouts

-

The insertCallouts method takes an - areaspec and a result tree fragment - (assumed to contain the contents of a formatted verbatim - element in DocBook: programlisting, screen, address, literallayout, - or synopsis) and returns a result tree fragment decorated with - callouts.

- -

Change Log:

-
-
1.0
-

Initial release.

-
-

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Verbatim() - -
-          Constructor for Verbatim
-  - - - - - - - - - - - - - - - -
-Method Summary
-static com.icl.saxon.expr.FragmentValueinsertCallouts(com.icl.saxon.Context context, - com.icl.saxon.expr.NodeSetIntent areaspecNodeSet, - com.icl.saxon.expr.FragmentValue rtf) - -
-          Insert text callouts into a verbatim environment.
-static com.icl.saxon.expr.FragmentValuenumberLines(com.icl.saxon.Context context, - com.icl.saxon.expr.FragmentValue rtf) - -
-          Number lines in a verbatim environment
- - - - - - - -
Methods inherited from class java.lang.Object
equals, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Verbatim

-
-public Verbatim()
-
-

Constructor for Verbatim

- -

All of the methods are static, so the constructor does nothing.

- - - - - - - - -
-Method Detail
- -

-numberLines

-
-public static com.icl.saxon.expr.FragmentValue numberLines(com.icl.saxon.Context context,
-                                                           com.icl.saxon.expr.FragmentValue rtf)
-
-

Number lines in a verbatim environment

- -

The extension function expects the following variables to be - available in the calling context: $linenumbering.everyNth, - $linenumbering.width, $linenumbering.separator, and - $stylesheet.result.type.

- -

This method adds line numbers to a result tree fragment. Each - newline that occurs in a text node is assumed to start a new line. - The first line is always numbered, every subsequent 'everyNth' line - is numbered (so if everyNth=5, lines 1, 5, 10, 15, etc. will be - numbered. If there are fewer than everyNth lines in the environment, - every line is numbered.

- -

Every line number will be right justified in a string 'width' - characters long. If the line number of the last line in the - environment is too long to fit in the specified width, the width - is automatically increased to the smallest value that can hold the - number of the last line. (In other words, if you specify the value 2 - and attempt to enumerate the lines of an environment that is 100 lines - long, the value 3 will automatically be used for every line in the - environment.)

- -

The 'separator' string is inserted between the line - number and the original program listing. Lines that aren't numbered - are preceded by a 'width' blank string and the separator.

- -

If inline markup extends across line breaks, markup changes are - required. All the open elements are closed before the line break and - "reopened" afterwards. The reopened elements will have the same - attributes as the originals, except that 'name' and 'id' attributes - are not duplicated if the stylesheet.result.type is "html" and - 'id' attributes will not be duplicated if the result type is "fo".

-
Parameters:
rtf - The result tree fragment of the verbatim environment.
Returns:
The modified result tree fragment.
-
-
-
- -

-insertCallouts

-
-public static com.icl.saxon.expr.FragmentValue insertCallouts(com.icl.saxon.Context context,
-                                                              com.icl.saxon.expr.NodeSetIntent areaspecNodeSet,
-                                                              com.icl.saxon.expr.FragmentValue rtf)
-
-

Insert text callouts into a verbatim environment.

- -

This method examines the areaset and area elements - in the supplied areaspec and decorates the supplied - result tree fragment with appropriate callout markers.

- -

If a label attribute is supplied on an area, - its content will be used for the label, otherwise the callout - number will be used, surrounded by parenthesis. Callout numbers may - also be represented as graphics. Callouts are - numbered in document order. All of the areas in an - areaset get the same number.

- -

Only the linecolumn and linerange units are - supported. If no unit is specifed, linecolumn is assumed. - If only a line is specified, the callout decoration appears in - the defaultColumn. Lines will be padded with blanks to reach the - necessary column, but callouts that are located beyond the last - line of the verbatim environment will be ignored.

- -

Callouts are inserted before the character at the line/column - where they are to occur.

- -

If graphical callouts are used, and the callout number is less - than or equal to the $callout.graphics.number.limit, the following image - will be generated for HTML: - -

- <img src="$callout.graphics.path/999$callout.graphics.ext"
-         alt="conumber">
- 
- - If the $stylesheet.result.type is 'fo', the following image will - be generated: - -
- <fo:external-graphic src="$callout.graphics.path/999$callout.graphics.ext"/>
- 
- -

If the callout number exceeds $callout.graphics.number.limit, - the callout will be the callout number surrounded by - parenthesis.

-
Parameters:
context - The stylesheet context.
areaspecNodeSet - The source node set that contains the areaspec.
rtf - The result tree fragment of the verbatim environment.
Returns:
The modified result tree fragment.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-frame.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-frame.html deleted file mode 100644 index 83c8b518c..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-frame.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - -: Package com.nwalsh.saxon6 - - - - - -com.nwalsh.saxon6 - - - - -
-Classes  - -
-CalloutEmitter -
-CopyEmitter -
-CVS -
-LineCountEmitter -
-NumberLinesEmitter -
-Table -
-Text -
-TextFactory -
-Verbatim
- - - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-summary.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-summary.html deleted file mode 100644 index 3623f7c97..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-summary.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -: Package com.nwalsh.saxon6 - - - - - - - - - - - - - - - - - -
- -
- - -
-

-Package com.nwalsh.saxon6 -

-Norman Walsh's Saxon Extensions Package for Saxon 6.* -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
CalloutEmitterSaxon extension to decorate a result tree fragment with callouts.
CopyEmitterA Saxon 6.0 Emitter that clones its input.
CVSSaxon extension to convert CVS date strings into local time
LineCountEmitterSaxon extension to count the lines in a result tree fragment.
NumberLinesEmitterSaxon extension to decorate a result tree fragment with line numbers.
TableSaxon extensions supporting Tables
TextSaxon extension element for inserting text - -
TextFactorySaxon extension element factory - -
VerbatimSaxon extensions supporting DocBook verbatim environments
-  - -

-

-Package com.nwalsh.saxon6 Description -

- -

-

Norman Walsh's Saxon Extensions Package for Saxon 6.*

- -

This package implements Saxon extensions for XSLT.

- -

Copyright (C) 2000 Norman Walsh

-

Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions:

- -

The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software.

- -

Except as contained in this notice, the names of individuals -credited with contribution to this software shall not be used in -advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the -individuals in question.

- -

Anything derived from this Software that is publically -distributed will be identified with a different name and the -version strings in any derived Software will be changed so that no -possibility of confusion between the derived package and this -Software will exist.

- - -
-

Warranty

-

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER -CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE.

-
-

-


- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-tree.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-tree.html deleted file mode 100644 index 5d5a27cb5..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/com/nwalsh/saxon6/package-tree.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - -: com.nwalsh.saxon6 Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For Package com.nwalsh.saxon6 -

-
-

-Class Hierarchy -

-
    -
  • class java.lang.Object
      -
    • class com.nwalsh.saxon6.CopyEmitter (implements com.icl.saxon.output.Emitter) - -
    • class com.nwalsh.saxon6.CVS
    • class com.nwalsh.saxon6.LineCountEmitter (implements com.icl.saxon.output.Emitter) -
    • class com.icl.saxon.tree.NodeImpl (implements com.icl.saxon.om.NodeInfo) -
        -
      • class com.icl.saxon.tree.ParentNodeImpl
          -
        • class com.icl.saxon.tree.ElementImpl (implements org.w3c.dom.Element, com.icl.saxon.om.ElementInfo, org.w3c.dom.NamedNodeMap) -
            -
          • class com.icl.saxon.tree.ElementWithAttributes (implements org.w3c.dom.Element, com.icl.saxon.om.ElementInfo, org.w3c.dom.NamedNodeMap) -
              -
            • class com.icl.saxon.style.StyleElement (implements org.xml.sax.Locator) -
                -
              • class com.nwalsh.saxon6.Text
              -
            -
          -
        -
      -
    • class com.nwalsh.saxon6.Table
    • class com.nwalsh.saxon6.TextFactory (implements com.icl.saxon.style.ExtensionElementFactory) -
    • class com.nwalsh.saxon6.Verbatim
    -
-
- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/deprecated-list.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/deprecated-list.html deleted file mode 100644 index c3aa6bf44..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/deprecated-list.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - -: Deprecated List - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Deprecated API

-
-
- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/help-doc.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/help-doc.html deleted file mode 100644 index f7a00fcc0..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/help-doc.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -: API Help - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    -
  • Interfaces (italic)
  • Classes
  • Exceptions
  • Errors
-
-

-Class/Interface

-
- -

-Each class, interface, inner class and inner interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description -

    -

  • Inner Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary -

    -

  • Field Detail
  • Constructor Detail
  • Method Detail
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    -
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
-
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/index-all.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/index-all.html deleted file mode 100644 index 5ccb84ea5..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/index-all.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - -: Index - - - - - - - - - - - - - - - - - -
- -
- - -A C E G I L M N P R S T V
-

-A

-
-
adjustColumnWidths(Context, FragmentValue) - -Static method in class com.nwalsh.saxon6.Table -
  -
-
-

-C

-
-
CalloutEmitter - class com.nwalsh.saxon6.CalloutEmitter.
Saxon extension to decorate a result tree fragment with callouts.
CalloutEmitter(NamePool, String, String, int, int, boolean) - -Constructor for class com.nwalsh.saxon6.CalloutEmitter -
Constructor for the CalloutEmitter. -
characters(char[], int, int) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy characters. -
characters(char[], int, int) - -Method in class com.nwalsh.saxon6.NumberLinesEmitter -
Process characters. -
characters(char[], int, int) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Process characters. -
characters(char[], int, int) - -Method in class com.nwalsh.saxon6.CalloutEmitter -
Process characters. -
com.nwalsh.saxon6 - package com.nwalsh.saxon6
Norman Walsh's Saxon Extensions Package for Saxon 6.*
comment(char[], int, int) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy comments. -
comment(char[], int, int) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
convertLength(String) - -Static method in class com.nwalsh.saxon6.Table -
  -
CopyEmitter - class com.nwalsh.saxon6.CopyEmitter.
A Saxon 6.0 Emitter that clones its input.
CopyEmitter(NamePool) - -Constructor for class com.nwalsh.saxon6.CopyEmitter -
Constructor for the CopyEmitter. -
CVS - class com.nwalsh.saxon6.CVS.
Saxon extension to convert CVS date strings into local time
CVS() - -Constructor for class com.nwalsh.saxon6.CVS -
Constructor for CVS -
-
-

-E

-
-
endDocument() - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy end document events. -
endDocument() - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
endElement(int) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy end element events. -
endElement(int) - -Method in class com.nwalsh.saxon6.NumberLinesEmitter -
Process end element events. -
endElement(int) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
endElement(int) - -Method in class com.nwalsh.saxon6.CalloutEmitter -
Process end element events. -
-
-

-G

-
-
getExtensionClass(String) - -Method in class com.nwalsh.saxon6.TextFactory -
Return the class that implements a particular extension element. -
getResultTreeFragment() - -Method in class com.nwalsh.saxon6.CopyEmitter -
Return the result tree fragment constructed by replaying events - through this emitter. -
-
-

-I

-
-
insertCallouts(Context, NodeSetIntent, FragmentValue) - -Static method in class com.nwalsh.saxon6.Verbatim -
Insert text callouts into a verbatim environment. -
isInstruction() - -Method in class com.nwalsh.saxon6.Text -
Is this element an instruction? -
-
-

-L

-
-
lineCount() - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Return the number of lines. -
LineCountEmitter - class com.nwalsh.saxon6.LineCountEmitter.
Saxon extension to count the lines in a result tree fragment.
LineCountEmitter() - -Constructor for class com.nwalsh.saxon6.LineCountEmitter -
Construct a new LineCountEmitter. -
localTime(String) - -Static method in class com.nwalsh.saxon6.CVS -
Convert a CVS date string into local time. -
-
-

-M

-
-
mayContainTemplateBody() - -Method in class com.nwalsh.saxon6.Text -
Can this element contain a template-body? -
-
-

-N

-
-
numberLines(Context, FragmentValue) - -Static method in class com.nwalsh.saxon6.Verbatim -
Number lines in a verbatim environment -
NumberLinesEmitter - class com.nwalsh.saxon6.NumberLinesEmitter.
Saxon extension to decorate a result tree fragment with line numbers.
NumberLinesEmitter(NamePool, int, int, String, boolean) - -Constructor for class com.nwalsh.saxon6.NumberLinesEmitter -
Constructor for the NumberLinesEmitter. -
-
-

-P

-
-
prepareAttributes() - -Method in class com.nwalsh.saxon6.Text -
Validate the arguments -
process(Context) - -Method in class com.nwalsh.saxon6.Text -
Insert the text of the file into the result tree -
processingInstruction(String, String) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy processing instructions. -
processingInstruction(String, String) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
-
-

-R

-
-
reset() - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Reset the number of lines. -
-
-

-S

-
-
setCharacterSet(CharacterSet) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy set character set events. -
setCharacterSet(CharacterSet) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
setDocumentLocator(Locator) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy set document locator events. -
setDocumentLocator(Locator) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
setEscaping(boolean) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy set escaping events. -
setEscaping(boolean) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
setNamePool(NamePool) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy set name pool events. -
setNamePool(NamePool) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
setOutputDetails(OutputDetails) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy set output details events. -
setOutputDetails(OutputDetails) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
setUnparsedEntity(String, String) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy set unparsed entity events. -
setUnparsedEntity(String, String) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
setupCallouts(NodeSetIntent) - -Method in class com.nwalsh.saxon6.CalloutEmitter -
Examine the areaspec and determine the number and position of - callouts. -
setWriter(Writer) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy set writer events. -
setWriter(Writer) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
startDocument() - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy start document events. -
startDocument() - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
startElement(int, Attributes, int[], int) - -Method in class com.nwalsh.saxon6.CopyEmitter -
Copy start element events. -
startElement(int, Attributes, int[], int) - -Method in class com.nwalsh.saxon6.NumberLinesEmitter -
Process start element events. -
startElement(int, Attributes, int[], int) - -Method in class com.nwalsh.saxon6.LineCountEmitter -
Discarded. -
startElement(int, Attributes, int[], int) - -Method in class com.nwalsh.saxon6.CalloutEmitter -
Process start element events. -
-
-

-T

-
-
Table - class com.nwalsh.saxon6.Table.
Saxon extensions supporting Tables
Table() - -Constructor for class com.nwalsh.saxon6.Table -
Constructor for Verbatim -
Text - class com.nwalsh.saxon6.Text.
Saxon extension element for inserting text - -
Text() - -Constructor for class com.nwalsh.saxon6.Text -
Constructor for Text -
TextFactory - class com.nwalsh.saxon6.TextFactory.
Saxon extension element factory - -
TextFactory() - -Constructor for class com.nwalsh.saxon6.TextFactory -
Constructor for TextFactory -
-
-

-V

-
-
validate() - -Method in class com.nwalsh.saxon6.Text -
Validate that the element occurs in a reasonable place. -
Verbatim - class com.nwalsh.saxon6.Verbatim.
Saxon extensions supporting DocBook verbatim environments
Verbatim() - -Constructor for class com.nwalsh.saxon6.Verbatim -
Constructor for Verbatim -
-
-A C E G I L M N P R S T V - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/index.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/index.html deleted file mode 100644 index b2e8944a1..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/index.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -Generated Documentation (Untitled) - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to <A HREF="com/nwalsh/saxon6/package-summary.html">Non-frame version.</A> - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/overview-tree.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/overview-tree.html deleted file mode 100644 index f19356603..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/overview-tree.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - -: Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For All Packages

-
-
-
Package Hierarchies:
com.nwalsh.saxon6
-
-

-Class Hierarchy -

-
    -
  • class java.lang.Object
      -
    • class com.nwalsh.saxon6.CopyEmitter (implements com.icl.saxon.output.Emitter) - -
    • class com.nwalsh.saxon6.CVS
    • class com.nwalsh.saxon6.LineCountEmitter (implements com.icl.saxon.output.Emitter) -
    • class com.icl.saxon.tree.NodeImpl (implements com.icl.saxon.om.NodeInfo) -
        -
      • class com.icl.saxon.tree.ParentNodeImpl
          -
        • class com.icl.saxon.tree.ElementImpl (implements org.w3c.dom.Element, com.icl.saxon.om.ElementInfo, org.w3c.dom.NamedNodeMap) -
            -
          • class com.icl.saxon.tree.ElementWithAttributes (implements org.w3c.dom.Element, com.icl.saxon.om.ElementInfo, org.w3c.dom.NamedNodeMap) -
              -
            • class com.icl.saxon.style.StyleElement (implements org.xml.sax.Locator) -
                -
              • class com.nwalsh.saxon6.Text
              -
            -
          -
        -
      -
    • class com.nwalsh.saxon6.Table
    • class com.nwalsh.saxon6.TextFactory (implements com.icl.saxon.style.ExtensionElementFactory) -
    • class com.nwalsh.saxon6.Verbatim
    -
-
- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/package-list b/lib/docbook/docbook-xsl/extensions/doc/saxon6/package-list deleted file mode 100644 index 682860858..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/package-list +++ /dev/null @@ -1 +0,0 @@ -com.nwalsh.saxon6 diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/packages.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/packages.html deleted file mode 100644 index 5b501d971..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/packages.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - -
- -
- -
-
-The front page has been relocated.Please see: -
-          Frame version -
-          Non-frame version.
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/serialized-form.html b/lib/docbook/docbook-xsl/extensions/doc/saxon6/serialized-form.html deleted file mode 100644 index 5968841d4..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/serialized-form.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - -Serialized Form - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Serialized Form

-
-
- - - - - - - - - - - - - -
- -
- - -
- - - diff --git a/lib/docbook/docbook-xsl/extensions/doc/saxon6/stylesheet.css b/lib/docbook/docbook-xsl/extensions/doc/saxon6/stylesheet.css deleted file mode 100644 index 07dc9eaf3..000000000 --- a/lib/docbook/docbook-xsl/extensions/doc/saxon6/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ -.TableRowColor { background: #FFFFFF } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: normal; font-family: normal } -.FrameHeadingFont { font-size: normal; font-family: normal } -.FrameItemFont { font-size: normal; font-family: normal } - -/* Example of smaller, sans-serif font in frames */ -/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */ - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */ -.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} - diff --git a/lib/docbook/docbook-xsl/extensions/prj.el b/lib/docbook/docbook-xsl/extensions/prj.el deleted file mode 100644 index 702b58b2a..000000000 --- a/lib/docbook/docbook-xsl/extensions/prj.el +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - - -(jde-set-project-name "xalan") -(jde-set-variables - '(jde-gen-session-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\" -\"java.rmi.RemoteException\"))" "(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void ejbActivate() throws RemoteException {\"'>'n \"}\"'>'n -'>'n" "'> \"public void ejbPassivate() throws RemoteException {\"'>'n \"}\"'>'n -'>'n" "'> \"public void ejbRemove() throws RemoteException {\"'>'n \"}\"'>'n '>'n" "'> \"public void setSessionContext(SessionContext ctx) throws -RemoteException {\"" "'>'n \"}\"'>'n '>'n" "'> \"public void unsetSessionContext() throws RemoteException {\"'>'n -\"}\"'>'n '>'n'>"))) - '(jde-gen-beep (quote ("(end-of-line) '&" "\"Toolkit.getDefaultToolkit().beep();\"'>'n'>"))) - '(jde-which-method-format (quote ("[" jde-which-method-current "]"))) - '(jde-run-classic-mode-vm nil) - '(jde-javadoc-gen-nodeprecatedlist nil) - '(jde-which-method-max-length 20) - '(jde-imenu-include-classdef t) - '(jde-javadoc-gen-link-online nil) - '(jde-gen-code-templates (quote (("Get Set Pair" . jde-gen-get-set) ("toString method" . jde-gen-to-string-method) ("Action Listener" . jde-gen-action-listener) ("Window Listener" . jde-gen-window-listener) ("Mouse Listener" . jde-gen-mouse-listener) ("Mouse Motion Listener" . jde-gen-mouse-motion-listener) ("Inner Class" . jde-gen-inner-class) ("println" . jde-gen-println) ("beep" . jde-gen-beep) ("property change support" . jde-gen-property-change-support) ("EJB Entity Bean" . jde-gen-entity-bean) ("EJB Session Bean" . jde-gen-session-bean)))) - '(jde-gen-cflow-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"else\")" "'(l '> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of else\"'>'n'>)" ")"))) - '(jde-make-args "") - '(jde-javadoc-gen-destination-directory "JavaDoc") - '(jde-mode-line-format (quote ("-" mode-line-mule-info mode-line-modified mode-line-frame-identification mode-line-buffer-identification " " global-mode-string " %[(" mode-name mode-line-process minor-mode-alist "%n" ")%]--" (line-number-mode "L%l--") (column-number-mode "C%c--") (-3 . "%p") (jde-which-method-mode ("--" jde-which-method-format "--")) "-%-"))) - '(jde-mode-abbreviations (quote (("ab" . "abstract") ("bo" . "boolean") ("br" . "break") ("by" . "byte") ("byv" . "byvalue") ("cas" . "cast") ("ca" . "catch") ("ch" . "char") ("cl" . "class") ("co" . "const") ("con" . "continue") ("de" . "default") ("dou" . "double") ("el" . "else") ("ex" . "extends") ("fa" . "false") ("fi" . "final") ("fin" . "finally") ("fl" . "float") ("fo" . "for") ("fu" . "future") ("ge" . "generic") ("go" . "goto") ("impl" . "implements") ("impo" . "import") ("ins" . "instanceof") ("in" . "int") ("inte" . "interface") ("lo" . "long") ("na" . "native") ("ne" . "new") ("nu" . "null") ("pa" . "package") ("pri" . "private") ("pro" . "protected") ("pu" . "public") ("re" . "return") ("sh" . "short") ("st" . "static") ("su" . "super") ("sw" . "switch") ("sy" . "synchronized") ("th" . "this") ("thr" . "throw") ("throw" . "throws") ("tra" . "transient") ("tr" . "true") ("vo" . "void") ("vol" . "volatile") ("wh" . "while")))) - '(jde-imenu-enable t) - '(jde-compile-option-verbose nil) - '(jde-db-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes")))) - '(jde-bug-debugger-host-address "localhost" t) - '(jde-make-working-directory "") - '(jde-bug-breakpoint-marker-colors (quote ("red" . "yellow"))) - '(jde-javadoc-gen-use nil) - '(jde-gen-buffer-boilerplate nil) - '(jde-bug-raise-frame-p t) - '(jde-db-option-application-args (quote ("-IN" "/share/xsl/docbook/test/exttest.xml" "-XSL " "/share/xsl/docbook/test/exttest.xsl")) t) - '(jde-javadoc-gen-nonavbar nil) - '(jde-javadoc-gen-nohelp nil) - '(jde-bug-vm-includes-jpda-p nil) - '(jde-gen-jfc-app-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"import java.awt.Dimension;\" '>'n" "\"import java.awt.Graphics;\" '>'n" "\"import java.awt.Graphics2D;\" '>'n" "\"import java.awt.Color;\" '>'n" "\"import java.awt.geom.Ellipse2D;\" '>'n" "\"import java.awt.event.WindowAdapter;\" '>'n" "\"import java.awt.event.WindowEvent;\" '>'n" "\"import javax.swing.JFrame;\" '>'n" "\"import javax.swing.JPanel;\" '>'n" "\"import javax.swing.JScrollPane;\" '>'n" "\"import javax.swing.JMenuBar;\" '>'n" "\"import javax.swing.JMenu;\" '>'n" "\"import java.awt.event.ActionEvent;\" '>'n" "\"import javax.swing.AbstractAction;\" '>'n '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" extends JFrame\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"class Canvas extends JPanel\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public Canvas () \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"setSize(getPreferredSize());\" '>'n" "\"Canvas.this.setBackground(Color.white);\" '>'n" "\"}\"'>'n '>'n" "\"public Dimension getPreferredSize() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"return new Dimension(600, 600);\" '>'n" "\"}\"'>'n '>'n" "\"public void paintComponent(Graphics g) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super.paintComponent(g);\" '>'n" "\"Graphics2D g2d = (Graphics2D) g;\" '>'n" "\"Ellipse2D circle = new Ellipse2D.Double(0d, 0d, 100d, 100d);\" '>'n" "\"g2d.setColor(Color.red);\" '>'n" "\"g2d.translate(10, 10);\" '>'n" "\"g2d.draw(circle);\" '>'n" "\"g2d.fill(circle);\" '>'n" "\"}\"'>'n " "\"}\"'>'n '>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super(\\\"\" (P \"Enter app title: \") \"\\\");\" '>'n" "\"setSize(300, 300);\" '>'n" "\"addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void windowClosing(WindowEvent e) {System.exit(0);}\" '>'n" "\"public void windowOpened(WindowEvent e) {}\" '>'n" "\"});\"'>'n" "\"setJMenuBar(createMenu());\" '>'n" "\"getContentPane().add(new JScrollPane(new Canvas()));\" '>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" f = new \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"();\" '>'n" "\"f.show();\" '>'n" "\"}\"'>'n '>'n" "\"protected JMenuBar createMenu() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"JMenuBar mb = new JMenuBar();\" '>'n" "\"JMenu menu = new JMenu(\\\"File\\\");\" '>'n" "\"menu.add(new AbstractAction(\\\"Exit\\\") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"System.exit(0);\" '>'n" "\"}\" '>'n" "\"});\" '>'n" "\"mb.add(menu);\" '>'n" "\"return mb;\" '>'n" "\"}\"'>'n " "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-bug-key-bindings (quote (("[? ? ?]" . jde-bug-step-over) ("[? ? ?]" . jde-bug-step-into) ("[? ? ?]" . jde-bug-step-into-all) ("[? ? ?]" . jde-bug-step-out) ("[? ? ?]" . jde-bug-continue) ("[? ? ?]" . jde-bug-toggle-breakpoint)))) - '(jde-compile-finish-hook (quote (jde-compile-finish-refresh-speedbar jde-compile-finish-flush-completion-cache))) - '(jde-compile-option-nowarn nil) - '(jde-setnu-mode-threshold 20000) - '(jde-run-java-vm-w "javaw") - '(jde-compile-option-encoding nil) - '(jde-run-option-java-profile (quote (nil . "./java.prof"))) - '(jde-bug-jpda-directory "/usr/local/jdk1.2.2" t) - '(jde-read-compile-args nil) - '(jde-run-java-vm "java") - '(jde-db-option-verbose (quote (nil nil nil))) - '(jde-which-method-class-min-length 4) - '(jde-db-read-app-args nil) - '(jde-javadoc-gen-nodeprecated nil) - '(jde-run-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects"))) - '(jde-gen-println (quote ("(end-of-line) '&" "\"System.out.println(\" (P \"Print out: \") \");\" '>'n'>"))) - '(jde-enable-abbrev-mode nil) - '(jde-auto-parse-max-buffer-size 50000) - '(jde-gen-cflow-main (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"main\")" "'(l '> \"public static void main (String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of main ()\"'>'n'>)" ")"))) - '(jde-javadoc-exception-tag-template "\"* @exception \" type \" if an error occurs\"") - '(jde-global-classpath nil t) - '(jde-gen-window-listener-template (quote ("(end-of-line) '& (P \"Window name: \")" "\".addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"public void windowActivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"" "'>'n \"public void windowClosed(WindowEvent e)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowClosing(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"System.exit(0);\" '>'n \"}\"" "'>'n \"public void windowDeactivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowDeiconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowIconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowOpened(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"});\" '>'n'>"))) - '(jde-run-working-directory "/share/xsl/docbook/extensions" t) - '(jde-gen-property-change-support (quote ("(end-of-line) '&" "\"protected PropertyChangeSupport pcs = new PropertyChangeSupport(this);\" '>'n '>'n" "\"/**\" '>'n" "\"* Adds a PropertyChangeListener to the listener list.\" '>'n" "\"* The listener is registered for all properties.\" '>'n" "\"*\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n" "\"*/\" '>'n" "\"public void addPropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"pcs.addPropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n" "\"* Removes a PropertyChangeListener from the listener list.\" '>'n" "\"* This removes a PropertyChangeListener that was registered for all properties.\" '>'n" "\"*\" '>'n " "\"* @param listener The PropertyChangeListener to be removed\" '>'n" "\"*/\" '>'n" "\"public void removePropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>\"pcs.removePropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Adds a PropertyChangeListener for a specific property.\" '>'n" "\"* The listener will be invoked only when a call on firePropertyChange\" '>'n" "\"* names that specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property to listen on\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n \"*/\" '>'n" "\"public void addPropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.addPropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Removes a PropertyChangeListener for a specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property that was listened on\" '>'n" "\"* @param listener The PropertyChangeListener to be removed\" '>'n \"*/\" '>'n" "\"public void removePropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.removePropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, Object oldValue, Object newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, int oldValue, int newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Fires an existing PropertyChangeEvent to any registered listeners.\" '>'n" "\"* No event is fired if the given event's old and new values are equal and non-null. \" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n\"*/\" '>'n" "\"public void firePropertyChange(PropertyChangeEvent evt) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(evt);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Checks if there are any listeners for a specific property.\" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n" "\"* @return trueif there are one or more listeners for the given property\" '>'n" "\"*/\" '>'n" "\"public boolean hasListeners(String propertyName) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"return pcs.hasListeners(propertyName);\" '>'n \"}\" '>'n '>'n'>"))) - '(jde-javadoc-describe-interface-template "\"* Describe interface \" (jde-javadoc-code name) \" here.\"") - '(jde-imenu-include-signature t) - '(jde-db-marker-regexp "^.*: thread=.*, \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9]*\\),") - '(jde-gen-mouse-motion-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseMotionListener(new MouseMotionAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>" "'>'n \"public void mouseDragged(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mouseMoved(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>"))) - '(jde-key-bindings (quote (("[? ? ?]" . jde-run-menu-run-applet) ("[? ? ?]" . jde-build) ("[? ? ?]" . jde-compile) ("[? ? ?]" . jde-debug) ("[? ? ?]" . jde-wiz-implement-interface) ("[? ? ?j]" . jde-javadoc-generate-javadoc-template) ("[? ? ? ]" . bsh) ("[? ? ? ]" . jde-gen-println) ("[? ? ?]" . jde-browse-jdk-doc) ("[? ? ?]" . jde-save-project) ("[? ? ?]" . jde-wiz-update-class-list) ("[? ? ?]" . jde-run) ("[? ? ?]" . speedbar-frame-mode) ("[? ? ?]" . jde-db-menu-debug-applet) ("[? ? ?]" . jde-help-symbol) ("[? ? ?]" . jde-show-class-source) ("[? ? ?]" . jde-import-find-and-import) ("[(control c) (control v) (control ?.)]" . jde-complete-at-point-menu) ("[(control c) (control v) ?.]" . jde-complete-at-point)))) - '(jde-gen-cflow-for-i (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"fori\")" "'(l '> \"for (int \" (p \"variable: \" var) \" = 0; \"" "(s var)" "\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (int \" (s var) \" = 0; \"" "(s var) \" < \" (s ub) \"; \" (s var) \"++)\"'>'n'>)" ")"))) - '(jde-run-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-javadoc-gen-detail-switch (quote ("-protected"))) - '(jde-bug-sio-connect-delay 1) - '(jde-javadoc-param-tag-template "\"* @param \" name \" \" (jde-javadoc-a type) - \" \" (jde-javadoc-code type) \" value\"") - '(jde-compile-option-verbose-path nil) - '(jde-javadoc-display-doc t) - '(jde-imenu-modifier-abbrev-alist (quote (("public" . 43) ("protected" . 177) ("private" . 172) ("static" . 2215) ("transient" . 35) ("volatile" . 126) ("abstract" . 170) ("final" . 182) ("native" . 36) ("synchronized" . 64) ("strictfp" . 37)))) - '(jde-db-debugger (quote ("JDEbug" "/usr/local/jdk1.2.2/lib/i386" . "Executable")) t) - '(jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.1/docs/index.html") - '(jde-gen-cflow-enable t) - '(jde-compiler "javac") - '(jde-javadoc-gen-verbose nil) - '(jde-javadoc-describe-method-template "\"* Describe \" (jde-javadoc-code name) \" method here.\"") - '(jde-gen-class-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n'" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" \" (jde-gen-get-super-class)" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\">" "'>'n" "\"}\">" "\"// \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-javadoc-checker-level (quote protected)) - '(jde-appletviewer-option-vm-args nil) - '(jde-run-executable-args nil) - '(jde-db-option-garbage-collection (quote (t t))) - '(jde-javadoc-gen-stylesheetfile "") - '(jde-use-font-lock t) - '(jde-compile-option-bootclasspath nil) - '(jde-make-program "make") - '(jde-javadoc-gen-group nil) - '(jde-javadoc-gen-link-offline nil) - '(jde-entering-java-buffer-hook (quote (jde-reload-project-file jde-which-method-update-on-entering-buffer))) - '(jde-javadoc-gen-doc-title "") - '(jde-javadoc-gen-header "") - '(jde-run-option-vm-args nil) - '(jde-javadoc-gen-window-title "") - '(jde-compile-option-directory "" t) - '(jde-imenu-create-index-function (quote semantic-create-imenu-index)) - '(jde-gen-console-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\"'>'n" "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-read-make-args nil) - '(jde-javadoc-gen-noindex nil) - '(jde-gen-mouse-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseListener(new MouseAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'> " "'>'n \"public void mouseClicked(MouseEvent e) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseEntered(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseExited(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mousePressed(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseReleased(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>"))) - '(jde-run-option-application-args (quote ("-IN" "test.xml" "-XSL" "test.xsl")) t) - '(jde-bug-vm-executable (quote ("java"))) - '(jde-db-set-initial-breakpoint t) - '(jde-bug-debugger-command-timeout 10) - '(jde-db-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes")))) - '(jde-db-option-properties nil t) - '(jde-db-source-directories (quote ("/share/xsl/docbook/extensions/xalan2/" "/projects/apache/xml-xalan/java/src/" "/projects/apache/xml-xerces/java/build/src/" "/projects/sun/resolver/" "/home/ndw/java/")) t) - '(jde-run-read-app-args nil) - '(jde-gen-to-string-method-template (quote ("(end-of-line) '&" "\"public String toString() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n'>"))) - '(jde-quote-classpath t) - '(jde-bug-window-message nil) - '(jde-build-use-make nil) - '(jde-javadoc-author-tag-template "\"* @author \" user-full-name \"\"") - '(jde-javadoc-describe-field-template "\"* Describe \" (jde-javadoc-field-type modifiers) - \" \" (jde-javadoc-code name) \" here.\"") - '(jde-javadoc-gen-link-URL nil) - '(jde-compile-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-bug-jdk-directory "/usr/local/jdk1.2.2" t) - '(jde-gen-boilerplate-function (quote jde-gen-create-buffer-boilerplate)) - '(jde-gen-entity-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\" -\"java.rmi.RemoteException\"))" "'> \"public void ejbActivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbPassivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbLoad() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbStore() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbRemove() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void setEntityContext(EntityContext ctx) throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void unsetEntityContext() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n'>"))) - '(jde-javadoc-describe-constructor-template "\"* Creates a new \" (jde-javadoc-code name) \" instance.\"") - '(jde-bug-server-shmem-name (quote (t . "JDEbug"))) - '(jde-db-startup-commands nil) - '(jde-javadoc-gen-docletpath nil) - '(jde-javadoc-gen-split-index nil) - '(jde-compile-option-deprecation nil t) - '(jde-import-group-of-rules (quote (("^javax?\\.")))) - '(jde-which-method-mode t) - '(jde-gen-k&r t) - '(jde-javadoc-gen-bottom "") - '(jde-javadoc-gen-footer "") - '(jde-db-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-gen-cflow-for (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"for\")" "'(l '> \"for (\" (p \"for-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-run-mode-hook nil) - '(jde-db-option-verify (quote (nil t))) - '(jde-compile-option-extdirs nil) - '(jde-imenu-sort nil) - '(jde-gen-get-set-var-template (quote ("(end-of-line) '&" "(P \"Variable type: \" type) \" \"" "(P \"Variable name: \" name) \";\" '>'n '>'n" "\"/**\" '>'n" "\"* Get the value of \" (s name) \".\" '>'n" "\"* @return value of \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public \" (s type)" "(if (string= \"boolean\" (jde-gen-lookup-named 'type) ) " "\" is\" " "\" get\" ) " "(jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"return \" (s name) \";\" '>'n \"}\"" "'>'n '>'n" "\"/**\" '>'n" "\"* Set the value of \" (s name) \".\" '>'n" "\"* @param v Value to assign to \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public void set\" (jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"(\" (s type) \" v) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "'>'\"this.\" (s name) \" = v;\" '>'n \"}\" '>'n'>"))) - '(jde-bug-saved-breakpoints nil) - '(jde-compile-option-sourcepath (quote ("/share/xsl/docbook/extensions/xalan2" "/projects/apache/xml-xalan/java/build/src" "/projects/apache/xml-xerces/java/build/src" "/projects/sun/resolver")) t) - '(jde-gen-cflow-if (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-db-option-java-profile (quote (nil . "./java.prof"))) - '(jde-javadoc-gen-author t) - '(jde-compile-option-depend-switch (quote ("-Xdepend"))) - '(jde-setnu-mode-enable nil) - '(jde-run-applet-doc "") - '(jde-compile-option-vm-args nil) - '(jde-javadoc-gen-overview "") - '(jde-javadoc-gen-notree nil) - '(jde-run-option-garbage-collection (quote (t t))) - '(jde-db-mode-hook nil) - '(jde-javadoc-command-path "javadoc") - '(jde-db-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects"))) - '(jde-import-group-function (quote jde-import-group-of)) - '(jde-db-read-vm-args nil) - '(jde-bug-debug nil) - '(jde-javadoc-end-block-template nil) - '(jde-javadoc-gen-packages nil) - '(jde-gen-cflow-if-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"ife\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'> n" "'> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")else\"'>'n'>)" ")"))) - '(jde-gen-cflow-while (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"while\")" "'(l '> \"while (\" (p \"while-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of while (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-bug-server-socket (quote (t . "2112"))) - '(jde-imenu-include-modifiers nil) - '(jde-appletviewer-option-encoding "") - '(jde-bug-breakpoint-cursor-colors (quote ("cyan" . "brown"))) - '(jde-compile-option-target (quote ("1.1"))) - '(jde-run-executable "") - '(jde-run-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes")))) - '(jde-gen-cflow-switch (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"switch\")" "'(l '> \"switch (\" (p \"switch-condition: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'" "\"case \" (p \"first value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p'n" "\"default:\"'>'n'>'p'n" "\"break;\"'>'n" "\"} // end of switch (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-which-method-abbrev-symbol "~") - '(jde-db-option-vm-args nil) - '(jde-run-application-class "org.apache.xalan.xslt.Process" t) - '(jde-javadoc-gen-doclet "") - '(jde-import-auto-sort nil) - '(jde-run-option-verbose (quote (nil nil nil))) - '(jde-project-file-name "prj.el") - '(jde-compile-option-debug (quote ("selected" (t nil nil))) t) - '(jde-bug-jre-home "") - '(jde-import-sorted-groups nil) - '(jde-run-applet-viewer "") - '(jde-javadoc-return-tag-template "\"* @return \" (jde-javadoc-a type) - \" \" (jde-javadoc-code type) \" value\"") - '(jde-javadoc-gen-version t) - '(jde-javadoc-gen-helpfile "") - '(jde-import-excluded-packages (quote ("bsh.*"))) - '(jde-run-read-vm-args nil) - '(jde-help-docsets nil) - '(jde-gen-inner-class-template (quote ("(end-of-line) '& \"class \" (P \"Class name: \" class)" "(P \"Superclass: \" super t)" "(let ((parent (jde-gen-lookup-named 'super)))" "(if (not (string= parent \"\"))" "(concat \" extends \" parent ))) " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"public \" (s class) \"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n" "\"}\" '>'n'>"))) - '(jde-auto-parse-buffer-interval 180) - '(jde-run-option-verify (quote (nil t))) - '(jde-import-reverse-sort-group nil) - '(jde-compile-option-optimize nil) - '(jde-gen-cflow-case (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"case\")" "'(l 'n \"case \" (p \"value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p)" ")"))) - '(jde-compile-option-depend nil) - '(jde-javadoc-describe-class-template "\"* Describe class \" (jde-javadoc-code name) \" here.\"") - '(jde-javadoc-gen-serialwarn nil) - '(jde-gen-action-listener-template (quote ("'& (P \"Component name: \")" "\".addActionListener(new ActionListener() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n \"});\"'>'n'>"))) - '(jde-auto-parse-enable t) - '(jde-compile-option-command-line-args "") - '(jde-gen-buffer-templates (quote (("Class" . jde-gen-class) ("Console" . jde-gen-console) ("Swing App" . jde-gen-jfc-app)))) - '(jde-project-context-switching-enabled-p t) - '(jde-javadoc-gen-args nil) - '(jde-run-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes")))) - '(jde-run-option-properties nil t)) - - diff --git a/lib/docbook/docbook-xsl/extensions/saxon642.jar b/lib/docbook/docbook-xsl/extensions/saxon642.jar deleted file mode 100644 index dcc16590a5ec53db9b6f122202f9c55e0b763004..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 34552 zcma&O1C(UV(l*+*?U}Z1+qO|{+wPvWZQH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`Ya09M#_NU7&z09NJN-Ax p|I+`@h0rfcasOBU|JU;09fQ2gXK&tMzx>_3)Y$I4eCW-a{|BwcQ4atB diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/ChangeLog b/lib/docbook/docbook-xsl/extensions/saxon642/ChangeLog deleted file mode 100644 index ba21554bc..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/ChangeLog +++ /dev/null @@ -1,4 +0,0 @@ -2001-07-16 Norman Walsh - - * .cvsignore, prj.el: New file. - diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CVS.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CVS.java deleted file mode 100644 index 7d316a285..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CVS.java +++ /dev/null @@ -1,90 +0,0 @@ -package com.nwalsh.saxon; - -import java.io.*; -import java.util.Calendar; -import java.util.GregorianCalendar; -import java.util.Date; -import java.util.Locale; -import java.util.TimeZone; -import java.text.DateFormat; -import java.text.ParseException; - -/** - *

Saxon extension to convert CVS date strings into local time

- * - *

$Id: CVS.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * extension to turn the CVS date strings, which are UTC:

- * - *
$Date: 2000/11/09 02:34:20 $
- * - *

into legibly formatted local time:

- * - *
Wed Nov 08 18:34:20 PST 2000
- * - *

(I happened to be in California when I wrote this documentation.)

- - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: CVS.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - */ -public class CVS { - /** - *

Constructor for CVS

- * - *

All of the methods are static, so the constructor does nothing.

- */ - public CVS() { - } - - /** - *

Convert a CVS date string into local time.

- * - * @param cvsDate The CVS date string. - * - * @return The date, converted to local time and reformatted. - */ - public static String localTime (String cvsDate) { - // A cvsDate has the following form "$Date: 2002/05/15 17:22:27 $" - if (!cvsDate.startsWith("$Date: ")) { - return cvsDate; - } - - String yrS = cvsDate.substring(7,11); - String moS = cvsDate.substring(12,14); - String daS = cvsDate.substring(15,17); - String hrS = cvsDate.substring(18,20); - String miS = cvsDate.substring(21,23); - String seS = cvsDate.substring(24,26); - - TimeZone tz = TimeZone.getTimeZone("GMT+0"); - GregorianCalendar gmtCal = new GregorianCalendar(tz); - - try { - gmtCal.set(Integer.parseInt(yrS), - Integer.parseInt(moS)-1, - Integer.parseInt(daS), - Integer.parseInt(hrS), - Integer.parseInt(miS), - Integer.parseInt(seS)); - } catch (NumberFormatException e) { - // nop - } - - Date d = gmtCal.getTime(); - - return d.toString(); - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Callout.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Callout.java deleted file mode 100644 index cffa054fe..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Callout.java +++ /dev/null @@ -1,90 +0,0 @@ -package com.nwalsh.saxon; - -import org.w3c.dom.*; - -/** - *

A class for maintaining information about callouts.

- * - *

To make processing callouts easier, they are parsed out of the - * input structure and stored in a sorted array. (The array is sorted - * according to the order in which the callouts occur.)

- * - *

This class is just the little record - * that we store in the array for each callout.

- */ -public class Callout implements Comparable { - /** The callout number. */ - private int callout = 0; - /** The area Element item that generated this callout. */ - private Element area = null; - /** The line on which this callout occurs. */ - private int line = 0; - /** The column in which this callout appears. */ - private int col = 0; - - /** The constructor; initialize the private data structures. */ - public Callout(int callout, Element area, int line, int col) { - this.callout = callout; - this.area = area; - this.line = line; - this.col = col; - } - - /** - *

The compareTo method compares this Callout with another.

- * - *

Given two Callouts, A and B, A < B if:

- * - *
    - *
  1. A.line < B.line, or
  2. - *
  3. A.line = B.line && A.col < B.col, or
  4. - *
  5. A.line = B.line && A.col = B.col && A.callout < B.callout
  6. - *
  7. Otherwise, they're equal.
  8. - *
- */ - public int compareTo (Object o) { - Callout c = (Callout) o; - - if (line == c.getLine()) { - if (col > c.getColumn()) { - return 1; - } else if (col < c.getColumn()) { - return -1; - } else { - if (callout < c.getCallout()) { - return -1; - } else if (callout > c.getCallout()) { - return 1; - } else { - return 0; - } - } - } else { - if (line > c.getLine()) { - return 1; - } else { - return -1; - } - } - } - - /** Access the Callout's area. */ - public Element getArea() { - return area; - } - - /** Access the Callout's line. */ - public int getLine() { - return line; - } - - /** Access the Callout's column. */ - public int getColumn() { - return col; - } - - /** Access the Callout's callout number. */ - public int getCallout() { - return callout; - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CalloutEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CalloutEmitter.java deleted file mode 100644 index c1b04e1f5..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CalloutEmitter.java +++ /dev/null @@ -1,524 +0,0 @@ -package com.nwalsh.saxon; - -import java.util.Stack; -import java.util.StringTokenizer; -import org.xml.sax.*; -import org.w3c.dom.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.om.NamePool; -import com.icl.saxon.output.Emitter; -import com.icl.saxon.tree.AttributeCollection; - -/** - *

Saxon extension to decorate a result tree fragment with callouts.

- * - *

$Id: CalloutEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides the guts of a - * Saxon 6.* - * implementation of callouts for verbatim environments. (It is used - * by the Verbatim class.)

- * - *

The general design is this: the stylesheets construct a result tree - * fragment for some verbatim environment. The Verbatim class initializes - * a CalloutEmitter with information about the callouts that should be applied - * to the verbatim environment in question. Then the result tree fragment - * is "replayed" through the CalloutEmitter; the CalloutEmitter builds a - * new result tree fragment from this event stream, decorated with callouts, - * and that is returned.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @see Verbatim - * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: CalloutEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - */ -public class CalloutEmitter extends CopyEmitter { - /** A stack for the preserving information about open elements. */ - protected Stack elementStack = null; - - /** A stack for holding information about temporarily closed elements. */ - protected Stack tempStack = null; - - /** Is the next element absolutely the first element in the fragment? */ - protected boolean firstElement = false; - - /** The FO namespace name. */ - protected static String foURI = "http://www.w3.org/1999/XSL/Format"; - - /** The default column for callouts that specify only a line. */ - protected int defaultColumn = 60; - - /** Is the stylesheet currently running an FO stylesheet? */ - protected boolean foStylesheet = false; - - /** The current line number. */ - private static int lineNumber = 0; - - /** The current column number. */ - private static int colNumber = 0; - - /** The (sorted) array of callouts obtained from the areaspec. */ - private static Callout callout[] = null; - - /** The number of callouts in the callout array. */ - private static int calloutCount = 0; - - /** A pointer used to keep track of our position in the callout array. */ - private static int calloutPos = 0; - - /** The FormatCallout object to use for formatting callouts. */ - private static FormatCallout fCallout = null; - - /**

Constructor for the CalloutEmitter.

- * - * @param namePool The name pool to use for constructing elements and attributes. - * @param graphicsPath The path to callout number graphics. - * @param graphicsExt The extension for callout number graphics. - * @param graphicsMax The largest callout number that can be represented as a graphic. - * @param defaultColumn The default column for callouts. - * @param foStylesheet Is this an FO stylesheet? - */ - public CalloutEmitter(NamePool namePool, - int defaultColumn, - boolean foStylesheet, - FormatCallout fCallout) { - super(namePool); - elementStack = new Stack(); - firstElement = true; - - this.defaultColumn = defaultColumn; - this.foStylesheet = foStylesheet; - this.fCallout = fCallout; - } - - /** - *

Examine the areaspec and determine the number and position of - * callouts.

- * - *

The areaspecNodeSet - * is examined and a sorted list of the callouts is constructed.

- * - *

This data structure is used to augment the result tree fragment - * with callout bullets.

- * - * @param areaspecNodeSet The source document <areaspec> element. - * - */ - public void setupCallouts (NodeList areaspecNodeList) { - callout = new Callout[10]; - calloutCount = 0; - calloutPos = 0; - lineNumber = 1; - colNumber = 1; - - // First we walk through the areaspec to calculate the position - // of the callouts - // - // - // - // - // - // - // - // - int pos = 0; - int coNum = 0; - boolean inAreaSet = false; - Node areaspec = areaspecNodeList.item(0); - NodeList children = areaspec.getChildNodes(); - - for (int count = 0; count < children.getLength(); count++) { - Node node = children.item(count); - if (node.getNodeType() == Node.ELEMENT_NODE) { - if (node.getNodeName().equalsIgnoreCase("areaset")) { - coNum++; - NodeList areas = node.getChildNodes(); - for (int acount = 0; acount < areas.getLength(); acount++) { - Node area = areas.item(acount); - if (area.getNodeType() == Node.ELEMENT_NODE) { - if (area.getNodeName().equalsIgnoreCase("area")) { - addCallout(coNum, area, defaultColumn); - } else { - System.out.println("Unexpected element in areaset: " - + area.getNodeName()); - } - } - } - } else if (node.getNodeName().equalsIgnoreCase("area")) { - coNum++; - addCallout(coNum, node, defaultColumn); - } else { - System.out.println("Unexpected element in areaspec: " - + node.getNodeName()); - } - } - } - - // Now sort them - java.util.Arrays.sort(callout, 0, calloutCount); - } - - /** Process characters. */ - public void characters(char[] chars, int start, int len) - throws TransformerException { - - // If we hit characters, then there's no first element... - firstElement = false; - - if (lineNumber == 0) { - // if there are any text nodes, there's at least one line - lineNumber++; - colNumber = 1; - } - - // Walk through the text node looking for callout positions - char[] newChars = new char[len]; - int pos = 0; - for (int count = start; count < start+len; count++) { - if (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() == colNumber) { - if (pos > 0) { - rtfEmitter.characters(newChars, 0, pos); - pos = 0; - } - - closeOpenElements(rtfEmitter); - - while (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() == colNumber) { - fCallout.formatCallout(rtfEmitter, callout[calloutPos]); - calloutPos++; - } - - openClosedElements(rtfEmitter); - } - - if (chars[count] == '\n') { - // What if we need to pad this line? - if (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() > colNumber) { - - if (pos > 0) { - rtfEmitter.characters(newChars, 0, pos); - pos = 0; - } - - closeOpenElements(rtfEmitter); - - while (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() > colNumber) { - formatPad(callout[calloutPos].getColumn() - colNumber); - colNumber = callout[calloutPos].getColumn(); - while (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() == colNumber) { - fCallout.formatCallout(rtfEmitter, callout[calloutPos]); - calloutPos++; - } - } - - openClosedElements(rtfEmitter); - } - - lineNumber++; - colNumber = 1; - } else { - colNumber++; - } - newChars[pos++] = chars[count]; - } - - if (pos > 0) { - rtfEmitter.characters(newChars, 0, pos); - } - } - - /** - *

Add blanks to the result tree fragment.

- * - *

This method adds numBlanks to the result tree fragment. - * It's used to pad lines when callouts occur after the last existing - * characater in a line.

- * - * @param numBlanks The number of blanks to add. - */ - protected void formatPad(int numBlanks) { - char chars[] = new char[numBlanks]; - for (int count = 0; count < numBlanks; count++) { - chars[count] = ' '; - } - - try { - rtfEmitter.characters(chars, 0, numBlanks); - } catch (TransformerException e) { - System.out.println("Transformer Exception in formatPad"); - } - } - - /** - *

Add a callout to the global callout array

- * - *

This method examines a callout area and adds it to - * the global callout array if it can be interpreted.

- * - *

Only the linecolumn and linerange units are - * supported. If no unit is specifed, linecolumn is assumed. - * If only a line is specified, the callout decoration appears in - * the defaultColumn.

- * - * @param coNum The callout number. - * @param node The area. - * @param defaultColumn The default column for callouts. - */ - protected void addCallout (int coNum, - Node node, - int defaultColumn) { - - Element area = (Element) node; - String units = null; - String coords = null; - - if (area.hasAttribute("units")) { - units = area.getAttribute("units"); - } - - if (area.hasAttribute("coords")) { - coords = area.getAttribute("coords"); - } - - if (units != null - && !units.equalsIgnoreCase("linecolumn") - && !units.equalsIgnoreCase("linerange")) { - System.out.println("Only linecolumn and linerange units are supported"); - return; - } - - if (coords == null) { - System.out.println("Coords must be specified"); - return; - } - - // Now let's see if we can interpret the coordinates... - StringTokenizer st = new StringTokenizer(coords); - int tokenCount = 0; - int c1 = 0; - int c2 = 0; - while (st.hasMoreTokens()) { - tokenCount++; - if (tokenCount > 2) { - System.out.println("Unparseable coordinates"); - return; - } - try { - String token = st.nextToken(); - int coord = Integer.parseInt(token); - c2 = coord; - if (tokenCount == 1) { - c1 = coord; - } - } catch (NumberFormatException e) { - System.out.println("Unparseable coordinate"); - return; - } - } - - // Make sure we aren't going to blow past the end of our array - if (calloutCount == callout.length) { - Callout bigger[] = new Callout[calloutCount+10]; - for (int count = 0; count < callout.length; count++) { - bigger[count] = callout[count]; - } - callout = bigger; - } - - // Ok, add the callout - if (tokenCount == 2) { - if (units != null && units.equalsIgnoreCase("linerange")) { - for (int count = c1; count <= c2; count++) { - callout[calloutCount++] = new Callout(coNum, area, - count, defaultColumn); - } - } else { - // assume linecolumn - callout[calloutCount++] = new Callout(coNum, area, c1, c2); - } - } else { - // if there's only one number, assume it's the line - callout[calloutCount++] = new Callout(coNum, area, c1, defaultColumn); - } - } - - /** Process end element events. */ - public void endElement(int nameCode) - throws TransformerException { - - if (!elementStack.empty()) { - // if we didn't push the very first element (an fo:block or - // pre or div surrounding the whole block), then the stack will - // be empty when we get to the end of the first element... - elementStack.pop(); - } - rtfEmitter.endElement(nameCode); - } - - /** Process start element events. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) - throws TransformerException { - - if (!skipThisElement(nameCode)) { - StartElementInfo sei = new StartElementInfo(nameCode, attributes, - namespaces, nscount); - elementStack.push(sei); - } - - firstElement = false; - - rtfEmitter.startElement(nameCode, attributes, namespaces, nscount); - } - - /** - *

Protect the outer-most block wrapper.

- * - *

Open elements in the result tree fragment are closed and reopened - * around callouts (so that callouts don't appear inside links or other - * environments). But if the result tree fragment is a single block - * (a div or pre in HTML, an fo:block in FO), that outer-most block is - * treated specially.

- * - *

This method returns true if the element in question is that - * outermost block.

- * - * @param nameCode The name code for the element - * - * @return True if the element is the outer-most block, false otherwise. - */ - protected boolean skipThisElement(int nameCode) { - if (firstElement) { - int thisFingerprint = namePool.getFingerprint(nameCode); - int foBlockFingerprint = namePool.getFingerprint(foURI, "block"); - int htmlPreFingerprint = namePool.getFingerprint("", "pre"); - int htmlDivFingerprint = namePool.getFingerprint("", "div"); - - if ((foStylesheet && thisFingerprint == foBlockFingerprint) - || (!foStylesheet && (thisFingerprint == htmlPreFingerprint - || thisFingerprint == htmlDivFingerprint))) { - // Don't push the outer-most wrapping div, pre, or fo:block - return true; - } - } - - return false; - } - - private void closeOpenElements(Emitter rtfEmitter) - throws TransformerException { - // Close all the open elements... - tempStack = new Stack(); - while (!elementStack.empty()) { - StartElementInfo elem = (StartElementInfo) elementStack.pop(); - rtfEmitter.endElement(elem.getNameCode()); - tempStack.push(elem); - } - } - - private void openClosedElements(Emitter rtfEmitter) - throws TransformerException { - // Now "reopen" the elements that we closed... - while (!tempStack.empty()) { - StartElementInfo elem = (StartElementInfo) tempStack.pop(); - AttributeCollection attr = (AttributeCollection) elem.getAttributes(); - AttributeCollection newAttr = new AttributeCollection(namePool); - - for (int acount = 0; acount < attr.getLength(); acount++) { - String localName = attr.getLocalName(acount); - int nameCode = attr.getNameCode(acount); - String type = attr.getType(acount); - String value = attr.getValue(acount); - String uri = attr.getURI(acount); - String prefix = ""; - - if (localName.indexOf(':') > 0) { - prefix = localName.substring(0, localName.indexOf(':')); - localName = localName.substring(localName.indexOf(':')+1); - } - - if (uri.equals("") - && ((foStylesheet - && localName.equals("id")) - || (!foStylesheet - && (localName.equals("id") - || localName.equals("name"))))) { - // skip this attribute - } else { - newAttr.addAttribute(prefix, uri, localName, type, value); - } - } - - rtfEmitter.startElement(elem.getNameCode(), - newAttr, - elem.getNamespaces(), - elem.getNSCount()); - - elementStack.push(elem); - } - } - - /** - *

A private class for maintaining the information required to call - * the startElement method.

- * - *

In order to close and reopen elements, information about those - * elements has to be maintained. This class is just the little record - * that we push on the stack to keep track of that info.

- */ - private class StartElementInfo { - private int _nameCode; - org.xml.sax.Attributes _attributes; - int[] _namespaces; - int _nscount; - - public StartElementInfo(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) { - _nameCode = nameCode; - _attributes = attributes; - _namespaces = namespaces; - _nscount = nscount; - } - - public int getNameCode() { - return _nameCode; - } - - public org.xml.sax.Attributes getAttributes() { - return _attributes; - } - - public int[] getNamespaces() { - return _namespaces; - } - - public int getNSCount() { - return _nscount; - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ChangeLog b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ChangeLog deleted file mode 100644 index 75a9acdd5..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ChangeLog +++ /dev/null @@ -1,14 +0,0 @@ -2001-08-05 Norman Walsh - - * FormatDingbatCallout.java, FormatUnicodeCallout.java, Verbatim.java: - Removed the FormatDingbatCallout classes, they were the same as the FormatUnicodeCallout classes but with a font wrapper. Added a callout.unicode.font parameter to wrap Unicode callouts - -2001-07-31 Norman Walsh - - * FormatCallout.java: Fix attribute test - -2001-07-16 Norman Walsh - - * CVS.java, Callout.java, CalloutEmitter.java, ColumnScanEmitter.java, ColumnUpdateEmitter.java, CopyEmitter.java, FormatCallout.java, FormatDingbatCallout.java, FormatGraphicCallout.java, FormatTextCallout.java, FormatUnicodeCallout.java, LineCountEmitter.java, NumberLinesEmitter.java, Table.java, Text.java, TextFactory.java, Verbatim.java, package.html: - New file. - diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ColumnScanEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ColumnScanEmitter.java deleted file mode 100644 index bd0eb1290..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ColumnScanEmitter.java +++ /dev/null @@ -1,165 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.output.*; -import com.icl.saxon.om.*; -import com.icl.saxon.expr.FragmentValue; - -/** - *

Saxon extension to scan the column widthsin a result tree fragment.

- * - *

$Id: ColumnScanEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon 6.* - * implementation to scan the column widths in a result tree - * fragment.

- * - *

The general design is this: the stylesheets construct a result tree - * fragment for some colgroup environment. That result tree fragment - * is "replayed" through the ColumnScanEmitter; the ColumnScanEmitter watches - * the cols go by and extracts the column widths that it sees. These - * widths are then made available.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: ColumnScanEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - */ -public class ColumnScanEmitter extends com.icl.saxon.output.Emitter { - /** The number of columns seen. */ - protected int numColumns = 0; - protected String width[] = new String[5]; - protected NamePool namePool = null; - - /** The FO namespace name. */ - protected static String foURI = "http://www.w3.org/1999/XSL/Format"; - - /** Construct a new ColumnScanEmitter. */ - public ColumnScanEmitter(NamePool namePool) { - numColumns = 0; - this.namePool = namePool; - } - - /** Return the number of columns. */ - public int columnCount() { - return numColumns; - } - - /** Return the number of columns. */ - public String[] columnWidths() { - return width; - } - - /** Discarded. */ - public void characters(char[] chars, int start, int len) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void comment(char[] chars, int start, int length) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void endDocument() - throws TransformerException { - // nop - } - - /** Discarded. */ - public void endElement(int nameCode) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void processingInstruction(java.lang.String name, - java.lang.String data) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void setDocumentLocator(org.xml.sax.Locator locator) { - // nop - } - - /** Discarded. */ - public void setEscaping(boolean escaping) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void setNamePool(NamePool namePool) { - // nop - } - - /** Discarded. */ - public void setUnparsedEntity(java.lang.String name, java.lang.String uri) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void setWriter(java.io.Writer writer) { - // nop - } - - /** Discarded. */ - public void startDocument() - throws TransformerException { - // nop - } - - /** Examine for column info. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, int nscount) - throws TransformerException { - - int thisFingerprint = namePool.getFingerprint(nameCode); - int colFingerprint = namePool.getFingerprint("", "col"); - int foColFingerprint = namePool.getFingerprint(foURI, "table-column"); - - if (thisFingerprint == colFingerprint - || thisFingerprint == foColFingerprint) { - if (numColumns >= width.length) { - String newWidth[] = new String[width.length+10]; - for (int count = 0; count < width.length; count++) { - newWidth[count] = width[count]; - } - width = newWidth; - } - - if (thisFingerprint == colFingerprint) { - if (attributes.getValue("width") == null) { - width[numColumns++] = "1*"; - } else { - width[numColumns++] = attributes.getValue("width"); - } - } else { - if (attributes.getValue("column-width") == null) { - width[numColumns++] = "1*"; - } else { - width[numColumns++] = attributes.getValue("column-width"); - } - } - } - } -} - - diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ColumnUpdateEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ColumnUpdateEmitter.java deleted file mode 100644 index 2521f86a1..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/ColumnUpdateEmitter.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.*; -import com.icl.saxon.output.*; -import com.icl.saxon.om.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.expr.FragmentValue; -import com.icl.saxon.tree.AttributeCollection; - -/** - *

Saxon extension to scan the column widthsin a result tree fragment.

- * - *

$Id: ColumnUpdateEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon 6.* - * implementation to scan the column widths in a result tree - * fragment.

- * - *

The general design is this: the stylesheets construct a result tree - * fragment for some colgroup environment. That result tree fragment - * is "replayed" through the ColumnUpdateEmitter; the ColumnUpdateEmitter watches - * the cols go by and extracts the column widths that it sees. These - * widths are then made available.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: ColumnUpdateEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - */ -public class ColumnUpdateEmitter extends CopyEmitter { - /** The number of columns seen. */ - protected int numColumns = 0; - protected String width[] = null; - protected NamePool namePool = null; - - /** The FO namespace name. */ - protected static String foURI = "http://www.w3.org/1999/XSL/Format"; - - /** Construct a new ColumnUpdateEmitter. */ - public ColumnUpdateEmitter(NamePool namePool, - String width[]) { - super(namePool); - numColumns = 0; - this.width = width; - this.namePool = namePool; - } - - /** Examine for column info. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, int nscount) - throws TransformerException { - - int thisFingerprint = namePool.getFingerprint(nameCode); - int colFingerprint = namePool.getFingerprint("", "col"); - int foColFingerprint = namePool.getFingerprint(foURI, "table-column"); - - if (thisFingerprint == colFingerprint) { - AttributeCollection attr = new AttributeCollection(namePool, attributes); - int widthFingerprint = namePool.getFingerprint("", "width"); - - if (attr.getValueByFingerprint(widthFingerprint) == null) { - attr.addAttribute(widthFingerprint, "CDATA", width[numColumns++]); - } else { - attr.setAttribute(widthFingerprint, "CDATA", width[numColumns++]); - } - attributes = attr; - } else if (thisFingerprint == foColFingerprint) { - AttributeCollection attr = new AttributeCollection(namePool, attributes); - int widthFingerprint = namePool.getFingerprint("", "column-width"); - - if (attr.getValueByFingerprint(widthFingerprint) == null) { - attr.addAttribute(widthFingerprint, "CDATA", width[numColumns++]); - } else { - attr.setAttribute(widthFingerprint, "CDATA", width[numColumns++]); - } - attributes = attr; - } - - rtfEmitter.startElement(nameCode, attributes, namespaces, nscount); - } -} - - diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CopyEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CopyEmitter.java deleted file mode 100644 index 2c72b0971..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/CopyEmitter.java +++ /dev/null @@ -1,148 +0,0 @@ -package com.nwalsh.saxon; - -import java.util.Stack; -import java.util.StringTokenizer; -import org.xml.sax.*; -import org.w3c.dom.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.Context; -import com.icl.saxon.expr.*; -import com.icl.saxon.functions.Extensions; -import com.icl.saxon.om.*; -import com.icl.saxon.output.*; -import com.icl.saxon.pattern.*; -import com.icl.saxon.tree.*; - -/** - *

A Saxon 6.0 Emitter that clones its input.

- * - *

$Id: CopyEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon 6.* - * implementation of an emitter that manufactures a cloned result - * tree fragment.

- * - *

The purpose of this emitter is to provide something for - * CalloutEmitter and NumberLinesEmitter to extend. - * This emitter simply copies all input to a new result tree fragment.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @see CalloutEmitter - * @see NumberLinesEmitter - * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: CopyEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - */ -public class CopyEmitter extends com.icl.saxon.output.Emitter { - /** The result tree fragment containing the copied fragment. */ - protected FragmentValue rtf = null; - protected Emitter rtfEmitter = null; - - /**

The namePool.

- * - *

Copied from the caller, it should be the runtime name pool.

- */ - protected NamePool namePool = null; - - /**

Constructor for the CopyEmitter.

- * - * @param namePool The name pool to use for constructing elements and attributes. - */ - public CopyEmitter(NamePool namePool) { - rtf = new FragmentValue(); - rtfEmitter = rtf.getEmitter(); - this.namePool = namePool; - } - - /** - *

Return the result tree fragment constructed by replaying events - * through this emitter.

- */ - public FragmentValue getResultTreeFragment() { - return rtf; - } - - /** Copy characters. */ - public void characters(char[] chars, int start, int len) - throws TransformerException { - rtfEmitter.characters(chars, start, len); - } - - /** Copy comments. */ - public void comment(char[] chars, int start, int length) - throws TransformerException { - rtfEmitter.comment(chars, start, length); - } - - /** Copy end document events. */ - public void endDocument() - throws TransformerException { - rtfEmitter.endDocument(); - } - - /** Copy end element events. */ - public void endElement(int nameCode) - throws TransformerException { - rtfEmitter.endElement(nameCode); - } - - /** Copy processing instructions. */ - public void processingInstruction(java.lang.String name, - java.lang.String data) - throws TransformerException { - rtfEmitter.processingInstruction(name, data); - } - - /** Copy set document locator events. */ - public void setDocumentLocator(org.xml.sax.Locator locator) { - rtfEmitter.setDocumentLocator(locator); - } - - /** Copy set escaping events. */ - public void setEscaping(boolean escaping) - throws TransformerException { - rtfEmitter.setEscaping(escaping); - } - - /** Copy set name pool events. */ - public void setNamePool(NamePool namePool) { - rtfEmitter.setNamePool(namePool); - } - - /** Copy set unparsed entity events. */ - public void setUnparsedEntity(java.lang.String name, java.lang.String uri) - throws TransformerException { - rtfEmitter.setUnparsedEntity(name, uri); - } - - /** Copy set writer events. */ - public void setWriter(java.io.Writer writer) { - rtfEmitter.setWriter(writer); - } - - /** Copy start document events. */ - public void startDocument() - throws TransformerException { - rtfEmitter.startDocument(); - } - - /** Copy start element events. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) - throws TransformerException { - rtfEmitter.startElement(nameCode, attributes, namespaces, nscount); - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatCallout.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatCallout.java deleted file mode 100644 index bc71e9cbf..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatCallout.java +++ /dev/null @@ -1,111 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.SAXException; -import org.w3c.dom.*; - -import javax.xml.transform.TransformerException; - -import com.icl.saxon.om.NamePool; -import com.icl.saxon.output.Emitter; -import com.icl.saxon.tree.AttributeCollection; - -import com.nwalsh.saxon.Callout; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatCallout.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatCallout.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - **/ - -public abstract class FormatCallout { - protected static final String foURI = "http://www.w3.org/1999/XSL/Format"; - protected static final String xhURI = "http://www.w3.org/1999/xhtml"; - protected boolean foStylesheet = false; - protected NamePool namePool = null; - - public FormatCallout(NamePool nPool, boolean fo) { - namePool = nPool; - foStylesheet = fo; - } - - public String areaLabel(Element area) { - String label = null; - - if (area.hasAttribute("label")) { - // If this area has a label, use it - label = area.getAttribute("label"); - } else { - // Otherwise, if its parent is an areaset and it has a label, use that - Element parent = (Element) area.getParentNode(); - if (parent != null - && parent.getLocalName().equalsIgnoreCase("areaset") - && parent.hasAttribute("label")) { - label = parent.getAttribute("label"); - } - } - - return label; - } - - public void startSpan(Emitter rtf) - throws TransformerException { - // no point in doing this for FO, right? - if (!foStylesheet && namePool != null) { - int spanName = namePool.allocate("", "", "span"); - AttributeCollection spanAttr = new AttributeCollection(namePool); - int namespaces[] = new int[1]; - spanAttr.addAttribute("", "", "class", "CDATA", "co"); - rtf.startElement(spanName, spanAttr, namespaces, 0); - } - } - - public void endSpan(Emitter rtf) - throws TransformerException { - // no point in doing this for FO, right? - if (!foStylesheet && namePool != null) { - int spanName = namePool.allocate("", "", "span"); - rtf.endElement(spanName); - } - } - - public void formatTextCallout(Emitter rtfEmitter, - Callout callout) { - Element area = callout.getArea(); - int num = callout.getCallout(); - String userLabel = areaLabel(area); - String label = "(" + num + ")"; - - if (userLabel != null) { - label = userLabel; - } - - char chars[] = label.toCharArray(); - - try { - startSpan(rtfEmitter); - rtfEmitter.characters(chars, 0, label.length()); - endSpan(rtfEmitter); - } catch (TransformerException e) { - System.out.println("Transformer Exception in formatTextCallout"); - } - } - - public abstract void formatCallout(Emitter rtfEmitter, - Callout callout); -} - diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatGraphicCallout.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatGraphicCallout.java deleted file mode 100644 index 34bfc47a1..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatGraphicCallout.java +++ /dev/null @@ -1,88 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.SAXException; -import org.w3c.dom.*; - -import javax.xml.transform.TransformerException; - -import com.icl.saxon.om.NamePool; -import com.icl.saxon.output.Emitter; -import com.icl.saxon.tree.AttributeCollection; - -import com.nwalsh.saxon.Callout; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatGraphicCallout.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatGraphicCallout.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - **/ - -public class FormatGraphicCallout extends FormatCallout { - String graphicsPath = ""; - String graphicsExt = ""; - int graphicsMax = 0; - - public FormatGraphicCallout(NamePool nPool, String path, String ext, int max, boolean fo) { - super(nPool, fo); - graphicsPath = path; - graphicsExt = ext; - graphicsMax = max; - } - - public void formatCallout(Emitter rtfEmitter, - Callout callout) { - Element area = callout.getArea(); - int num = callout.getCallout(); - String userLabel = areaLabel(area); - String label = "(" + num + ")"; - - if (userLabel != null) { - label = userLabel; - } - - try { - if (userLabel == null && num <= graphicsMax) { - int imgName = 0; - AttributeCollection imgAttr = null; - int namespaces[] = new int[1]; - - if (foStylesheet) { - imgName = namePool.allocate("fo", foURI, "external-graphic"); - imgAttr = new AttributeCollection(namePool); - imgAttr.addAttribute("", "", "src", "CDATA", - graphicsPath + num + graphicsExt); - } else { - imgName = namePool.allocate("", "", "img"); - imgAttr = new AttributeCollection(namePool); - imgAttr.addAttribute("", "", "src", "CDATA", - graphicsPath + num + graphicsExt); - imgAttr.addAttribute("", "", "alt", "CDATA", label); - } - - startSpan(rtfEmitter); - rtfEmitter.startElement(imgName, imgAttr, namespaces, 0); - rtfEmitter.endElement(imgName); - endSpan(rtfEmitter); - } else { - formatTextCallout(rtfEmitter, callout); - } - } catch (TransformerException e) { - System.out.println("Transformer Exception in graphic formatCallout"); - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatTextCallout.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatTextCallout.java deleted file mode 100644 index ff4cef0c1..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatTextCallout.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.SAXException; -import org.w3c.dom.*; - -import javax.xml.transform.TransformerException; - -import com.icl.saxon.om.NamePool; -import com.icl.saxon.output.Emitter; - -import com.nwalsh.saxon.Callout; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatTextCallout.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatTextCallout.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - **/ - -public class FormatTextCallout extends FormatCallout { - public FormatTextCallout(NamePool nPool, boolean fo) { - super(nPool, fo); - } - - public void formatCallout(Emitter rtfEmitter, - Callout callout) { - formatTextCallout(rtfEmitter, callout); - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatUnicodeCallout.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatUnicodeCallout.java deleted file mode 100644 index 0c97e1ac2..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/FormatUnicodeCallout.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.SAXException; -import org.w3c.dom.*; - -import javax.xml.transform.TransformerException; - -import com.icl.saxon.om.NamePool; -import com.icl.saxon.output.Emitter; -import com.icl.saxon.tree.AttributeCollection; - -import com.nwalsh.saxon.Callout; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatUnicodeCallout.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatUnicodeCallout.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - **/ - -public class FormatUnicodeCallout extends FormatCallout { - int unicodeMax = 0; - int unicodeStart = 0; - String unicodeFont = ""; - - public FormatUnicodeCallout(NamePool nPool, - String font, - int start, - int max, - boolean fo) { - super(nPool, fo); - unicodeFont = font; - unicodeMax = max; - unicodeStart = start; - } - - public void formatCallout(Emitter rtfEmitter, - Callout callout) { - Element area = callout.getArea(); - int num = callout.getCallout(); - String userLabel = areaLabel(area); - String label = ""; - - if (userLabel != null) { - label = userLabel; - } - - try { - if (userLabel == null && num <= unicodeMax) { - int inName = 0; - AttributeCollection inAttr = null; - int namespaces[] = new int[1]; - - if (!unicodeFont.equals("")) { - if (foStylesheet) { - inName = namePool.allocate("fo", foURI, "inline"); - inAttr = new AttributeCollection(namePool); - inAttr.addAttribute("", "", "font-family", "CDATA", unicodeFont); - } else { - inName = namePool.allocate("", "", "font"); - inAttr = new AttributeCollection(namePool); - inAttr.addAttribute("", "", "face", "CDATA", unicodeFont); - } - - startSpan(rtfEmitter); - rtfEmitter.startElement(inName, inAttr, namespaces, 0); - } - - char chars[] = new char[1]; - chars[0] = (char) (unicodeStart + num - 1); - rtfEmitter.characters(chars, 0, 1); - - if (!unicodeFont.equals("")) { - rtfEmitter.endElement(inName); - endSpan(rtfEmitter); - } - } else { - formatTextCallout(rtfEmitter, callout); - } - } catch (TransformerException e) { - System.out.println("Transformer Exception in graphic formatCallout"); - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/LineCountEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/LineCountEmitter.java deleted file mode 100644 index 2200a4d9a..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/LineCountEmitter.java +++ /dev/null @@ -1,141 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.output.*; -import com.icl.saxon.om.*; -import com.icl.saxon.expr.FragmentValue; - -/** - *

Saxon extension to count the lines in a result tree fragment.

- * - *

$Id: LineCountEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon 6.* - * implementation to count the number of lines in a result tree - * fragment.

- * - *

The general design is this: the stylesheets construct a result tree - * fragment for some verbatim environment. That result tree fragment - * is "replayed" through the LineCountEmitter; the LineCountEmitter watches - * characters go by and counts the number of line feeds that it sees. - * That number is then returned.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @see Verbatim - * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: LineCountEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - */ -public class LineCountEmitter extends com.icl.saxon.output.Emitter { - /** The number of lines seen. */ - protected int numLines = 0; - - /** Construct a new LineCountEmitter. */ - public LineCountEmitter() { - numLines = 0; - } - - /** Reset the number of lines. */ - public void reset() { - numLines = 0; - } - - /** Return the number of lines. */ - public int lineCount() { - return numLines; - } - - /** Process characters. */ - public void characters(char[] chars, int start, int len) - throws javax.xml.transform.TransformerException { - - if (numLines == 0) { - // If there are any characters at all, there's at least one line - numLines++; - } - - for (int count = start; count < start+len; count++) { - if (chars[count] == '\n') { - numLines++; - } - } - } - - /** Discarded. */ - public void comment(char[] chars, int start, int length) - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void endDocument() - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void endElement(int nameCode) - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void processingInstruction(java.lang.String name, - java.lang.String data) - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void setDocumentLocator(org.xml.sax.Locator locator) { - // nop - } - - /** Discarded. */ - public void setEscaping(boolean escaping) - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void setNamePool(NamePool namePool) { - // nop - } - - /** Discarded. */ - public void setUnparsedEntity(java.lang.String name, java.lang.String uri) - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void setWriter(java.io.Writer writer) { - // nop - } - - /** Discarded. */ - public void startDocument() - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, int nscount) - throws javax.xml.transform.TransformerException { - // nop - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/NumberLinesEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/NumberLinesEmitter.java deleted file mode 100644 index 8e31bf9f6..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/NumberLinesEmitter.java +++ /dev/null @@ -1,322 +0,0 @@ -package com.nwalsh.saxon; - -import java.util.Stack; -import java.util.StringTokenizer; -import org.xml.sax.*; -import org.w3c.dom.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.output.*; -import com.icl.saxon.om.*; -import com.icl.saxon.tree.AttributeCollection; -import com.icl.saxon.expr.FragmentValue; - -/** - *

Saxon extension to decorate a result tree fragment with line numbers.

- * - *

$Id: NumberLinesEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides the guts of a - * Saxon 6.* - * implementation of line numbering for verbatim environments. (It is used - * by the Verbatim class.)

- * - *

The general design is this: the stylesheets construct a result tree - * fragment for some verbatim environment. The Verbatim class initializes - * a NumberLinesEmitter with information about what lines should be - * numbered and how. Then the result tree fragment - * is "replayed" through the NumberLinesEmitter; the NumberLinesEmitter - * builds a - * new result tree fragment from this event stream, decorated with line - * numbers, - * and that is returned.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @see Verbatim - * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: NumberLinesEmitter.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - */ -public class NumberLinesEmitter extends CopyEmitter { - /** A stack for the preserving information about open elements. */ - protected Stack elementStack = null; - - /** The current line number. */ - protected int lineNumber = 0; - - /** Is the next element absolutely the first element in the fragment? */ - protected boolean firstElement = false; - - /** The FO namespace name. */ - protected static String foURI = "http://www.w3.org/1999/XSL/Format"; - - /** Every modulus line will be numbered. */ - protected int modulus = 5; - - /** Line numbers are width characters wide. */ - protected int width = 3; - - /** Line numbers are separated from the listing by separator. */ - protected String separator = " "; - - /** Is the stylesheet currently running an FO stylesheet? */ - protected boolean foStylesheet = false; - - /**

Constructor for the NumberLinesEmitter.

- * - * @param namePool The name pool to use for constructing elements and attributes. - * @param modulus The modulus to use for this listing. - * @param width The width to use for line numbers in this listing. - * @param separator The separator to use for this listing. - * @param foStylesheet Is this an FO stylesheet? - */ - public NumberLinesEmitter(NamePool namePool, - int modulus, - int width, - String separator, - boolean foStylesheet) { - super(namePool); - elementStack = new Stack(); - firstElement = true; - - this.modulus = modulus; - this.width = width; - this.separator = separator; - this.foStylesheet = foStylesheet; - } - - /** Process characters. */ - public void characters(char[] chars, int start, int len) - throws TransformerException { - - // If we hit characters, then there's no first element... - firstElement = false; - - if (lineNumber == 0) { - // The first line is always numbered - formatLineNumber(++lineNumber); - } - - // Walk through the text node looking for newlines - char[] newChars = new char[len]; - int pos = 0; - for (int count = start; count < start+len; count++) { - if (chars[count] == '\n') { - // This is the tricky bit; if we find a newline, make sure - // it doesn't occur inside any markup. - - if (pos > 0) { - // Output any characters that preceded this newline - rtfEmitter.characters(newChars, 0, pos); - pos = 0; - } - - // Close all the open elements... - Stack tempStack = new Stack(); - while (!elementStack.empty()) { - StartElementInfo elem = (StartElementInfo) elementStack.pop(); - rtfEmitter.endElement(elem.getNameCode()); - tempStack.push(elem); - } - - // Copy the newline to the output - newChars[pos++] = chars[count]; - rtfEmitter.characters(newChars, 0, pos); - pos = 0; - - // Add the line number - formatLineNumber(++lineNumber); - - // Now "reopen" the elements that we closed... - while (!tempStack.empty()) { - StartElementInfo elem = (StartElementInfo) tempStack.pop(); - AttributeCollection attr = (AttributeCollection)elem.getAttributes(); - AttributeCollection newAttr = new AttributeCollection(namePool); - - for (int acount = 0; acount < attr.getLength(); acount++) { - String localName = attr.getLocalName(acount); - int nameCode = attr.getNameCode(acount); - String type = attr.getType(acount); - String value = attr.getValue(acount); - String uri = attr.getURI(acount); - String prefix = ""; - - if (localName.indexOf(':') > 0) { - prefix = localName.substring(0, localName.indexOf(':')); - localName = localName.substring(localName.indexOf(':')+1); - } - - if (uri.equals("") - && ((foStylesheet - && localName.equals("id")) - || (!foStylesheet - && (localName.equals("id") - || localName.equals("name"))))) { - // skip this attribute - } else { - newAttr.addAttribute(prefix, uri, localName, type, value); - } - } - - rtfEmitter.startElement(elem.getNameCode(), - newAttr, - elem.getNamespaces(), - elem.getNSCount()); - - elementStack.push(elem); - } - } else { - newChars[pos++] = chars[count]; - } - } - - if (pos > 0) { - rtfEmitter.characters(newChars, 0, pos); - pos = 0; - } - } - - /** - *

Add a formatted line number to the result tree fragment.

- * - * @param lineNumber The number of the current line. - */ - protected void formatLineNumber(int lineNumber) - throws TransformerException { - - char ch = 160; //   - - String lno = ""; - if (lineNumber == 1 - || (modulus >= 1 && (lineNumber % modulus == 0))) { - lno = "" + lineNumber; - } - - while (lno.length() < width) { - lno = ch + lno; - } - - lno += separator; - - char chars[] = new char[lno.length()]; - for (int count = 0; count < lno.length(); count++) { - chars[count] = lno.charAt(count); - } - - characters(chars, 0, lno.length()); - } - - /** Process end element events. */ - public void endElement(int nameCode) - throws TransformerException { - if (!elementStack.empty()) { - // if we didn't push the very first element (an fo:block or - // pre or div surrounding the whole block), then the stack will - // be empty when we get to the end of the first element... - elementStack.pop(); - } - rtfEmitter.endElement(nameCode); - } - - /** Process start element events. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) - throws TransformerException { - - if (!skipThisElement(nameCode)) { - StartElementInfo sei = new StartElementInfo(nameCode, attributes, - namespaces, nscount); - elementStack.push(sei); - } - - firstElement = false; - - rtfEmitter.startElement(nameCode, attributes, namespaces, nscount); - } - - /** - *

Protect the outer-most block wrapper.

- * - *

Open elements in the result tree fragment are closed and reopened - * around callouts (so that callouts don't appear inside links or other - * environments). But if the result tree fragment is a single block - * (a div or pre in HTML, an fo:block in FO), that outer-most block is - * treated specially.

- * - *

This method returns true if the element in question is that - * outermost block.

- * - * @param nameCode The name code for the element - * - * @return True if the element is the outer-most block, false otherwise. - */ - protected boolean skipThisElement(int nameCode) { - if (firstElement) { - int thisFingerprint = namePool.getFingerprint(nameCode); - int foBlockFingerprint = namePool.getFingerprint(foURI, "block"); - int htmlPreFingerprint = namePool.getFingerprint("", "pre"); - int htmlDivFingerprint = namePool.getFingerprint("", "div"); - - if ((foStylesheet && thisFingerprint == foBlockFingerprint) - || (!foStylesheet && (thisFingerprint == htmlPreFingerprint - || thisFingerprint == htmlDivFingerprint))) { - // Don't push the outer-most wrapping div, pre, or fo:block - return true; - } - } - - return false; - } - - /** - *

A private class for maintaining the information required to call - * the startElement method.

- * - *

In order to close and reopen elements, information about those - * elements has to be maintained. This class is just the little record - * that we push on the stack to keep track of that info.

- */ - private class StartElementInfo { - private int _nameCode; - org.xml.sax.Attributes _attributes; - int[] _namespaces; - int _nscount; - - public StartElementInfo(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) { - _nameCode = nameCode; - _attributes = attributes; - _namespaces = namespaces; - _nscount = nscount; - } - - public int getNameCode() { - return _nameCode; - } - - public org.xml.sax.Attributes getAttributes() { - return _attributes; - } - - public int[] getNamespaces() { - return _namespaces; - } - - public int getNSCount() { - return _nscount; - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Table.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Table.java deleted file mode 100644 index 084abf11e..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Table.java +++ /dev/null @@ -1,431 +0,0 @@ -// Verbatim.java - Saxon extensions supporting DocBook verbatim environments - -package com.nwalsh.saxon; - -import java.util.Hashtable; -import org.xml.sax.*; -import org.w3c.dom.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.expr.*; -import com.icl.saxon.om.*; -import com.icl.saxon.pattern.*; -import com.icl.saxon.Context; -import com.icl.saxon.tree.*; -import com.icl.saxon.functions.Extensions; - -/** - *

Saxon extensions supporting Tables

- * - *

$Id: Table.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * implementation of some code to adjust CALS Tables to HTML - * Tables.

- * - *

Column Widths

- *

The adjustColumnWidths method takes a result tree - * fragment (assumed to contain the colgroup of an HTML Table) - * and returns the result tree fragment with the column widths - * adjusted to HTML terms.

- * - *

Convert Lengths

- *

The convertLength method takes a length specification - * of the form 9999.99xx (where "xx" is a unit) and returns that length - * as an integral number of pixels. For convenience, percentage lengths - * are returned unchanged.

- *

The recognized units are: inches (in), centimeters (cm), - * millimeters (mm), picas (pc, 1pc=12pt), points (pt), and pixels (px). - * A number with no units is assumed to be pixels.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: Table.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - */ -public class Table { - /** The number of pixels per inch */ - private static int pixelsPerInch = 96; - - /** The nominal table width (6in by default). */ - private static int nominalWidth = 6 * pixelsPerInch; - - /** The default table width (100% by default). */ - private static String tableWidth = "100%"; - - /** Is this an FO stylesheet? */ - private static boolean foStylesheet = false; - - /** The hash used to associate units with a length in pixels. */ - protected static Hashtable unitHash = null; - - /** - *

Constructor for Verbatim

- * - *

All of the methods are static, so the constructor does nothing.

- */ - public Table() { - } - - /** Initialize the internal hash table with proper values. */ - protected static void initializeHash() { - unitHash = new Hashtable(); - unitHash.put("in", new Float(pixelsPerInch)); - unitHash.put("cm", new Float(pixelsPerInch / 2.54)); - unitHash.put("mm", new Float(pixelsPerInch / 25.4)); - unitHash.put("pc", new Float((pixelsPerInch / 72) * 12)); - unitHash.put("pt", new Float(pixelsPerInch / 72)); - unitHash.put("px", new Float(1)); - } - - /** Set the pixels-per-inch value. Only positive values are legal. */ - public static void setPixelsPerInch(int value) { - if (value > 0) { - pixelsPerInch = value; - initializeHash(); - } - } - - /** Return the current pixels-per-inch value. */ - public int getPixelsPerInch() { - return pixelsPerInch; - } - - /** - *

Convert a length specification to a number of pixels.

- * - *

The specified length should be of the form [+/-]999.99xx, - * where xx is a valid unit.

- */ - public static int convertLength(String length) { - // The format of length should be 999.999xx - int sign = 1; - String digits = ""; - String units = ""; - char lench[] = length.toCharArray(); - float flength = 0; - boolean done = false; - int pos = 0; - float factor = 1; - int pixels = 0; - - if (unitHash == null) { - initializeHash(); - } - - if (lench[pos] == '+' || lench[pos] == '-') { - if (lench[pos] == '-') { - sign = -1; - } - pos++; - } - - while (!done) { - if (pos >= lench.length) { - done = true; - } else { - if ((lench[pos] > '9' || lench[pos] < '0') && lench[pos] != '.') { - done = true; - units = length.substring(pos); - } else { - digits += lench[pos++]; - } - } - } - - try { - flength = Float.parseFloat(digits); - } catch (NumberFormatException e) { - System.out.println(digits + " is not a number; 1 used instead."); - flength = 1; - } - - Float f = null; - - if (!units.equals("")) { - f = (Float) unitHash.get(units); - if (f == null) { - System.out.println(units + " is not a known unit; 1 used instead."); - factor = 1; - } else { - factor = f.floatValue(); - } - } else { - factor = 1; - } - - f = new Float(flength * factor); - - pixels = f.intValue() * sign; - - return pixels; - } - - /** - *

Find the string value of a stylesheet variable or parameter

- * - *

Returns the string value of varName in the current - * context. Returns the empty string if the variable is - * not defined.

- * - * @param context The current stylesheet context - * @param varName The name of the variable (without the dollar sign) - * - * @return The string value of the variable - */ - protected static String getVariable(Context context, String varName) - throws TransformerException { - Value variable = null; - String varString = null; - - try { - variable = Extensions.evaluate(context, "$" + varName); - varString = variable.asString(); - return varString; - } catch (IllegalArgumentException e) { - System.out.println("Undefined variable: " + varName); - return ""; - } - } - - /** - *

Setup the parameters associated with column width calculations

- * - *

This method queries the stylesheet for the variables - * associated with table column widths. It is called automatically before - * column widths are adjusted. The context is used to retrieve the values, - * this allows templates to redefine these variables.

- * - *

The following variables are queried. If the variables do not - * exist, builtin defaults will be used (but you may also get a bunch - * of messages from the Java interpreter).

- * - *
- *
nominal.table.width
- *
The "normal" width for tables. This must be an absolute length.
- *
table.width
- *
The width for tables. This may be either an absolute - * length or a percentage.
- *
- * - * @param context The current stylesheet context - * - */ - private static void setupColumnWidths(Context context) { - // Hardcoded defaults - nominalWidth = 6 * pixelsPerInch; - tableWidth = "100%"; - - String varString = null; - - try { - // Get the stylesheet type - varString = getVariable(context, "stylesheet.result.type"); - foStylesheet = varString.equals("fo"); - - // Get the nominal table width - varString = getVariable(context, "nominal.table.width"); - nominalWidth = convertLength(varString); - - // Get the table width - varString = getVariable(context, "table.width"); - tableWidth = varString; - } catch (TransformerException e) { - //nop, can't happen - } - } - - /** - *

Adjust column widths in an HTML table.

- * - *

The specification of column widths in CALS (a relative width - * plus an optional absolute width) are incompatible with HTML column - * widths. This method adjusts CALS column width specifiers in an - * attempt to produce equivalent HTML specifiers.

- * - *

In order for this method to work, the CALS width specifications - * should be placed in the "width" attribute of the <col>s within - * a <colgroup>. Then the colgroup result tree fragment is passed - * to this method.

- * - *

This method makes use of two parameters from the XSL stylesheet - * that calls it: nominal.table.width and - * table.width. The value of nominal.table.width - * must be an absolute distance. The value of table.width - * can be either absolute or relative.

- * - *

Presented with a mixture of relative and - * absolute lengths, the table width is used to calculate - * appropriate values. If the table.width is relative, - * the nominal width is used for this calculation.

- * - *

There are three possible combinations of values:

- * - *
    - *
  1. There are no relative widths; in this case the absolute widths - * are used in the HTML table.
  2. - *
  3. There are no absolute widths; in this case the relative widths - * are used in the HTML table.
  4. - *
  5. There are a mixture of absolute and relative widths: - *
      - *
    1. If the table width is absolute, all widths become absolute.
    2. - *
    3. If the table width is relative, make all the widths absolute - * relative to the nominal table width then turn them all - * back into relative widths.
    4. - *
    - *
  6. - *
- * - * @param context The stylesheet context; supplied automatically by Saxon - * @param rtf The result tree fragment containing the colgroup. - * - * @return The result tree fragment containing the adjusted colgroup. - * - */ - public static NodeSetValue adjustColumnWidths (Context context, - NodeSetValue rtf_ns) { - - FragmentValue rtf = (FragmentValue) rtf_ns; - - setupColumnWidths(context); - - try { - NamePool namePool = context.getController().getNamePool(); - - ColumnScanEmitter csEmitter = new ColumnScanEmitter(namePool); - rtf.replay(csEmitter); - - int numColumns = csEmitter.columnCount(); - String widths[] = csEmitter.columnWidths(); - - float relTotal = 0; - float relParts[] = new float[numColumns]; - - float absTotal = 0; - float absParts[] = new float[numColumns]; - - for (int count = 0; count < numColumns; count++) { - String width = widths[count]; - - int pos = width.indexOf("*"); - if (pos >= 0) { - String relPart = width.substring(0, pos); - String absPart = width.substring(pos+1); - - try { - float rel = Float.parseFloat(relPart); - relTotal += rel; - relParts[count] = rel; - } catch (NumberFormatException e) { - System.out.println(relPart + " is not a valid relative unit."); - } - - int pixels = 0; - if (absPart != null && !absPart.equals("")) { - pixels = convertLength(absPart); - } - - absTotal += pixels; - absParts[count] = pixels; - } else { - relParts[count] = 0; - - int pixels = 0; - if (width != null && !width.equals("")) { - pixels = convertLength(width); - } - - absTotal += pixels; - absParts[count] = pixels; - } - } - - // Ok, now we have the relative widths and absolute widths in - // two parallel arrays. - // - // - If there are no relative widths, output the absolute widths - // - If there are no absolute widths, output the relative widths - // - If there are a mixture of relative and absolute widths, - // - If the table width is absolute, turn these all into absolute - // widths. - // - If the table width is relative, turn these all into absolute - // widths in the nominalWidth and then turn them back into - // percentages. - - if (relTotal == 0) { - for (int count = 0; count < numColumns; count++) { - Float f = new Float(absParts[count]); - if (foStylesheet) { - int pixels = f.intValue(); - float inches = (float) pixels / pixelsPerInch; - widths[count] = inches + "in"; - } else { - widths[count] = Integer.toString(f.intValue()); - } - } - } else if (absTotal == 0) { - for (int count = 0; count < numColumns; count++) { - float rel = relParts[count] / relTotal * 100; - Float f = new Float(rel); - widths[count] = Integer.toString(f.intValue()) + "%"; - } - } else { - int pixelWidth = nominalWidth; - - if (tableWidth.indexOf("%") <= 0) { - pixelWidth = convertLength(tableWidth); - } - - if (pixelWidth <= absTotal) { - System.out.println("Table is wider than table width."); - } else { - pixelWidth -= absTotal; - } - - absTotal = 0; - for (int count = 0; count < numColumns; count++) { - float rel = relParts[count] / relTotal * pixelWidth; - relParts[count] = rel + absParts[count]; - absTotal += rel + absParts[count]; - } - - if (tableWidth.indexOf("%") <= 0) { - for (int count = 0; count < numColumns; count++) { - Float f = new Float(relParts[count]); - if (foStylesheet) { - int pixels = f.intValue(); - float inches = (float) pixels / pixelsPerInch; - widths[count] = inches + "in"; - } else { - widths[count] = Integer.toString(f.intValue()); - } - } - } else { - for (int count = 0; count < numColumns; count++) { - float rel = relParts[count] / absTotal * 100; - Float f = new Float(rel); - widths[count] = Integer.toString(f.intValue()) + "%"; - } - } - } - - ColumnUpdateEmitter cuEmitter = new ColumnUpdateEmitter(namePool, - widths); - rtf.replay(cuEmitter); - return cuEmitter.getResultTreeFragment(); - } catch (TransformerException e) { - // This "can't" happen. - System.out.println("Transformer Exception in adjustColumnWidths"); - return rtf; - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Text.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Text.java deleted file mode 100644 index 2afdfbb5d..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Text.java +++ /dev/null @@ -1,132 +0,0 @@ -// Text - Saxon extension element for inserting text - -package com.nwalsh.saxon; - -import java.io.BufferedReader; -import java.io.InputStreamReader; -import java.io.InputStream; -import java.io.IOException; -import java.io.FileNotFoundException; -import java.net.URL; -import java.net.MalformedURLException; -import javax.xml.transform.TransformerException; -import javax.xml.transform.TransformerConfigurationException; -import com.icl.saxon.*; -import com.icl.saxon.style.*; -import com.icl.saxon.expr.*; -import com.icl.saxon.output.*; -import org.xml.sax.AttributeList; - -/** - *

Saxon extension element for inserting text - * - *

$Id: Text.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * extension element for inserting text into a result tree.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: Text.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - */ -public class Text extends StyleElement { - /** - *

Constructor for Text

- * - *

Does nothing.

- */ - public Text() { - } - - /** - *

Is this element an instruction?

- * - *

Yes, it is.

- * - * @return true - */ - public boolean isInstruction() { - return true; - } - - /** - *

Can this element contain a template-body?

- * - *

Yes, it can, but only so that it can contain xsl:fallback.

- * - * @return true - */ - public boolean mayContainTemplateBody() { - return true; - } - - /** - *

Validate the arguments

- * - *

The element must have an href attribute.

- */ - public void prepareAttributes() throws TransformerConfigurationException { - // Get mandatory href attribute - String fnAtt = getAttribute("href"); - if (fnAtt == null) { - reportAbsence("href"); - } - } - - /** Validate that the element occurs in a reasonable place. */ - public void validate() throws TransformerConfigurationException { - checkWithinTemplate(); - } - - /** - *

Insert the text of the file into the result tree

- * - *

Processing this element inserts the contents of the URL named - * by the href attribute into the result tree as plain text.

- * - */ - public void process( Context context ) throws TransformerException { - Outputter out = context.getOutputter(); - - String hrefAtt = getAttribute("href"); - Expression hrefExpr = makeAttributeValueTemplate(hrefAtt); - String href = hrefExpr.evaluateAsString(context); - URL fileURL = null; - - try { - try { - fileURL = new URL(href); - } catch (MalformedURLException e1) { - try { - fileURL = new URL("file:" + href); - } catch (MalformedURLException e2) { - System.out.println("Cannot open " + href); - return; - } - } - - InputStreamReader isr = new InputStreamReader(fileURL.openStream()); - BufferedReader is = new BufferedReader(isr); - - char chars[] = new char[4096]; - int len = 0; - while ((len = is.read(chars)) > 0) { - out.writeContent(chars, 0, len); - } - is.close(); - } catch (Exception e) { - System.out.println("Cannot read " + href); - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/TextFactory.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/TextFactory.java deleted file mode 100644 index 8f8fa0932..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/TextFactory.java +++ /dev/null @@ -1,67 +0,0 @@ -// TextFactory - Saxon extension element factory - -package com.nwalsh.saxon; - -import com.icl.saxon.style.ExtensionElementFactory; -import org.xml.sax.SAXException; - -/** - *

Saxon extension element factory - * - *

$Id: TextFactory.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * extension element factory for the Text extension element - * family.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: TextFactory.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - * @see Text - * - */ -public class TextFactory implements ExtensionElementFactory { - /** - *

Constructor for TextFactory

- * - *

Does nothing.

- */ - public TextFactory() { - } - - /** - *

Return the class that implements a particular extension element.

- * - * @param localname The local name of the extension element. - * - * @return The class that handles that extension element. - * - * @exception SAXException("Unknown Text extension element") - */ - public Class getExtensionClass(String localname) { - if (localname.equals("insertfile")) { - try { - return Class.forName("com.nwalsh.saxon.Text"); - } catch (ClassNotFoundException e) { - return null; - } - } - return null; - } -} - - - - - diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Verbatim.java b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Verbatim.java deleted file mode 100644 index 8c25756e4..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/Verbatim.java +++ /dev/null @@ -1,471 +0,0 @@ -// Verbatim.java - Saxon extensions supporting DocBook verbatim environments - -package com.nwalsh.saxon; - -import java.util.Stack; -import java.util.StringTokenizer; -import org.xml.sax.*; -import org.w3c.dom.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.expr.*; -import com.icl.saxon.om.*; -import com.icl.saxon.pattern.*; -import com.icl.saxon.Context; -import com.icl.saxon.tree.*; -import com.icl.saxon.functions.Extensions; -import com.nwalsh.saxon.NumberLinesEmitter; -import com.nwalsh.saxon.CalloutEmitter; - -/** - *

Saxon extensions supporting DocBook verbatim environments

- * - *

$Id: Verbatim.java,v 1.1 2002/05/15 17:22:27 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * implementation of two features that would be impractical to - * implement directly in XSLT: line numbering and callouts.

- * - *

Line Numbering

- *

The numberLines method takes a result tree - * fragment (assumed to contain the contents of a formatted verbatim - * element in DocBook: programlisting, screen, address, literallayout, - * or synopsis) and returns a result tree fragment decorated with - * line numbers.

- * - *

Callouts

- *

The insertCallouts method takes an - * areaspec and a result tree fragment - * (assumed to contain the contents of a formatted verbatim - * element in DocBook: programlisting, screen, address, literallayout, - * or synopsis) and returns a result tree fragment decorated with - * callouts.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: Verbatim.java,v 1.1 2002/05/15 17:22:27 isberg Exp $ - * - */ -public class Verbatim { - /** True if the stylesheet is producing formatting objects */ - private static boolean foStylesheet = false; - /** The modulus for line numbering (every 'modulus' line is numbered). */ - private static int modulus = 0; - /** The width (in characters) of line numbers (for padding). */ - private static int width = 0; - /** The separator between the line number and the verbatim text. */ - private static String separator = ""; - - /** True if callouts have been setup */ - private static boolean calloutsSetup = false; - /** The default column for callouts that have only a line or line range */ - private static int defaultColumn = 60; - /** The path to use for graphical callout decorations. */ - private static String graphicsPath = null; - /** The extension to use for graphical callout decorations. */ - private static String graphicsExt = null; - /** The largest callout number that can be represented graphically. */ - private static int graphicsMax = 10; - - /** The FormatCallout object to use for formatting callouts. */ - private static FormatCallout fCallout = null; - - /** - *

Constructor for Verbatim

- * - *

All of the methods are static, so the constructor does nothing.

- */ - public Verbatim() { - } - - /** - *

Find the string value of a stylesheet variable or parameter

- * - *

Returns the string value of varName in the current - * context. Returns the empty string if the variable is - * not defined.

- * - * @param context The current stylesheet context - * @param varName The name of the variable (without the dollar sign) - * - * @return The string value of the variable - */ - protected static String getVariable(Context context, String varName) { - Value variable = null; - String varString = null; - - try { - variable = Extensions.evaluate(context, "$" + varName); - varString = variable.asString(); - return varString; - } catch (TransformerException te) { - System.out.println("Undefined variable: " + varName); - return ""; - } catch (IllegalArgumentException iae) { - System.out.println("Undefined variable: " + varName); - return ""; - } - } - - /** - *

Setup the parameters associated with line numbering

- * - *

This method queries the stylesheet for the variables - * associated with line numbering. It is called automatically before - * lines are numbered. The context is used to retrieve the values, - * this allows templates to redefine these variables.

- * - *

The following variables are queried. If the variables do not - * exist, builtin defaults will be used (but you may also get a bunch - * of messages from the Java interpreter).

- * - *
- *
linenumbering.everyNth
- *
Specifies the lines that will be numbered. The first line is - * always numbered. (builtin default: 5).
- *
linenumbering.width
- *
Specifies the width of the numbers. If the specified width is too - * narrow for the largest number needed, it will automatically be made - * wider. (builtin default: 3).
- *
linenumbering.separator
- *
Specifies the string that separates line numbers from lines - * in the program listing. (builtin default: " ").
- *
stylesheet.result.type
- *
Specifies the stylesheet result type. The value is either 'fo' - * (for XSL Formatting Objects) or it isn't. (builtin default: html).
- *
- * - * @param context The current stylesheet context - * - */ - private static void setupLineNumbering(Context context) { - // Hardcoded defaults - modulus = 5; - width = 3; - separator = " "; - foStylesheet = false; - - String varString = null; - - // Get the modulus - varString = getVariable(context, "linenumbering.everyNth"); - try { - modulus = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$linenumbering.everyNth is not a number: " + varString); - } - - // Get the width - varString = getVariable(context, "linenumbering.width"); - try { - width = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$linenumbering.width is not a number: " + varString); - } - - // Get the separator - varString = getVariable(context, "linenumbering.separator"); - separator = varString; - - // Get the stylesheet type - varString = getVariable(context, "stylesheet.result.type"); - foStylesheet = (varString.equals("fo")); - } - - /** - *

Number lines in a verbatim environment

- * - *

The extension function expects the following variables to be - * available in the calling context: $linenumbering.everyNth, - * $linenumbering.width, $linenumbering.separator, and - * $stylesheet.result.type.

- * - *

This method adds line numbers to a result tree fragment. Each - * newline that occurs in a text node is assumed to start a new line. - * The first line is always numbered, every subsequent 'everyNth' line - * is numbered (so if everyNth=5, lines 1, 5, 10, 15, etc. will be - * numbered. If there are fewer than everyNth lines in the environment, - * every line is numbered.

- * - *

Every line number will be right justified in a string 'width' - * characters long. If the line number of the last line in the - * environment is too long to fit in the specified width, the width - * is automatically increased to the smallest value that can hold the - * number of the last line. (In other words, if you specify the value 2 - * and attempt to enumerate the lines of an environment that is 100 lines - * long, the value 3 will automatically be used for every line in the - * environment.)

- * - *

The 'separator' string is inserted between the line - * number and the original program listing. Lines that aren't numbered - * are preceded by a 'width' blank string and the separator.

- * - *

If inline markup extends across line breaks, markup changes are - * required. All the open elements are closed before the line break and - * "reopened" afterwards. The reopened elements will have the same - * attributes as the originals, except that 'name' and 'id' attributes - * are not duplicated if the stylesheet.result.type is "html" and - * 'id' attributes will not be duplicated if the result type is "fo".

- * - * @param rtf The result tree fragment of the verbatim environment. - * - * @return The modified result tree fragment. - */ - public static NodeSetValue numberLines (Context context, - NodeSetValue rtf_ns) { - - FragmentValue rtf = (FragmentValue) rtf_ns; - - setupLineNumbering(context); - - try { - LineCountEmitter lcEmitter = new LineCountEmitter(); - rtf.replay(lcEmitter); - int numLines = lcEmitter.lineCount(); - - int listingModulus = numLines < modulus ? 1 : modulus; - - double log10numLines = Math.log(numLines) / Math.log(10); - - int listingWidth = width < log10numLines+1 - ? (int) Math.floor(log10numLines + 1) - : width; - - NamePool namePool = context.getController().getNamePool(); - NumberLinesEmitter nlEmitter = new NumberLinesEmitter(namePool, - listingModulus, - listingWidth, - separator, - foStylesheet); - rtf.replay(nlEmitter); - return nlEmitter.getResultTreeFragment(); - } catch (TransformerException e) { - // This "can't" happen. - System.out.println("Transformer Exception in numberLines"); - return rtf; - } - } - - /** - *

Setup the parameters associated with callouts

- * - *

This method queries the stylesheet for the variables - * associated with line numbering. It is called automatically before - * callouts are processed. The context is used to retrieve the values, - * this allows templates to redefine these variables.

- * - *

The following variables are queried. If the variables do not - * exist, builtin defaults will be used (but you may also get a bunch - * of messages from the Java interpreter).

- * - *
- *
callout.graphics
- *
Are we using callout graphics? A value of 0 or "" is false, - * any other value is true. If callout graphics are not used, the - * parameters related to graphis are not queried.
- *
callout.graphics.path
- *
Specifies the path to callout graphics.
- *
callout.graphics.extension
- *
Specifies the extension ot use for callout graphics.
- *
callout.graphics.number.limit
- *
Identifies the largest number that can be represented as a - * graphic. Larger callout numbers will be represented using text.
- *
callout.defaultcolumn
- *
Specifies the default column for callout bullets that do not - * specify a column.
- *
stylesheet.result.type
- *
Specifies the stylesheet result type. The value is either 'fo' - * (for XSL Formatting Objects) or it isn't. (builtin default: html).
- *
- * - * @param context The current stylesheet context - * - */ - private static void setupCallouts(Context context) { - NamePool namePool = context.getController().getNamePool(); - - boolean useGraphics = false; - boolean useUnicode = false; - - int unicodeStart = 49; - int unicodeMax = 0; - - String unicodeFont = ""; - - // Hardcoded defaults - defaultColumn = 60; - graphicsPath = null; - graphicsExt = null; - graphicsMax = 0; - foStylesheet = false; - calloutsSetup = true; - - Value variable = null; - String varString = null; - - // Get the stylesheet type - varString = getVariable(context, "stylesheet.result.type"); - foStylesheet = (varString.equals("fo")); - - // Get the default column - varString = getVariable(context, "callout.defaultcolumn"); - try { - defaultColumn = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$callout.defaultcolumn is not a number: " - + varString); - } - - // Use graphics at all? - varString = getVariable(context, "callout.graphics"); - useGraphics = !(varString.equals("0") || varString.equals("")); - - // Use unicode at all? - varString = getVariable(context, "callout.unicode"); - useUnicode = !(varString.equals("0") || varString.equals("")); - - if (useGraphics) { - // Get the graphics path - varString = getVariable(context, "callout.graphics.path"); - graphicsPath = varString; - - // Get the graphics extension - varString = getVariable(context, "callout.graphics.extension"); - graphicsExt = varString; - - // Get the number limit - varString = getVariable(context, "callout.graphics.number.limit"); - try { - graphicsMax = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$callout.graphics.number.limit is not a number: " - + varString); - graphicsMax = 0; - } - - fCallout = new FormatGraphicCallout(namePool, - graphicsPath, - graphicsExt, - graphicsMax, - foStylesheet); - } else if (useUnicode) { - // Get the starting character - varString = getVariable(context, "callout.unicode.start.character"); - try { - unicodeStart = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$callout.unicode.start.character is not a number: " - + varString); - unicodeStart = 48; - } - - // Get the number limit - varString = getVariable(context, "callout.unicode.number.limit"); - try { - unicodeMax = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$callout.unicode.number.limit is not a number: " - + varString); - unicodeStart = 0; - } - - // Get the font - unicodeFont = getVariable(context, "callout.unicode.font"); - if (unicodeFont == null) { - unicodeFont = ""; - } - - fCallout = new FormatUnicodeCallout(namePool, - unicodeFont, - unicodeStart, - unicodeMax, - foStylesheet); - } else { - fCallout = new FormatTextCallout(namePool, foStylesheet); - } - } - - /** - *

Insert text callouts into a verbatim environment.

- * - *

This method examines the areaset and area elements - * in the supplied areaspec and decorates the supplied - * result tree fragment with appropriate callout markers.

- * - *

If a label attribute is supplied on an area, - * its content will be used for the label, otherwise the callout - * number will be used, surrounded by parenthesis. Callout numbers may - * also be represented as graphics. Callouts are - * numbered in document order. All of the areas in an - * areaset get the same number.

- * - *

Only the linecolumn and linerange units are - * supported. If no unit is specifed, linecolumn is assumed. - * If only a line is specified, the callout decoration appears in - * the defaultColumn. Lines will be padded with blanks to reach the - * necessary column, but callouts that are located beyond the last - * line of the verbatim environment will be ignored.

- * - *

Callouts are inserted before the character at the line/column - * where they are to occur.

- * - *

If graphical callouts are used, and the callout number is less - * than or equal to the $callout.graphics.number.limit, the following image - * will be generated for HTML: - * - *

-   * <img src="$callout.graphics.path/999$callout.graphics.ext"
-   *         alt="conumber">
-   * 
- * - * If the $stylesheet.result.type is 'fo', the following image will - * be generated: - * - *
-   * <fo:external-graphic src="$callout.graphics.path/999$callout.graphics.ext"/>
-   * 
- * - *

If the callout number exceeds $callout.graphics.number.limit, - * the callout will be the callout number surrounded by - * parenthesis.

- * - * @param context The stylesheet context. - * @param areaspecNodeSet The source node set that contains the areaspec. - * @param rtf The result tree fragment of the verbatim environment. - * - * @return The modified result tree fragment. - */ - - public static NodeSetValue insertCallouts (Context context, - NodeList areaspecNodeList, - NodeSetValue rtf_ns) { - - FragmentValue rtf = (FragmentValue) rtf_ns; - - setupCallouts(context); - - try { - NamePool namePool = context.getController().getNamePool(); - CalloutEmitter cEmitter = new CalloutEmitter(namePool, - defaultColumn, - foStylesheet, - fCallout); - cEmitter.setupCallouts(areaspecNodeList); - rtf.replay(cEmitter); - return cEmitter.getResultTreeFragment(); - } catch (TransformerException e) { - // This "can't" happen. - System.out.println("Transformer Exception in insertCallouts"); - return rtf; - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/package.html b/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/package.html deleted file mode 100644 index b05a46709..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/com/nwalsh/saxon/package.html +++ /dev/null @@ -1,48 +0,0 @@ - - -Norman Walsh's Saxon Extensions Package - - -

Norman Walsh's Saxon Extensions Package for Saxon 6.*

- -

This package implements Saxon extensions for XSLT.

- -

Copyright (C) 2000 Norman Walsh

-

Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions:

- -

The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software.

- -

Except as contained in this notice, the names of individuals -credited with contribution to this software shall not be used in -advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the -individuals in question.

- -

Anything derived from this Software that is publically -distributed will be identified with a different name and the -version strings in any derived Software will be changed so that no -possibility of confusion between the derived package and this -Software will exist.

- - -
-

Warranty

-

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER -CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE.

-
- - - diff --git a/lib/docbook/docbook-xsl/extensions/saxon642/prj.el b/lib/docbook/docbook-xsl/extensions/saxon642/prj.el deleted file mode 100644 index 6a5356f5c..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon642/prj.el +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - - - - - -(jde-set-project-name "saxon") -(jde-set-variables - '(jde-gen-session-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\" -\"java.rmi.RemoteException\"))" "(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void ejbActivate() throws RemoteException {\"'>'n \"}\"'>'n -'>'n" "'> \"public void ejbPassivate() throws RemoteException {\"'>'n \"}\"'>'n -'>'n" "'> \"public void ejbRemove() throws RemoteException {\"'>'n \"}\"'>'n '>'n" "'> \"public void setSessionContext(SessionContext ctx) throws -RemoteException {\"" "'>'n \"}\"'>'n '>'n" "'> \"public void unsetSessionContext() throws RemoteException {\"'>'n -\"}\"'>'n '>'n'>"))) - '(jde-gen-beep (quote ("(end-of-line) '&" "\"Toolkit.getDefaultToolkit().beep();\"'>'n'>"))) - '(jde-which-method-format (quote ("[" jde-which-method-current "]"))) - '(jde-run-classic-mode-vm nil) - '(jde-javadoc-gen-nodeprecatedlist nil) - '(jde-which-method-max-length 20) - '(jde-imenu-include-classdef t) - '(jde-javadoc-gen-link-online nil) - '(jde-gen-code-templates (quote (("Get Set Pair" . jde-gen-get-set) ("toString method" . jde-gen-to-string-method) ("Action Listener" . jde-gen-action-listener) ("Window Listener" . jde-gen-window-listener) ("Mouse Listener" . jde-gen-mouse-listener) ("Mouse Motion Listener" . jde-gen-mouse-motion-listener) ("Inner Class" . jde-gen-inner-class) ("println" . jde-gen-println) ("beep" . jde-gen-beep) ("property change support" . jde-gen-property-change-support) ("EJB Entity Bean" . jde-gen-entity-bean) ("EJB Session Bean" . jde-gen-session-bean)))) - '(jde-gen-cflow-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"else\")" "'(l '> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of else\"'>'n'>)" ")"))) - '(jde-make-args "") - '(jde-javadoc-gen-destination-directory "JavaDoc") - '(jde-mode-line-format (quote ("-" mode-line-mule-info mode-line-modified mode-line-frame-identification mode-line-buffer-identification " " global-mode-string " %[(" mode-name mode-line-process minor-mode-alist "%n" ")%]--" (line-number-mode "L%l--") (column-number-mode "C%c--") (-3 . "%p") (jde-which-method-mode ("--" jde-which-method-format "--")) "-%-"))) - '(jde-mode-abbreviations (quote (("ab" . "abstract") ("bo" . "boolean") ("br" . "break") ("by" . "byte") ("byv" . "byvalue") ("cas" . "cast") ("ca" . "catch") ("ch" . "char") ("cl" . "class") ("co" . "const") ("con" . "continue") ("de" . "default") ("dou" . "double") ("el" . "else") ("ex" . "extends") ("fa" . "false") ("fi" . "final") ("fin" . "finally") ("fl" . "float") ("fo" . "for") ("fu" . "future") ("ge" . "generic") ("go" . "goto") ("impl" . "implements") ("impo" . "import") ("ins" . "instanceof") ("in" . "int") ("inte" . "interface") ("lo" . "long") ("na" . "native") ("ne" . "new") ("nu" . "null") ("pa" . "package") ("pri" . "private") ("pro" . "protected") ("pu" . "public") ("re" . "return") ("sh" . "short") ("st" . "static") ("su" . "super") ("sw" . "switch") ("sy" . "synchronized") ("th" . "this") ("thr" . "throw") ("throw" . "throws") ("tra" . "transient") ("tr" . "true") ("vo" . "void") ("vol" . "volatile") ("wh" . "while")))) - '(jde-imenu-enable t) - '(jde-compile-option-verbose nil) - '(jde-db-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes")))) - '(jde-bug-debugger-host-address "localhost" t) - '(jde-make-working-directory "") - '(jde-bug-breakpoint-marker-colors (quote ("red" . "yellow"))) - '(jde-javadoc-gen-use nil) - '(jde-gen-buffer-boilerplate nil) - '(jde-bug-raise-frame-p t) - '(jde-db-option-application-args (quote ("-IN" "/share/xsl/docbook/test/exttest.xml" "-XSL " "/share/xsl/docbook/test/exttest.xsl")) t) - '(jde-javadoc-gen-nonavbar nil) - '(jde-javadoc-gen-nohelp nil) - '(jde-bug-vm-includes-jpda-p nil) - '(jde-gen-jfc-app-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"import java.awt.Dimension;\" '>'n" "\"import java.awt.Graphics;\" '>'n" "\"import java.awt.Graphics2D;\" '>'n" "\"import java.awt.Color;\" '>'n" "\"import java.awt.geom.Ellipse2D;\" '>'n" "\"import java.awt.event.WindowAdapter;\" '>'n" "\"import java.awt.event.WindowEvent;\" '>'n" "\"import javax.swing.JFrame;\" '>'n" "\"import javax.swing.JPanel;\" '>'n" "\"import javax.swing.JScrollPane;\" '>'n" "\"import javax.swing.JMenuBar;\" '>'n" "\"import javax.swing.JMenu;\" '>'n" "\"import java.awt.event.ActionEvent;\" '>'n" "\"import javax.swing.AbstractAction;\" '>'n '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" extends JFrame\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"class Canvas extends JPanel\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public Canvas () \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"setSize(getPreferredSize());\" '>'n" "\"Canvas.this.setBackground(Color.white);\" '>'n" "\"}\"'>'n '>'n" "\"public Dimension getPreferredSize() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"return new Dimension(600, 600);\" '>'n" "\"}\"'>'n '>'n" "\"public void paintComponent(Graphics g) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super.paintComponent(g);\" '>'n" "\"Graphics2D g2d = (Graphics2D) g;\" '>'n" "\"Ellipse2D circle = new Ellipse2D.Double(0d, 0d, 100d, 100d);\" '>'n" "\"g2d.setColor(Color.red);\" '>'n" "\"g2d.translate(10, 10);\" '>'n" "\"g2d.draw(circle);\" '>'n" "\"g2d.fill(circle);\" '>'n" "\"}\"'>'n " "\"}\"'>'n '>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super(\\\"\" (P \"Enter app title: \") \"\\\");\" '>'n" "\"setSize(300, 300);\" '>'n" "\"addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void windowClosing(WindowEvent e) {System.exit(0);}\" '>'n" "\"public void windowOpened(WindowEvent e) {}\" '>'n" "\"});\"'>'n" "\"setJMenuBar(createMenu());\" '>'n" "\"getContentPane().add(new JScrollPane(new Canvas()));\" '>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" f = new \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"();\" '>'n" "\"f.show();\" '>'n" "\"}\"'>'n '>'n" "\"protected JMenuBar createMenu() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"JMenuBar mb = new JMenuBar();\" '>'n" "\"JMenu menu = new JMenu(\\\"File\\\");\" '>'n" "\"menu.add(new AbstractAction(\\\"Exit\\\") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"System.exit(0);\" '>'n" "\"}\" '>'n" "\"});\" '>'n" "\"mb.add(menu);\" '>'n" "\"return mb;\" '>'n" "\"}\"'>'n " "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-bug-key-bindings (quote (("[? ? ?]" . jde-bug-step-over) ("[? ? ?]" . jde-bug-step-into) ("[? ? ?]" . jde-bug-step-into-all) ("[? ? ?]" . jde-bug-step-out) ("[? ? ?]" . jde-bug-continue) ("[? ? ?]" . jde-bug-toggle-breakpoint)))) - '(jde-compile-finish-hook (quote (jde-compile-finish-refresh-speedbar jde-compile-finish-flush-completion-cache))) - '(jde-compile-option-nowarn nil) - '(jde-setnu-mode-threshold 20000) - '(jde-run-java-vm-w "javaw") - '(jde-compile-option-encoding nil) - '(jde-run-option-java-profile (quote (nil . "./java.prof"))) - '(jde-bug-jpda-directory "/usr/local/jdk1.2.2" t) - '(jde-read-compile-args nil) - '(jde-run-java-vm "java") - '(jde-db-option-verbose (quote (nil nil nil))) - '(jde-which-method-class-min-length 4) - '(jde-db-read-app-args nil) - '(jde-javadoc-gen-nodeprecated nil) - '(jde-run-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects"))) - '(jde-gen-println (quote ("(end-of-line) '&" "\"System.out.println(\" (P \"Print out: \") \");\" '>'n'>"))) - '(jde-enable-abbrev-mode nil) - '(jde-auto-parse-max-buffer-size 50000) - '(jde-gen-cflow-main (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"main\")" "'(l '> \"public static void main (String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of main ()\"'>'n'>)" ")"))) - '(jde-javadoc-exception-tag-template "\"* @exception \" type \" if an error occurs\"") - '(jde-global-classpath nil t) - '(jde-gen-window-listener-template (quote ("(end-of-line) '& (P \"Window name: \")" "\".addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"public void windowActivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"" "'>'n \"public void windowClosed(WindowEvent e)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowClosing(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"System.exit(0);\" '>'n \"}\"" "'>'n \"public void windowDeactivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowDeiconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowIconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowOpened(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"});\" '>'n'>"))) - '(jde-run-working-directory "/share/xsl/docbook/extensions" t) - '(jde-gen-property-change-support (quote ("(end-of-line) '&" "\"protected PropertyChangeSupport pcs = new PropertyChangeSupport(this);\" '>'n '>'n" "\"/**\" '>'n" "\"* Adds a PropertyChangeListener to the listener list.\" '>'n" "\"* The listener is registered for all properties.\" '>'n" "\"*\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n" "\"*/\" '>'n" "\"public void addPropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"pcs.addPropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n" "\"* Removes a PropertyChangeListener from the listener list.\" '>'n" "\"* This removes a PropertyChangeListener that was registered for all properties.\" '>'n" "\"*\" '>'n " "\"* @param listener The PropertyChangeListener to be removed\" '>'n" "\"*/\" '>'n" "\"public void removePropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>\"pcs.removePropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Adds a PropertyChangeListener for a specific property.\" '>'n" "\"* The listener will be invoked only when a call on firePropertyChange\" '>'n" "\"* names that specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property to listen on\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n \"*/\" '>'n" "\"public void addPropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.addPropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Removes a PropertyChangeListener for a specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property that was listened on\" '>'n" "\"* @param listener The PropertyChangeListener to be removed\" '>'n \"*/\" '>'n" "\"public void removePropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.removePropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, Object oldValue, Object newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, int oldValue, int newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Fires an existing PropertyChangeEvent to any registered listeners.\" '>'n" "\"* No event is fired if the given event's old and new values are equal and non-null. \" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n\"*/\" '>'n" "\"public void firePropertyChange(PropertyChangeEvent evt) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(evt);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Checks if there are any listeners for a specific property.\" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n" "\"* @return trueif there are one or more listeners for the given property\" '>'n" "\"*/\" '>'n" "\"public boolean hasListeners(String propertyName) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"return pcs.hasListeners(propertyName);\" '>'n \"}\" '>'n '>'n'>"))) - '(jde-javadoc-describe-interface-template "\"* Describe interface \" (jde-javadoc-code name) \" here.\"") - '(jde-imenu-include-signature t) - '(jde-db-marker-regexp "^.*: thread=.*, \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9]*\\),") - '(jde-gen-mouse-motion-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseMotionListener(new MouseMotionAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>" "'>'n \"public void mouseDragged(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mouseMoved(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>"))) - '(jde-key-bindings (quote (("[? ? ?]" . jde-run-menu-run-applet) ("[? ? ?]" . jde-build) ("[? ? ?]" . jde-compile) ("[? ? ?]" . jde-debug) ("[? ? ?]" . jde-wiz-implement-interface) ("[? ? ?j]" . jde-javadoc-generate-javadoc-template) ("[? ? ? ]" . bsh) ("[? ? ? ]" . jde-gen-println) ("[? ? ?]" . jde-browse-jdk-doc) ("[? ? ?]" . jde-save-project) ("[? ? ?]" . jde-wiz-update-class-list) ("[? ? ?]" . jde-run) ("[? ? ?]" . speedbar-frame-mode) ("[? ? ?]" . jde-db-menu-debug-applet) ("[? ? ?]" . jde-help-symbol) ("[? ? ?]" . jde-show-class-source) ("[? ? ?]" . jde-import-find-and-import) ("[(control c) (control v) (control ?.)]" . jde-complete-at-point-menu) ("[(control c) (control v) ?.]" . jde-complete-at-point)))) - '(jde-gen-cflow-for-i (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"fori\")" "'(l '> \"for (int \" (p \"variable: \" var) \" = 0; \"" "(s var)" "\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (int \" (s var) \" = 0; \"" "(s var) \" < \" (s ub) \"; \" (s var) \"++)\"'>'n'>)" ")"))) - '(jde-run-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-javadoc-gen-detail-switch (quote ("-protected"))) - '(jde-bug-sio-connect-delay 1) - '(jde-javadoc-param-tag-template "\"* @param \" name \" \" (jde-javadoc-a type) - \" \" (jde-javadoc-code type) \" value\"") - '(jde-compile-option-verbose-path nil) - '(jde-javadoc-display-doc t) - '(jde-imenu-modifier-abbrev-alist (quote (("public" . 43) ("protected" . 177) ("private" . 172) ("static" . 2215) ("transient" . 35) ("volatile" . 126) ("abstract" . 170) ("final" . 182) ("native" . 36) ("synchronized" . 64) ("strictfp" . 37)))) - '(jde-db-debugger (quote ("JDEbug" "/usr/local/jdk1.2.2/lib/i386" . "Executable")) t) - '(jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.1/docs/index.html") - '(jde-gen-cflow-enable t) - '(jde-compiler "javac") - '(jde-javadoc-gen-verbose nil) - '(jde-javadoc-describe-method-template "\"* Describe \" (jde-javadoc-code name) \" method here.\"") - '(jde-gen-class-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n'" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" \" (jde-gen-get-super-class)" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\">" "'>'n" "\"}\">" "\"// \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-javadoc-checker-level (quote protected)) - '(jde-appletviewer-option-vm-args nil) - '(jde-run-executable-args nil) - '(jde-db-option-garbage-collection (quote (t t))) - '(jde-javadoc-gen-stylesheetfile "") - '(jde-use-font-lock t) - '(jde-compile-option-bootclasspath nil) - '(jde-make-program "make") - '(jde-javadoc-gen-group nil) - '(jde-javadoc-gen-link-offline nil) - '(jde-entering-java-buffer-hook (quote (jde-reload-project-file jde-which-method-update-on-entering-buffer))) - '(jde-javadoc-gen-doc-title "") - '(jde-javadoc-gen-header "") - '(jde-run-option-vm-args nil) - '(jde-javadoc-gen-window-title "") - '(jde-compile-option-directory "/sourceforge/docbook/xsl/extensions/saxon64/.classes" t) - '(jde-imenu-create-index-function (quote semantic-create-imenu-index)) - '(jde-gen-console-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\"'>'n" "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-read-make-args nil) - '(jde-javadoc-gen-noindex nil) - '(jde-gen-mouse-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseListener(new MouseAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'> " "'>'n \"public void mouseClicked(MouseEvent e) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseEntered(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseExited(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mousePressed(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseReleased(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>"))) - '(jde-run-option-application-args (quote ("-IN" "test.xml" "-XSL" "test.xsl")) t) - '(jde-bug-vm-executable (quote ("java"))) - '(jde-db-set-initial-breakpoint t) - '(jde-bug-debugger-command-timeout 10) - '(jde-db-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes")))) - '(jde-db-option-properties nil t) - '(jde-db-source-directories (quote ("/share/xsl/docbook/extensions/xalan2/" "/projects/apache/xml-xalan/java/src/" "/projects/apache/xml-xerces/java/build/src/" "/projects/sun/resolver/" "/home/ndw/java/")) t) - '(jde-run-read-app-args nil) - '(jde-gen-to-string-method-template (quote ("(end-of-line) '&" "\"public String toString() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n'>"))) - '(jde-quote-classpath t) - '(jde-bug-window-message nil) - '(jde-build-use-make nil) - '(jde-javadoc-author-tag-template "\"* @author \" user-full-name \"\"") - '(jde-javadoc-describe-field-template "\"* Describe \" (jde-javadoc-field-type modifiers) - \" \" (jde-javadoc-code name) \" here.\"") - '(jde-javadoc-gen-link-URL nil) - '(jde-compile-option-classpath (quote ("/sourceforge/docbook/xsl/extensions/saxon64/.classes" "/usr/local/java/saxon-6.4.2/saxon.jar" "/usr/local/jaxp-1.1/jaxp.jar" "/usr/local/jaxp-1.1/crimson.jar")) t) - '(jde-bug-jdk-directory "/usr/local/jdk1.2.2" t) - '(jde-gen-boilerplate-function (quote jde-gen-create-buffer-boilerplate)) - '(jde-gen-entity-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\" -\"java.rmi.RemoteException\"))" "'> \"public void ejbActivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbPassivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbLoad() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbStore() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbRemove() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void setEntityContext(EntityContext ctx) throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void unsetEntityContext() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n'>"))) - '(jde-javadoc-describe-constructor-template "\"* Creates a new \" (jde-javadoc-code name) \" instance.\"") - '(jde-bug-server-shmem-name (quote (t . "JDEbug"))) - '(jde-db-startup-commands nil) - '(jde-javadoc-gen-docletpath nil) - '(jde-javadoc-gen-split-index nil) - '(jde-compile-option-deprecation nil t) - '(jde-import-group-of-rules (quote (("^javax?\\.")))) - '(jde-which-method-mode t) - '(jde-gen-k&r t) - '(jde-javadoc-gen-bottom "") - '(jde-javadoc-gen-footer "") - '(jde-db-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-gen-cflow-for (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"for\")" "'(l '> \"for (\" (p \"for-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-run-mode-hook nil) - '(jde-db-option-verify (quote (nil t))) - '(jde-compile-option-extdirs nil) - '(jde-imenu-sort nil) - '(jde-gen-get-set-var-template (quote ("(end-of-line) '&" "(P \"Variable type: \" type) \" \"" "(P \"Variable name: \" name) \";\" '>'n '>'n" "\"/**\" '>'n" "\"* Get the value of \" (s name) \".\" '>'n" "\"* @return value of \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public \" (s type)" "(if (string= \"boolean\" (jde-gen-lookup-named 'type) ) " "\" is\" " "\" get\" ) " "(jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"return \" (s name) \";\" '>'n \"}\"" "'>'n '>'n" "\"/**\" '>'n" "\"* Set the value of \" (s name) \".\" '>'n" "\"* @param v Value to assign to \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public void set\" (jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"(\" (s type) \" v) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "'>'\"this.\" (s name) \" = v;\" '>'n \"}\" '>'n'>"))) - '(jde-bug-saved-breakpoints nil) - '(jde-compile-option-sourcepath (quote ("/share/xsl/docbook/extensions/xalan2" "/projects/apache/xml-xalan/java/build/src" "/projects/apache/xml-xerces/java/build/src" "/projects/sun/resolver")) t) - '(jde-gen-cflow-if (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-db-option-java-profile (quote (nil . "./java.prof"))) - '(jde-javadoc-gen-author t) - '(jde-compile-option-depend-switch (quote ("-Xdepend"))) - '(jde-setnu-mode-enable nil) - '(jde-run-applet-doc "") - '(jde-compile-option-vm-args nil) - '(jde-javadoc-gen-overview "") - '(jde-javadoc-gen-notree nil) - '(jde-run-option-garbage-collection (quote (t t))) - '(jde-db-mode-hook nil) - '(jde-javadoc-command-path "javadoc") - '(jde-db-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects"))) - '(jde-import-group-function (quote jde-import-group-of)) - '(jde-db-read-vm-args nil) - '(jde-bug-debug nil) - '(jde-javadoc-end-block-template nil) - '(jde-javadoc-gen-packages nil) - '(jde-gen-cflow-if-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"ife\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'> n" "'> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")else\"'>'n'>)" ")"))) - '(jde-gen-cflow-while (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"while\")" "'(l '> \"while (\" (p \"while-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of while (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-bug-server-socket (quote (t . "2112"))) - '(jde-imenu-include-modifiers nil) - '(jde-appletviewer-option-encoding "") - '(jde-bug-breakpoint-cursor-colors (quote ("cyan" . "brown"))) - '(jde-compile-option-target (quote ("1.1"))) - '(jde-run-executable "") - '(jde-run-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes")))) - '(jde-gen-cflow-switch (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"switch\")" "'(l '> \"switch (\" (p \"switch-condition: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'" "\"case \" (p \"first value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p'n" "\"default:\"'>'n'>'p'n" "\"break;\"'>'n" "\"} // end of switch (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-which-method-abbrev-symbol "~") - '(jde-db-option-vm-args nil) - '(jde-run-application-class "org.apache.xalan.xslt.Process" t) - '(jde-javadoc-gen-doclet "") - '(jde-import-auto-sort nil) - '(jde-run-option-verbose (quote (nil nil nil))) - '(jde-project-file-name "prj.el") - '(jde-compile-option-debug (quote ("selected" (t nil nil))) t) - '(jde-bug-jre-home "") - '(jde-import-sorted-groups nil) - '(jde-run-applet-viewer "") - '(jde-javadoc-return-tag-template "\"* @return \" (jde-javadoc-a type) - \" \" (jde-javadoc-code type) \" value\"") - '(jde-javadoc-gen-version t) - '(jde-javadoc-gen-helpfile "") - '(jde-import-excluded-packages (quote ("bsh.*"))) - '(jde-run-read-vm-args nil) - '(jde-help-docsets nil) - '(jde-gen-inner-class-template (quote ("(end-of-line) '& \"class \" (P \"Class name: \" class)" "(P \"Superclass: \" super t)" "(let ((parent (jde-gen-lookup-named 'super)))" "(if (not (string= parent \"\"))" "(concat \" extends \" parent ))) " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"public \" (s class) \"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n" "\"}\" '>'n'>"))) - '(jde-auto-parse-buffer-interval 180) - '(jde-run-option-verify (quote (nil t))) - '(jde-import-reverse-sort-group nil) - '(jde-compile-option-optimize nil) - '(jde-gen-cflow-case (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"case\")" "'(l 'n \"case \" (p \"value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p)" ")"))) - '(jde-compile-option-depend nil) - '(jde-javadoc-describe-class-template "\"* Describe class \" (jde-javadoc-code name) \" here.\"") - '(jde-javadoc-gen-serialwarn nil) - '(jde-gen-action-listener-template (quote ("'& (P \"Component name: \")" "\".addActionListener(new ActionListener() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n \"});\"'>'n'>"))) - '(jde-auto-parse-enable t) - '(jde-compile-option-command-line-args "") - '(jde-gen-buffer-templates (quote (("Class" . jde-gen-class) ("Console" . jde-gen-console) ("Swing App" . jde-gen-jfc-app)))) - '(jde-project-context-switching-enabled-p t) - '(jde-javadoc-gen-args nil) - '(jde-run-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes")))) - '(jde-run-option-properties nil t)) - - diff --git a/lib/docbook/docbook-xsl/extensions/saxon643.jar b/lib/docbook/docbook-xsl/extensions/saxon643.jar deleted file mode 100644 index af048bcfc022b001a7fce3243dca63fc90c15b96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33279 zcmagG1#lxF2=osx$_qBFMZS*l z*Y=ke(Espgh);p~A0Phb1@!CP$j*l0Ulsw}YJanU`5y~gH-NR1`TsIphz0xG*+BZc zp%cK}&h{VX|2%pBeq^lwWG)M^GBLHVHi7wr0O#lmXAgT*yEs1|LR8II8yYUgsH3GU zz$KtAP{Yeq!YSOtSw}1oGrl^)#JMucw1Os^r{^eV=-^<-env#GN4_A6YjAo}R$^2Riw;K?NeI~em{HL43suwz z3*GKVOnxzE@uK}Ut3|;`OFP{C&JK3q%!nW>+b$C^EobK;2opl<6e8K)R$GhetjPU< zv(*+pq{0lg^}3PQoCYEd6pBhCGmvnN{?jz+8|;%Lr!3DIcnnXu4}Z{sxWgKpIM&(+ zf?3{wjO_sQXH4vu=O#e^du$#5Ha6`4G&W&1WqKoPfRmGt%DU3L0;(>AR6;Oh9(pbH z))4Z7XOD_#9i$p`s7W|uccBgKEIS}x<>vMLy56yyZHwXbTQh7YOE?_0Z}*r4qJ@16mxMV z#s`~NV(j-jHY#rHVQw(yu(Ql|DJvD;vV({?_#XG=USKo?XSET2iSxdL%m^_&3?+qW z<;)Z=l0+f-?Q|uETDxi6qBGGwUW=zNVK<6xpd1}tAMBrE@^E01GM#EGxk#AXxZItE z-=Sfdz3wgUErw-&Aliv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!5E>xh;Q_VlG5@v~;~FXQ=J^Zz*? zFJYdq+?Ue7&yu6R?Ee1;^UrC0iS;ZN{8HHTSuFUM%|D&c|9D6LD;@kN&P$QW-+dB! zqHO$6oR^}gFR`9wDPPJGkp6P$=?E0&-?4rxpZXK>C0YElp207}eR}xuZ|?m!r1vG*^PT7AGU$1U_RGXwegpfrd(O*6&+}^Omp%R+;6Ls* z&u+Y2k327sewn=Mf4T9u{-4(?FZ+L9ul%xyKU)5G#}H4q9S{)wr>|^i5D;;<=fD0R D2wU3* diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/ChangeLog b/lib/docbook/docbook-xsl/extensions/saxon643/ChangeLog deleted file mode 100644 index ba21554bc..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/ChangeLog +++ /dev/null @@ -1,4 +0,0 @@ -2001-07-16 Norman Walsh - - * .cvsignore, prj.el: New file. - diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CVS.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CVS.java deleted file mode 100644 index db1d5a53c..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CVS.java +++ /dev/null @@ -1,90 +0,0 @@ -package com.nwalsh.saxon; - -import java.io.*; -import java.util.Calendar; -import java.util.GregorianCalendar; -import java.util.Date; -import java.util.Locale; -import java.util.TimeZone; -import java.text.DateFormat; -import java.text.ParseException; - -/** - *

Saxon extension to convert CVS date strings into local time

- * - *

$Id: CVS.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *
- * - *
$Date: 2000/11/09 02:34:20 $
- * - *

into legibly formatted local time:

- * - *
Wed Nov 08 18:34:20 PST 2000
- * - *

(I happened to be in California when I wrote this documentation.)

- - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: CVS.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class CVS { - /** - *

Constructor for CVS

- * - *

All of the methods are static, so the constructor does nothing.

- */ - public CVS() { - } - - /** - *

Convert a CVS date string into local time.

- * - * @param cvsDate The CVS date string. - * - * @return The date, converted to local time and reformatted. - */ - public static String localTime (String cvsDate) { - // A cvsDate has the following form "$Date: 2002/05/15 17:22:28 $" - if (!cvsDate.startsWith("$Date: ")) { - return cvsDate; - } - - String yrS = cvsDate.substring(7,11); - String moS = cvsDate.substring(12,14); - String daS = cvsDate.substring(15,17); - String hrS = cvsDate.substring(18,20); - String miS = cvsDate.substring(21,23); - String seS = cvsDate.substring(24,26); - - TimeZone tz = TimeZone.getTimeZone("GMT+0"); - GregorianCalendar gmtCal = new GregorianCalendar(tz); - - try { - gmtCal.set(Integer.parseInt(yrS), - Integer.parseInt(moS)-1, - Integer.parseInt(daS), - Integer.parseInt(hrS), - Integer.parseInt(miS), - Integer.parseInt(seS)); - } catch (NumberFormatException e) { - // nop - } - - Date d = gmtCal.getTime(); - - return d.toString(); - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Callout.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Callout.java deleted file mode 100644 index cffa054fe..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Callout.java +++ /dev/null @@ -1,90 +0,0 @@ -package com.nwalsh.saxon; - -import org.w3c.dom.*; - -/** - *

A class for maintaining information about callouts.

- * - *

To make processing callouts easier, they are parsed out of the - * input structure and stored in a sorted array. (The array is sorted - * according to the order in which the callouts occur.)

- * - *

This class is just the little record - * that we store in the array for each callout.

- */ -public class Callout implements Comparable { - /** The callout number. */ - private int callout = 0; - /** The area Element item that generated this callout. */ - private Element area = null; - /** The line on which this callout occurs. */ - private int line = 0; - /** The column in which this callout appears. */ - private int col = 0; - - /** The constructor; initialize the private data structures. */ - public Callout(int callout, Element area, int line, int col) { - this.callout = callout; - this.area = area; - this.line = line; - this.col = col; - } - - /** - *

The compareTo method compares this Callout with another.

- * - *

Given two Callouts, A and B, A < B if:

- * - *
    - *
  1. A.line < B.line, or
  2. - *
  3. A.line = B.line && A.col < B.col, or
  4. - *
  5. A.line = B.line && A.col = B.col && A.callout < B.callout
  6. - *
  7. Otherwise, they're equal.
  8. - *
- */ - public int compareTo (Object o) { - Callout c = (Callout) o; - - if (line == c.getLine()) { - if (col > c.getColumn()) { - return 1; - } else if (col < c.getColumn()) { - return -1; - } else { - if (callout < c.getCallout()) { - return -1; - } else if (callout > c.getCallout()) { - return 1; - } else { - return 0; - } - } - } else { - if (line > c.getLine()) { - return 1; - } else { - return -1; - } - } - } - - /** Access the Callout's area. */ - public Element getArea() { - return area; - } - - /** Access the Callout's line. */ - public int getLine() { - return line; - } - - /** Access the Callout's column. */ - public int getColumn() { - return col; - } - - /** Access the Callout's callout number. */ - public int getCallout() { - return callout; - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CalloutEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CalloutEmitter.java deleted file mode 100644 index 3c06a84c5..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CalloutEmitter.java +++ /dev/null @@ -1,526 +0,0 @@ -package com.nwalsh.saxon; - -import java.util.Stack; -import java.util.StringTokenizer; -import org.xml.sax.*; -import org.w3c.dom.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.Controller; -import com.icl.saxon.om.NamePool; -import com.icl.saxon.output.Emitter; -import com.icl.saxon.tree.AttributeCollection; - -/** - *

Saxon extension to decorate a result tree fragment with callouts.

- * - *

$Id: CalloutEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides the guts of a - * Saxon 6.* - * implementation of callouts for verbatim environments. (It is used - * by the Verbatim class.)

- * - *

The general design is this: the stylesheets construct a result tree - * fragment for some verbatim environment. The Verbatim class initializes - * a CalloutEmitter with information about the callouts that should be applied - * to the verbatim environment in question. Then the result tree fragment - * is "replayed" through the CalloutEmitter; the CalloutEmitter builds a - * new result tree fragment from this event stream, decorated with callouts, - * and that is returned.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @see Verbatim - * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: CalloutEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class CalloutEmitter extends CopyEmitter { - /** A stack for the preserving information about open elements. */ - protected Stack elementStack = null; - - /** A stack for holding information about temporarily closed elements. */ - protected Stack tempStack = null; - - /** Is the next element absolutely the first element in the fragment? */ - protected boolean firstElement = false; - - /** The FO namespace name. */ - protected static String foURI = "http://www.w3.org/1999/XSL/Format"; - - /** The default column for callouts that specify only a line. */ - protected int defaultColumn = 60; - - /** Is the stylesheet currently running an FO stylesheet? */ - protected boolean foStylesheet = false; - - /** The current line number. */ - private static int lineNumber = 0; - - /** The current column number. */ - private static int colNumber = 0; - - /** The (sorted) array of callouts obtained from the areaspec. */ - private static Callout callout[] = null; - - /** The number of callouts in the callout array. */ - private static int calloutCount = 0; - - /** A pointer used to keep track of our position in the callout array. */ - private static int calloutPos = 0; - - /** The FormatCallout object to use for formatting callouts. */ - private static FormatCallout fCallout = null; - - /**

Constructor for the CalloutEmitter.

- * - * @param namePool The name pool to use for constructing elements and attributes. - * @param graphicsPath The path to callout number graphics. - * @param graphicsExt The extension for callout number graphics. - * @param graphicsMax The largest callout number that can be represented as a graphic. - * @param defaultColumn The default column for callouts. - * @param foStylesheet Is this an FO stylesheet? - */ - public CalloutEmitter(Controller controller, - NamePool namePool, - int defaultColumn, - boolean foStylesheet, - FormatCallout fCallout) { - super(controller, namePool); - elementStack = new Stack(); - firstElement = true; - - this.defaultColumn = defaultColumn; - this.foStylesheet = foStylesheet; - this.fCallout = fCallout; - } - - /** - *

Examine the areaspec and determine the number and position of - * callouts.

- * - *

The areaspecNodeSet - * is examined and a sorted list of the callouts is constructed.

- * - *

This data structure is used to augment the result tree fragment - * with callout bullets.

- * - * @param areaspecNodeSet The source document <areaspec> element. - * - */ - public void setupCallouts (NodeList areaspecNodeList) { - callout = new Callout[10]; - calloutCount = 0; - calloutPos = 0; - lineNumber = 1; - colNumber = 1; - - // First we walk through the areaspec to calculate the position - // of the callouts - // - // - // - // - // - // - // - // - int pos = 0; - int coNum = 0; - boolean inAreaSet = false; - Node areaspec = areaspecNodeList.item(0); - NodeList children = areaspec.getChildNodes(); - - for (int count = 0; count < children.getLength(); count++) { - Node node = children.item(count); - if (node.getNodeType() == Node.ELEMENT_NODE) { - if (node.getNodeName().equalsIgnoreCase("areaset")) { - coNum++; - NodeList areas = node.getChildNodes(); - for (int acount = 0; acount < areas.getLength(); acount++) { - Node area = areas.item(acount); - if (area.getNodeType() == Node.ELEMENT_NODE) { - if (area.getNodeName().equalsIgnoreCase("area")) { - addCallout(coNum, area, defaultColumn); - } else { - System.out.println("Unexpected element in areaset: " - + area.getNodeName()); - } - } - } - } else if (node.getNodeName().equalsIgnoreCase("area")) { - coNum++; - addCallout(coNum, node, defaultColumn); - } else { - System.out.println("Unexpected element in areaspec: " - + node.getNodeName()); - } - } - } - - // Now sort them - java.util.Arrays.sort(callout, 0, calloutCount); - } - - /** Process characters. */ - public void characters(char[] chars, int start, int len) - throws TransformerException { - - // If we hit characters, then there's no first element... - firstElement = false; - - if (lineNumber == 0) { - // if there are any text nodes, there's at least one line - lineNumber++; - colNumber = 1; - } - - // Walk through the text node looking for callout positions - char[] newChars = new char[len]; - int pos = 0; - for (int count = start; count < start+len; count++) { - if (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() == colNumber) { - if (pos > 0) { - rtfEmitter.characters(newChars, 0, pos); - pos = 0; - } - - closeOpenElements(rtfEmitter); - - while (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() == colNumber) { - fCallout.formatCallout(rtfEmitter, callout[calloutPos]); - calloutPos++; - } - - openClosedElements(rtfEmitter); - } - - if (chars[count] == '\n') { - // What if we need to pad this line? - if (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() > colNumber) { - - if (pos > 0) { - rtfEmitter.characters(newChars, 0, pos); - pos = 0; - } - - closeOpenElements(rtfEmitter); - - while (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() > colNumber) { - formatPad(callout[calloutPos].getColumn() - colNumber); - colNumber = callout[calloutPos].getColumn(); - while (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() == colNumber) { - fCallout.formatCallout(rtfEmitter, callout[calloutPos]); - calloutPos++; - } - } - - openClosedElements(rtfEmitter); - } - - lineNumber++; - colNumber = 1; - } else { - colNumber++; - } - newChars[pos++] = chars[count]; - } - - if (pos > 0) { - rtfEmitter.characters(newChars, 0, pos); - } - } - - /** - *

Add blanks to the result tree fragment.

- * - *

This method adds numBlanks to the result tree fragment. - * It's used to pad lines when callouts occur after the last existing - * characater in a line.

- * - * @param numBlanks The number of blanks to add. - */ - protected void formatPad(int numBlanks) { - char chars[] = new char[numBlanks]; - for (int count = 0; count < numBlanks; count++) { - chars[count] = ' '; - } - - try { - rtfEmitter.characters(chars, 0, numBlanks); - } catch (TransformerException e) { - System.out.println("Transformer Exception in formatPad"); - } - } - - /** - *

Add a callout to the global callout array

- * - *

This method examines a callout area and adds it to - * the global callout array if it can be interpreted.

- * - *

Only the linecolumn and linerange units are - * supported. If no unit is specifed, linecolumn is assumed. - * If only a line is specified, the callout decoration appears in - * the defaultColumn.

- * - * @param coNum The callout number. - * @param node The area. - * @param defaultColumn The default column for callouts. - */ - protected void addCallout (int coNum, - Node node, - int defaultColumn) { - - Element area = (Element) node; - String units = null; - String coords = null; - - if (area.hasAttribute("units")) { - units = area.getAttribute("units"); - } - - if (area.hasAttribute("coords")) { - coords = area.getAttribute("coords"); - } - - if (units != null - && !units.equalsIgnoreCase("linecolumn") - && !units.equalsIgnoreCase("linerange")) { - System.out.println("Only linecolumn and linerange units are supported"); - return; - } - - if (coords == null) { - System.out.println("Coords must be specified"); - return; - } - - // Now let's see if we can interpret the coordinates... - StringTokenizer st = new StringTokenizer(coords); - int tokenCount = 0; - int c1 = 0; - int c2 = 0; - while (st.hasMoreTokens()) { - tokenCount++; - if (tokenCount > 2) { - System.out.println("Unparseable coordinates"); - return; - } - try { - String token = st.nextToken(); - int coord = Integer.parseInt(token); - c2 = coord; - if (tokenCount == 1) { - c1 = coord; - } - } catch (NumberFormatException e) { - System.out.println("Unparseable coordinate"); - return; - } - } - - // Make sure we aren't going to blow past the end of our array - if (calloutCount == callout.length) { - Callout bigger[] = new Callout[calloutCount+10]; - for (int count = 0; count < callout.length; count++) { - bigger[count] = callout[count]; - } - callout = bigger; - } - - // Ok, add the callout - if (tokenCount == 2) { - if (units != null && units.equalsIgnoreCase("linerange")) { - for (int count = c1; count <= c2; count++) { - callout[calloutCount++] = new Callout(coNum, area, - count, defaultColumn); - } - } else { - // assume linecolumn - callout[calloutCount++] = new Callout(coNum, area, c1, c2); - } - } else { - // if there's only one number, assume it's the line - callout[calloutCount++] = new Callout(coNum, area, c1, defaultColumn); - } - } - - /** Process end element events. */ - public void endElement(int nameCode) - throws TransformerException { - - if (!elementStack.empty()) { - // if we didn't push the very first element (an fo:block or - // pre or div surrounding the whole block), then the stack will - // be empty when we get to the end of the first element... - elementStack.pop(); - } - rtfEmitter.endElement(nameCode); - } - - /** Process start element events. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) - throws TransformerException { - - if (!skipThisElement(nameCode)) { - StartElementInfo sei = new StartElementInfo(nameCode, attributes, - namespaces, nscount); - elementStack.push(sei); - } - - firstElement = false; - - rtfEmitter.startElement(nameCode, attributes, namespaces, nscount); - } - - /** - *

Protect the outer-most block wrapper.

- * - *

Open elements in the result tree fragment are closed and reopened - * around callouts (so that callouts don't appear inside links or other - * environments). But if the result tree fragment is a single block - * (a div or pre in HTML, an fo:block in FO), that outer-most block is - * treated specially.

- * - *

This method returns true if the element in question is that - * outermost block.

- * - * @param nameCode The name code for the element - * - * @return True if the element is the outer-most block, false otherwise. - */ - protected boolean skipThisElement(int nameCode) { - if (firstElement) { - int thisFingerprint = namePool.getFingerprint(nameCode); - int foBlockFingerprint = namePool.getFingerprint(foURI, "block"); - int htmlPreFingerprint = namePool.getFingerprint("", "pre"); - int htmlDivFingerprint = namePool.getFingerprint("", "div"); - - if ((foStylesheet && thisFingerprint == foBlockFingerprint) - || (!foStylesheet && (thisFingerprint == htmlPreFingerprint - || thisFingerprint == htmlDivFingerprint))) { - // Don't push the outer-most wrapping div, pre, or fo:block - return true; - } - } - - return false; - } - - private void closeOpenElements(Emitter rtfEmitter) - throws TransformerException { - // Close all the open elements... - tempStack = new Stack(); - while (!elementStack.empty()) { - StartElementInfo elem = (StartElementInfo) elementStack.pop(); - rtfEmitter.endElement(elem.getNameCode()); - tempStack.push(elem); - } - } - - private void openClosedElements(Emitter rtfEmitter) - throws TransformerException { - // Now "reopen" the elements that we closed... - while (!tempStack.empty()) { - StartElementInfo elem = (StartElementInfo) tempStack.pop(); - AttributeCollection attr = (AttributeCollection) elem.getAttributes(); - AttributeCollection newAttr = new AttributeCollection(namePool); - - for (int acount = 0; acount < attr.getLength(); acount++) { - String localName = attr.getLocalName(acount); - int nameCode = attr.getNameCode(acount); - String type = attr.getType(acount); - String value = attr.getValue(acount); - String uri = attr.getURI(acount); - String prefix = ""; - - if (localName.indexOf(':') > 0) { - prefix = localName.substring(0, localName.indexOf(':')); - localName = localName.substring(localName.indexOf(':')+1); - } - - if (uri.equals("") - && ((foStylesheet - && localName.equals("id")) - || (!foStylesheet - && (localName.equals("id") - || localName.equals("name"))))) { - // skip this attribute - } else { - newAttr.addAttribute(prefix, uri, localName, type, value); - } - } - - rtfEmitter.startElement(elem.getNameCode(), - newAttr, - elem.getNamespaces(), - elem.getNSCount()); - - elementStack.push(elem); - } - } - - /** - *

A private class for maintaining the information required to call - * the startElement method.

- * - *

In order to close and reopen elements, information about those - * elements has to be maintained. This class is just the little record - * that we push on the stack to keep track of that info.

- */ - private class StartElementInfo { - private int _nameCode; - org.xml.sax.Attributes _attributes; - int[] _namespaces; - int _nscount; - - public StartElementInfo(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) { - _nameCode = nameCode; - _attributes = attributes; - _namespaces = namespaces; - _nscount = nscount; - } - - public int getNameCode() { - return _nameCode; - } - - public org.xml.sax.Attributes getAttributes() { - return _attributes; - } - - public int[] getNamespaces() { - return _namespaces; - } - - public int getNSCount() { - return _nscount; - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ChangeLog b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ChangeLog deleted file mode 100644 index 75a9acdd5..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ChangeLog +++ /dev/null @@ -1,14 +0,0 @@ -2001-08-05 Norman Walsh - - * FormatDingbatCallout.java, FormatUnicodeCallout.java, Verbatim.java: - Removed the FormatDingbatCallout classes, they were the same as the FormatUnicodeCallout classes but with a font wrapper. Added a callout.unicode.font parameter to wrap Unicode callouts - -2001-07-31 Norman Walsh - - * FormatCallout.java: Fix attribute test - -2001-07-16 Norman Walsh - - * CVS.java, Callout.java, CalloutEmitter.java, ColumnScanEmitter.java, ColumnUpdateEmitter.java, CopyEmitter.java, FormatCallout.java, FormatDingbatCallout.java, FormatGraphicCallout.java, FormatTextCallout.java, FormatUnicodeCallout.java, LineCountEmitter.java, NumberLinesEmitter.java, Table.java, Text.java, TextFactory.java, Verbatim.java, package.html: - New file. - diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ColumnScanEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ColumnScanEmitter.java deleted file mode 100644 index bc3954d5c..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ColumnScanEmitter.java +++ /dev/null @@ -1,165 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.output.*; -import com.icl.saxon.om.*; -import com.icl.saxon.expr.FragmentValue; - -/** - *

Saxon extension to scan the column widthsin a result tree fragment.

- * - *

$Id: ColumnScanEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon 6.* - * implementation to scan the column widths in a result tree - * fragment.

- * - *

The general design is this: the stylesheets construct a result tree - * fragment for some colgroup environment. That result tree fragment - * is "replayed" through the ColumnScanEmitter; the ColumnScanEmitter watches - * the cols go by and extracts the column widths that it sees. These - * widths are then made available.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: ColumnScanEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class ColumnScanEmitter extends com.icl.saxon.output.Emitter { - /** The number of columns seen. */ - protected int numColumns = 0; - protected String width[] = new String[5]; - protected NamePool namePool = null; - - /** The FO namespace name. */ - protected static String foURI = "http://www.w3.org/1999/XSL/Format"; - - /** Construct a new ColumnScanEmitter. */ - public ColumnScanEmitter(NamePool namePool) { - numColumns = 0; - this.namePool = namePool; - } - - /** Return the number of columns. */ - public int columnCount() { - return numColumns; - } - - /** Return the number of columns. */ - public String[] columnWidths() { - return width; - } - - /** Discarded. */ - public void characters(char[] chars, int start, int len) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void comment(char[] chars, int start, int length) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void endDocument() - throws TransformerException { - // nop - } - - /** Discarded. */ - public void endElement(int nameCode) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void processingInstruction(java.lang.String name, - java.lang.String data) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void setDocumentLocator(org.xml.sax.Locator locator) { - // nop - } - - /** Discarded. */ - public void setEscaping(boolean escaping) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void setNamePool(NamePool namePool) { - // nop - } - - /** Discarded. */ - public void setUnparsedEntity(java.lang.String name, java.lang.String uri) - throws TransformerException { - // nop - } - - /** Discarded. */ - public void setWriter(java.io.Writer writer) { - // nop - } - - /** Discarded. */ - public void startDocument() - throws TransformerException { - // nop - } - - /** Examine for column info. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, int nscount) - throws TransformerException { - - int thisFingerprint = namePool.getFingerprint(nameCode); - int colFingerprint = namePool.getFingerprint("", "col"); - int foColFingerprint = namePool.getFingerprint(foURI, "table-column"); - - if (thisFingerprint == colFingerprint - || thisFingerprint == foColFingerprint) { - if (numColumns >= width.length) { - String newWidth[] = new String[width.length+10]; - for (int count = 0; count < width.length; count++) { - newWidth[count] = width[count]; - } - width = newWidth; - } - - if (thisFingerprint == colFingerprint) { - if (attributes.getValue("width") == null) { - width[numColumns++] = "1*"; - } else { - width[numColumns++] = attributes.getValue("width"); - } - } else { - if (attributes.getValue("column-width") == null) { - width[numColumns++] = "1*"; - } else { - width[numColumns++] = attributes.getValue("column-width"); - } - } - } - } -} - - diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ColumnUpdateEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ColumnUpdateEmitter.java deleted file mode 100644 index a2a1b7cf0..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ColumnUpdateEmitter.java +++ /dev/null @@ -1,96 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.*; -import com.icl.saxon.output.*; -import com.icl.saxon.Controller; -import com.icl.saxon.om.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.expr.FragmentValue; -import com.icl.saxon.tree.AttributeCollection; - -/** - *

Saxon extension to scan the column widthsin a result tree fragment.

- * - *

$Id: ColumnUpdateEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon 6.* - * implementation to scan the column widths in a result tree - * fragment.

- * - *

The general design is this: the stylesheets construct a result tree - * fragment for some colgroup environment. That result tree fragment - * is "replayed" through the ColumnUpdateEmitter; the ColumnUpdateEmitter watches - * the cols go by and extracts the column widths that it sees. These - * widths are then made available.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: ColumnUpdateEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class ColumnUpdateEmitter extends CopyEmitter { - /** The number of columns seen. */ - protected int numColumns = 0; - protected String width[] = null; - protected NamePool namePool = null; - - /** The FO namespace name. */ - protected static String foURI = "http://www.w3.org/1999/XSL/Format"; - - /** Construct a new ColumnUpdateEmitter. */ - public ColumnUpdateEmitter(Controller controller, - NamePool namePool, - String width[]) { - super(controller, namePool); - numColumns = 0; - this.width = width; - this.namePool = namePool; - } - - /** Examine for column info. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, int nscount) - throws TransformerException { - - int thisFingerprint = namePool.getFingerprint(nameCode); - int colFingerprint = namePool.getFingerprint("", "col"); - int foColFingerprint = namePool.getFingerprint(foURI, "table-column"); - - if (thisFingerprint == colFingerprint) { - AttributeCollection attr = new AttributeCollection(namePool, attributes); - int widthFingerprint = namePool.getFingerprint("", "width"); - - if (attr.getValueByFingerprint(widthFingerprint) == null) { - attr.addAttribute(widthFingerprint, "CDATA", width[numColumns++]); - } else { - attr.setAttribute(widthFingerprint, "CDATA", width[numColumns++]); - } - attributes = attr; - } else if (thisFingerprint == foColFingerprint) { - AttributeCollection attr = new AttributeCollection(namePool, attributes); - int widthFingerprint = namePool.getFingerprint("", "column-width"); - - if (attr.getValueByFingerprint(widthFingerprint) == null) { - attr.addAttribute(widthFingerprint, "CDATA", width[numColumns++]); - } else { - attr.setAttribute(widthFingerprint, "CDATA", width[numColumns++]); - } - attributes = attr; - } - - rtfEmitter.startElement(nameCode, attributes, namespaces, nscount); - } -} - - diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CopyEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CopyEmitter.java deleted file mode 100644 index 6e6ac6490..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/CopyEmitter.java +++ /dev/null @@ -1,150 +0,0 @@ -package com.nwalsh.saxon; - -import java.util.Stack; -import java.util.StringTokenizer; -import org.xml.sax.*; -import org.w3c.dom.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.Context; -import com.icl.saxon.expr.*; -import com.icl.saxon.expr.FragmentValue; -import com.icl.saxon.Controller; -import com.icl.saxon.functions.Extensions; -import com.icl.saxon.om.*; -import com.icl.saxon.output.*; -import com.icl.saxon.pattern.*; -import com.icl.saxon.tree.*; - -/** - *

A Saxon 6.0 Emitter that clones its input.

- * - *

$Id: CopyEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon 6.* - * implementation of an emitter that manufactures a cloned result - * tree fragment.

- * - *

The purpose of this emitter is to provide something for - * CalloutEmitter and NumberLinesEmitter to extend. - * This emitter simply copies all input to a new result tree fragment.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @see CalloutEmitter - * @see NumberLinesEmitter - * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: CopyEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class CopyEmitter extends com.icl.saxon.output.Emitter { - /** The result tree fragment containing the copied fragment. */ - protected FragmentValue rtf = null; - protected Emitter rtfEmitter = null; - - /**

The namePool.

- * - *

Copied from the caller, it should be the runtime name pool.

- */ - protected NamePool namePool = null; - - /**

Constructor for the CopyEmitter.

- * - * @param namePool The name pool to use for constructing elements and attributes. - */ - public CopyEmitter(Controller controller, NamePool namePool) { - rtf = new FragmentValue(controller); - rtfEmitter = rtf.getEmitter(); - this.namePool = namePool; - } - - /** - *

Return the result tree fragment constructed by replaying events - * through this emitter.

- */ - public FragmentValue getResultTreeFragment() { - return rtf; - } - - /** Copy characters. */ - public void characters(char[] chars, int start, int len) - throws TransformerException { - rtfEmitter.characters(chars, start, len); - } - - /** Copy comments. */ - public void comment(char[] chars, int start, int length) - throws TransformerException { - rtfEmitter.comment(chars, start, length); - } - - /** Copy end document events. */ - public void endDocument() - throws TransformerException { - rtfEmitter.endDocument(); - } - - /** Copy end element events. */ - public void endElement(int nameCode) - throws TransformerException { - rtfEmitter.endElement(nameCode); - } - - /** Copy processing instructions. */ - public void processingInstruction(java.lang.String name, - java.lang.String data) - throws TransformerException { - rtfEmitter.processingInstruction(name, data); - } - - /** Copy set document locator events. */ - public void setDocumentLocator(org.xml.sax.Locator locator) { - rtfEmitter.setDocumentLocator(locator); - } - - /** Copy set escaping events. */ - public void setEscaping(boolean escaping) - throws TransformerException { - rtfEmitter.setEscaping(escaping); - } - - /** Copy set name pool events. */ - public void setNamePool(NamePool namePool) { - rtfEmitter.setNamePool(namePool); - } - - /** Copy set unparsed entity events. */ - public void setUnparsedEntity(java.lang.String name, java.lang.String uri) - throws TransformerException { - rtfEmitter.setUnparsedEntity(name, uri); - } - - /** Copy set writer events. */ - public void setWriter(java.io.Writer writer) { - rtfEmitter.setWriter(writer); - } - - /** Copy start document events. */ - public void startDocument() - throws TransformerException { - rtfEmitter.startDocument(); - } - - /** Copy start element events. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) - throws TransformerException { - rtfEmitter.startElement(nameCode, attributes, namespaces, nscount); - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatCallout.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatCallout.java deleted file mode 100644 index 202253a20..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatCallout.java +++ /dev/null @@ -1,111 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.SAXException; -import org.w3c.dom.*; - -import javax.xml.transform.TransformerException; - -import com.icl.saxon.om.NamePool; -import com.icl.saxon.output.Emitter; -import com.icl.saxon.tree.AttributeCollection; - -import com.nwalsh.saxon.Callout; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - **/ - -public abstract class FormatCallout { - protected static final String foURI = "http://www.w3.org/1999/XSL/Format"; - protected static final String xhURI = "http://www.w3.org/1999/xhtml"; - protected boolean foStylesheet = false; - protected NamePool namePool = null; - - public FormatCallout(NamePool nPool, boolean fo) { - namePool = nPool; - foStylesheet = fo; - } - - public String areaLabel(Element area) { - String label = null; - - if (area.hasAttribute("label")) { - // If this area has a label, use it - label = area.getAttribute("label"); - } else { - // Otherwise, if its parent is an areaset and it has a label, use that - Element parent = (Element) area.getParentNode(); - if (parent != null - && parent.getLocalName().equalsIgnoreCase("areaset") - && parent.hasAttribute("label")) { - label = parent.getAttribute("label"); - } - } - - return label; - } - - public void startSpan(Emitter rtf) - throws TransformerException { - // no point in doing this for FO, right? - if (!foStylesheet && namePool != null) { - int spanName = namePool.allocate("", "", "span"); - AttributeCollection spanAttr = new AttributeCollection(namePool); - int namespaces[] = new int[1]; - spanAttr.addAttribute("", "", "class", "CDATA", "co"); - rtf.startElement(spanName, spanAttr, namespaces, 0); - } - } - - public void endSpan(Emitter rtf) - throws TransformerException { - // no point in doing this for FO, right? - if (!foStylesheet && namePool != null) { - int spanName = namePool.allocate("", "", "span"); - rtf.endElement(spanName); - } - } - - public void formatTextCallout(Emitter rtfEmitter, - Callout callout) { - Element area = callout.getArea(); - int num = callout.getCallout(); - String userLabel = areaLabel(area); - String label = "(" + num + ")"; - - if (userLabel != null) { - label = userLabel; - } - - char chars[] = label.toCharArray(); - - try { - startSpan(rtfEmitter); - rtfEmitter.characters(chars, 0, label.length()); - endSpan(rtfEmitter); - } catch (TransformerException e) { - System.out.println("Transformer Exception in formatTextCallout"); - } - } - - public abstract void formatCallout(Emitter rtfEmitter, - Callout callout); -} - diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatGraphicCallout.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatGraphicCallout.java deleted file mode 100644 index d2fbf6ebb..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatGraphicCallout.java +++ /dev/null @@ -1,88 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.SAXException; -import org.w3c.dom.*; - -import javax.xml.transform.TransformerException; - -import com.icl.saxon.om.NamePool; -import com.icl.saxon.output.Emitter; -import com.icl.saxon.tree.AttributeCollection; - -import com.nwalsh.saxon.Callout; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatGraphicCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatGraphicCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - **/ - -public class FormatGraphicCallout extends FormatCallout { - String graphicsPath = ""; - String graphicsExt = ""; - int graphicsMax = 0; - - public FormatGraphicCallout(NamePool nPool, String path, String ext, int max, boolean fo) { - super(nPool, fo); - graphicsPath = path; - graphicsExt = ext; - graphicsMax = max; - } - - public void formatCallout(Emitter rtfEmitter, - Callout callout) { - Element area = callout.getArea(); - int num = callout.getCallout(); - String userLabel = areaLabel(area); - String label = "(" + num + ")"; - - if (userLabel != null) { - label = userLabel; - } - - try { - if (userLabel == null && num <= graphicsMax) { - int imgName = 0; - AttributeCollection imgAttr = null; - int namespaces[] = new int[1]; - - if (foStylesheet) { - imgName = namePool.allocate("fo", foURI, "external-graphic"); - imgAttr = new AttributeCollection(namePool); - imgAttr.addAttribute("", "", "src", "CDATA", - graphicsPath + num + graphicsExt); - } else { - imgName = namePool.allocate("", "", "img"); - imgAttr = new AttributeCollection(namePool); - imgAttr.addAttribute("", "", "src", "CDATA", - graphicsPath + num + graphicsExt); - imgAttr.addAttribute("", "", "alt", "CDATA", label); - } - - startSpan(rtfEmitter); - rtfEmitter.startElement(imgName, imgAttr, namespaces, 0); - rtfEmitter.endElement(imgName); - endSpan(rtfEmitter); - } else { - formatTextCallout(rtfEmitter, callout); - } - } catch (TransformerException e) { - System.out.println("Transformer Exception in graphic formatCallout"); - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatTextCallout.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatTextCallout.java deleted file mode 100644 index d12ec79e6..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatTextCallout.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.SAXException; -import org.w3c.dom.*; - -import javax.xml.transform.TransformerException; - -import com.icl.saxon.om.NamePool; -import com.icl.saxon.output.Emitter; - -import com.nwalsh.saxon.Callout; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatTextCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatTextCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - **/ - -public class FormatTextCallout extends FormatCallout { - public FormatTextCallout(NamePool nPool, boolean fo) { - super(nPool, fo); - } - - public void formatCallout(Emitter rtfEmitter, - Callout callout) { - formatTextCallout(rtfEmitter, callout); - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatUnicodeCallout.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatUnicodeCallout.java deleted file mode 100644 index 760e6b8a6..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/FormatUnicodeCallout.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.SAXException; -import org.w3c.dom.*; - -import javax.xml.transform.TransformerException; - -import com.icl.saxon.om.NamePool; -import com.icl.saxon.output.Emitter; -import com.icl.saxon.tree.AttributeCollection; - -import com.nwalsh.saxon.Callout; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatUnicodeCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatUnicodeCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - **/ - -public class FormatUnicodeCallout extends FormatCallout { - int unicodeMax = 0; - int unicodeStart = 0; - String unicodeFont = ""; - - public FormatUnicodeCallout(NamePool nPool, - String font, - int start, - int max, - boolean fo) { - super(nPool, fo); - unicodeFont = font; - unicodeMax = max; - unicodeStart = start; - } - - public void formatCallout(Emitter rtfEmitter, - Callout callout) { - Element area = callout.getArea(); - int num = callout.getCallout(); - String userLabel = areaLabel(area); - String label = ""; - - if (userLabel != null) { - label = userLabel; - } - - try { - if (userLabel == null && num <= unicodeMax) { - int inName = 0; - AttributeCollection inAttr = null; - int namespaces[] = new int[1]; - - if (!unicodeFont.equals("")) { - if (foStylesheet) { - inName = namePool.allocate("fo", foURI, "inline"); - inAttr = new AttributeCollection(namePool); - inAttr.addAttribute("", "", "font-family", "CDATA", unicodeFont); - } else { - inName = namePool.allocate("", "", "font"); - inAttr = new AttributeCollection(namePool); - inAttr.addAttribute("", "", "face", "CDATA", unicodeFont); - } - - startSpan(rtfEmitter); - rtfEmitter.startElement(inName, inAttr, namespaces, 0); - } - - char chars[] = new char[1]; - chars[0] = (char) (unicodeStart + num - 1); - rtfEmitter.characters(chars, 0, 1); - - if (!unicodeFont.equals("")) { - rtfEmitter.endElement(inName); - endSpan(rtfEmitter); - } - } else { - formatTextCallout(rtfEmitter, callout); - } - } catch (TransformerException e) { - System.out.println("Transformer Exception in graphic formatCallout"); - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/LineCountEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/LineCountEmitter.java deleted file mode 100644 index 64b2d6752..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/LineCountEmitter.java +++ /dev/null @@ -1,141 +0,0 @@ -package com.nwalsh.saxon; - -import org.xml.sax.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.output.*; -import com.icl.saxon.om.*; -import com.icl.saxon.expr.FragmentValue; - -/** - *

Saxon extension to count the lines in a result tree fragment.

- * - *

$Id: LineCountEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon 6.* - * implementation to count the number of lines in a result tree - * fragment.

- * - *

The general design is this: the stylesheets construct a result tree - * fragment for some verbatim environment. That result tree fragment - * is "replayed" through the LineCountEmitter; the LineCountEmitter watches - * characters go by and counts the number of line feeds that it sees. - * That number is then returned.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @see Verbatim - * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: LineCountEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class LineCountEmitter extends com.icl.saxon.output.Emitter { - /** The number of lines seen. */ - protected int numLines = 0; - - /** Construct a new LineCountEmitter. */ - public LineCountEmitter() { - numLines = 0; - } - - /** Reset the number of lines. */ - public void reset() { - numLines = 0; - } - - /** Return the number of lines. */ - public int lineCount() { - return numLines; - } - - /** Process characters. */ - public void characters(char[] chars, int start, int len) - throws javax.xml.transform.TransformerException { - - if (numLines == 0) { - // If there are any characters at all, there's at least one line - numLines++; - } - - for (int count = start; count < start+len; count++) { - if (chars[count] == '\n') { - numLines++; - } - } - } - - /** Discarded. */ - public void comment(char[] chars, int start, int length) - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void endDocument() - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void endElement(int nameCode) - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void processingInstruction(java.lang.String name, - java.lang.String data) - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void setDocumentLocator(org.xml.sax.Locator locator) { - // nop - } - - /** Discarded. */ - public void setEscaping(boolean escaping) - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void setNamePool(NamePool namePool) { - // nop - } - - /** Discarded. */ - public void setUnparsedEntity(java.lang.String name, java.lang.String uri) - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void setWriter(java.io.Writer writer) { - // nop - } - - /** Discarded. */ - public void startDocument() - throws javax.xml.transform.TransformerException { - // nop - } - - /** Discarded. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, int nscount) - throws javax.xml.transform.TransformerException { - // nop - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/NumberLinesEmitter.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/NumberLinesEmitter.java deleted file mode 100644 index 2dd811668..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/NumberLinesEmitter.java +++ /dev/null @@ -1,324 +0,0 @@ -package com.nwalsh.saxon; - -import java.util.Stack; -import java.util.StringTokenizer; -import org.xml.sax.*; -import org.w3c.dom.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.output.*; -import com.icl.saxon.om.*; -import com.icl.saxon.Controller; -import com.icl.saxon.tree.AttributeCollection; -import com.icl.saxon.expr.FragmentValue; - -/** - *

Saxon extension to decorate a result tree fragment with line numbers.

- * - *

$Id: NumberLinesEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides the guts of a - * Saxon 6.* - * implementation of line numbering for verbatim environments. (It is used - * by the Verbatim class.)

- * - *

The general design is this: the stylesheets construct a result tree - * fragment for some verbatim environment. The Verbatim class initializes - * a NumberLinesEmitter with information about what lines should be - * numbered and how. Then the result tree fragment - * is "replayed" through the NumberLinesEmitter; the NumberLinesEmitter - * builds a - * new result tree fragment from this event stream, decorated with line - * numbers, - * and that is returned.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @see Verbatim - * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: NumberLinesEmitter.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class NumberLinesEmitter extends CopyEmitter { - /** A stack for the preserving information about open elements. */ - protected Stack elementStack = null; - - /** The current line number. */ - protected int lineNumber = 0; - - /** Is the next element absolutely the first element in the fragment? */ - protected boolean firstElement = false; - - /** The FO namespace name. */ - protected static String foURI = "http://www.w3.org/1999/XSL/Format"; - - /** Every modulus line will be numbered. */ - protected int modulus = 5; - - /** Line numbers are width characters wide. */ - protected int width = 3; - - /** Line numbers are separated from the listing by separator. */ - protected String separator = " "; - - /** Is the stylesheet currently running an FO stylesheet? */ - protected boolean foStylesheet = false; - - /**

Constructor for the NumberLinesEmitter.

- * - * @param namePool The name pool to use for constructing elements and attributes. - * @param modulus The modulus to use for this listing. - * @param width The width to use for line numbers in this listing. - * @param separator The separator to use for this listing. - * @param foStylesheet Is this an FO stylesheet? - */ - public NumberLinesEmitter(Controller controller, - NamePool namePool, - int modulus, - int width, - String separator, - boolean foStylesheet) { - super(controller,namePool); - elementStack = new Stack(); - firstElement = true; - - this.modulus = modulus; - this.width = width; - this.separator = separator; - this.foStylesheet = foStylesheet; - } - - /** Process characters. */ - public void characters(char[] chars, int start, int len) - throws TransformerException { - - // If we hit characters, then there's no first element... - firstElement = false; - - if (lineNumber == 0) { - // The first line is always numbered - formatLineNumber(++lineNumber); - } - - // Walk through the text node looking for newlines - char[] newChars = new char[len]; - int pos = 0; - for (int count = start; count < start+len; count++) { - if (chars[count] == '\n') { - // This is the tricky bit; if we find a newline, make sure - // it doesn't occur inside any markup. - - if (pos > 0) { - // Output any characters that preceded this newline - rtfEmitter.characters(newChars, 0, pos); - pos = 0; - } - - // Close all the open elements... - Stack tempStack = new Stack(); - while (!elementStack.empty()) { - StartElementInfo elem = (StartElementInfo) elementStack.pop(); - rtfEmitter.endElement(elem.getNameCode()); - tempStack.push(elem); - } - - // Copy the newline to the output - newChars[pos++] = chars[count]; - rtfEmitter.characters(newChars, 0, pos); - pos = 0; - - // Add the line number - formatLineNumber(++lineNumber); - - // Now "reopen" the elements that we closed... - while (!tempStack.empty()) { - StartElementInfo elem = (StartElementInfo) tempStack.pop(); - AttributeCollection attr = (AttributeCollection)elem.getAttributes(); - AttributeCollection newAttr = new AttributeCollection(namePool); - - for (int acount = 0; acount < attr.getLength(); acount++) { - String localName = attr.getLocalName(acount); - int nameCode = attr.getNameCode(acount); - String type = attr.getType(acount); - String value = attr.getValue(acount); - String uri = attr.getURI(acount); - String prefix = ""; - - if (localName.indexOf(':') > 0) { - prefix = localName.substring(0, localName.indexOf(':')); - localName = localName.substring(localName.indexOf(':')+1); - } - - if (uri.equals("") - && ((foStylesheet - && localName.equals("id")) - || (!foStylesheet - && (localName.equals("id") - || localName.equals("name"))))) { - // skip this attribute - } else { - newAttr.addAttribute(prefix, uri, localName, type, value); - } - } - - rtfEmitter.startElement(elem.getNameCode(), - newAttr, - elem.getNamespaces(), - elem.getNSCount()); - - elementStack.push(elem); - } - } else { - newChars[pos++] = chars[count]; - } - } - - if (pos > 0) { - rtfEmitter.characters(newChars, 0, pos); - pos = 0; - } - } - - /** - *

Add a formatted line number to the result tree fragment.

- * - * @param lineNumber The number of the current line. - */ - protected void formatLineNumber(int lineNumber) - throws TransformerException { - - char ch = 160; //   - - String lno = ""; - if (lineNumber == 1 - || (modulus >= 1 && (lineNumber % modulus == 0))) { - lno = "" + lineNumber; - } - - while (lno.length() < width) { - lno = ch + lno; - } - - lno += separator; - - char chars[] = new char[lno.length()]; - for (int count = 0; count < lno.length(); count++) { - chars[count] = lno.charAt(count); - } - - characters(chars, 0, lno.length()); - } - - /** Process end element events. */ - public void endElement(int nameCode) - throws TransformerException { - if (!elementStack.empty()) { - // if we didn't push the very first element (an fo:block or - // pre or div surrounding the whole block), then the stack will - // be empty when we get to the end of the first element... - elementStack.pop(); - } - rtfEmitter.endElement(nameCode); - } - - /** Process start element events. */ - public void startElement(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) - throws TransformerException { - - if (!skipThisElement(nameCode)) { - StartElementInfo sei = new StartElementInfo(nameCode, attributes, - namespaces, nscount); - elementStack.push(sei); - } - - firstElement = false; - - rtfEmitter.startElement(nameCode, attributes, namespaces, nscount); - } - - /** - *

Protect the outer-most block wrapper.

- * - *

Open elements in the result tree fragment are closed and reopened - * around callouts (so that callouts don't appear inside links or other - * environments). But if the result tree fragment is a single block - * (a div or pre in HTML, an fo:block in FO), that outer-most block is - * treated specially.

- * - *

This method returns true if the element in question is that - * outermost block.

- * - * @param nameCode The name code for the element - * - * @return True if the element is the outer-most block, false otherwise. - */ - protected boolean skipThisElement(int nameCode) { - if (firstElement) { - int thisFingerprint = namePool.getFingerprint(nameCode); - int foBlockFingerprint = namePool.getFingerprint(foURI, "block"); - int htmlPreFingerprint = namePool.getFingerprint("", "pre"); - int htmlDivFingerprint = namePool.getFingerprint("", "div"); - - if ((foStylesheet && thisFingerprint == foBlockFingerprint) - || (!foStylesheet && (thisFingerprint == htmlPreFingerprint - || thisFingerprint == htmlDivFingerprint))) { - // Don't push the outer-most wrapping div, pre, or fo:block - return true; - } - } - - return false; - } - - /** - *

A private class for maintaining the information required to call - * the startElement method.

- * - *

In order to close and reopen elements, information about those - * elements has to be maintained. This class is just the little record - * that we push on the stack to keep track of that info.

- */ - private class StartElementInfo { - private int _nameCode; - org.xml.sax.Attributes _attributes; - int[] _namespaces; - int _nscount; - - public StartElementInfo(int nameCode, - org.xml.sax.Attributes attributes, - int[] namespaces, - int nscount) { - _nameCode = nameCode; - _attributes = attributes; - _namespaces = namespaces; - _nscount = nscount; - } - - public int getNameCode() { - return _nameCode; - } - - public org.xml.sax.Attributes getAttributes() { - return _attributes; - } - - public int[] getNamespaces() { - return _namespaces; - } - - public int getNSCount() { - return _nscount; - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Table.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Table.java deleted file mode 100644 index 38d679335..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Table.java +++ /dev/null @@ -1,435 +0,0 @@ -// Verbatim.java - Saxon extensions supporting DocBook verbatim environments - -package com.nwalsh.saxon; - -import java.util.Hashtable; -import org.xml.sax.*; -import org.w3c.dom.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.Controller; -import com.icl.saxon.expr.*; -import com.icl.saxon.om.*; -import com.icl.saxon.pattern.*; -import com.icl.saxon.Context; -import com.icl.saxon.tree.*; -import com.icl.saxon.functions.Extensions; - -/** - *

Saxon extensions supporting Tables

- * - *

$Id: Table.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * implementation of some code to adjust CALS Tables to HTML - * Tables.

- * - *

Column Widths

- *

The adjustColumnWidths method takes a result tree - * fragment (assumed to contain the colgroup of an HTML Table) - * and returns the result tree fragment with the column widths - * adjusted to HTML terms.

- * - *

Convert Lengths

- *

The convertLength method takes a length specification - * of the form 9999.99xx (where "xx" is a unit) and returns that length - * as an integral number of pixels. For convenience, percentage lengths - * are returned unchanged.

- *

The recognized units are: inches (in), centimeters (cm), - * millimeters (mm), picas (pc, 1pc=12pt), points (pt), and pixels (px). - * A number with no units is assumed to be pixels.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: Table.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class Table { - /** The number of pixels per inch */ - private static int pixelsPerInch = 96; - - /** The nominal table width (6in by default). */ - private static int nominalWidth = 6 * pixelsPerInch; - - /** The default table width (100% by default). */ - private static String tableWidth = "100%"; - - /** Is this an FO stylesheet? */ - private static boolean foStylesheet = false; - - /** The hash used to associate units with a length in pixels. */ - protected static Hashtable unitHash = null; - - /** - *

Constructor for Verbatim

- * - *

All of the methods are static, so the constructor does nothing.

- */ - public Table() { - } - - /** Initialize the internal hash table with proper values. */ - protected static void initializeHash() { - unitHash = new Hashtable(); - unitHash.put("in", new Float(pixelsPerInch)); - unitHash.put("cm", new Float(pixelsPerInch / 2.54)); - unitHash.put("mm", new Float(pixelsPerInch / 25.4)); - unitHash.put("pc", new Float((pixelsPerInch / 72) * 12)); - unitHash.put("pt", new Float(pixelsPerInch / 72)); - unitHash.put("px", new Float(1)); - } - - /** Set the pixels-per-inch value. Only positive values are legal. */ - public static void setPixelsPerInch(int value) { - if (value > 0) { - pixelsPerInch = value; - initializeHash(); - } - } - - /** Return the current pixels-per-inch value. */ - public int getPixelsPerInch() { - return pixelsPerInch; - } - - /** - *

Convert a length specification to a number of pixels.

- * - *

The specified length should be of the form [+/-]999.99xx, - * where xx is a valid unit.

- */ - public static int convertLength(String length) { - // The format of length should be 999.999xx - int sign = 1; - String digits = ""; - String units = ""; - char lench[] = length.toCharArray(); - float flength = 0; - boolean done = false; - int pos = 0; - float factor = 1; - int pixels = 0; - - if (unitHash == null) { - initializeHash(); - } - - if (lench[pos] == '+' || lench[pos] == '-') { - if (lench[pos] == '-') { - sign = -1; - } - pos++; - } - - while (!done) { - if (pos >= lench.length) { - done = true; - } else { - if ((lench[pos] > '9' || lench[pos] < '0') && lench[pos] != '.') { - done = true; - units = length.substring(pos); - } else { - digits += lench[pos++]; - } - } - } - - try { - flength = Float.parseFloat(digits); - } catch (NumberFormatException e) { - System.out.println(digits + " is not a number; 1 used instead."); - flength = 1; - } - - Float f = null; - - if (!units.equals("")) { - f = (Float) unitHash.get(units); - if (f == null) { - System.out.println(units + " is not a known unit; 1 used instead."); - factor = 1; - } else { - factor = f.floatValue(); - } - } else { - factor = 1; - } - - f = new Float(flength * factor); - - pixels = f.intValue() * sign; - - return pixels; - } - - /** - *

Find the string value of a stylesheet variable or parameter

- * - *

Returns the string value of varName in the current - * context. Returns the empty string if the variable is - * not defined.

- * - * @param context The current stylesheet context - * @param varName The name of the variable (without the dollar sign) - * - * @return The string value of the variable - */ - protected static String getVariable(Context context, String varName) - throws TransformerException { - Value variable = null; - String varString = null; - - try { - variable = Extensions.evaluate(context, "$" + varName); - varString = variable.asString(); - return varString; - } catch (IllegalArgumentException e) { - System.out.println("Undefined variable: " + varName); - return ""; - } - } - - /** - *

Setup the parameters associated with column width calculations

- * - *

This method queries the stylesheet for the variables - * associated with table column widths. It is called automatically before - * column widths are adjusted. The context is used to retrieve the values, - * this allows templates to redefine these variables.

- * - *

The following variables are queried. If the variables do not - * exist, builtin defaults will be used (but you may also get a bunch - * of messages from the Java interpreter).

- * - *
- *
nominal.table.width
- *
The "normal" width for tables. This must be an absolute length.
- *
table.width
- *
The width for tables. This may be either an absolute - * length or a percentage.
- *
- * - * @param context The current stylesheet context - * - */ - private static void setupColumnWidths(Context context) { - // Hardcoded defaults - nominalWidth = 6 * pixelsPerInch; - tableWidth = "100%"; - - String varString = null; - - try { - // Get the stylesheet type - varString = getVariable(context, "stylesheet.result.type"); - foStylesheet = varString.equals("fo"); - - // Get the nominal table width - varString = getVariable(context, "nominal.table.width"); - nominalWidth = convertLength(varString); - - // Get the table width - varString = getVariable(context, "table.width"); - tableWidth = varString; - } catch (TransformerException e) { - //nop, can't happen - } - } - - /** - *

Adjust column widths in an HTML table.

- * - *

The specification of column widths in CALS (a relative width - * plus an optional absolute width) are incompatible with HTML column - * widths. This method adjusts CALS column width specifiers in an - * attempt to produce equivalent HTML specifiers.

- * - *

In order for this method to work, the CALS width specifications - * should be placed in the "width" attribute of the <col>s within - * a <colgroup>. Then the colgroup result tree fragment is passed - * to this method.

- * - *

This method makes use of two parameters from the XSL stylesheet - * that calls it: nominal.table.width and - * table.width. The value of nominal.table.width - * must be an absolute distance. The value of table.width - * can be either absolute or relative.

- * - *

Presented with a mixture of relative and - * absolute lengths, the table width is used to calculate - * appropriate values. If the table.width is relative, - * the nominal width is used for this calculation.

- * - *

There are three possible combinations of values:

- * - *
    - *
  1. There are no relative widths; in this case the absolute widths - * are used in the HTML table.
  2. - *
  3. There are no absolute widths; in this case the relative widths - * are used in the HTML table.
  4. - *
  5. There are a mixture of absolute and relative widths: - *
      - *
    1. If the table width is absolute, all widths become absolute.
    2. - *
    3. If the table width is relative, make all the widths absolute - * relative to the nominal table width then turn them all - * back into relative widths.
    4. - *
    - *
  6. - *
- * - * @param context The stylesheet context; supplied automatically by Saxon - * @param rtf The result tree fragment containing the colgroup. - * - * @return The result tree fragment containing the adjusted colgroup. - * - */ - public static NodeSetValue adjustColumnWidths (Context context, - NodeSetValue rtf_ns) { - - FragmentValue rtf = (FragmentValue) rtf_ns; - - setupColumnWidths(context); - - try { - Controller controller = context.getController(); - NamePool namePool = controller.getNamePool(); - - ColumnScanEmitter csEmitter = new ColumnScanEmitter(namePool); - rtf.replay(csEmitter); - - int numColumns = csEmitter.columnCount(); - String widths[] = csEmitter.columnWidths(); - - float relTotal = 0; - float relParts[] = new float[numColumns]; - - float absTotal = 0; - float absParts[] = new float[numColumns]; - - for (int count = 0; count < numColumns; count++) { - String width = widths[count]; - - int pos = width.indexOf("*"); - if (pos >= 0) { - String relPart = width.substring(0, pos); - String absPart = width.substring(pos+1); - - try { - float rel = Float.parseFloat(relPart); - relTotal += rel; - relParts[count] = rel; - } catch (NumberFormatException e) { - System.out.println(relPart + " is not a valid relative unit."); - } - - int pixels = 0; - if (absPart != null && !absPart.equals("")) { - pixels = convertLength(absPart); - } - - absTotal += pixels; - absParts[count] = pixels; - } else { - relParts[count] = 0; - - int pixels = 0; - if (width != null && !width.equals("")) { - pixels = convertLength(width); - } - - absTotal += pixels; - absParts[count] = pixels; - } - } - - // Ok, now we have the relative widths and absolute widths in - // two parallel arrays. - // - // - If there are no relative widths, output the absolute widths - // - If there are no absolute widths, output the relative widths - // - If there are a mixture of relative and absolute widths, - // - If the table width is absolute, turn these all into absolute - // widths. - // - If the table width is relative, turn these all into absolute - // widths in the nominalWidth and then turn them back into - // percentages. - - if (relTotal == 0) { - for (int count = 0; count < numColumns; count++) { - Float f = new Float(absParts[count]); - if (foStylesheet) { - int pixels = f.intValue(); - float inches = (float) pixels / pixelsPerInch; - widths[count] = inches + "in"; - } else { - widths[count] = Integer.toString(f.intValue()); - } - } - } else if (absTotal == 0) { - for (int count = 0; count < numColumns; count++) { - float rel = relParts[count] / relTotal * 100; - Float f = new Float(rel); - widths[count] = Integer.toString(f.intValue()) + "%"; - } - } else { - int pixelWidth = nominalWidth; - - if (tableWidth.indexOf("%") <= 0) { - pixelWidth = convertLength(tableWidth); - } - - if (pixelWidth <= absTotal) { - System.out.println("Table is wider than table width."); - } else { - pixelWidth -= absTotal; - } - - absTotal = 0; - for (int count = 0; count < numColumns; count++) { - float rel = relParts[count] / relTotal * pixelWidth; - relParts[count] = rel + absParts[count]; - absTotal += rel + absParts[count]; - } - - if (tableWidth.indexOf("%") <= 0) { - for (int count = 0; count < numColumns; count++) { - Float f = new Float(relParts[count]); - if (foStylesheet) { - int pixels = f.intValue(); - float inches = (float) pixels / pixelsPerInch; - widths[count] = inches + "in"; - } else { - widths[count] = Integer.toString(f.intValue()); - } - } - } else { - for (int count = 0; count < numColumns; count++) { - float rel = relParts[count] / absTotal * 100; - Float f = new Float(rel); - widths[count] = Integer.toString(f.intValue()) + "%"; - } - } - } - - ColumnUpdateEmitter cuEmitter = new ColumnUpdateEmitter(controller, - namePool, - widths); - - rtf.replay(cuEmitter); - return cuEmitter.getResultTreeFragment(); - } catch (TransformerException e) { - // This "can't" happen. - System.out.println("Transformer Exception in adjustColumnWidths"); - return rtf; - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Text.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Text.java deleted file mode 100644 index 3213474c7..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Text.java +++ /dev/null @@ -1,132 +0,0 @@ -// Text - Saxon extension element for inserting text - -package com.nwalsh.saxon; - -import java.io.BufferedReader; -import java.io.InputStreamReader; -import java.io.InputStream; -import java.io.IOException; -import java.io.FileNotFoundException; -import java.net.URL; -import java.net.MalformedURLException; -import javax.xml.transform.TransformerException; -import javax.xml.transform.TransformerConfigurationException; -import com.icl.saxon.*; -import com.icl.saxon.style.*; -import com.icl.saxon.expr.*; -import com.icl.saxon.output.*; -import org.xml.sax.AttributeList; - -/** - *

Saxon extension element for inserting text - * - *

$Id: Text.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * extension element for inserting text into a result tree.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: Text.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class Text extends StyleElement { - /** - *

Constructor for Text

- * - *

Does nothing.

- */ - public Text() { - } - - /** - *

Is this element an instruction?

- * - *

Yes, it is.

- * - * @return true - */ - public boolean isInstruction() { - return true; - } - - /** - *

Can this element contain a template-body?

- * - *

Yes, it can, but only so that it can contain xsl:fallback.

- * - * @return true - */ - public boolean mayContainTemplateBody() { - return true; - } - - /** - *

Validate the arguments

- * - *

The element must have an href attribute.

- */ - public void prepareAttributes() throws TransformerConfigurationException { - // Get mandatory href attribute - String fnAtt = getAttribute("href"); - if (fnAtt == null) { - reportAbsence("href"); - } - } - - /** Validate that the element occurs in a reasonable place. */ - public void validate() throws TransformerConfigurationException { - checkWithinTemplate(); - } - - /** - *

Insert the text of the file into the result tree

- * - *

Processing this element inserts the contents of the URL named - * by the href attribute into the result tree as plain text.

- * - */ - public void process( Context context ) throws TransformerException { - Outputter out = context.getOutputter(); - - String hrefAtt = getAttribute("href"); - Expression hrefExpr = makeAttributeValueTemplate(hrefAtt); - String href = hrefExpr.evaluateAsString(context); - URL fileURL = null; - - try { - try { - fileURL = new URL(href); - } catch (MalformedURLException e1) { - try { - fileURL = new URL("file:" + href); - } catch (MalformedURLException e2) { - System.out.println("Cannot open " + href); - return; - } - } - - InputStreamReader isr = new InputStreamReader(fileURL.openStream()); - BufferedReader is = new BufferedReader(isr); - - char chars[] = new char[4096]; - int len = 0; - while ((len = is.read(chars)) > 0) { - out.writeContent(chars, 0, len); - } - is.close(); - } catch (Exception e) { - System.out.println("Cannot read " + href); - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/TextFactory.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/TextFactory.java deleted file mode 100644 index 82a63362b..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/TextFactory.java +++ /dev/null @@ -1,67 +0,0 @@ -// TextFactory - Saxon extension element factory - -package com.nwalsh.saxon; - -import com.icl.saxon.style.ExtensionElementFactory; -import org.xml.sax.SAXException; - -/** - *

Saxon extension element factory - * - *

$Id: TextFactory.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * extension element factory for the Text extension element - * family.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: TextFactory.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - * @see Text - * - */ -public class TextFactory implements ExtensionElementFactory { - /** - *

Constructor for TextFactory

- * - *

Does nothing.

- */ - public TextFactory() { - } - - /** - *

Return the class that implements a particular extension element.

- * - * @param localname The local name of the extension element. - * - * @return The class that handles that extension element. - * - * @exception SAXException("Unknown Text extension element") - */ - public Class getExtensionClass(String localname) { - if (localname.equals("insertfile")) { - try { - return Class.forName("com.nwalsh.saxon.Text"); - } catch (ClassNotFoundException e) { - return null; - } - } - return null; - } -} - - - - - diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Verbatim.java b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Verbatim.java deleted file mode 100644 index faebe7bd2..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/Verbatim.java +++ /dev/null @@ -1,476 +0,0 @@ -// Verbatim.java - Saxon extensions supporting DocBook verbatim environments - -package com.nwalsh.saxon; - -import java.util.Stack; -import java.util.StringTokenizer; -import org.xml.sax.*; -import org.w3c.dom.*; -import javax.xml.transform.TransformerException; -import com.icl.saxon.Controller; -import com.icl.saxon.expr.*; -import com.icl.saxon.om.*; -import com.icl.saxon.pattern.*; -import com.icl.saxon.Context; -import com.icl.saxon.tree.*; -import com.icl.saxon.functions.Extensions; -import com.nwalsh.saxon.NumberLinesEmitter; -import com.nwalsh.saxon.CalloutEmitter; - -/** - *

Saxon extensions supporting DocBook verbatim environments

- * - *

$Id: Verbatim.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * implementation of two features that would be impractical to - * implement directly in XSLT: line numbering and callouts.

- * - *

Line Numbering

- *

The numberLines method takes a result tree - * fragment (assumed to contain the contents of a formatted verbatim - * element in DocBook: programlisting, screen, address, literallayout, - * or synopsis) and returns a result tree fragment decorated with - * line numbers.

- * - *

Callouts

- *

The insertCallouts method takes an - * areaspec and a result tree fragment - * (assumed to contain the contents of a formatted verbatim - * element in DocBook: programlisting, screen, address, literallayout, - * or synopsis) and returns a result tree fragment decorated with - * callouts.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: Verbatim.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class Verbatim { - /** True if the stylesheet is producing formatting objects */ - private static boolean foStylesheet = false; - /** The modulus for line numbering (every 'modulus' line is numbered). */ - private static int modulus = 0; - /** The width (in characters) of line numbers (for padding). */ - private static int width = 0; - /** The separator between the line number and the verbatim text. */ - private static String separator = ""; - - /** True if callouts have been setup */ - private static boolean calloutsSetup = false; - /** The default column for callouts that have only a line or line range */ - private static int defaultColumn = 60; - /** The path to use for graphical callout decorations. */ - private static String graphicsPath = null; - /** The extension to use for graphical callout decorations. */ - private static String graphicsExt = null; - /** The largest callout number that can be represented graphically. */ - private static int graphicsMax = 10; - - /** The FormatCallout object to use for formatting callouts. */ - private static FormatCallout fCallout = null; - - /** - *

Constructor for Verbatim

- * - *

All of the methods are static, so the constructor does nothing.

- */ - public Verbatim() { - } - - /** - *

Find the string value of a stylesheet variable or parameter

- * - *

Returns the string value of varName in the current - * context. Returns the empty string if the variable is - * not defined.

- * - * @param context The current stylesheet context - * @param varName The name of the variable (without the dollar sign) - * - * @return The string value of the variable - */ - protected static String getVariable(Context context, String varName) { - Value variable = null; - String varString = null; - - try { - variable = Extensions.evaluate(context, "$" + varName); - varString = variable.asString(); - return varString; - } catch (TransformerException te) { - System.out.println("Undefined variable: " + varName); - return ""; - } catch (IllegalArgumentException iae) { - System.out.println("Undefined variable: " + varName); - return ""; - } - } - - /** - *

Setup the parameters associated with line numbering

- * - *

This method queries the stylesheet for the variables - * associated with line numbering. It is called automatically before - * lines are numbered. The context is used to retrieve the values, - * this allows templates to redefine these variables.

- * - *

The following variables are queried. If the variables do not - * exist, builtin defaults will be used (but you may also get a bunch - * of messages from the Java interpreter).

- * - *
- *
linenumbering.everyNth
- *
Specifies the lines that will be numbered. The first line is - * always numbered. (builtin default: 5).
- *
linenumbering.width
- *
Specifies the width of the numbers. If the specified width is too - * narrow for the largest number needed, it will automatically be made - * wider. (builtin default: 3).
- *
linenumbering.separator
- *
Specifies the string that separates line numbers from lines - * in the program listing. (builtin default: " ").
- *
stylesheet.result.type
- *
Specifies the stylesheet result type. The value is either 'fo' - * (for XSL Formatting Objects) or it isn't. (builtin default: html).
- *
- * - * @param context The current stylesheet context - * - */ - private static void setupLineNumbering(Context context) { - // Hardcoded defaults - modulus = 5; - width = 3; - separator = " "; - foStylesheet = false; - - String varString = null; - - // Get the modulus - varString = getVariable(context, "linenumbering.everyNth"); - try { - modulus = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$linenumbering.everyNth is not a number: " + varString); - } - - // Get the width - varString = getVariable(context, "linenumbering.width"); - try { - width = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$linenumbering.width is not a number: " + varString); - } - - // Get the separator - varString = getVariable(context, "linenumbering.separator"); - separator = varString; - - // Get the stylesheet type - varString = getVariable(context, "stylesheet.result.type"); - foStylesheet = (varString.equals("fo")); - } - - /** - *

Number lines in a verbatim environment

- * - *

The extension function expects the following variables to be - * available in the calling context: $linenumbering.everyNth, - * $linenumbering.width, $linenumbering.separator, and - * $stylesheet.result.type.

- * - *

This method adds line numbers to a result tree fragment. Each - * newline that occurs in a text node is assumed to start a new line. - * The first line is always numbered, every subsequent 'everyNth' line - * is numbered (so if everyNth=5, lines 1, 5, 10, 15, etc. will be - * numbered. If there are fewer than everyNth lines in the environment, - * every line is numbered.

- * - *

Every line number will be right justified in a string 'width' - * characters long. If the line number of the last line in the - * environment is too long to fit in the specified width, the width - * is automatically increased to the smallest value that can hold the - * number of the last line. (In other words, if you specify the value 2 - * and attempt to enumerate the lines of an environment that is 100 lines - * long, the value 3 will automatically be used for every line in the - * environment.)

- * - *

The 'separator' string is inserted between the line - * number and the original program listing. Lines that aren't numbered - * are preceded by a 'width' blank string and the separator.

- * - *

If inline markup extends across line breaks, markup changes are - * required. All the open elements are closed before the line break and - * "reopened" afterwards. The reopened elements will have the same - * attributes as the originals, except that 'name' and 'id' attributes - * are not duplicated if the stylesheet.result.type is "html" and - * 'id' attributes will not be duplicated if the result type is "fo".

- * - * @param rtf The result tree fragment of the verbatim environment. - * - * @return The modified result tree fragment. - */ - public static NodeSetValue numberLines (Context context, - NodeSetValue rtf_ns) { - - FragmentValue rtf = (FragmentValue) rtf_ns; - - setupLineNumbering(context); - - try { - LineCountEmitter lcEmitter = new LineCountEmitter(); - rtf.replay(lcEmitter); - int numLines = lcEmitter.lineCount(); - - int listingModulus = numLines < modulus ? 1 : modulus; - - double log10numLines = Math.log(numLines) / Math.log(10); - - int listingWidth = width < log10numLines+1 - ? (int) Math.floor(log10numLines + 1) - : width; - - Controller controller = context.getController(); - NamePool namePool = controller.getNamePool(); - NumberLinesEmitter nlEmitter = new NumberLinesEmitter(controller, - namePool, - listingModulus, - listingWidth, - separator, - foStylesheet); - rtf.replay(nlEmitter); - return nlEmitter.getResultTreeFragment(); - } catch (TransformerException e) { - // This "can't" happen. - System.out.println("Transformer Exception in numberLines"); - return rtf; - } - } - - /** - *

Setup the parameters associated with callouts

- * - *

This method queries the stylesheet for the variables - * associated with line numbering. It is called automatically before - * callouts are processed. The context is used to retrieve the values, - * this allows templates to redefine these variables.

- * - *

The following variables are queried. If the variables do not - * exist, builtin defaults will be used (but you may also get a bunch - * of messages from the Java interpreter).

- * - *
- *
callout.graphics
- *
Are we using callout graphics? A value of 0 or "" is false, - * any other value is true. If callout graphics are not used, the - * parameters related to graphis are not queried.
- *
callout.graphics.path
- *
Specifies the path to callout graphics.
- *
callout.graphics.extension
- *
Specifies the extension ot use for callout graphics.
- *
callout.graphics.number.limit
- *
Identifies the largest number that can be represented as a - * graphic. Larger callout numbers will be represented using text.
- *
callout.defaultcolumn
- *
Specifies the default column for callout bullets that do not - * specify a column.
- *
stylesheet.result.type
- *
Specifies the stylesheet result type. The value is either 'fo' - * (for XSL Formatting Objects) or it isn't. (builtin default: html).
- *
- * - * @param context The current stylesheet context - * - */ - private static void setupCallouts(Context context) { - NamePool namePool = context.getController().getNamePool(); - - boolean useGraphics = false; - boolean useUnicode = false; - - int unicodeStart = 49; - int unicodeMax = 0; - - String unicodeFont = ""; - - // Hardcoded defaults - defaultColumn = 60; - graphicsPath = null; - graphicsExt = null; - graphicsMax = 0; - foStylesheet = false; - calloutsSetup = true; - - Value variable = null; - String varString = null; - - // Get the stylesheet type - varString = getVariable(context, "stylesheet.result.type"); - foStylesheet = (varString.equals("fo")); - - // Get the default column - varString = getVariable(context, "callout.defaultcolumn"); - try { - defaultColumn = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$callout.defaultcolumn is not a number: " - + varString); - } - - // Use graphics at all? - varString = getVariable(context, "callout.graphics"); - useGraphics = !(varString.equals("0") || varString.equals("")); - - // Use unicode at all? - varString = getVariable(context, "callout.unicode"); - useUnicode = !(varString.equals("0") || varString.equals("")); - - if (useGraphics) { - // Get the graphics path - varString = getVariable(context, "callout.graphics.path"); - graphicsPath = varString; - - // Get the graphics extension - varString = getVariable(context, "callout.graphics.extension"); - graphicsExt = varString; - - // Get the number limit - varString = getVariable(context, "callout.graphics.number.limit"); - try { - graphicsMax = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$callout.graphics.number.limit is not a number: " - + varString); - graphicsMax = 0; - } - - fCallout = new FormatGraphicCallout(namePool, - graphicsPath, - graphicsExt, - graphicsMax, - foStylesheet); - } else if (useUnicode) { - // Get the starting character - varString = getVariable(context, "callout.unicode.start.character"); - try { - unicodeStart = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$callout.unicode.start.character is not a number: " - + varString); - unicodeStart = 48; - } - - // Get the number limit - varString = getVariable(context, "callout.unicode.number.limit"); - try { - unicodeMax = Integer.parseInt(varString); - } catch (NumberFormatException nfe) { - System.out.println("$callout.unicode.number.limit is not a number: " - + varString); - unicodeStart = 0; - } - - // Get the font - unicodeFont = getVariable(context, "callout.unicode.font"); - if (unicodeFont == null) { - unicodeFont = ""; - } - - fCallout = new FormatUnicodeCallout(namePool, - unicodeFont, - unicodeStart, - unicodeMax, - foStylesheet); - } else { - fCallout = new FormatTextCallout(namePool, foStylesheet); - } - } - - /** - *

Insert text callouts into a verbatim environment.

- * - *

This method examines the areaset and area elements - * in the supplied areaspec and decorates the supplied - * result tree fragment with appropriate callout markers.

- * - *

If a label attribute is supplied on an area, - * its content will be used for the label, otherwise the callout - * number will be used, surrounded by parenthesis. Callout numbers may - * also be represented as graphics. Callouts are - * numbered in document order. All of the areas in an - * areaset get the same number.

- * - *

Only the linecolumn and linerange units are - * supported. If no unit is specifed, linecolumn is assumed. - * If only a line is specified, the callout decoration appears in - * the defaultColumn. Lines will be padded with blanks to reach the - * necessary column, but callouts that are located beyond the last - * line of the verbatim environment will be ignored.

- * - *

Callouts are inserted before the character at the line/column - * where they are to occur.

- * - *

If graphical callouts are used, and the callout number is less - * than or equal to the $callout.graphics.number.limit, the following image - * will be generated for HTML: - * - *

-   * <img src="$callout.graphics.path/999$callout.graphics.ext"
-   *         alt="conumber">
-   * 
- * - * If the $stylesheet.result.type is 'fo', the following image will - * be generated: - * - *
-   * <fo:external-graphic src="$callout.graphics.path/999$callout.graphics.ext"/>
-   * 
- * - *

If the callout number exceeds $callout.graphics.number.limit, - * the callout will be the callout number surrounded by - * parenthesis.

- * - * @param context The stylesheet context. - * @param areaspecNodeSet The source node set that contains the areaspec. - * @param rtf The result tree fragment of the verbatim environment. - * - * @return The modified result tree fragment. - */ - - public static NodeSetValue insertCallouts (Context context, - NodeList areaspecNodeList, - NodeSetValue rtf_ns) { - - FragmentValue rtf = (FragmentValue) rtf_ns; - - setupCallouts(context); - - try { - Controller controller = context.getController(); - NamePool namePool = controller.getNamePool(); - CalloutEmitter cEmitter = new CalloutEmitter(controller, - namePool, - defaultColumn, - foStylesheet, - fCallout); - cEmitter.setupCallouts(areaspecNodeList); - rtf.replay(cEmitter); - return cEmitter.getResultTreeFragment(); - } catch (TransformerException e) { - // This "can't" happen. - System.out.println("Transformer Exception in insertCallouts"); - return rtf; - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/package.html b/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/package.html deleted file mode 100644 index b05a46709..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/package.html +++ /dev/null @@ -1,48 +0,0 @@ - - -Norman Walsh's Saxon Extensions Package - - -

Norman Walsh's Saxon Extensions Package for Saxon 6.*

- -

This package implements Saxon extensions for XSLT.

- -

Copyright (C) 2000 Norman Walsh

-

Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions:

- -

The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software.

- -

Except as contained in this notice, the names of individuals -credited with contribution to this software shall not be used in -advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the -individuals in question.

- -

Anything derived from this Software that is publically -distributed will be identified with a different name and the -version strings in any derived Software will be changed so that no -possibility of confusion between the derived package and this -Software will exist.

- - -
-

Warranty

-

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER -CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE.

-
- - - diff --git a/lib/docbook/docbook-xsl/extensions/saxon643/prj.el b/lib/docbook/docbook-xsl/extensions/saxon643/prj.el deleted file mode 100644 index 86c41d80f..000000000 --- a/lib/docbook/docbook-xsl/extensions/saxon643/prj.el +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - - - - - -(jde-set-project-name "saxon") -(jde-set-variables - '(jde-gen-session-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\" -\"java.rmi.RemoteException\"))" "(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void ejbActivate() throws RemoteException {\"'>'n \"}\"'>'n -'>'n" "'> \"public void ejbPassivate() throws RemoteException {\"'>'n \"}\"'>'n -'>'n" "'> \"public void ejbRemove() throws RemoteException {\"'>'n \"}\"'>'n '>'n" "'> \"public void setSessionContext(SessionContext ctx) throws -RemoteException {\"" "'>'n \"}\"'>'n '>'n" "'> \"public void unsetSessionContext() throws RemoteException {\"'>'n -\"}\"'>'n '>'n'>"))) - '(jde-gen-beep (quote ("(end-of-line) '&" "\"Toolkit.getDefaultToolkit().beep();\"'>'n'>"))) - '(jde-which-method-format (quote ("[" jde-which-method-current "]"))) - '(jde-run-classic-mode-vm nil) - '(jde-javadoc-gen-nodeprecatedlist nil) - '(jde-which-method-max-length 20) - '(jde-imenu-include-classdef t) - '(jde-javadoc-gen-link-online nil) - '(jde-gen-code-templates (quote (("Get Set Pair" . jde-gen-get-set) ("toString method" . jde-gen-to-string-method) ("Action Listener" . jde-gen-action-listener) ("Window Listener" . jde-gen-window-listener) ("Mouse Listener" . jde-gen-mouse-listener) ("Mouse Motion Listener" . jde-gen-mouse-motion-listener) ("Inner Class" . jde-gen-inner-class) ("println" . jde-gen-println) ("beep" . jde-gen-beep) ("property change support" . jde-gen-property-change-support) ("EJB Entity Bean" . jde-gen-entity-bean) ("EJB Session Bean" . jde-gen-session-bean)))) - '(jde-gen-cflow-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"else\")" "'(l '> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of else\"'>'n'>)" ")"))) - '(jde-make-args "") - '(jde-javadoc-gen-destination-directory "JavaDoc") - '(jde-mode-line-format (quote ("-" mode-line-mule-info mode-line-modified mode-line-frame-identification mode-line-buffer-identification " " global-mode-string " %[(" mode-name mode-line-process minor-mode-alist "%n" ")%]--" (line-number-mode "L%l--") (column-number-mode "C%c--") (-3 . "%p") (jde-which-method-mode ("--" jde-which-method-format "--")) "-%-"))) - '(jde-mode-abbreviations (quote (("ab" . "abstract") ("bo" . "boolean") ("br" . "break") ("by" . "byte") ("byv" . "byvalue") ("cas" . "cast") ("ca" . "catch") ("ch" . "char") ("cl" . "class") ("co" . "const") ("con" . "continue") ("de" . "default") ("dou" . "double") ("el" . "else") ("ex" . "extends") ("fa" . "false") ("fi" . "final") ("fin" . "finally") ("fl" . "float") ("fo" . "for") ("fu" . "future") ("ge" . "generic") ("go" . "goto") ("impl" . "implements") ("impo" . "import") ("ins" . "instanceof") ("in" . "int") ("inte" . "interface") ("lo" . "long") ("na" . "native") ("ne" . "new") ("nu" . "null") ("pa" . "package") ("pri" . "private") ("pro" . "protected") ("pu" . "public") ("re" . "return") ("sh" . "short") ("st" . "static") ("su" . "super") ("sw" . "switch") ("sy" . "synchronized") ("th" . "this") ("thr" . "throw") ("throw" . "throws") ("tra" . "transient") ("tr" . "true") ("vo" . "void") ("vol" . "volatile") ("wh" . "while")))) - '(jde-imenu-enable t) - '(jde-compile-option-verbose nil) - '(jde-db-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes")))) - '(jde-bug-debugger-host-address "localhost" t) - '(jde-make-working-directory "") - '(jde-bug-breakpoint-marker-colors (quote ("red" . "yellow"))) - '(jde-javadoc-gen-use nil) - '(jde-gen-buffer-boilerplate nil) - '(jde-bug-raise-frame-p t) - '(jde-db-option-application-args (quote ("-IN" "/share/xsl/docbook/test/exttest.xml" "-XSL " "/share/xsl/docbook/test/exttest.xsl")) t) - '(jde-javadoc-gen-nonavbar nil) - '(jde-javadoc-gen-nohelp nil) - '(jde-bug-vm-includes-jpda-p nil) - '(jde-gen-jfc-app-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"import java.awt.Dimension;\" '>'n" "\"import java.awt.Graphics;\" '>'n" "\"import java.awt.Graphics2D;\" '>'n" "\"import java.awt.Color;\" '>'n" "\"import java.awt.geom.Ellipse2D;\" '>'n" "\"import java.awt.event.WindowAdapter;\" '>'n" "\"import java.awt.event.WindowEvent;\" '>'n" "\"import javax.swing.JFrame;\" '>'n" "\"import javax.swing.JPanel;\" '>'n" "\"import javax.swing.JScrollPane;\" '>'n" "\"import javax.swing.JMenuBar;\" '>'n" "\"import javax.swing.JMenu;\" '>'n" "\"import java.awt.event.ActionEvent;\" '>'n" "\"import javax.swing.AbstractAction;\" '>'n '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" extends JFrame\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"class Canvas extends JPanel\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public Canvas () \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"setSize(getPreferredSize());\" '>'n" "\"Canvas.this.setBackground(Color.white);\" '>'n" "\"}\"'>'n '>'n" "\"public Dimension getPreferredSize() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"return new Dimension(600, 600);\" '>'n" "\"}\"'>'n '>'n" "\"public void paintComponent(Graphics g) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super.paintComponent(g);\" '>'n" "\"Graphics2D g2d = (Graphics2D) g;\" '>'n" "\"Ellipse2D circle = new Ellipse2D.Double(0d, 0d, 100d, 100d);\" '>'n" "\"g2d.setColor(Color.red);\" '>'n" "\"g2d.translate(10, 10);\" '>'n" "\"g2d.draw(circle);\" '>'n" "\"g2d.fill(circle);\" '>'n" "\"}\"'>'n " "\"}\"'>'n '>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super(\\\"\" (P \"Enter app title: \") \"\\\");\" '>'n" "\"setSize(300, 300);\" '>'n" "\"addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void windowClosing(WindowEvent e) {System.exit(0);}\" '>'n" "\"public void windowOpened(WindowEvent e) {}\" '>'n" "\"});\"'>'n" "\"setJMenuBar(createMenu());\" '>'n" "\"getContentPane().add(new JScrollPane(new Canvas()));\" '>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" f = new \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"();\" '>'n" "\"f.show();\" '>'n" "\"}\"'>'n '>'n" "\"protected JMenuBar createMenu() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"JMenuBar mb = new JMenuBar();\" '>'n" "\"JMenu menu = new JMenu(\\\"File\\\");\" '>'n" "\"menu.add(new AbstractAction(\\\"Exit\\\") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"System.exit(0);\" '>'n" "\"}\" '>'n" "\"});\" '>'n" "\"mb.add(menu);\" '>'n" "\"return mb;\" '>'n" "\"}\"'>'n " "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-bug-key-bindings (quote (("[? ? ?]" . jde-bug-step-over) ("[? ? ?]" . jde-bug-step-into) ("[? ? ?]" . jde-bug-step-into-all) ("[? ? ?]" . jde-bug-step-out) ("[? ? ?]" . jde-bug-continue) ("[? ? ?]" . jde-bug-toggle-breakpoint)))) - '(jde-compile-finish-hook (quote (jde-compile-finish-refresh-speedbar jde-compile-finish-flush-completion-cache))) - '(jde-compile-option-nowarn nil) - '(jde-setnu-mode-threshold 20000) - '(jde-run-java-vm-w "javaw") - '(jde-compile-option-encoding nil) - '(jde-run-option-java-profile (quote (nil . "./java.prof"))) - '(jde-bug-jpda-directory "/usr/local/jdk1.2.2" t) - '(jde-read-compile-args nil) - '(jde-run-java-vm "java") - '(jde-db-option-verbose (quote (nil nil nil))) - '(jde-which-method-class-min-length 4) - '(jde-db-read-app-args nil) - '(jde-javadoc-gen-nodeprecated nil) - '(jde-run-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects"))) - '(jde-gen-println (quote ("(end-of-line) '&" "\"System.out.println(\" (P \"Print out: \") \");\" '>'n'>"))) - '(jde-enable-abbrev-mode nil) - '(jde-auto-parse-max-buffer-size 50000) - '(jde-gen-cflow-main (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"main\")" "'(l '> \"public static void main (String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of main ()\"'>'n'>)" ")"))) - '(jde-javadoc-exception-tag-template "\"* @exception \" type \" if an error occurs\"") - '(jde-global-classpath nil t) - '(jde-gen-window-listener-template (quote ("(end-of-line) '& (P \"Window name: \")" "\".addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"public void windowActivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"" "'>'n \"public void windowClosed(WindowEvent e)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowClosing(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"System.exit(0);\" '>'n \"}\"" "'>'n \"public void windowDeactivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowDeiconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowIconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowOpened(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"});\" '>'n'>"))) - '(jde-run-working-directory "/share/xsl/docbook/extensions" t) - '(jde-gen-property-change-support (quote ("(end-of-line) '&" "\"protected PropertyChangeSupport pcs = new PropertyChangeSupport(this);\" '>'n '>'n" "\"/**\" '>'n" "\"* Adds a PropertyChangeListener to the listener list.\" '>'n" "\"* The listener is registered for all properties.\" '>'n" "\"*\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n" "\"*/\" '>'n" "\"public void addPropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"pcs.addPropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n" "\"* Removes a PropertyChangeListener from the listener list.\" '>'n" "\"* This removes a PropertyChangeListener that was registered for all properties.\" '>'n" "\"*\" '>'n " "\"* @param listener The PropertyChangeListener to be removed\" '>'n" "\"*/\" '>'n" "\"public void removePropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>\"pcs.removePropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Adds a PropertyChangeListener for a specific property.\" '>'n" "\"* The listener will be invoked only when a call on firePropertyChange\" '>'n" "\"* names that specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property to listen on\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n \"*/\" '>'n" "\"public void addPropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.addPropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Removes a PropertyChangeListener for a specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property that was listened on\" '>'n" "\"* @param listener The PropertyChangeListener to be removed\" '>'n \"*/\" '>'n" "\"public void removePropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.removePropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, Object oldValue, Object newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, int oldValue, int newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Fires an existing PropertyChangeEvent to any registered listeners.\" '>'n" "\"* No event is fired if the given event's old and new values are equal and non-null. \" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n\"*/\" '>'n" "\"public void firePropertyChange(PropertyChangeEvent evt) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(evt);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Checks if there are any listeners for a specific property.\" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n" "\"* @return trueif there are one or more listeners for the given property\" '>'n" "\"*/\" '>'n" "\"public boolean hasListeners(String propertyName) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"return pcs.hasListeners(propertyName);\" '>'n \"}\" '>'n '>'n'>"))) - '(jde-javadoc-describe-interface-template "\"* Describe interface \" (jde-javadoc-code name) \" here.\"") - '(jde-imenu-include-signature t) - '(jde-db-marker-regexp "^.*: thread=.*, \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9]*\\),") - '(jde-gen-mouse-motion-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseMotionListener(new MouseMotionAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>" "'>'n \"public void mouseDragged(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mouseMoved(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>"))) - '(jde-key-bindings (quote (("[? ? ?]" . jde-run-menu-run-applet) ("[? ? ?]" . jde-build) ("[? ? ?]" . jde-compile) ("[? ? ?]" . jde-debug) ("[? ? ?]" . jde-wiz-implement-interface) ("[? ? ?j]" . jde-javadoc-generate-javadoc-template) ("[? ? ? ]" . bsh) ("[? ? ? ]" . jde-gen-println) ("[? ? ?]" . jde-browse-jdk-doc) ("[? ? ?]" . jde-save-project) ("[? ? ?]" . jde-wiz-update-class-list) ("[? ? ?]" . jde-run) ("[? ? ?]" . speedbar-frame-mode) ("[? ? ?]" . jde-db-menu-debug-applet) ("[? ? ?]" . jde-help-symbol) ("[? ? ?]" . jde-show-class-source) ("[? ? ?]" . jde-import-find-and-import) ("[(control c) (control v) (control ?.)]" . jde-complete-at-point-menu) ("[(control c) (control v) ?.]" . jde-complete-at-point)))) - '(jde-gen-cflow-for-i (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"fori\")" "'(l '> \"for (int \" (p \"variable: \" var) \" = 0; \"" "(s var)" "\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (int \" (s var) \" = 0; \"" "(s var) \" < \" (s ub) \"; \" (s var) \"++)\"'>'n'>)" ")"))) - '(jde-run-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-javadoc-gen-detail-switch (quote ("-protected"))) - '(jde-bug-sio-connect-delay 1) - '(jde-javadoc-param-tag-template "\"* @param \" name \" \" (jde-javadoc-a type) - \" \" (jde-javadoc-code type) \" value\"") - '(jde-compile-option-verbose-path nil) - '(jde-javadoc-display-doc t) - '(jde-imenu-modifier-abbrev-alist (quote (("public" . 43) ("protected" . 177) ("private" . 172) ("static" . 2215) ("transient" . 35) ("volatile" . 126) ("abstract" . 170) ("final" . 182) ("native" . 36) ("synchronized" . 64) ("strictfp" . 37)))) - '(jde-db-debugger (quote ("JDEbug" "/usr/local/jdk1.2.2/lib/i386" . "Executable")) t) - '(jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.1/docs/index.html") - '(jde-gen-cflow-enable t) - '(jde-compiler "javac") - '(jde-javadoc-gen-verbose nil) - '(jde-javadoc-describe-method-template "\"* Describe \" (jde-javadoc-code name) \" method here.\"") - '(jde-gen-class-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n'" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" \" (jde-gen-get-super-class)" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\">" "'>'n" "\"}\">" "\"// \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-javadoc-checker-level (quote protected)) - '(jde-appletviewer-option-vm-args nil) - '(jde-run-executable-args nil) - '(jde-db-option-garbage-collection (quote (t t))) - '(jde-javadoc-gen-stylesheetfile "") - '(jde-use-font-lock t) - '(jde-compile-option-bootclasspath nil) - '(jde-make-program "make") - '(jde-javadoc-gen-group nil) - '(jde-javadoc-gen-link-offline nil) - '(jde-entering-java-buffer-hook (quote (jde-reload-project-file jde-which-method-update-on-entering-buffer))) - '(jde-javadoc-gen-doc-title "") - '(jde-javadoc-gen-header "") - '(jde-run-option-vm-args nil) - '(jde-javadoc-gen-window-title "") - '(jde-compile-option-directory "/sourceforge/docbook/xsl/extensions/saxon64/.classes" t) - '(jde-imenu-create-index-function (quote semantic-create-imenu-index)) - '(jde-gen-console-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author \"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\"'>'n" "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n"))) - '(jde-read-make-args nil) - '(jde-javadoc-gen-noindex nil) - '(jde-gen-mouse-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseListener(new MouseAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'> " "'>'n \"public void mouseClicked(MouseEvent e) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseEntered(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseExited(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mousePressed(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseReleased(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>"))) - '(jde-run-option-application-args (quote ("-IN" "test.xml" "-XSL" "test.xsl")) t) - '(jde-bug-vm-executable (quote ("java"))) - '(jde-db-set-initial-breakpoint t) - '(jde-bug-debugger-command-timeout 10) - '(jde-db-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes")))) - '(jde-db-option-properties nil t) - '(jde-db-source-directories (quote ("/share/xsl/docbook/extensions/xalan2/" "/projects/apache/xml-xalan/java/src/" "/projects/apache/xml-xerces/java/build/src/" "/projects/sun/resolver/" "/home/ndw/java/")) t) - '(jde-run-read-app-args nil) - '(jde-gen-to-string-method-template (quote ("(end-of-line) '&" "\"public String toString() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n'>"))) - '(jde-quote-classpath t) - '(jde-bug-window-message nil) - '(jde-build-use-make nil) - '(jde-javadoc-author-tag-template "\"* @author \" user-full-name \"\"") - '(jde-javadoc-describe-field-template "\"* Describe \" (jde-javadoc-field-type modifiers) - \" \" (jde-javadoc-code name) \" here.\"") - '(jde-javadoc-gen-link-URL nil) - '(jde-compile-option-classpath (quote ("/sourceforge/docbook/xsl/extensions/saxon64/.classes" "/usr/local/java/saxon-6.4.3/saxon.jar" "/usr/local/jaxp-1.1/jaxp.jar" "/usr/local/jaxp-1.1/crimson.jar")) t) - '(jde-bug-jdk-directory "/usr/local/jdk1.2.2" t) - '(jde-gen-boilerplate-function (quote jde-gen-create-buffer-boilerplate)) - '(jde-gen-entity-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\" -\"java.rmi.RemoteException\"))" "'> \"public void ejbActivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbPassivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbLoad() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbStore() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbRemove() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void setEntityContext(EntityContext ctx) throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void unsetEntityContext() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n'>"))) - '(jde-javadoc-describe-constructor-template "\"* Creates a new \" (jde-javadoc-code name) \" instance.\"") - '(jde-bug-server-shmem-name (quote (t . "JDEbug"))) - '(jde-db-startup-commands nil) - '(jde-javadoc-gen-docletpath nil) - '(jde-javadoc-gen-split-index nil) - '(jde-compile-option-deprecation nil t) - '(jde-import-group-of-rules (quote (("^javax?\\.")))) - '(jde-which-method-mode t) - '(jde-gen-k&r t) - '(jde-javadoc-gen-bottom "") - '(jde-javadoc-gen-footer "") - '(jde-db-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t) - '(jde-gen-cflow-for (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"for\")" "'(l '> \"for (\" (p \"for-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-run-mode-hook nil) - '(jde-db-option-verify (quote (nil t))) - '(jde-compile-option-extdirs nil) - '(jde-imenu-sort nil) - '(jde-gen-get-set-var-template (quote ("(end-of-line) '&" "(P \"Variable type: \" type) \" \"" "(P \"Variable name: \" name) \";\" '>'n '>'n" "\"/**\" '>'n" "\"* Get the value of \" (s name) \".\" '>'n" "\"* @return value of \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public \" (s type)" "(if (string= \"boolean\" (jde-gen-lookup-named 'type) ) " "\" is\" " "\" get\" ) " "(jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"return \" (s name) \";\" '>'n \"}\"" "'>'n '>'n" "\"/**\" '>'n" "\"* Set the value of \" (s name) \".\" '>'n" "\"* @param v Value to assign to \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public void set\" (jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"(\" (s type) \" v) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "'>'\"this.\" (s name) \" = v;\" '>'n \"}\" '>'n'>"))) - '(jde-bug-saved-breakpoints nil) - '(jde-compile-option-sourcepath (quote ("/share/xsl/docbook/extensions/xalan2" "/projects/apache/xml-xalan/java/build/src" "/projects/apache/xml-xerces/java/build/src" "/projects/sun/resolver")) t) - '(jde-gen-cflow-if (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-db-option-java-profile (quote (nil . "./java.prof"))) - '(jde-javadoc-gen-author t) - '(jde-compile-option-depend-switch (quote ("-Xdepend"))) - '(jde-setnu-mode-enable nil) - '(jde-run-applet-doc "") - '(jde-compile-option-vm-args nil) - '(jde-javadoc-gen-overview "") - '(jde-javadoc-gen-notree nil) - '(jde-run-option-garbage-collection (quote (t t))) - '(jde-db-mode-hook nil) - '(jde-javadoc-command-path "javadoc") - '(jde-db-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects"))) - '(jde-import-group-function (quote jde-import-group-of)) - '(jde-db-read-vm-args nil) - '(jde-bug-debug nil) - '(jde-javadoc-end-block-template nil) - '(jde-javadoc-gen-packages nil) - '(jde-gen-cflow-if-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"ife\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'> n" "'> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")else\"'>'n'>)" ")"))) - '(jde-gen-cflow-while (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"while\")" "'(l '> \"while (\" (p \"while-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of while (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-bug-server-socket (quote (t . "2112"))) - '(jde-imenu-include-modifiers nil) - '(jde-appletviewer-option-encoding "") - '(jde-bug-breakpoint-cursor-colors (quote ("cyan" . "brown"))) - '(jde-compile-option-target (quote ("1.1"))) - '(jde-run-executable "") - '(jde-run-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes")))) - '(jde-gen-cflow-switch (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"switch\")" "'(l '> \"switch (\" (p \"switch-condition: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'" "\"case \" (p \"first value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p'n" "\"default:\"'>'n'>'p'n" "\"break;\"'>'n" "\"} // end of switch (\" (s clause) \")\"'>'n'>)" ")"))) - '(jde-which-method-abbrev-symbol "~") - '(jde-db-option-vm-args nil) - '(jde-run-application-class "org.apache.xalan.xslt.Process" t) - '(jde-javadoc-gen-doclet "") - '(jde-import-auto-sort nil) - '(jde-run-option-verbose (quote (nil nil nil))) - '(jde-project-file-name "prj.el") - '(jde-compile-option-debug (quote ("selected" (t nil nil))) t) - '(jde-bug-jre-home "") - '(jde-import-sorted-groups nil) - '(jde-run-applet-viewer "") - '(jde-javadoc-return-tag-template "\"* @return \" (jde-javadoc-a type) - \" \" (jde-javadoc-code type) \" value\"") - '(jde-javadoc-gen-version t) - '(jde-javadoc-gen-helpfile "") - '(jde-import-excluded-packages (quote ("bsh.*"))) - '(jde-run-read-vm-args nil) - '(jde-help-docsets nil) - '(jde-gen-inner-class-template (quote ("(end-of-line) '& \"class \" (P \"Class name: \" class)" "(P \"Superclass: \" super t)" "(let ((parent (jde-gen-lookup-named 'super)))" "(if (not (string= parent \"\"))" "(concat \" extends \" parent ))) " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"public \" (s class) \"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n" "\"}\" '>'n'>"))) - '(jde-auto-parse-buffer-interval 180) - '(jde-run-option-verify (quote (nil t))) - '(jde-import-reverse-sort-group nil) - '(jde-compile-option-optimize nil) - '(jde-gen-cflow-case (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"case\")" "'(l 'n \"case \" (p \"value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p)" ")"))) - '(jde-compile-option-depend nil) - '(jde-javadoc-describe-class-template "\"* Describe class \" (jde-javadoc-code name) \" here.\"") - '(jde-javadoc-gen-serialwarn nil) - '(jde-gen-action-listener-template (quote ("'& (P \"Component name: \")" "\".addActionListener(new ActionListener() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n \"});\"'>'n'>"))) - '(jde-auto-parse-enable t) - '(jde-compile-option-command-line-args "") - '(jde-gen-buffer-templates (quote (("Class" . jde-gen-class) ("Console" . jde-gen-console) ("Swing App" . jde-gen-jfc-app)))) - '(jde-project-context-switching-enabled-p t) - '(jde-javadoc-gen-args nil) - '(jde-run-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes")))) - '(jde-run-option-properties nil t)) - - diff --git a/lib/docbook/docbook-xsl/extensions/xalan2.jar b/lib/docbook/docbook-xsl/extensions/xalan2.jar deleted file mode 100644 index b7c093f4120dc131e80df999776f387f71c4e25b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 27367 zcma&N1CTA8i#%QSg?ziqD?2#mDBiap*i%9n3 z9cjcVM@J=xsWIZ!{RA{jwTm*R#rk{q%Y*t#@FB<&)Q zvQXzQWRa?82|3w`DtT&kAo2ZyS?P7UOX##Tcf2{4oDX21UKP(WVI-d382ai3e)2r_ zv5SUjZi}3*6>heZmFsJsxhM%&#Gx`$YVy{y-EMy}&;`h!q^_mAasHM57$^wPrLuIT z_~CdcT&%_TfrXhrRq}QN8A+4|X)E=BObW%!S|b)P>CqQzedS#cO3>u4BI8UuR;;1Q)Xl4Kjlu3K4X&q)?uJ$GJGInUU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/extensions/xalan2/ChangeLog b/lib/docbook/docbook-xsl/extensions/xalan2/ChangeLog deleted file mode 100644 index e1baf04f0..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/ChangeLog +++ /dev/null @@ -1,4 +0,0 @@ -2001-04-02 Norman Walsh - - * .cvsignore: New file. - diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/CVS.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/CVS.java deleted file mode 100644 index 6a68fa177..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/CVS.java +++ /dev/null @@ -1,90 +0,0 @@ -package com.nwalsh.xalan; - -import java.io.*; -import java.util.Calendar; -import java.util.GregorianCalendar; -import java.util.Date; -import java.util.Locale; -import java.util.TimeZone; -import java.text.DateFormat; -import java.text.ParseException; - -/** - *

Saxon extension to convert CVS date strings into local time

- * - *

$Id: CVS.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Saxon - * extension to turn the CVS date strings, which are UTC:

- * - *
$Date: 2000/11/09 02:34:20 $
- * - *

into legibly formatted local time:

- * - *
Wed Nov 08 18:34:20 PST 2000
- * - *

(I happened to be in California when I wrote this documentation.)

- - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: CVS.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class CVS { - /** - *

Constructor for CVS

- * - *

All of the methods are static, so the constructor does nothing.

- */ - public CVS() { - } - - /** - *

Convert a CVS date string into local time.

- * - * @param cvsDate The CVS date string. - * - * @return The date, converted to local time and reformatted. - */ - public String localTime (String cvsDate) { - // A cvsDate has the following form "$Date: 2002/05/15 17:22:28 $" - if (!cvsDate.startsWith("$Date: ")) { - return cvsDate; - } - - String yrS = cvsDate.substring(7,11); - String moS = cvsDate.substring(12,14); - String daS = cvsDate.substring(15,17); - String hrS = cvsDate.substring(18,20); - String miS = cvsDate.substring(21,23); - String seS = cvsDate.substring(24,26); - - TimeZone tz = TimeZone.getTimeZone("GMT+0"); - GregorianCalendar gmtCal = new GregorianCalendar(tz); - - try { - gmtCal.set(Integer.parseInt(yrS), - Integer.parseInt(moS)-1, - Integer.parseInt(daS), - Integer.parseInt(hrS), - Integer.parseInt(miS), - Integer.parseInt(seS)); - } catch (NumberFormatException e) { - // nop - } - - Date d = gmtCal.getTime(); - - return d.toString(); - } -} diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Callout.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Callout.java deleted file mode 100644 index c99b7c102..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Callout.java +++ /dev/null @@ -1,143 +0,0 @@ -package com.nwalsh.xalan; - -import org.w3c.dom.*; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: Callout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class is just for book keeping in the Verbatim class. - * It stores information about the location of callouts.

- * - *

Only line/column based callouts are supported. This class - * implements the Comparable interface so that callouts can be sorted. - * Callouts are sorted so that they occur in left-to-right, - * top-to-bottom order based on line/column.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: Callout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * */ -public class Callout implements Comparable { - /** The callout number. */ - private int callout = 0; - /** The area Element item that generated this callout. */ - private Element area = null; - /** The line on which this callout occurs. */ - private int line = 0; - /** The column in which this callout appears. */ - private int col = 0; - /** The type of callout. */ - private int type = 0; - /** The other type of callout. */ - private String otherType = null; - - public static final int CALS_PAIR = 1; - public static final int LINE_COLUMN = 2; - public static final int LINE_COLUMN_PAIR = 3; - public static final int LINE_RANGE = 4; - public static final int OTHER = 5; - - /** The constructor; initialize the private data structures. */ - public Callout(int callout, Element area, int line, int col, int type) { - this.callout = callout; - this.area = area; - this.line = line; - this.col = col; - this.type = type; - this.otherType = null; - } - - /** The constructor; initialize the private data structures. */ - public Callout(int callout, Element area, int line, int col, String otherType) { - this.callout = callout; - this.area = area; - this.line = line; - this.col = col; - this.type = Callout.OTHER; - this.otherType = otherType; - } - - /** - *

The compareTo method compares this Callout with another.

- * - *

Given two Callouts, A and B, A < B if:

- * - *
    - *
  1. A.line < B.line, or
  2. - *
  3. A.line = B.line && A.col < B.col, or
  4. - *
  5. A.line = B.line && A.col = B.col && A.callout < B.callout
  6. - *
  7. Otherwise, they're equal.
  8. - *
- */ - public int compareTo (Object o) { - Callout c = (Callout) o; - - if (line == c.getLine()) { - if (col > c.getColumn()) { - return 1; - } else if (col < c.getColumn()) { - return -1; - } else { - if (callout < c.getCallout()) { - return -1; - } else if (callout > c.getCallout()) { - return 1; - } else { - return 0; - } - } - } else { - if (line > c.getLine()) { - return 1; - } else { - return -1; - } - } - } - - /** Access the Callout's area. */ - public Element getArea() { - return area; - } - - /** Access the Callout's line. */ - public int getLine() { - return line; - } - - /** Access the Callout's column. */ - public int getColumn() { - return col; - } - - /** Access the Callout's callout number. */ - public int getCallout() { - return callout; - } - - /** Access the Callout's type. */ - public int getType() { - return type; - } - - /** Access the Callout's otherType. */ - public String getOtherType() { - return otherType; - } - - -} - diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/ChangeLog b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/ChangeLog deleted file mode 100644 index 665adbc50..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/ChangeLog +++ /dev/null @@ -1,24 +0,0 @@ -2001-07-15 Norman Walsh - - * Verbatim.java: New Xalan code sometimes (always?) returns DOCUMENT_NODE where DOCUMENT_FRAGMENT_NODE used to be returned: handle it - -2001-07-10 Norman Walsh - - * Params.java: Use new getVariableOrParam method - - * Table.java: Remove redundant get... methods (now centralized in Param) - -2001-07-07 Norman Walsh - - * FormatDingbatCallout.java, Table.java, Verbatim.java: - Working towards Xalan 2.2 support (this code is BROKEN) - -2001-05-21 Norman Walsh - - * FormatCallout.java, Table.java, Verbatim.java: Updates for Xalan 2.0.x API as released by Apache - -2001-04-02 Norman Walsh - - * CVS.java, Callout.java, FormatCallout.java, FormatGraphicCallout.java, FormatTextCallout.java, FormatUnicodeCallout.java, Func.java, Params.java, Table.java, Text.java, Verbatim.java, package.html: - New file. - diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatCallout.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatCallout.java deleted file mode 100644 index 939cd70aa..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatCallout.java +++ /dev/null @@ -1,108 +0,0 @@ -package com.nwalsh.xalan; - -import org.xml.sax.SAXException; -import org.xml.sax.helpers.AttributesImpl; -import org.w3c.dom.*; -import org.apache.xpath.DOMHelper; -import org.apache.xml.utils.DOMBuilder; -import org.apache.xml.utils.AttList; -import com.nwalsh.xalan.Callout; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - **/ - -public abstract class FormatCallout { - protected static final String foURI = "http://www.w3.org/1999/XSL/Format"; - protected static final String xhURI = "http://www.w3.org/1999/xhtml"; - protected boolean stylesheetFO = false; - protected DOMHelper dh = null; - - public FormatCallout() { - //nop; - } - - public String areaLabel(Element area) { - NamedNodeMap domAttr = area.getAttributes(); - AttList attr = new AttList(domAttr, dh); - String label = null; - - if (attr.getValue("label") != null) { - // If this area has a label, use it - label = attr.getValue("label"); - } else { - // Otherwise, if its parent is an areaset and it has a label, use that - Element parent = (Element) area.getParentNode(); - NamedNodeMap pdomAttr = parent.getAttributes(); - AttList pAttr = new AttList(pdomAttr, dh); - if (parent != null - && parent.getNodeName().equals("areaset") - && pAttr.getValue("label") != null) { - label = pAttr.getValue("label"); - } - } - - return label; - } - - public void startSpan(DOMBuilder rtf) - throws SAXException { - // no point in doing this for FO, right? - if (!stylesheetFO) { - AttributesImpl spanAttr = new AttributesImpl(); - spanAttr.addAttribute("", "class", "class", "CDATA", "co"); - rtf.startElement("", "span", "span", spanAttr); - } - } - - public void endSpan(DOMBuilder rtf) - throws SAXException { - // no point in doing this for FO, right? - if (!stylesheetFO) { - rtf.endElement("", "span", "span"); - } - } - - public void formatTextCallout(DOMBuilder rtf, - Callout callout) { - Element area = callout.getArea(); - int num = callout.getCallout(); - String userLabel = areaLabel(area); - String label = "(" + num + ")"; - - if (userLabel != null) { - label = userLabel; - } - - char chars[] = label.toCharArray(); - - try { - startSpan(rtf); - rtf.characters(chars, 0, label.length()); - endSpan(rtf); - } catch (SAXException e) { - System.out.println("SAX Exception in text formatCallout"); - } - } - - public abstract void formatCallout(DOMBuilder rtf, - Callout callout); -} - diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatDingbatCallout.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatDingbatCallout.java deleted file mode 100644 index 949ddf535..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatDingbatCallout.java +++ /dev/null @@ -1,82 +0,0 @@ -package com.nwalsh.xalan; - -import org.xml.sax.helpers.AttributesImpl; -import org.xml.sax.SAXException; -import org.w3c.dom.*; -import org.apache.xml.utils.DOMBuilder; -import com.nwalsh.xalan.Callout; -import org.apache.xml.utils.AttList; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatDingbatCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatDingbatCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - **/ - -public class FormatDingbatCallout extends FormatCallout { - int graphicsMax = 0; - - public FormatDingbatCallout(int max, boolean fo) { - graphicsMax = max; - stylesheetFO = fo; - } - - public void formatCallout(DOMBuilder rtf, - Callout callout) { - Element area = callout.getArea(); - int num = callout.getCallout(); - String label = areaLabel(area); - - try { - if (label == null && num <= graphicsMax) { - AttributesImpl imgAttr = new AttributesImpl(); - String ns = ""; - String prefix = ""; - String imgName = ""; - - if (stylesheetFO) { - ns = foURI; - prefix = "fo:"; // FIXME: this could be a problem... - imgName = "inline"; - imgAttr.addAttribute("", "font-family", "font-family", "CDATA", - "ZapfDingbats"); - } else { - ns = ""; - prefix = ""; - imgName = "font"; - imgAttr.addAttribute("", "face", "face", "CDATA", - "ZapfDingbats"); - } - - startSpan(rtf); - rtf.startElement(ns, imgName, prefix+imgName, imgAttr); - - char chars[] = new char[1]; - chars[0] = (char) (0x2775 + num); - rtf.characters(chars, 0, 1); - - rtf.endElement(ns, imgName, prefix+imgName); - endSpan(rtf); - } else { - formatTextCallout(rtf, callout); - } - } catch (SAXException e) { - System.out.println("SAX Exception in graphics formatCallout"); - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatGraphicCallout.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatGraphicCallout.java deleted file mode 100644 index 04c7b6be4..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatGraphicCallout.java +++ /dev/null @@ -1,83 +0,0 @@ -package com.nwalsh.xalan; - -import org.xml.sax.helpers.AttributesImpl; -import org.xml.sax.SAXException; -import org.w3c.dom.*; -import org.apache.xml.utils.DOMBuilder; -import com.nwalsh.xalan.Callout; -import org.apache.xml.utils.AttList; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatGraphicCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatGraphicCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - **/ - -public class FormatGraphicCallout extends FormatCallout { - String graphicsPath = ""; - String graphicsExt = ""; - int graphicsMax = 0; - - public FormatGraphicCallout(String path, String ext, int max, boolean fo) { - graphicsPath = path; - graphicsExt = ext; - graphicsMax = max; - stylesheetFO = fo; - } - - public void formatCallout(DOMBuilder rtf, - Callout callout) { - Element area = callout.getArea(); - int num = callout.getCallout(); - String label = areaLabel(area); - - try { - if (label == null && num <= graphicsMax) { - AttributesImpl imgAttr = new AttributesImpl(); - String ns = ""; - String prefix = ""; - String imgName = ""; - - if (stylesheetFO) { - ns = foURI; - prefix = "fo:"; // FIXME: this could be a problem... - imgName = "external-graphic"; - imgAttr.addAttribute("", "src", "src", "CDATA", - graphicsPath + num + graphicsExt); - imgAttr.addAttribute("", "alt", "alt", "CDATA", label); - } else { - ns = ""; - prefix = ""; - imgName = "img"; - imgAttr.addAttribute("", "src", "src", "CDATA", - graphicsPath + num + graphicsExt); - imgAttr.addAttribute("", "alt", "alt", "CDATA", label); - } - - startSpan(rtf); - rtf.startElement(ns, imgName, prefix+imgName, imgAttr); - rtf.endElement(ns, imgName, prefix+imgName); - endSpan(rtf); - } else { - formatTextCallout(rtf, callout); - } - } catch (SAXException e) { - System.out.println("SAX Exception in graphics formatCallout"); - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatTextCallout.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatTextCallout.java deleted file mode 100644 index 92fd4b2a0..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatTextCallout.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.nwalsh.xalan; - -import org.w3c.dom.*; -import org.apache.xml.utils.DOMBuilder; -import com.nwalsh.xalan.Callout; -import org.apache.xml.utils.AttList; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatTextCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatTextCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - **/ - -public class FormatTextCallout extends FormatCallout { - public FormatTextCallout(boolean fo) { - stylesheetFO = fo; - } - - public void formatCallout(DOMBuilder rtf, - Callout callout) { - formatTextCallout(rtf, callout); - } -} diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatUnicodeCallout.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatUnicodeCallout.java deleted file mode 100644 index e7ac5dc11..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/FormatUnicodeCallout.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.nwalsh.xalan; - -import org.xml.sax.SAXException; -import org.w3c.dom.*; -import org.apache.xml.utils.DOMBuilder; -import com.nwalsh.xalan.Callout; -import org.apache.xml.utils.AttList; - -/** - *

Utility class for the Verbatim extension (ignore this).

- * - *

$Id: FormatUnicodeCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000, 2001 Norman Walsh.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @see Verbatim - * - * @version $Id: FormatUnicodeCallout.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - **/ - -public class FormatUnicodeCallout extends FormatCallout { - int unicodeMax = 0; - int unicodeStart = 0; - - public FormatUnicodeCallout(int start, int max, boolean fo) { - unicodeMax = max; - unicodeStart = start; - stylesheetFO = fo; - } - - public void formatCallout(DOMBuilder rtf, - Callout callout) { - Element area = callout.getArea(); - int num = callout.getCallout(); - String label = areaLabel(area); - - try { - if (label == null && num <= unicodeMax) { - char chars[] = new char[1]; - chars[0] = (char) (unicodeStart + num - 1); - - startSpan(rtf); - rtf.characters(chars, 0, 1); - endSpan(rtf); - } else { - formatTextCallout(rtf, callout); - } - } catch (SAXException e) { - System.out.println("SAX Exception in unicode formatCallout"); - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Func.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Func.java deleted file mode 100644 index e03ae6bd2..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Func.java +++ /dev/null @@ -1,59 +0,0 @@ -// Func - Xalann extension function test - -package com.nwalsh.xalan; - -import org.xml.sax.SAXException; -import org.xml.sax.AttributeList; -import org.xml.sax.ContentHandler; - -import org.w3c.dom.*; -import org.w3c.dom.traversal.NodeIterator; -import org.apache.xerces.dom.*; - -import org.apache.xpath.objects.XObject; -import org.apache.xpath.objects.XRTreeFrag; -import org.apache.xpath.XPath; -import org.apache.xpath.NodeSet; -import org.apache.xalan.extensions.XSLProcessorContext; -import org.apache.xalan.extensions.ExpressionContext; -import org.apache.xalan.transformer.TransformerImpl; -import org.apache.xalan.templates.StylesheetRoot; -import org.apache.xalan.templates.ElemExtensionCall; -import org.apache.xalan.templates.OutputProperties; -import org.apache.xalan.res.XSLTErrorResources; - -import javax.xml.transform.stream.StreamResult; -import javax.xml.transform.TransformerException; - -public class Func { - public Func() { - } - - public DocumentFragment doSomething(NodeIterator rtf) { - System.out.println("Got here 2: " + rtf); - - DocumentFragment df = (DocumentFragment) rtf.nextNode(); - Element node = (Element) df.getFirstChild(); - - System.out.println("node=" + node); - System.out.println("namesp uri: " + node.getNamespaceURI()); - System.out.println("local name: " + node.getLocalName()); - - return df; - } - - public DocumentFragment doSomething(DocumentFragment rtf) { - System.out.println("Got here: " + rtf); - - return rtf; - /* - Element node = (Element) rtf.getFirstChild(); - - System.out.println("node=" + node); - System.out.println("namesp uri: " + node.getNamespaceURI()); - System.out.println("local name: " + node.getLocalName()); - - return rtf; - */ - } -} diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Params.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Params.java deleted file mode 100644 index fd6c97a3c..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Params.java +++ /dev/null @@ -1,57 +0,0 @@ -// Params.java - Read stylesheet parameters in Xalan - -package com.nwalsh.xalan; - -import org.apache.xpath.objects.XObject; -import org.apache.xpath.XPathContext; -import org.apache.xalan.extensions.ExpressionContext; -import org.apache.xml.utils.QName; - -import javax.xml.transform.TransformerException; - -public class Params { - - public static String getString(ExpressionContext context, - String varName) { - try { - XObject var = context.getVariableOrParam(new QName(varName)); - if (var != null) { - return var.toString(); - } else { - System.out.println("$" + varName + " is not a defined parameter."); - return ""; - } - } catch (TransformerException te) { - System.out.println("Transformer exception getting value of $" + varName); - return ""; - } - } - - public static int getInt(ExpressionContext context, - String varName) { - String stringValue = getString(context, varName); - if (stringValue != null) { - try { - int value = Integer.parseInt(stringValue); - return value; - } catch (NumberFormatException e) { - System.out.println("$" + varName + " is not an integer."); - } - } - return 0; - } - - public static boolean getBoolean(ExpressionContext context, - String varName) { - String stringValue = getString(context, varName); - if (stringValue != null) { - if (stringValue.equals("0") || stringValue.equals("")) { - return false; - } else { - return true; - } - } else { - return false; - } - } -} diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Table.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Table.java deleted file mode 100644 index 10b5b7fbc..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Table.java +++ /dev/null @@ -1,489 +0,0 @@ -// Verbatim.java - Xalan extensions supporting DocBook verbatim environments - -package com.nwalsh.xalan; - -import java.util.Hashtable; -import org.xml.sax.*; -import org.xml.sax.helpers.AttributesImpl; -import org.w3c.dom.*; -import org.w3c.dom.traversal.NodeIterator; - -import javax.xml.transform.TransformerException; - -import org.apache.xpath.objects.XObject; -import org.apache.xpath.XPathContext; -import org.apache.xalan.extensions.ExpressionContext; -import org.apache.xml.utils.DOMBuilder; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.parsers.ParserConfigurationException; -import org.apache.xml.utils.QName; -import org.apache.xpath.DOMHelper; -import org.apache.xml.utils.AttList; - -/** - *

Xalan extensions supporting Tables

- * - *

$Id: Table.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2000 Norman Walsh.

- * - *

This class provides a - * Xalan - * implementation of some code to adjust CALS Tables to HTML - * Tables.

- * - *

Column Widths

- *

The adjustColumnWidths method takes a result tree - * fragment (assumed to contain the colgroup of an HTML Table) - * and returns the result tree fragment with the column widths - * adjusted to HTML terms.

- * - *

Convert Lengths

- *

The convertLength method takes a length specification - * of the form 9999.99xx (where "xx" is a unit) and returns that length - * as an integral number of pixels. For convenience, percentage lengths - * are returned unchanged.

- *

The recognized units are: inches (in), centimeters (cm), - * millimeters (mm), picas (pc, 1pc=12pt), points (pt), and pixels (px). - * A number with no units is assumed to be pixels.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: Table.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class Table { - /** The number of pixels per inch */ - private static int pixelsPerInch = 96; - - /** The hash used to associate units with a length in pixels. */ - protected static Hashtable unitHash = null; - - /** The FO namespace name. */ - protected static String foURI = "http://www.w3.org/1999/XSL/Format"; - - /** - *

Constructor for Verbatim

- * - *

All of the methods are static, so the constructor does nothing.

- */ - public Table() { - } - - /** Initialize the internal hash table with proper values. */ - protected static void initializeHash() { - unitHash = new Hashtable(); - unitHash.put("in", new Float(pixelsPerInch)); - unitHash.put("cm", new Float(pixelsPerInch / 2.54)); - unitHash.put("mm", new Float(pixelsPerInch / 25.4)); - unitHash.put("pc", new Float((pixelsPerInch / 72) * 12)); - unitHash.put("pt", new Float(pixelsPerInch / 72)); - unitHash.put("px", new Float(1)); - } - - /** Set the pixels-per-inch value. Only positive values are legal. */ - public static void setPixelsPerInch(int value) { - if (value > 0) { - pixelsPerInch = value; - initializeHash(); - } - } - - /** Return the current pixels-per-inch value. */ - public int getPixelsPerInch() { - return pixelsPerInch; - } - - /** - *

Convert a length specification to a number of pixels.

- * - *

The specified length should be of the form [+/-]999.99xx, - * where xx is a valid unit.

- */ - public static int convertLength(String length) { - // The format of length should be 999.999xx - int sign = 1; - String digits = ""; - String units = ""; - char lench[] = length.toCharArray(); - float flength = 0; - boolean done = false; - int pos = 0; - float factor = 1; - int pixels = 0; - - if (unitHash == null) { - initializeHash(); - } - - if (lench[pos] == '+' || lench[pos] == '-') { - if (lench[pos] == '-') { - sign = -1; - } - pos++; - } - - while (!done) { - if (pos >= lench.length) { - done = true; - } else { - if ((lench[pos] > '9' || lench[pos] < '0') && lench[pos] != '.') { - done = true; - units = length.substring(pos); - } else { - digits += lench[pos++]; - } - } - } - - try { - flength = Float.parseFloat(digits); - } catch (NumberFormatException e) { - System.out.println(digits + " is not a number; 1 used instead."); - flength = 1; - } - - Float f = null; - - if (!units.equals("")) { - f = (Float) unitHash.get(units); - if (f == null) { - System.out.println(units + " is not a known unit; 1 used instead."); - factor = 1; - } else { - factor = f.floatValue(); - } - } else { - factor = 1; - } - - f = new Float(flength * factor); - - pixels = f.intValue() * sign; - - return pixels; - } - - /** - *

Adjust column widths in an HTML table.

- * - *

The specification of column widths in CALS (a relative width - * plus an optional absolute width) are incompatible with HTML column - * widths. This method adjusts CALS column width specifiers in an - * attempt to produce equivalent HTML specifiers.

- * - *

In order for this method to work, the CALS width specifications - * should be placed in the "width" attribute of the <col>s within - * a <colgroup>. Then the colgroup result tree fragment is passed - * to this method.

- * - *

This method makes use of two parameters from the XSL stylesheet - * that calls it: nominal.table.width and - * table.width. The value of nominal.table.width - * must be an absolute distance. The value of table.width - * can be either absolute or relative.

- * - *

Presented with a mixture of relative and - * absolute lengths, the table width is used to calculate - * appropriate values. If the table.width is relative, - * the nominal width is used for this calculation.

- * - *

There are three possible combinations of values:

- * - *
    - *
  1. There are no relative widths; in this case the absolute widths - * are used in the HTML table.
  2. - *
  3. There are no absolute widths; in this case the relative widths - * are used in the HTML table.
  4. - *
  5. There are a mixture of absolute and relative widths: - *
      - *
    1. If the table width is absolute, all widths become absolute.
    2. - *
    3. If the table width is relative, make all the widths absolute - * relative to the nominal table width then turn them all - * back into relative widths.
    4. - *
    - *
  6. - *
- * - * @param context The stylesheet context; supplied automatically by Xalan - * @param rtf The result tree fragment containing the colgroup. - * - * @return The result tree fragment containing the adjusted colgroup. - * - */ - - public DocumentFragment adjustColumnWidths (ExpressionContext context, - NodeIterator xalanNI) { - - int nominalWidth = convertLength(Params.getString(context, - "nominal.table.width")); - String tableWidth = Params.getString(context, "table.width"); - String styleType = Params.getString(context, "stylesheet.result.type"); - boolean foStylesheet = styleType.equals("fo"); - - DocumentFragment xalanRTF = (DocumentFragment) xalanNI.nextNode(); - Element colgroup = (Element) xalanRTF.getFirstChild(); - - // N.B. ...stree.ElementImpl doesn't implement getElementsByTagName() - - Node firstCol = null; - // If this is an FO tree, there might be no colgroup... - if (colgroup.getLocalName().equals("colgroup")) { - firstCol = colgroup.getFirstChild(); - } else { - firstCol = colgroup; - } - - // Count the number of columns... - Node child = firstCol; - int numColumns = 0; - while (child != null) { - if (child.getNodeType() == Node.ELEMENT_NODE - && (child.getNodeName().equals("col") - || (child.getNamespaceURI().equals(foURI) - && child.getLocalName().equals("table-column")))) { - numColumns++; - } - - child = child.getNextSibling(); - } - - String widths[] = new String[numColumns]; - Element columns[] = new Element[numColumns]; - int colnum = 0; - - child = firstCol; - while (child != null) { - if (child.getNodeType() == Node.ELEMENT_NODE - && (child.getNodeName().equals("col") - || (child.getNamespaceURI().equals(foURI) - && child.getLocalName().equals("table-column")))) { - Element col = (Element) child; - - columns[colnum] = col; - - if (foStylesheet) { - if (col.getAttribute("column-width") == null) { - widths[colnum] = "1*"; - } else { - widths[colnum] = col.getAttribute("column-width"); - } - } else { - if (col.getAttribute("width") == null) { - widths[colnum] = "1*"; - } else { - widths[colnum] = col.getAttribute("width"); - } - } - - colnum++; - } - child = child.getNextSibling(); - } - - float relTotal = 0; - float relParts[] = new float[numColumns]; - - float absTotal = 0; - float absParts[] = new float[numColumns]; - - for (int count = 0; count < numColumns; count++) { - String width = widths[count]; - int pos = width.indexOf("*"); - if (pos >= 0) { - String relPart = width.substring(0, pos); - String absPart = width.substring(pos+1); - - try { - float rel = Float.parseFloat(relPart); - relTotal += rel; - relParts[count] = rel; - } catch (NumberFormatException e) { - System.out.println(relPart + " is not a valid relative unit."); - } - - int pixels = 0; - if (absPart != null && !absPart.equals("")) { - pixels = convertLength(absPart); - } - - absTotal += pixels; - absParts[count] = pixels; - } else { - relParts[count] = 0; - - int pixels = 0; - if (width != null && !width.equals("")) { - pixels = convertLength(width); - } - - absTotal += pixels; - absParts[count] = pixels; - } - } - - // Ok, now we have the relative widths and absolute widths in - // two parallel arrays. - // - // - If there are no relative widths, output the absolute widths - // - If there are no absolute widths, output the relative widths - // - If there are a mixture of relative and absolute widths, - // - If the table width is absolute, turn these all into absolute - // widths. - // - If the table width is relative, turn these all into absolute - // widths in the nominalWidth and then turn them back into - // percentages. - - if (relTotal == 0) { - for (int count = 0; count < numColumns; count++) { - Float f = new Float(absParts[count]); - if (foStylesheet) { - int pixels = f.intValue(); - float inches = (float) pixels / pixelsPerInch; - widths[count] = inches + "in"; - } else { - widths[count] = Integer.toString(f.intValue()); - } - } - } else if (absTotal == 0) { - for (int count = 0; count < numColumns; count++) { - float rel = relParts[count] / relTotal * 100; - Float f = new Float(rel); - widths[count] = Integer.toString(f.intValue()) + "%"; - } - } else { - int pixelWidth = nominalWidth; - - if (tableWidth.indexOf("%") <= 0) { - pixelWidth = convertLength(tableWidth); - } - - if (pixelWidth <= absTotal) { - System.out.println("Table is wider than table width."); - } else { - pixelWidth -= absTotal; - } - - absTotal = 0; - for (int count = 0; count < numColumns; count++) { - float rel = relParts[count] / relTotal * pixelWidth; - relParts[count] = rel + absParts[count]; - absTotal += rel + absParts[count]; - } - - if (tableWidth.indexOf("%") <= 0) { - for (int count = 0; count < numColumns; count++) { - Float f = new Float(relParts[count]); - if (foStylesheet) { - int pixels = f.intValue(); - float inches = (float) pixels / pixelsPerInch; - widths[count] = inches + "in"; - } else { - widths[count] = Integer.toString(f.intValue()); - } - } - } else { - for (int count = 0; count < numColumns; count++) { - float rel = relParts[count] / absTotal * 100; - Float f = new Float(rel); - widths[count] = Integer.toString(f.intValue()) + "%"; - } - } - } - - // Now rebuild the colgroup with the right widths - - DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance(); - DocumentBuilder docBuilder = null; - - try { - docBuilder = docFactory.newDocumentBuilder(); - } catch (ParserConfigurationException e) { - System.out.println("PCE!"); - return xalanRTF; - } - Document doc = docBuilder.newDocument(); - DocumentFragment df = doc.createDocumentFragment(); - DOMBuilder rtf = new DOMBuilder(doc, df); - - try { - String ns = colgroup.getNamespaceURI(); - String localName = colgroup.getLocalName(); - String name = colgroup.getTagName(); - - if (colgroup.getLocalName().equals("colgroup")) { - rtf.startElement(ns, localName, name, - copyAttributes(colgroup)); - } - - for (colnum = 0; colnum < numColumns; colnum++) { - Element col = columns[colnum]; - - NamedNodeMap domAttr = col.getAttributes(); - - AttributesImpl attr = new AttributesImpl(); - for (int acount = 0; acount < domAttr.getLength(); acount++) { - Node a = domAttr.item(acount); - String a_ns = a.getNamespaceURI(); - String a_localName = a.getLocalName(); - - if ((foStylesheet && !a_localName.equals("column-width")) - || !a_localName.equalsIgnoreCase("width")) { - attr.addAttribute(a.getNamespaceURI(), - a.getLocalName(), - a.getNodeName(), - "CDATA", - a.getNodeValue()); - } - } - - if (foStylesheet) { - attr.addAttribute("", "column-width", "column-width", "CDATA", widths[colnum]); - } else { - attr.addAttribute("", "width", "width", "CDATA", widths[colnum]); - } - - rtf.startElement(col.getNamespaceURI(), - col.getLocalName(), - col.getTagName(), - attr); - rtf.endElement(col.getNamespaceURI(), - col.getLocalName(), - col.getTagName()); - } - - if (colgroup.getLocalName().equals("colgroup")) { - rtf.endElement(ns, localName, name); - } - } catch (SAXException se) { - System.out.println("SE!"); - return xalanRTF; - } - - return df; - } - - private Attributes copyAttributes(Element node) { - AttributesImpl attrs = new AttributesImpl(); - NamedNodeMap nnm = node.getAttributes(); - for (int count = 0; count < nnm.getLength(); count++) { - Attr attr = (Attr) nnm.item(count); - String name = attr.getName(); - if (name.startsWith("xmlns:") || name.equals("xmlns")) { - // Skip it; (don't ya just love it!!) - } else { - attrs.addAttribute(attr.getNamespaceURI(), attr.getName(), - attr.getName(), "CDATA", attr.getValue()); - } - } - return attrs; - } -} diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Text.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Text.java deleted file mode 100644 index 2beb93951..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Text.java +++ /dev/null @@ -1,128 +0,0 @@ -// Text - Xalan extension element for inserting text - -package com.nwalsh.xalan; - -import java.io.BufferedReader; -import java.io.InputStreamReader; -import java.io.InputStream; -import java.io.IOException; -import java.io.FileNotFoundException; -import java.net.URL; -import java.net.MalformedURLException; - -import org.xml.sax.SAXException; -import org.xml.sax.AttributeList; -import org.xml.sax.ContentHandler; - -import org.w3c.dom.*; -import org.apache.xerces.dom.*; - -import org.apache.xpath.objects.XObject; -import org.apache.xpath.XPath; -import org.apache.xpath.NodeSet; -import org.apache.xalan.extensions.XSLProcessorContext; -import org.apache.xalan.transformer.TransformerImpl; -import org.apache.xalan.templates.StylesheetRoot; -import org.apache.xalan.templates.ElemExtensionCall; -import org.apache.xalan.templates.OutputProperties; -import org.apache.xalan.res.XSLTErrorResources; - -import javax.xml.transform.stream.StreamResult; -import javax.xml.transform.TransformerException; - -/** - *

Xalan extension element for inserting text - * - *

$Id: Text.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2001 Norman Walsh.

- * - *

This class provides a - * Xalan - * extension element for inserting text into a result tree.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: Text.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class Text { - /** - *

Constructor for Text

- * - *

Does nothing.

- */ - public Text() { - } - - public NodeList insertfile(XSLProcessorContext context, - ElemExtensionCall elem) - throws MalformedURLException, - FileNotFoundException, - IOException, - TransformerException { - String href = getFilename(context, elem); - - NodeSet textNodes = new NodeSet(); - Document textDoc = DOMImplementationImpl.getDOMImplementation().createDocument(null, "tmpDoc", null); - - URL fileURL = null; - - try { - try { - fileURL = new URL(href); - } catch (MalformedURLException e1) { - try { - fileURL = new URL("file:" + href); - } catch (MalformedURLException e2) { - System.out.println("Cannot open " + href); - return null; - } - } - - InputStreamReader isr = new InputStreamReader(fileURL.openStream()); - BufferedReader is = new BufferedReader(isr); - - char chars[] = new char[4096]; - int len = 0; - while ((len = is.read(chars)) > 0) { - String s = new String(chars, 0, len); - // Does it matter that this produces multiple, adjacent text - // nodes? I don't think so... - textNodes.addNode(textDoc.createTextNode(s)); - } - is.close(); - } catch (Exception e) { - System.out.println("Cannot read " + href); - } - - return textNodes; - } - - private String getFilename(XSLProcessorContext context, ElemExtensionCall elem) - throws java.net.MalformedURLException, - java.io.FileNotFoundException, - java.io.IOException, - javax.xml.transform.TransformerException { - - String fileName; - - fileName = ((ElemExtensionCall)elem).getAttribute ("href", - context.getContextNode(), - context.getTransformer()); - - if(fileName == null) { - context.getTransformer().getMsgMgr().error(elem, - "No 'href' on text, or not a filename"); - } - - return fileName; - } -} diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Verbatim.java b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Verbatim.java deleted file mode 100644 index dc95dbd4b..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/Verbatim.java +++ /dev/null @@ -1,929 +0,0 @@ -// Verbatim.java - Xalan extensions supporting DocBook verbatim environments - -package com.nwalsh.xalan; - -import java.util.Stack; -import java.util.StringTokenizer; - -import org.xml.sax.*; -import org.xml.sax.helpers.AttributesImpl; -import org.w3c.dom.*; -import org.w3c.dom.traversal.NodeIterator; -import org.apache.xerces.dom.*; - -import org.apache.xpath.objects.XObject; -import org.apache.xpath.XPath; -import org.apache.xpath.XPathContext; -import org.apache.xpath.NodeSet; -import org.apache.xpath.DOMHelper; -import org.apache.xalan.extensions.XSLProcessorContext; -import org.apache.xalan.extensions.ExpressionContext; -import org.apache.xalan.transformer.TransformerImpl; -import org.apache.xalan.templates.StylesheetRoot; -import org.apache.xalan.templates.ElemExtensionCall; -import org.apache.xalan.templates.OutputProperties; -import org.apache.xalan.res.XSLTErrorResources; -import org.apache.xml.utils.DOMBuilder; -import org.apache.xml.utils.AttList; -import org.apache.xml.utils.QName; - -import javax.xml.transform.stream.StreamResult; -import javax.xml.transform.TransformerException; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.parsers.ParserConfigurationException; - -import com.nwalsh.xalan.Callout; -import com.nwalsh.xalan.Params; - -/** - *

Xalan extensions supporting DocBook verbatim environments

- * - *

$Id: Verbatim.java,v 1.1 2002/05/15 17:22:28 isberg Exp $

- * - *

Copyright (C) 2001 Norman Walsh.

- * - *

This class provides a - * Xalan - * implementation of two features that would be impractical to - * implement directly in XSLT: line numbering and callouts.

- * - *

Line Numbering

- *

The numberLines family of functions takes a result tree - * fragment (assumed to contain the contents of a formatted verbatim - * element in DocBook: programlisting, screen, address, literallayout, - * or synopsis) and returns a result tree fragment decorated with - * line numbers.

- * - *

Callouts

- *

The insertCallouts family of functions takes an - * areaspec and a result tree fragment - * (assumed to contain the contents of a formatted verbatim - * element in DocBook: programlisting, screen, address, literallayout, - * or synopsis) and returns a result tree fragment decorated with - * callouts.

- * - *

Change Log:

- *
- *
1.0
- *

Initial release.

- *
- * - * @author Norman Walsh - * ndw@nwalsh.com - * - * @version $Id: Verbatim.java,v 1.1 2002/05/15 17:22:28 isberg Exp $ - * - */ -public class Verbatim { - /** A stack to hold the open elements while walking through a RTF. */ - private Stack elementStack = null; - /** A stack to hold the temporarily closed elements. */ - private Stack tempStack = null; - /** The current line number. */ - private int lineNumber = 0; - /** The current column number. */ - private int colNumber = 0; - /** The modulus for line numbering (every 'modulus' line is numbered). */ - private int modulus = 0; - /** The width (in characters) of line numbers (for padding). */ - private int width = 0; - /** The separator between the line number and the verbatim text. */ - private String separator = ""; - /** The (sorted) array of callouts obtained from the areaspec. */ - private Callout callout[] = null; - /** The number of callouts in the callout array. */ - private int calloutCount = 0; - /** A pointer used to keep track of our position in the callout array. */ - private int calloutPos = 0; - /** The path to use for graphical callout decorations. */ - private String graphicsPath = null; - /** The extension to use for graphical callout decorations. */ - private String graphicsExt = null; - /** The largest callout number that can be represented graphically. */ - private int graphicsMax = 10; - /** Should graphic callouts use fo:external-graphics or imgs. */ - private boolean graphicsFO = false; - - private static final String foURI = "http://www.w3.org/1999/XSL/Format"; - private static final String xhURI = "http://www.w3.org/1999/xhtml"; - - /** - *

Constructor for Verbatim

- * - *

All of the methods are static, so the constructor does nothing.

- */ - public Verbatim() { - } - - /** - *

Number lines in a verbatim environment.

- * - *

This method adds line numbers to a result tree fragment. Each - * newline that occurs in a text node is assumed to start a new line. - * The first line is always numbered, every subsequent xalanMod line - * is numbered (so if xalanMod=5, lines 1, 5, 10, 15, etc. will be - * numbered. If there are fewer than xalanMod lines in the environment, - * every line is numbered.

- * - *

xalanMod is taken from the $linenumbering.everyNth parameter.

- * - *

Every line number will be right justified in a string xalanWidth - * characters long. If the line number of the last line in the - * environment is too long to fit in the specified width, the width - * is automatically increased to the smallest value that can hold the - * number of the last line. (In other words, if you specify the value 2 - * and attempt to enumerate the lines of an environment that is 100 lines - * long, the value 3 will automatically be used for every line in the - * environment.)

- * - *

xalanWidth is taken from the $linenumbering.width parameter.

- * - *

The xalanSep string is inserted between the line - * number and the original program listing. Lines that aren't numbered - * are preceded by a xalanWidth blank string and the separator.

- * - *

xalanSep is taken from the $linenumbering.separator parameter.

- * - *

If inline markup extends across line breaks, markup changes are - * required. All the open elements are closed before the line break and - * "reopened" afterwards. The reopened elements will have the same - * attributes as the originals, except that 'name' and 'id' attributes - * are not duplicated.

- * - * @param xalanRTF The result tree fragment of the verbatim environment. - * - * @return The modified result tree fragment. - */ - public DocumentFragment numberLines (ExpressionContext context, - NodeIterator xalanNI) { - - int xalanMod = Params.getInt(context, "linenumbering.everyNth"); - int xalanWidth = Params.getInt(context, "linenumbering.width"); - String xalanSep = Params.getString(context, "linenumbering.separator"); - - DocumentFragment xalanRTF = (DocumentFragment) xalanNI.nextNode(); - int numLines = countLineBreaks(xalanRTF) + 1; - - DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance(); - DocumentBuilder docBuilder = null; - - try { - docBuilder = docFactory.newDocumentBuilder(); - } catch (ParserConfigurationException e) { - System.out.println("PCE!"); - return xalanRTF; - } - Document doc = docBuilder.newDocument(); - DocumentFragment df = doc.createDocumentFragment(); - DOMBuilder db = new DOMBuilder(doc, df); - - elementStack = new Stack(); - lineNumber = 0; - modulus = numLines < xalanMod ? 1 : xalanMod; - width = xalanWidth; - separator = xalanSep; - - double log10numLines = Math.log(numLines) / Math.log(10); - - if (width < log10numLines + 1) { - width = (int) Math.floor(log10numLines + 1); - } - - lineNumberFragment(db, xalanRTF); - return df; - } - - /** - *

Count the number of lines in a verbatim environment.

- * - *

This method walks over the nodes of a DocumentFragment and - * returns the number of lines breaks that it contains.

- * - * @param node The root of the tree walk over. - */ - private int countLineBreaks(Node node) { - int numLines = 0; - - if (node.getNodeType() == Node.DOCUMENT_FRAGMENT_NODE - || node.getNodeType() == Node.DOCUMENT_NODE - || node.getNodeType() == Node.ELEMENT_NODE) { - Node child = node.getFirstChild(); - while (child != null) { - numLines += countLineBreaks(child); - child = child.getNextSibling(); - } - } else if (node.getNodeType() == Node.TEXT_NODE) { - String text = node.getNodeValue(); - - // Walk through the text node looking for newlines - int pos = 0; - for (int count = 0; count < text.length(); count++) { - if (text.charAt(count) == '\n') { - numLines++; - } - } - } else { - // nop - } - - return numLines; - } - - /** - *

Build a DocumentFragment with numbered lines.

- * - *

This is the method that actually does the work of numbering - * lines in a verbatim environment. It recursively walks through a - * tree of nodes, copying the structure into the rtf. Text nodes - * are examined for new lines and modified as requested by the - * global line numbering parameters.

- * - *

When called, rtf should be an empty DocumentFragment and node - * should be the first child of the result tree fragment that contains - * the existing, formatted verbatim text.

- * - * @param rtf The resulting verbatim environment with numbered lines. - * @param node The root of the tree to copy. - */ - private void lineNumberFragment(DOMBuilder rtf, - Node node) { - try { - if (node.getNodeType() == Node.DOCUMENT_FRAGMENT_NODE - || node.getNodeType() == Node.DOCUMENT_NODE) { - Node child = node.getFirstChild(); - while (child != null) { - lineNumberFragment(rtf, child); - child = child.getNextSibling(); - } - } else if (node.getNodeType() == Node.ELEMENT_NODE) { - String ns = node.getNamespaceURI(); - String localName = node.getLocalName(); - String name = ((Element) node).getTagName(); - - rtf.startElement(ns, localName, name, - copyAttributes((Element) node)); - - elementStack.push(node); - - Node child = node.getFirstChild(); - while (child != null) { - lineNumberFragment(rtf, child); - child = child.getNextSibling(); - } - } else if (node.getNodeType() == Node.TEXT_NODE) { - String text = node.getNodeValue(); - - if (lineNumber == 0) { - // The first line is always numbered - formatLineNumber(rtf, ++lineNumber); - } - - // Walk through the text node looking for newlines - char chars[] = text.toCharArray(); - int pos = 0; - for (int count = 0; count < text.length(); count++) { - if (text.charAt(count) == '\n') { - // This is the tricky bit; if we find a newline, make sure - // it doesn't occur inside any markup. - - if (pos > 0) { - rtf.characters(chars, 0, pos); - pos = 0; - } - - closeOpenElements(rtf); - - // Copy the newline to the output - chars[pos++] = text.charAt(count); - rtf.characters(chars, 0, pos); - pos = 0; - - // Add the line number - formatLineNumber(rtf, ++lineNumber); - - openClosedElements(rtf); - } else { - chars[pos++] = text.charAt(count); - } - } - - if (pos > 0) { - rtf.characters(chars, 0, pos); - } - } else if (node.getNodeType() == Node.COMMENT_NODE) { - String text = node.getNodeValue(); - char chars[] = text.toCharArray(); - rtf.comment(chars, 0, text.length()); - } else if (node.getNodeType() == Node.PROCESSING_INSTRUCTION_NODE) { - rtf.processingInstruction(node.getNodeName(), node.getNodeValue()); - } else { - System.out.println("Warning: unexpected node type in lineNumberFragment"); - } - - if (node.getNodeType() == Node.ELEMENT_NODE) { - String ns = node.getNamespaceURI(); - String localName = node.getLocalName(); - String name = ((Element) node).getTagName(); - rtf.endElement(ns, localName, name); - elementStack.pop(); - } - } catch (SAXException e) { - System.out.println("SAX Exception in lineNumberFragment"); - } - } - - /** - *

Add a formatted line number to the result tree fragment.

- * - *

This method examines the global parameters that control line - * number presentation (modulus, width, and separator) and adds - * the appropriate text to the result tree fragment.

- * - * @param rtf The resulting verbatim environment with numbered lines. - * @param lineNumber The number of the current line. - */ - private void formatLineNumber(DOMBuilder rtf, - int lineNumber) { - char ch = 160; - String lno = ""; - if (lineNumber == 1 - || (modulus >= 1 && (lineNumber % modulus == 0))) { - lno = "" + lineNumber; - } - - while (lno.length() < width) { - lno = ch + lno; - } - - lno += separator; - - char chars[] = lno.toCharArray(); - try { - rtf.characters(chars, 0, lno.length()); - } catch (SAXException e) { - System.out.println("SAX Exception in formatLineNumber"); - } - } - - /** - *

Insert text callouts into a verbatim environment.

- * - *

This method examines the areaset and area elements - * in the supplied areaspec and decorates the supplied - * result tree fragment with appropriate callout markers.

- * - *

If a label attribute is supplied on an area, - * its content will be used for the label, otherwise the callout - * number will be used, surrounded by parenthesis. Callouts are - * numbered in document order. All of the areas in an - * areaset get the same number.

- * - *

Only the linecolumn and linerange units are - * supported. If no unit is specifed, linecolumn is assumed. - * If only a line is specified, the callout decoration appears in - * the defaultColumn. Lines will be padded with blanks to reach the - * necessary column, but callouts that are located beyond the last - * line of the verbatim environment will be ignored.

- * - *

Callouts are inserted before the character at the line/column - * where they are to occur.

- * - * @param areaspecNodeSet The source node set that contains the areaspec. - * @param xalanRTF The result tree fragment of the verbatim environment. - * @param defaultColumn The column for callouts that specify only a line. - * - * @return The modified result tree fragment. */ - - /** - *

Insert graphical callouts into a verbatim environment.

- * - *

This method examines the areaset and area elements - * in the supplied areaspec and decorates the supplied - * result tree fragment with appropriate callout markers.

- * - *

If a label attribute is supplied on an area, - * its content will be used for the label, otherwise the callout - * number will be used. Callouts are - * numbered in document order. All of the areas in an - * areaset get the same number.

- * - *

If the callout number is not greater than gMax, the - * callout generated will be:

- * - *
-   * <img src="$gPath/conumber$gExt" alt="conumber">
-   * 
- * - *

Otherwise, it will be the callout number surrounded by - * parenthesis.

- * - *

Only the linecolumn and linerange units are - * supported. If no unit is specifed, linecolumn is assumed. - * If only a line is specified, the callout decoration appears in - * the defaultColumn. Lines will be padded with blanks to reach the - * necessary column, but callouts that are located beyond the last - * line of the verbatim environment will be ignored.

- * - *

Callouts are inserted before the character at the line/column - * where they are to occur.

- * - * @param areaspecNodeSet The source node set that contains the areaspec. - * @param xalanRTF The result tree fragment of the verbatim environment. - * @param defaultColumn The column for callouts that specify only a line. - * @param gPath The path to use for callout graphics. - * @param gExt The extension to use for callout graphics. - * @param gMax The largest number that can be represented as a graphic. - * @param useFO Should fo:external-graphics be produced, as opposed to - * HTML imgs. This is bogus, the extension should figure it out, but I - * haven't figured out how to do that yet. - * - * @return The modified result tree fragment. - */ - - public DocumentFragment insertCallouts (ExpressionContext context, - NodeIterator areaspecNodeSet, - NodeIterator xalanNI) { - String type = Params.getString(context, "stylesheet.result.type"); - boolean useFO = type.equals("fo"); - int defaultColumn = Params.getInt(context, "callout.defaultcolumn"); - - if (Params.getBoolean(context, "callout.graphics")) { - String gPath = Params.getString(context, "callout.graphics.path"); - String gExt = Params.getString(context, "callout.graphics.extension"); - int gMax = Params.getInt(context, "callout.graphics.number.limit"); - return insertGraphicCallouts(areaspecNodeSet, xalanNI, defaultColumn, - gPath, gExt, gMax, useFO); - } else if (Params.getBoolean(context, "callout.unicode")) { - int uStart = Params.getInt(context, "callout.unicode.start.character"); - int uMax = Params.getInt(context, "callout.unicode.number.limit"); - return insertUnicodeCallouts(areaspecNodeSet, xalanNI, defaultColumn, - uStart, uMax, useFO); - } else if (Params.getBoolean(context, "callout.dingbats")) { - int dMax = 10; - return insertDingbatCallouts(areaspecNodeSet, xalanNI, defaultColumn, - dMax, useFO); - } else { - return insertTextCallouts(areaspecNodeSet, xalanNI, defaultColumn, useFO); - } - } - - public DocumentFragment insertGraphicCallouts (NodeIterator areaspecNodeSet, - NodeIterator xalanNI, - int defaultColumn, - String gPath, - String gExt, - int gMax, - boolean useFO) { - FormatGraphicCallout fgc = new FormatGraphicCallout(gPath,gExt,gMax,useFO); - return insertCallouts(areaspecNodeSet, xalanNI, defaultColumn, fgc); - } - - public DocumentFragment insertUnicodeCallouts (NodeIterator areaspecNodeSet, - NodeIterator xalanNI, - int defaultColumn, - int uStart, - int uMax, - boolean useFO) { - FormatUnicodeCallout fuc = new FormatUnicodeCallout(uStart, uMax, useFO); - return insertCallouts(areaspecNodeSet, xalanNI, defaultColumn, fuc); - } - - public DocumentFragment insertDingbatCallouts (NodeIterator areaspecNodeSet, - NodeIterator xalanNI, - int defaultColumn, - int gMax, - boolean useFO) { - FormatDingbatCallout fdc = new FormatDingbatCallout(gMax,useFO); - return insertCallouts(areaspecNodeSet, xalanNI, defaultColumn, fdc); - } - - public DocumentFragment insertTextCallouts (NodeIterator areaspecNodeSet, - NodeIterator xalanNI, - int defaultColumn, - boolean useFO) { - FormatTextCallout ftc = new FormatTextCallout(useFO); - return insertCallouts(areaspecNodeSet, xalanNI, defaultColumn, ftc); - } - - public DocumentFragment insertCallouts (NodeIterator areaspecNodeSet, - NodeIterator xalanNI, - int defaultColumn, - FormatCallout fCallout) { - - DocumentFragment xalanRTF = (DocumentFragment) xalanNI.nextNode(); - - callout = new Callout[10]; - calloutCount = 0; - calloutPos = 0; - lineNumber = 1; - colNumber = 1; - - // First we walk through the areaspec to calculate the position - // of the callouts - // - // - // - // - // - // - // - // - int pos = 0; - int coNum = 0; - boolean inAreaSet = false; - Node node = areaspecNodeSet.nextNode(); - node = node.getFirstChild(); - while (node != null) { - if (node.getNodeType() == Node.ELEMENT_NODE) { - if (node.getNodeName().equals("areaset")) { - coNum++; - Node area = node.getFirstChild(); - while (area != null) { - if (area.getNodeType() == Node.ELEMENT_NODE) { - if (area.getNodeName().equals("area")) { - addCallout(coNum, area, defaultColumn); - } else { - System.out.println("Unexpected element in areaset: " - + area.getNodeName()); - } - } - area = area.getNextSibling(); - } - } else if (node.getNodeName().equalsIgnoreCase("area")) { - coNum++; - addCallout(coNum, node, defaultColumn); - } else { - System.out.println("Unexpected element in areaspec: " - + node.getNodeName()); - } - } - - node = node.getNextSibling(); - } - - // Now sort them - java.util.Arrays.sort(callout, 0, calloutCount); - - DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance(); - DocumentBuilder docBuilder = null; - - try { - docBuilder = docFactory.newDocumentBuilder(); - } catch (ParserConfigurationException e) { - System.out.println("PCE 2!"); - return xalanRTF; - } - Document doc = docBuilder.newDocument(); - DocumentFragment df = doc.createDocumentFragment(); - DOMBuilder db = new DOMBuilder(doc, df); - - elementStack = new Stack(); - calloutFragment(db, xalanRTF, fCallout); - return df; - } - - /** - *

Build a FragmentValue with callout decorations.

- * - *

This is the method that actually does the work of adding - * callouts to a verbatim environment. It recursively walks through a - * tree of nodes, copying the structure into the rtf. Text nodes - * are examined for the position of callouts as described by the - * global callout parameters.

- * - *

When called, rtf should be an empty FragmentValue and node - * should be the first child of the result tree fragment that contains - * the existing, formatted verbatim text.

- * - * @param rtf The resulting verbatim environment with numbered lines. - * @param node The root of the tree to copy. - */ - private void calloutFragment(DOMBuilder rtf, - Node node, - FormatCallout fCallout) { - try { - if (node.getNodeType() == Node.DOCUMENT_FRAGMENT_NODE - || node.getNodeType() == Node.DOCUMENT_NODE) { - Node child = node.getFirstChild(); - while (child != null) { - calloutFragment(rtf, child, fCallout); - child = child.getNextSibling(); - } - } else if (node.getNodeType() == Node.ELEMENT_NODE) { - String ns = node.getNamespaceURI(); - String localName = node.getLocalName(); - String name = ((Element) node).getTagName(); - - rtf.startElement(ns, localName, name, - copyAttributes((Element) node)); - - elementStack.push(node); - - Node child = node.getFirstChild(); - while (child != null) { - calloutFragment(rtf, child, fCallout); - child = child.getNextSibling(); - } - } else if (node.getNodeType() == Node.TEXT_NODE) { - String text = node.getNodeValue(); - - char chars[] = text.toCharArray(); - int pos = 0; - for (int count = 0; count < text.length(); count++) { - if (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() == colNumber) { - if (pos > 0) { - rtf.characters(chars, 0, pos); - pos = 0; - } - - closeOpenElements(rtf); - - while (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() == colNumber) { - fCallout.formatCallout(rtf, callout[calloutPos]); - calloutPos++; - } - - openClosedElements(rtf); - } - - if (text.charAt(count) == '\n') { - // What if we need to pad this line? - if (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() > colNumber) { - - if (pos > 0) { - rtf.characters(chars, 0, pos); - pos = 0; - } - - closeOpenElements(rtf); - - while (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() > colNumber) { - formatPad(rtf, callout[calloutPos].getColumn() - colNumber); - colNumber = callout[calloutPos].getColumn(); - while (calloutPos < calloutCount - && callout[calloutPos].getLine() == lineNumber - && callout[calloutPos].getColumn() == colNumber) { - fCallout.formatCallout(rtf, callout[calloutPos]); - calloutPos++; - } - } - - openClosedElements(rtf); - } - - lineNumber++; - colNumber = 1; - } else { - colNumber++; - } - chars[pos++] = text.charAt(count); - } - - if (pos > 0) { - rtf.characters(chars, 0, pos); - } - } else if (node.getNodeType() == Node.COMMENT_NODE) { - String text = node.getNodeValue(); - char chars[] = text.toCharArray(); - rtf.comment(chars, 0, text.length()); - } else if (node.getNodeType() == Node.PROCESSING_INSTRUCTION_NODE) { - rtf.processingInstruction(node.getNodeName(), node.getNodeValue()); - } else { - System.out.println("Warning: unexpected node type in calloutFragment: " + node.getNodeType() + ": " + node.getNodeName()); - } - - if (node.getNodeType() == Node.ELEMENT_NODE) { - String ns = node.getNamespaceURI(); - String localName = node.getLocalName(); - String name = ((Element) node).getTagName(); - rtf.endElement(ns, localName, name); - elementStack.pop(); - } else { - // nop - } - } catch (SAXException e) { - System.out.println("SAX Exception in calloutFragment"); - } - } - - /** - *

Add a callout to the global callout array

- * - *

This method examines a callout area and adds it to - * the global callout array if it can be interpreted.

- * - *

Only the linecolumn and linerange units are - * supported. If no unit is specifed, linecolumn is assumed. - * If only a line is specified, the callout decoration appears in - * the defaultColumn.

- * - * @param coNum The callout number. - * @param node The area. - * @param defaultColumn The default column for callouts. - */ - private void addCallout (int coNum, - Node node, - int defaultColumn) { - Element area = (Element) node; - - String units = area.getAttribute("units"); - String otherUnits = area.getAttribute("otherunits"); - String coords = area.getAttribute("coords"); - int type = 0; - String otherType = null; - - if (units == null || units.equals("linecolumn")) { - type = Callout.LINE_COLUMN; // the default - } else if (units.equals("linerange")) { - type = Callout.LINE_RANGE; - } else if (units.equals("linecolumnpair")) { - type = Callout.LINE_COLUMN_PAIR; - } else if (units.equals("calspair")) { - type = Callout.CALS_PAIR; - } else { - type = Callout.OTHER; - otherType = otherUnits; - } - - if (type != Callout.LINE_COLUMN - && type != Callout.LINE_RANGE) { - System.out.println("Only linecolumn and linerange units are supported"); - return; - } - - if (coords == null) { - System.out.println("Coords must be specified"); - return; - } - - // Now let's see if we can interpret the coordinates... - StringTokenizer st = new StringTokenizer(coords); - int tokenCount = 0; - int c1 = 0; - int c2 = 0; - while (st.hasMoreTokens()) { - tokenCount++; - if (tokenCount > 2) { - System.out.println("Unparseable coordinates"); - return; - } - try { - String token = st.nextToken(); - int coord = Integer.parseInt(token); - c2 = coord; - if (tokenCount == 1) { - c1 = coord; - } - } catch (NumberFormatException e) { - System.out.println("Unparseable coordinate"); - return; - } - } - - // Make sure we aren't going to blow past the end of our array - if (calloutCount == callout.length) { - Callout bigger[] = new Callout[calloutCount+10]; - for (int count = 0; count < callout.length; count++) { - bigger[count] = callout[count]; - } - callout = bigger; - } - - // Ok, add the callout - if (tokenCount == 2) { - if (type == Callout.LINE_RANGE) { - for (int count = c1; count <= c2; count++) { - callout[calloutCount++] = new Callout(coNum, area, - count, defaultColumn, - type); - } - } else { - // assume linecolumn - callout[calloutCount++] = new Callout(coNum, area, c1, c2, type); - } - } else { - // if there's only one number, assume it's the line - callout[calloutCount++] = new Callout(coNum, area, c1, defaultColumn, type); - } - } - - /** - *

Add blanks to the result tree fragment.

- * - *

This method adds numBlanks to the result tree fragment. - * It's used to pad lines when callouts occur after the last existing - * characater in a line.

- * - * @param rtf The resulting verbatim environment with numbered lines. - * @param numBlanks The number of blanks to add. - */ - private void formatPad(DOMBuilder rtf, - int numBlanks) { - char chars[] = new char[numBlanks]; - for (int count = 0; count < numBlanks; count++) { - chars[count] = ' '; - } - - try { - rtf.characters(chars, 0, numBlanks); - } catch (SAXException e) { - System.out.println("SAX Exception in formatCallout"); - } - } - - private void closeOpenElements(DOMBuilder rtf) - throws SAXException { - // Close all the open elements... - tempStack = new Stack(); - while (!elementStack.empty()) { - Node elem = (Node) elementStack.pop(); - - String ns = elem.getNamespaceURI(); - String localName = elem.getLocalName(); - String name = ((Element) elem).getTagName(); - - // If this is the bottom of the stack and it's an fo:block - // or an HTML pre or div, don't duplicate it... - if (elementStack.empty() - && (((ns != null) - && ns.equals(foURI) - && localName.equals("block")) - || (((ns == null) - && localName.equalsIgnoreCase("pre")) - || ((ns != null) - && ns.equals(xhURI) - && localName.equals("pre"))) - || (((ns == null) - && localName.equalsIgnoreCase("div")) - || ((ns != null) - && ns.equals(xhURI) - && localName.equals("div"))))) { - elementStack.push(elem); - break; - } else { - rtf.endElement(ns, localName, name); - tempStack.push(elem); - } - } - } - - private void openClosedElements(DOMBuilder rtf) - throws SAXException { - // Now "reopen" the elements that we closed... - while (!tempStack.empty()) { - Node elem = (Node) tempStack.pop(); - - String ns = elem.getNamespaceURI(); - String localName = elem.getLocalName(); - String name = ((Element) elem).getTagName(); - NamedNodeMap domAttr = elem.getAttributes(); - - AttributesImpl attr = new AttributesImpl(); - for (int acount = 0; acount < domAttr.getLength(); acount++) { - Node a = domAttr.item(acount); - - if (((ns == null || ns == "http://www.w3.org/1999/xhtml") - && localName.equalsIgnoreCase("a")) - || (a.getLocalName().equalsIgnoreCase("id"))) { - // skip this attribute - } else { - attr.addAttribute(a.getNamespaceURI(), - a.getLocalName(), - a.getNodeName(), - "CDATA", - a.getNodeValue()); - } - } - - rtf.startElement(ns, localName, name, attr); - elementStack.push(elem); - } - - tempStack = null; - } - - private Attributes copyAttributes(Element node) { - AttributesImpl attrs = new AttributesImpl(); - NamedNodeMap nnm = node.getAttributes(); - for (int count = 0; count < nnm.getLength(); count++) { - Attr attr = (Attr) nnm.item(count); - String name = attr.getName(); - if (name.startsWith("xmlns:") || name.equals("xmlns")) { - // Skip it; (don't ya just love it!!) - } else { - attrs.addAttribute(attr.getNamespaceURI(), attr.getName(), - attr.getName(), "CDATA", attr.getValue()); - } - } - return attrs; - } -} diff --git a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/package.html b/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/package.html deleted file mode 100644 index 92224fa85..000000000 --- a/lib/docbook/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/package.html +++ /dev/null @@ -1,48 +0,0 @@ - - -Norman Walsh's Xalan Extensions Package - - -

Norman Walsh's Xalan Extensions Package for Xalan2

- -

This package implements Xalan extensions for XSLT.

- -

Copyright (C) 2000 Norman Walsh

-

Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions:

- -

The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software.

- -

Except as contained in this notice, the names of individuals -credited with contribution to this software shall not be used in -advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the -individuals in question.

- -

Anything derived from this Software that is publically -distributed will be identified with a different name and the -version strings in any derived Software will be changed so that no -possibility of confusion between the derived package and this -Software will exist.

- - -
-

Warranty

-

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER -CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE.

-
- - - diff --git a/lib/docbook/docbook-xsl/fo/ChangeLog b/lib/docbook/docbook-xsl/fo/ChangeLog deleted file mode 100644 index 21c4d0738..000000000 --- a/lib/docbook/docbook-xsl/fo/ChangeLog +++ /dev/null @@ -1,240 +0,0 @@ -2001-08-09 Norman Walsh - - * component.xsl, titlepage.templates.xml, titlepage.xsl: - Support colophon - - * graphics.xsl: Forgot curly braces in AVT for height/width - - * inline.xsl: Remark|comment must be formatted as a block in case it appears at the paragraph-level in a component - -2001-08-05 Norman Walsh - - * callout.xsl, param.xsl: Removed the FormatDingbatCallout classes, they were the same as the FormatUnicodeCallout classes but with a font wrapper. Added a callout.unicode.font parameter to wrap Unicode callouts - -2001-08-02 Robert Stayton - - * xref.xsl: Changed with endterm to process the children nodes - and not just the text by calling a new mode="endterm" template. - - Also changed to process its endterm if the element content - is empty. - - Also changed the first use of name() to local-name() to - match the others in the file and in html/xref.xsl. - -2001-08-01 Norman Walsh - - * graphics.xsl: Use mediaobject.filename to calculate graphic reference - - * inline.xsl: Changed vertical-align to baseline-shift; vertical-align is a shortcut - - * sections.xsl: Added templates to suppress titleabbrev - - * table.xsl: Support table widths - - * titlepage.templates.xml, titlepage.xsl: Present othercredit on titlepages - -2001-07-31 Norman Walsh - - * fop.xsl, xep.xsl: Fixes for PDF bookmarks by Pavel Zampach - -2001-07-21 Norman Walsh - - * block.xsl, param.xsl: Fix title-end punctuation problems on formalparas - -2001-07-16 Norman Walsh - - * table.xsl: Process thead/tbody/tfoot in the right order (thead/tfoot/tbody) - - * table.xsl: Add template for tfoot - -2001-07-15 Norman Walsh - - * graphics.xsl: Fixed graphic height/width calculations - - * table.xsl: Output column number when namest is used - - * titlepage.xsl: Fix duplicate template bug - -2001-07-08 Norman Walsh - - * qandaset.xsl: Improve QandA formatting; make question bold if defaultlabel=none (FR #419315) - - * sections.xsl, xref.xsl: Support xref to bridgehead - -2001-07-05 Norman Walsh - - * lists.xsl, param.xsl: Added format.variablelist.as.list parameter - -2001-07-04 - - * biblio.xsl, param.xsl, xref.xsl: Support an external bibliography collection - - * docbook.xsl: Turn of indentation - - * fo.xsl, param.xsl: Added dingbat.font.family - - * qandaset.xsl: Bug #426166, fix duplicate id on qandaentry formatting - - * qandaset.xsl, xref.xsl: Bug #429011, fix xref to qandset elements - - * sections.xsl: Removed debugging messages; added prio for section title template - - * titlepage.templates.xml, titlepage.xsl: Remove internal references to *.titlepage.recto.mode and *.titlepage.verso.mode - -2001-06-22 Norman Walsh - - * docbook.xsl, ebnf.xsl: Support EBNF - - * docbook.xsl, xep.xsl: Fix XEP support for pdf bookmarks - - * inline.xsl: Support linkend to glossentry on glossterm - - * param.xsl, xep.xsl: Initial cut at bookmark and info support for RenderX's XEP--doesn't work yet - - * synop.xsl: Support SBR - - * xref.xsl: Support anchor - -2001-06-21 Norman Walsh - - * lists.xsl, param.xsl, xref.xsl: Use common code to calculate step numbers; support xref to procedures and steps; added formal.procedures parameter - -2001-06-20 Norman Walsh - - * refentry.xsl: Bug 434102: fix refentry inside of chapter and fix refsynopsisdiv formatting in both FO and HTML - - * titlepage.xsl, xref.xsl: Use person.name.list to generate author lists; put IDs on authors and author groups if appropriate; support xref to authorgroup - -2001-06-19 Norman Walsh - - * formal.xsl, param.xsl: Fix formatting of formal object titles. - -2001-06-15 Norman Walsh - - * graphics.xsl: Remove file:; why was I doing this? - -2001-06-14 Norman Walsh - - * sections.xsl: Bug fix: section autolabelling wasn't working in division bodies - - * titlepage.templates.xml: Changed text-alignment on centered titles to be 'center' rather than 'justify' - - * xref.xsl: Added anchor template - -2001-06-13 Norman Walsh - - * graphics.xsl, param.xsl: Support Arbortext extensions--at the moment, just to turn off the url() stuff in external graphic references - - * titlepage.xsl: Bug fix: make a single author in an authorgroup work correctly - -2001-06-08 Norman Walsh - - * callout.xsl, inline.xsl, synop.xsl: Fixed some unparameterized references to specific font families - -2001-06-04 Norman Walsh - - * block.xsl: Made blockquote indent more reasonable - - * graphics.xsl: Omit the url() wrapper around external-graphic srcs for FOP and PT - -2001-05-23 Norman Walsh - - * graphics.xsl: Fix dup. template bug with is.graphic.* - - * titlepage.xsl: Add template for publisher - -2001-05-21 Norman Walsh - - * callout.xsl, verbatim.xsl: Move calculation of linenumber.* parameters into the number.rtf.lines template - - * titlepage.templates.xml: Reworked titlepage template processing to support use of more interesting - predicates. - - Note: in previous versions, at most one title, subtitle, or titleabbrev - element would be processed for each title page. In the new design, if you - have multiple title, subtitle, or titleabbrev elements inside an info - wrapper (you shouldn't!), they will all be processed. - -2001-05-18 Norman Walsh - - * sections.xsl: Fix subtitle bug - -2001-05-12 Norman Walsh - - * sections.xsl: Calculate the heading level for bridgeheads - -2001-05-04 Norman Walsh - - * docbook.xsl: Replace hardcoded values on fo:root with parameters - -2001-05-03 Norman Walsh - - * biblio.xsl: Render author names correctly in bibliomixed mode - - * graphics.xsl: Tweak available graphics formats - - * inline.xsl: Added support for class="xmlpi" and "emptytag". - Rendering of attributes is in sync with HTML stylesheet (monospace instead of normal). - - * param.xsl, verbatim.xsl: Created verbatim and monospace.verbatim property sets - - * table.xsl: Process head/body/foot in the right order - -2001-04-26 Norman Walsh - - * lists.xsl: Improve procedure step/substep enumeration - -2001-04-21 Norman Walsh - - * qandaset.xsl: My first crude attempts at support for qandaset - -2001-04-20 Norman Walsh - - * autoidx.xsl: Remove variable references from key functions; use entities instead. - -2001-04-19 Norman Walsh - - * inline.xsl: Add template for constant - -2001-04-17 Norman Walsh - - * component.xsl, division.xsl: Add templates for partinfo, chapterinfo, and appendixinfo - - * component.xsl, pagesetup.xsl: Use the new gentext scheme for component titles and running headers - - * docbook.xsl: Print warning message when an unhandled tag is encountered - - * docbook.xsl, param.xsl: Move label.from.part parameter into param.xsl; default it to 0 so that chapters and appendixes are numbered monotonically throughout a book by default. Moved param.xsl up in the include list, just for good measure - -2001-04-16 Norman Walsh - - * glossary.xsl: Improve formatting of glossseealso - - * table.xsl: Fix typo: used xsl:param where xsl:variable was required - -2001-04-15 Norman Walsh - - * division.xsl: Use new toc/lot parameters - - * docbook.xsl: Removed unused variable declaration - - * formal.xsl: Fixed typo - - * param.xsl: Added some new parameters - - * toc.xsl: Support DocBook toc markup - -2001-04-03 Norman Walsh - - * callout.xsl: Fix bug 412487, make XSL-generated callout marks honor callout mark parameters - - * param.xsl: Documentation fixes - -2001-04-02 Norman Walsh - - * .cvsignore, Makefile, admon.xsl, autoidx.xsl, autotoc.xsl, biblio.xsl, block.xsl, callout.xsl, component.xsl, division.xsl, docbook.xsl, fo.xsl, footnote.xsl, fop.xsl, formal.xsl, glossary.xsl, graphics.xsl, index.xsl, info.xsl, inline.xsl, keywords.xsl, lists.xsl, math.xsl, pagesetup.xsl, param.xsl, pi.xsl, qandaset.xsl, refentry.xsl, sections.xsl, synop.xsl, table.xsl, titlepage.templates.xml, titlepage.xsl, toc.xsl, verbatim.xsl, xref.xsl: - New file. - - * Makefile: Use the cvstools version of saxon - diff --git a/lib/docbook/docbook-xsl/fo/admon.xsl b/lib/docbook/docbook-xsl/fo/admon.xsl deleted file mode 100644 index d05ce16fb..000000000 --- a/lib/docbook/docbook-xsl/fo/admon.xsl +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - 36pt - - - - - - - note - warning - caution - tip - important - note - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/autoidx.xsl b/lib/docbook/docbook-xsl/fo/autoidx.xsl deleted file mode 100644 index c1098ae31..000000000 --- a/lib/docbook/docbook-xsl/fo/autoidx.xsl +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/autotoc.xsl b/lib/docbook/docbook-xsl/fo/autotoc.xsl deleted file mode 100644 index 290877fa8..000000000 --- a/lib/docbook/docbook-xsl/fo/autotoc.xsl +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - TableofContents - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/biblio.xsl b/lib/docbook/docbook-xsl/fo/biblio.xsl deleted file mode 100644 index 0c77d944d..000000000 --- a/lib/docbook/docbook-xsl/fo/biblio.xsl +++ /dev/null @@ -1,1023 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No bibliography entry: - - found in - - - - Error: no bibliography entry: - - found in - - - - - - - - - - - - - - - - - - - - - - - - - - No bibliography entry: - - found in - - - - Error: no bibliography entry: - - found in - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ - - ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ldquo - - - - rdquo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - copyright - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ldquo - - - - rdquo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/block.xsl b/lib/docbook/docbook-xsl/fo/block.xsl deleted file mode 100644 index 7257b53f7..000000000 --- a/lib/docbook/docbook-xsl/fo/block.xsl +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/callout.xsl b/lib/docbook/docbook-xsl/fo/callout.xsl deleted file mode 100644 index 4de1e9062..000000000 --- a/lib/docbook/docbook-xsl/fo/callout.xsl +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Don't know how to do callouts with - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Don't know how to generate Unicode callouts - when $callout.unicode.start.character is - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/component.xsl b/lib/docbook/docbook-xsl/fo/component.xsl deleted file mode 100644 index 6d2261d7a..000000000 --- a/lib/docbook/docbook-xsl/fo/component.xsl +++ /dev/null @@ -1,400 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/division.xsl b/lib/docbook/docbook-xsl/fo/division.xsl deleted file mode 100644 index 6bf12777e..000000000 --- a/lib/docbook/docbook-xsl/fo/division.xsl +++ /dev/null @@ -1,359 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/docbook.xsl b/lib/docbook/docbook-xsl/fo/docbook.xsl deleted file mode 100644 index 01796a9cb..000000000 --- a/lib/docbook/docbook-xsl/fo/docbook.xsl +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - encountered, but no template matches. - - - < - - > - - </ - - > - - - - - - - - - - Making - - pages on - - paper ( - - x - - ) - - - - - - - - - [could not find document title] - - - - - - - - - - - - - - ID ' - - ' not found in document. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/ebnf.xsl b/lib/docbook/docbook-xsl/fo/ebnf.xsl deleted file mode 100644 index b39113c68..000000000 --- a/lib/docbook/docbook-xsl/fo/ebnf.xsl +++ /dev/null @@ -1,318 +0,0 @@ - - - - - - - - -$Id: ebnf.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - -Walsh -Norman -199920002001 -Norman Walsh - - -HTML EBNF Reference - - -
Introduction - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - -This reference describes the templates and parameters relevant -to formatting EBNF markup. - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ - - ] - - - - - - - - - - - - - - - - - - - - - - ::= - - - - - - - - - - - - - - - - -   - - - - - - - - - - - - - - Error: no ID for productionrecap linkend: - - . - - - - - - Warning: multiple "IDs" for productionrecap linkend: - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - production - - - - - - - - - Non-terminals with no content must point to - production elements in the current document. - - - Invalid xpointer for empty nt: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ??? - - - - - - - - - - - - - /*  - -  */ - - - - - - - - - - constraintdef - - - - - - - - - - - - - - - - - - - : - - - - - - - : - - - - - - - - - -  ] - - - - - - - - - - - - - - - - - -
diff --git a/lib/docbook/docbook-xsl/fo/fo.xsl b/lib/docbook/docbook-xsl/fo/fo.xsl deleted file mode 100644 index 2b13a1328..000000000 --- a/lib/docbook/docbook-xsl/fo/fo.xsl +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - bullet - - - o - © - - - ® - (SM) - " - " - ' - ' - -- - - - o - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/footnote.xsl b/lib/docbook/docbook-xsl/fo/footnote.xsl deleted file mode 100644 index 05c561d8b..000000000 --- a/lib/docbook/docbook-xsl/fo/footnote.xsl +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - [ - - ] - - - - - - - - - - - [ - - ] - - - - - - - - - - - - - - [ - - ] - - - - - diff --git a/lib/docbook/docbook-xsl/fo/fop.xsl b/lib/docbook/docbook-xsl/fo/fop.xsl deleted file mode 100644 index ed1939322..000000000 --- a/lib/docbook/docbook-xsl/fo/fop.xsl +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/formal.xsl b/lib/docbook/docbook-xsl/fo/formal.xsl deleted file mode 100644 index 268d7f15d..000000000 --- a/lib/docbook/docbook-xsl/fo/formal.xsl +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fixed - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fixed - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/glossary.xsl b/lib/docbook/docbook-xsl/fo/glossary.xsl deleted file mode 100644 index 7ddbd3c19..000000000 --- a/lib/docbook/docbook-xsl/fo/glossary.xsl +++ /dev/null @@ -1,304 +0,0 @@ - - - - - - - -2in -0.25in - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/graphics.xsl b/lib/docbook/docbook-xsl/fo/graphics.xsl deleted file mode 100644 index 577c12343..000000000 --- a/lib/docbook/docbook-xsl/fo/graphics.xsl +++ /dev/null @@ -1,341 +0,0 @@ - - - - - - - - - - - - - 1 - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % - auto - - - - - - - - - - - - auto - - - - - - - - - - - - auto - - - - - - - - - - - 0 - - - - - - - - - - - scale-to-fit - auto - - - - - - - - - scale-to-fit - auto - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Don't know how to insert files with - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Don't know how to insert files with - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/index.xsl b/lib/docbook/docbook-xsl/fo/index.xsl deleted file mode 100644 index 05ac09ba2..000000000 --- a/lib/docbook/docbook-xsl/fo/index.xsl +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - , - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/info.xsl b/lib/docbook/docbook-xsl/fo/info.xsl deleted file mode 100644 index b47b20169..000000000 --- a/lib/docbook/docbook-xsl/fo/info.xsl +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/inline.xsl b/lib/docbook/docbook-xsl/fo/inline.xsl deleted file mode 100644 index b110b945e..000000000 --- a/lib/docbook/docbook-xsl/fo/inline.xsl +++ /dev/null @@ -1,608 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - element - - - - - - - - - - - - - - - - - </ - - > - - - - - - - & - - ; - - - - - - - &# - - ; - - - - - - - % - - ; - - - - - - - <? - - > - - - - - - - <? - - ?> - - - - - - - < - - > - - - - - - - < - - /> - - - - - - - <!-- - - --> - - - - - - - - - - - - - < - - > - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - - - - - - - - - - - -> - - + - - - - - - - - - - - - - - - - - - - - - [ - - ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/keywords.xsl b/lib/docbook/docbook-xsl/fo/keywords.xsl deleted file mode 100644 index 1eb578506..000000000 --- a/lib/docbook/docbook-xsl/fo/keywords.xsl +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/lists.xsl b/lib/docbook/docbook-xsl/fo/lists.xsl deleted file mode 100644 index 7a88adcd6..000000000 --- a/lib/docbook/docbook-xsl/fo/lists.xsl +++ /dev/null @@ -1,589 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - em - - - - 1in - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - 1 - - - - - - - - - 1 - 1 - - - - - - - - - - - - - - - - - - - - 1 - 1 - - 1 - - - - - - - - - - - - - - - - - - - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - 1 - 1 - 1 - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - : ??? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ??? - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/math.xsl b/lib/docbook/docbook-xsl/fo/math.xsl deleted file mode 100644 index 2ea3fdc04..000000000 --- a/lib/docbook/docbook-xsl/fo/math.xsl +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/pagesetup.xsl b/lib/docbook/docbook-xsl/fo/pagesetup.xsl deleted file mode 100644 index 4aa04dd5a..000000000 --- a/lib/docbook/docbook-xsl/fo/pagesetup.xsl +++ /dev/null @@ -1,431 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - titlepage2 - - twoside2 - - - - - - - - titlepage1 - - twoside1 - - - - - - - - titlepage2 - - oneside2 - - - - - - - - titlepage1 - - oneside1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/fo/param.xsl b/lib/docbook/docbook-xsl/fo/param.xsl deleted file mode 100644 index bdf3b485d..000000000 --- a/lib/docbook/docbook-xsl/fo/param.xsl +++ /dev/null @@ -1,1268 +0,0 @@ - - - - - - - - -$Id: param.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -Formatting Object Parameter Reference - - -
Introduction - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - -This reference describes each of the Formatting Object -Stylesheet parameters. These are the easily -customizable parts of the stylesheet. If you want to specify -an alternate value for one or more of these parameters, you can do so -in a driver stylesheet. - -For example, if you want to turn on automatic section numbering, -you might create a driver stylesheet like this: - - - - - - - -]]> - -Naturally, you have to change the -href attribute on -<xsl:import> -to point to docbook.xsl -on your system. - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) -
-
-
- - -docbook.css -text/css - - -kr - - - - -../images/ - - - - - -Extension for admonition graphics - -Sets the extension to use on admonition graphics. - - - - - - - - - - -. - - - - - -Are divisions in QAndASets enumerated? - -If true (non-zero), unlabeled qandadivs will be enumerated. - - - - - - - - -Does enumeration of QandASet components inherit the numeration of parent elements? - -If true (non-zero), numbered QandADiv elements and Questions and Answers inherit -the numeration of the ancestors of the QandASet. - - - - - - - - - -Default extension for graphic filenames - -If a graphic or mediaobject -includes a reference to a filename that does not include an extension, -and the format attribute is -unspecified, the default extension will be used. - - - - - - - 0.5em - 1em - 2em - 0.5em - 1em - 2em - always - - - - - bold - 12pt - false - always - - - -Properties of formal object titles - -This attribute set is used to specify the properties of formal -object titles. - - - - - - - 2em - 1.8em - 2.2em - bold - 18pt - 1.5em - 1.3em - 1.8em - false - always - - - -Properties of component titles - -This attribute set is used to specify the properties of component -titles. - - - - - - - 14pt - bold - false - always - - - -Properties of admonition titles - -This attribute set is used to specify the properties of admonition -titles. - - - - - - - 0.5em - 1em - 2em - 0.5em - 1em - 2em - - - - - 0.8em - 1em - 1.2em - - - - - - - - - - pt - - - - - - - - - -Visual properties of hotlinks - -This attribute set is used to specify properties of xrefs - - - - - - - -Turns page numbers in xrefs on and off - -When equal to 1, this parameter triggers generation of page -number citations after xrefs. - - - - - - - 1em - 0.8em - 1.2em - - - -Spacing properties of normal paragraphs - -This attribute set is used to specify the spacing properties -of normal paragraphs. - - - - - - - - 1em - 0.8em - 1.2em - - - -Spacing properties of list blocks - -This attribute set is used to specify the spacing properties -of list blocks. - - - - - - - - 1em - 0.8em - 1.2em - - - -Spacing properties of list items - -This attribute set is used to specify the spacing properties -of list items. - - - - - - - - -Specify the root element to format - -If rootid is specified, it must be the -value of an ID that occurs in the document being formatted. The entire -document will be loaded and parsed, but formatting will begin at the -element identified, rather than at the root. For example, this allows -you to process only chapter 4 of a book. -Because the entire document is available to the processor, automatic -numbering, cross references, and other dependencies are correctly -resolved. - - - - - - - -Use graphics for callouts? - -If non-zero, callouts are presented with graphics (e.g., reverse-video -circled numbers instead of "(1)", "(2)", etc.). -Default graphics are provided in the distribution. - - - - - - - - -First character to use for Unicode callouts - -If non-zero, callouts are presented with Unicode characters -starting with the character specified. Zero indicates that Unicode -callouts should not be used. - - - - - - - - -Font to use for Unicode dingbats - -The name of the font to specify around Unicode callout glyphs. -If set to the empty string, no font change will occur. - - - - - - - - -Number of the largest callout graphic - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - - - -Number of the largest callout graphic - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - - - -Extension for callout graphics - -Sets the extension to use on callout graphics. - - - - - - - -Path to callout graphics - -Sets the path, probably relative to the directory where the HTML -files are created, to the callout graphics. - - - - - - - - -Number of the largest callout graphic - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - - - -Enable extensions - -If non-zero, extensions may be used. Each extension is -further controlled by its own parameter. But if -use.extensions is zero, no extensions will -be used. - - - - - - - - -Enable the textinsert extension element - -The textinsert extension element inserts the contents of a -a file into the result tree (as text). - - - - - - - - -Enable the line numbering extension - -If true, verbatim environments (elements that have the -format='linespecific' notation attribute: address, literallayout, -programlisting, screen, synopsis) that specify line numbering will -have, surprise, line numbers. - - - - - - - - -Indicate which lines should be numbered - -If line numbering is enabled, everyNth line will be numbered. - - - - - - - - -Indicates the width of line numbers - -If line numbering is enabled, line numbers will appear right -justified in a field "width" characters wide. - - - - - - - - -Specify a separator between line numbers and lines - -The separator is inserted between line numbers and lines in -the verbatim environment. - - - - - - - - -Enable the callout extension - -The callouts extension processes areaset -elements in ProgramListingCO and other text-based -callout elements. - - - - - - - - -Indicates what column callouts appear in by default - -If a callout does not identify a column (for example, if it uses -the linerange unit), -it will appear in the default column. - - - - - - - - -Enable the table columns extension function - -The table columns extension function adjusts the widths of table -columns in the HTML result to more accurately reflect the specifications -in the CALS table. - - - - - - - - -The (absolute) nominal width of tables - -In order to convert CALS column widths into FO column widths, it -is sometimes necessary to have an absolute table width to use for conversion -of mixed absolute and relative widths. This value must be an absolute -length (not a percentage). - - - - - - - -The default width of tables - -If specified, this value will be used for the WIDTH attribute on -tables that do not specify an alternate width (with the dbhtml processing -instruction). - - - - - - -Select the paper type - -The paper type is a convenient way to specify the paper size. -The list of known paper sizes includes USletter and most of the A, -B, and C sizes. See page.width.portrait, for example. - - - - - - - -Select the page orientation - -In portrait orientation, the short edge is horizontal; in -landscape orientation, it is vertical. - - - - - - - - 8.5in - 1682mm - 1189mm - 841mm - 594mm - 420mm - 297mm - 210mm - 148mm - 105mm - 74mm - 52mm - 37mm - 26mm - 1000mm - 707mm - 500mm - 353mm - 250mm - 176mm - 125mm - 88mm - 62mm - 44mm - 31mm - 917mm - 648mm - 458mm - 324mm - 229mm - 162mm - 114mm - 81mm - 57mm - 40mm - 28mm - 8.5in - - - - -Specify the physical size of the short edge of the page - -The portrait page width is the length of the short -edge of the physical page. - - - - - - - - 210mm - 11in - 8.5in - 2378mm - 1682mm - 1189mm - 841mm - 594mm - 420mm - 297mm - 210mm - 148mm - 105mm - 74mm - 52mm - 37mm - 1414mm - 1000mm - 707mm - 500mm - 353mm - 250mm - 176mm - 125mm - 88mm - 62mm - 44mm - 1297mm - 917mm - 648mm - 458mm - 324mm - 229mm - 162mm - 114mm - 81mm - 57mm - 40mm - 11in - - - - -Specify the physical size of the long edge of the page - -The portrait page height is the length of the long -edge of the physical page. - - - - - - - - - - - - - - - - - -The width of the physical page - -The page width is generally calculated from the -paper.type and -page.orientation. - - - - - - - - - - - - - - - - - -The height of the physical page - -The page height is generally calculated from the -paper.type and -page.orientation. - - - - - - - - -Is the document to be printed double sided? - -Double-sided documents are printed with a slightly wider margin -on the binding edge of the page. - -FIXME: The current set of parameters does not take writing direction -into account. - - - - - - - -Specifies the number of columns of text on the page - -The specified number of columns of text will appear on each page. - - - - - - - - -Specifies the height of the footer. - -The region after extent is the height of the area where footers -are printed. - - - - - - - - -Specifies the height of the header - -The region before extent is the height of the area where headers -are printed. - - - - - -1in - - -The top margin of the page - -The top page margin is the distance from the physical top of the -page to the first line of text (body or header). - - - - - -1in - - -The bottom margin of the page - -The bottom page margin is the distance from the physical bottom of -the page to the last line of text (body or footer). - - - - - - - - 1.25in - 1in - - - - -The inner page margin - -The inner page margin is the distance from binding edge of the -page to the first column of text. In the left-to-right, top-to-bottom writing -direction, this is the left margin of recto pages. -The inner and outer margins are usually the same unless the output -is double-sided. - - - - - - - - 0.75in - 10pc - - - - -The outer page margin - -The outer page margin is the distance from non-binding edge of the -page to the last column of text. In the left-to-right, top-to-bottom writing -direction, this is the right margin of recto pages. -The inner and outer margins are usually the same unless the output -is double-sided. - - - - - -24pt - - -The bottom margin of the body text - -The body bottom margin is the distance from the last line of text -in the page body to the bottom page margin. Note that the page footer, if -any, appears in the space between the body bottom margin and the page -bottom margin. - - - - - -24pt - - -FIXME: - -The body top margin is the distance from the page top margin to -the first line of text -in the page body. Note that the page header, if -any, appears in the space between the page top margin and the body -top margin. - - - - - -Times Roman - - -The default font family for body text - -The body font family is the default font used for text in the page body. - - - - - -Helvetica - - -The default font family for titles - -The title font family is used for titles (chapter, section, figure, -etc.) - - - - - -Courier - - -The default font family for monospace environments - -The monospace font family is used for verbatim environments -(program listings, screens, etc.). - - - - - -Helvetica - - -The default sans-serif font family - -The default sans-serif font family. At the present, this isn't -actually used by the stylesheets. - - - - - -Times Roman - - -The font family for copyright, quotes, and other symbols - -The dingbat font family is used for dingbats. If it is defined -as the empty string, no font change is effected around dingbats. - - - - - -10 - - -Specifies the default point size for body text - -The body font size is specified in two parameters -(body.font.master and body.font.size) -so that math can be performed on the font size by XSLT. - - - - - - - pt - - - -Specifies the default font size for body text - -The body font size is specified in two parameters -(body.font.master and body.font.size) -so that math can be performed on the font size by XSLT. - - - - - - - pt - - - -The font size for footnotes - -The footnote font size is used for...footnotes! - - - - - - -true - - -Specify hyphenation behavior - -If true, words may be hyphenated. Otherwise, they may not. - - - - - -justify - - -Specify the default text alignment - -The default text alignment is used for most body text. - - - - - - - - -Identifies the output format of this stylesheet - -The extension functions need to know if the output format -is HTML ('html') or XSL Formatting Objects ('fo'). This variable answers -that question. Valid settings are 'html' or 'fo'. - - - - - - - -Generate a table of contents for components? - -If non-zero, a table of contents is generated at the beginning -of each component (chapters, appendixes, etc.) - - - - - - - - -Generate a table of contents for divisions? - -If non-zero, a table of contents is generated at the beginning -of each division (sets, books, etc.) - - - - - - - - - - - - - - -Generate a list of titles for Figures? - -If non-zero, a list of titles is generated for Figures. - - - - - - - - -Generate a list of titles for Examples? - -If non-zero, a list of titles is generated for Examples. - - - - - - - - -Generate a list of titles for Equations? - -If non-zero, a list of titles is generated for Equations. - - - - - - - - -Generate a list of titles for Tables? - -If non-zero, a list of titles is generated for Tables. - - - - - - - - - - - - - - -Enable PassiveTeX extensions? - -If non-zero, -PassiveTeX -extensions will be used. At present, this consists of PDF bookmarks -and sorted index terms. - - - - - - - - -Enable Arbortext extensions? - -If non-zero, -Arbortext -extensions will be used. - - - - - - - - -Enable FOP extensions? - -If non-zero, -FOP -extensions will be used. At present, this consists of PDF bookmarks. - - - - - - - - -Enable XEP extensions? - -If non-zero, -XEP -extensions will be used. XEP extensions consists of PDF bookmarks and document information. - - - - - - - - -Default units for an unqualified dimension - -If an unqualified dimension is encountered (for example, in a -graphic width), the default-units will be used for the -units. Unqualified dimensions are not allowed in XSL Formatting Objects. - - - - - - - - - - - - -Renumber chapters in each part? - -If label.from.part is non-zero, components -(chapters, appendixes, etc.) -will be numbered from 1 in each part. Otherwise, -they will be numbered monotonically throughout each -book. - - - - - - - - -Selects formal or informal procedures - -Formal procedures are numbered and always hav a title. - - - - - - - - -Name of the bibliography collection file - -Tired of copying bibliography entries from one document to another? -Now you can maintain a central bibliography and let the stylesheets do -the copying for you. This parameter identifies the file (by URI reference) -that contains your complete bibliography collection. - - - - - - - - -Use an fo:list to format VariableLists? - -If non-zero, an fo:list will be used to format VariableLists. -Otherwise, nested fo:blocks will be used. - - - - - - - - -Characters that count as punctuation on a run-in-head - -FIXME: - - - - - - - - -Default punctuation character on a run-in-head - -FIXME: - - - - -
- diff --git a/lib/docbook/docbook-xsl/fo/pi.xsl b/lib/docbook/docbook-xsl/fo/pi.xsl deleted file mode 100644 index 32f75608a..000000000 --- a/lib/docbook/docbook-xsl/fo/pi.xsl +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - - - - - - filename - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - filename - - - - - - - - dir - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep? - - - -
- - - -
-
- - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
- - - - - -
-
-
- - - - - - No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep? - - - -
- - - -
-
- - - - diff --git a/lib/docbook/docbook-xsl/fo/qandaset.xsl b/lib/docbook/docbook-xsl/fo/qandaset.xsl deleted file mode 100644 index 6208febae..000000000 --- a/lib/docbook/docbook-xsl/fo/qandaset.xsl +++ /dev/null @@ -1,222 +0,0 @@ - - - - - -number - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/refentry.xsl b/lib/docbook/docbook-xsl/fo/refentry.xsl deleted file mode 100644 index 2bec5ea59..000000000 --- a/lib/docbook/docbook-xsl/fo/refentry.xsl +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - em-dash - - - - - - - - - - - - - - : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/sections.xsl b/lib/docbook/docbook-xsl/fo/sections.xsl deleted file mode 100644 index a0294b820..000000000 --- a/lib/docbook/docbook-xsl/fo/sections.xsl +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end-on-even - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - 18 - 16 - 14 - 12 - 12 - 10 - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - 2 - - - - - - 2 - 3 - 4 - 5 - 6 - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/fo/synop.xsl b/lib/docbook/docbook-xsl/fo/synop.xsl deleted file mode 100644 index 667b503ac..000000000 --- a/lib/docbook/docbook-xsl/fo/synop.xsl +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (void); - - - (); - - - - - - (...); - - - - - - - ( - - - - - - - - - - - , - - - ); - - - - - - - - - - - - - - - , - - - - - - ; - - - - ( - - ) - - - - - diff --git a/lib/docbook/docbook-xsl/fo/table.xsl b/lib/docbook/docbook-xsl/fo/table.xsl deleted file mode 100644 index ca2f5314b..000000000 --- a/lib/docbook/docbook-xsl/fo/table.xsl +++ /dev/null @@ -1,748 +0,0 @@ - - - - - - - - -$Id: table.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -Formatting Object Table Reference - - -
Introduction - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 100% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Don't know how to do adjust column widths with - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - 1* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Calculate an XSL FO table column width specification from a -CALS table column width specification. - - -CALS expresses table column widths in the following basic -forms: - - - -99.99units, a fixed length specifier. - - -99.99, a fixed length specifier without any units. - - -99.99*, a relative length specifier. - - -99.99*+99.99units, a combination of both. - - - -The CALS units are points (pt), picas (pi), centimeters (cm), -millimeters (mm), and inches (in). These are the same units as XSL, -except that XSL abbreviates picas "pc" instead of "pi". If a length -specifier has no units, the CALS default unit (pt) is assumed. - -Relative length specifiers are represented in XSL with the -proportional-column-width() function. - -Here are some examples: - - - -"36pt" becomes "36pt" - - -"3pi" becomes "3pc" - - -"36" becomes "36pt" - - -"3*" becomes "proportional-column-width(3)" - - -"3*+2pi" becomes "proportional-column-width(3)+2pc" - - -"1*+2" becomes "proportional-column-width(1)+2pt" - - - - - - -colwidth - -The CALS column width specification. - - - - - - -The XSL column width specification. - - - - - 1* - - - - - - - - - - - proportional-column-width( - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pc - pt - - - - - - - - - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/lib/docbook/docbook-xsl/fo/titlepage.templates.xml b/lib/docbook/docbook-xsl/fo/titlepage.templates.xml deleted file mode 100644 index 1655e3305..000000000 --- a/lib/docbook/docbook-xsl/fo/titlepage.templates.xml +++ /dev/null @@ -1,934 +0,0 @@ - - - - - - - - - - - - -]> - - - - - - - - <subtitle - fo:font-family="{$title.font.family}" - fo:text-align="center"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="set" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - named-template="division.title" - param:node="ancestor-or-self::set[1]" - fo:text-align="center" - fo:font-size="&hsize5;" - fo:space-before="&hsize5space;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:font-family="{$title.font.family}" - fo:text-align="center"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="book" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - named-template="division.title" - param:node="ancestor-or-self::book[1]" - fo:text-align="center" - fo:font-size="&hsize5;" - fo:space-before="&hsize5space;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:text-align="center" - fo:font-size="&hsize4;" - fo:space-before="&hsize4space;" - fo:font-family="{$title.font.family}"/> - <corpauthor fo:font-size="&hsize3;" - fo:keep-with-next="always" - fo:space-before="2in"/> - <authorgroup fo:space-before="2in"/> - <author fo:font-size="&hsize3;" - fo:space-before="&hsize2space;" - fo:keep-with-next="always"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - <title - named-template="book.verso.title" - fo:font-size="&hsize2;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <pubdate fo:space-before="1em"/> - <copyright/> - <abstract/> - <legalnotice fo:font-size="8pt"/> - </t:titlepage-content> - - <t:titlepage-separator> - <fo:block break-after="page"/> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - <fo:block break-after="page"/> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="part" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - named-template="division.title" - param:node="ancestor-or-self::part[1]" - fo:text-align="center" - fo:font-size="&hsize5;" - fo:space-before="&hsize5space;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:text-align="center" - fo:font-size="&hsize4;" - fo:space-before="&hsize4space;" - fo:font-weight='bold' - fo:font-style='italic' - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="partintro" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - fo:text-align="center" - fo:font-size="&hsize3;" - fo:font-weight="bold" - fo:margin-left="-4pc" - fo:space-before="1em" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:text-align="center" - fo:font-size="&hsize2;" - fo:font-weight="bold" - fo:font-style="italic" - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="reference" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - named-template="division.title" - param:node="ancestor-or-self::reference[1]" - fo:text-align="center" - fo:font-size="&hsize5;" - fo:space-before="&hsize5space;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:font-family="{$title.font.family}" - fo:text-align="center"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="dedication" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::dedication[1]" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-family="{$title.font.family}" - fo:font-weight="bold"/> - <subtitle - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="preface" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::preface[1]" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-family="{$title.font.family}" - fo:font-weight="bold"/> - <subtitle - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="chapter" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - named-template="component.title" - param:node="ancestor-or-self::chapter[1]" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:space-before="0.5em" - fo:margin-left="-4pc" - fo:font-style="italic" - fo:font-size="&hsize2;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="appendix" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - named-template="component.title" - param:node="ancestor-or-self::appendix[1]" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="section" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - fo:margin-left="-4pc" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect1" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - fo:margin-left="-4pc" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect2" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - fo:margin-left="-4pc" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect3" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - fo:margin-left="-4pc" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect4" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - fo:margin-left="-4pc" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect5" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - fo:margin-left="-4pc" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="simplesect" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - fo:margin-left="-4pc" - fo:font-family="{$title.font.family}"/> - <subtitle - fo:font-family="{$title.font.family}"/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="bibliography" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::bibliography[1]" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-family="{$title.font.family}" - fo:font-weight="bold"/> - <subtitle - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> - </t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="glossary" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::glossary[1]" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-family="{$title.font.family}" - fo:font-weight="bold"/> - <subtitle - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> - </t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="index" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::index[1]" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-family="{$title.font.family}" - fo:font-weight="bold"/> - <subtitle - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> - </t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="colophon" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::colophon[1]" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-family="{$title.font.family}" - fo:font-weight="bold"/> - <subtitle - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="table.of.contents" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="gentext" - param:key="'TableofContents'" - fo:space-after="1em" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> - </t:titlepage> - - <t:titlepage element="list.of.tables" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="gentext" - param:key="'ListofTables'" - fo:space-after="1em" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> - </t:titlepage> - - <t:titlepage element="list.of.figures" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="gentext" - param:key="'ListofFigures'" - fo:space-after="1em" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> - </t:titlepage> - - <t:titlepage element="list.of.examples" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="gentext" - param:key="'ListofExamples'" - fo:space-after="1em" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> - </t:titlepage> - - <t:titlepage element="list.of.equations" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="gentext" - param:key="'ListofEquations'" - fo:space-after="1em" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> - </t:titlepage> - - <t:titlepage element="list.of.unknowns" wrapper="fo:block"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="gentext" - param:key="'ListofUnknown'" - fo:space-after="1em" - fo:margin-left="-4pc" - fo:font-size="&hsize3;" - fo:font-weight="bold" - fo:font-family="{$title.font.family}"/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> - </t:titlepage> - -<!-- ==================================================================== --> - -</t:templates> diff --git a/lib/docbook/docbook-xsl/fo/titlepage.templates.xsl b/lib/docbook/docbook-xsl/fo/titlepage.templates.xsl deleted file mode 100644 index 843b5b007..000000000 --- a/lib/docbook/docbook-xsl/fo/titlepage.templates.xsl +++ /dev/null @@ -1,2914 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. --> - -<xsl:template name="article.titlepage.recto"> - <xsl:choose> - <xsl:when test="articleinfo/title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> - </xsl:when> - <xsl:when test="artheader/title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="articleinfo/subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> - </xsl:when> - <xsl:when test="artheader/subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> -</xsl:template> - -<xsl:template name="article.titlepage.verso"> -</xsl:template> - -<xsl:template name="article.titlepage.separator"> -</xsl:template> - -<xsl:template name="article.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="article.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="article.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="article.titlepage.before.recto"/> - <xsl:call-template name="article.titlepage.recto"/> - <xsl:call-template name="article.titlepage.before.verso"/> - <xsl:call-template name="article.titlepage.verso"/> - <xsl:call-template name="article.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="article.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="article.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" text-align="center" margin-left="-4pc" keep-with-next="always" font-size="24.8832pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::article[1]"/> -</xsl:call-template> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" font-family="{$title.font.family}" text-align="center"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="set.titlepage.recto"> - <xsl:choose> - <xsl:when test="setinfo/title"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="setinfo/subtitle"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> -</xsl:template> - -<xsl:template name="set.titlepage.verso"> -</xsl:template> - -<xsl:template name="set.titlepage.separator"> -</xsl:template> - -<xsl:template name="set.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="set.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="set.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="set.titlepage.before.recto"/> - <xsl:call-template name="set.titlepage.recto"/> - <xsl:call-template name="set.titlepage.before.verso"/> - <xsl:call-template name="set.titlepage.verso"/> - <xsl:call-template name="set.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="set.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="set.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="division.title"> -<xsl:with-param name="node" select="ancestor-or-self::set[1]"/> -</xsl:call-template> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" font-family="{$title.font.family}" text-align="center"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="book.titlepage.recto"> - <xsl:choose> - <xsl:when test="bookinfo/title"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="bookinfo/subtitle"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> -</xsl:template> - -<xsl:template name="book.titlepage.verso"> - <xsl:choose> - <xsl:when test="bookinfo/title"> - <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/corpauthor"/> - <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/authorgroup"/> - <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/author"/> - <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/othercredit"/> - <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/pubdate"/> - <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/copyright"/> - <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/abstract"/> - <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/legalnotice"/> -</xsl:template> - -<xsl:template name="book.titlepage.separator"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/> -</xsl:template> - -<xsl:template name="book.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="book.titlepage.before.verso"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/> -</xsl:template> - -<xsl:template name="book.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="book.titlepage.before.recto"/> - <xsl:call-template name="book.titlepage.recto"/> - <xsl:call-template name="book.titlepage.before.verso"/> - <xsl:call-template name="book.titlepage.verso"/> - <xsl:call-template name="book.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="book.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="book.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="division.title"> -<xsl:with-param name="node" select="ancestor-or-self::book[1]"/> -</xsl:call-template> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" keep-with-next="always" space-before="2in"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" space-before="2in"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" space-before="10.8pt" keep-with-next="always"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="title" mode="book.titlepage.verso.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="14.4pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="book.verso.title"> -</xsl:call-template> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="book.titlepage.verso.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> -<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="book.titlepage.verso.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> -<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="book.titlepage.verso.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> -<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="book.titlepage.verso.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> -<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="book.titlepage.verso.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1em"> -<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="book.titlepage.verso.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> -<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="book.titlepage.verso.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> -<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="book.titlepage.verso.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="8pt"> -<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="part.titlepage.recto"> - <xsl:choose> - <xsl:when test="partinfo/title"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="partinfo/subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="part.titlepage.verso"> -</xsl:template> - -<xsl:template name="part.titlepage.separator"> -</xsl:template> - -<xsl:template name="part.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="part.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="part.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="part.titlepage.before.recto"/> - <xsl:call-template name="part.titlepage.recto"/> - <xsl:call-template name="part.titlepage.before.verso"/> - <xsl:call-template name="part.titlepage.verso"/> - <xsl:call-template name="part.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="part.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="part.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="part.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="division.title"> -<xsl:with-param name="node" select="ancestor-or-self::part[1]"/> -</xsl:call-template> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-weight="bold" font-style="italic" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="partintro.titlepage.recto"> - <xsl:choose> - <xsl:when test="partintroinfo/title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="partintroinfo/subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="partintro.titlepage.verso"> -</xsl:template> - -<xsl:template name="partintro.titlepage.separator"> -</xsl:template> - -<xsl:template name="partintro.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="partintro.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="partintro.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="partintro.titlepage.before.recto"/> - <xsl:call-template name="partintro.titlepage.recto"/> - <xsl:call-template name="partintro.titlepage.before.verso"/> - <xsl:call-template name="partintro.titlepage.verso"/> - <xsl:call-template name="partintro.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="partintro.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="partintro.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="17.28pt" font-weight="bold" margin-left="-4pc" space-before="1em" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="14.4pt" font-weight="bold" font-style="italic" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="reference.titlepage.recto"> - <xsl:choose> - <xsl:when test="referenceinfo/title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="referenceinfo/subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="reference.titlepage.verso"> -</xsl:template> - -<xsl:template name="reference.titlepage.separator"> -</xsl:template> - -<xsl:template name="reference.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="reference.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="reference.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="reference.titlepage.before.recto"/> - <xsl:call-template name="reference.titlepage.recto"/> - <xsl:call-template name="reference.titlepage.before.verso"/> - <xsl:call-template name="reference.titlepage.verso"/> - <xsl:call-template name="reference.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="reference.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="reference.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="division.title"> -<xsl:with-param name="node" select="ancestor-or-self::reference[1]"/> -</xsl:call-template> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" font-family="{$title.font.family}" text-align="center"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="dedication.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" margin-left="-4pc" font-size="17.28pt" font-family="{$title.font.family}" font-weight="bold"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> -</xsl:call-template></fo:block> - <xsl:choose> - <xsl:when test="dedicationinfo/subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="dedication.titlepage.verso"> -</xsl:template> - -<xsl:template name="dedication.titlepage.separator"> -</xsl:template> - -<xsl:template name="dedication.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="dedication.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="dedication.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="dedication.titlepage.before.recto"/> - <xsl:call-template name="dedication.titlepage.recto"/> - <xsl:call-template name="dedication.titlepage.before.verso"/> - <xsl:call-template name="dedication.titlepage.verso"/> - <xsl:call-template name="dedication.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="dedication.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="dedication.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="preface.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" margin-left="-4pc" font-size="17.28pt" font-family="{$title.font.family}" font-weight="bold"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::preface[1]"/> -</xsl:call-template></fo:block> - <xsl:choose> - <xsl:when test="prefaceinfo/subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="preface.titlepage.verso"> -</xsl:template> - -<xsl:template name="preface.titlepage.separator"> -</xsl:template> - -<xsl:template name="preface.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="preface.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="preface.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="preface.titlepage.before.recto"/> - <xsl:call-template name="preface.titlepage.recto"/> - <xsl:call-template name="preface.titlepage.before.verso"/> - <xsl:call-template name="preface.titlepage.verso"/> - <xsl:call-template name="preface.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="preface.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="preface.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="chapter.titlepage.recto"> - <xsl:choose> - <xsl:when test="chapterinfo/title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="chapterinfo/subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="chapter.titlepage.verso"> -</xsl:template> - -<xsl:template name="chapter.titlepage.separator"> -</xsl:template> - -<xsl:template name="chapter.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="chapter.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="chapter.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="chapter.titlepage.before.recto"/> - <xsl:call-template name="chapter.titlepage.recto"/> - <xsl:call-template name="chapter.titlepage.before.verso"/> - <xsl:call-template name="chapter.titlepage.verso"/> - <xsl:call-template name="chapter.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="chapter.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="chapter.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" margin-left="-4pc" font-size="17.28pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/> -</xsl:call-template> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" margin-left="-4pc" font-style="italic" font-size="14.4pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="appendix.titlepage.recto"> - <xsl:choose> - <xsl:when test="appendixinfo/title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="appendixinfo/subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="appendix.titlepage.verso"> -</xsl:template> - -<xsl:template name="appendix.titlepage.separator"> -</xsl:template> - -<xsl:template name="appendix.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="appendix.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="appendix.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="appendix.titlepage.before.recto"/> - <xsl:call-template name="appendix.titlepage.recto"/> - <xsl:call-template name="appendix.titlepage.before.verso"/> - <xsl:call-template name="appendix.titlepage.verso"/> - <xsl:call-template name="appendix.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="appendix.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="appendix.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" margin-left="-4pc" font-size="17.28pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::appendix[1]"/> -</xsl:call-template> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="section.titlepage.recto"> - <xsl:choose> - <xsl:when test="sectioninfo/title"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sectioninfo/subtitle"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> -</xsl:template> - -<xsl:template name="section.titlepage.verso"> -</xsl:template> - -<xsl:template name="section.titlepage.separator"> -</xsl:template> - -<xsl:template name="section.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="section.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="section.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="section.titlepage.before.recto"/> - <xsl:call-template name="section.titlepage.recto"/> - <xsl:call-template name="section.titlepage.before.verso"/> - <xsl:call-template name="section.titlepage.verso"/> - <xsl:call-template name="section.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="section.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="section.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" margin-left="-4pc" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="sect1.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect1info/title"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect1info/subtitle"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> -</xsl:template> - -<xsl:template name="sect1.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect1.titlepage.separator"> -</xsl:template> - -<xsl:template name="sect1.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect1.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect1.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="sect1.titlepage.before.recto"/> - <xsl:call-template name="sect1.titlepage.recto"/> - <xsl:call-template name="sect1.titlepage.before.verso"/> - <xsl:call-template name="sect1.titlepage.verso"/> - <xsl:call-template name="sect1.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="sect1.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect1.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" margin-left="-4pc" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="sect2.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect2info/title"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect2info/subtitle"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> -</xsl:template> - -<xsl:template name="sect2.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect2.titlepage.separator"> -</xsl:template> - -<xsl:template name="sect2.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect2.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect2.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="sect2.titlepage.before.recto"/> - <xsl:call-template name="sect2.titlepage.recto"/> - <xsl:call-template name="sect2.titlepage.before.verso"/> - <xsl:call-template name="sect2.titlepage.verso"/> - <xsl:call-template name="sect2.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="sect2.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect2.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" margin-left="-4pc" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="sect3.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect3info/title"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect3info/subtitle"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> -</xsl:template> - -<xsl:template name="sect3.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect3.titlepage.separator"> -</xsl:template> - -<xsl:template name="sect3.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect3.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect3.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="sect3.titlepage.before.recto"/> - <xsl:call-template name="sect3.titlepage.recto"/> - <xsl:call-template name="sect3.titlepage.before.verso"/> - <xsl:call-template name="sect3.titlepage.verso"/> - <xsl:call-template name="sect3.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="sect3.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect3.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" margin-left="-4pc" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="sect4.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect4info/title"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect4info/subtitle"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> -</xsl:template> - -<xsl:template name="sect4.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect4.titlepage.separator"> -</xsl:template> - -<xsl:template name="sect4.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect4.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect4.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="sect4.titlepage.before.recto"/> - <xsl:call-template name="sect4.titlepage.recto"/> - <xsl:call-template name="sect4.titlepage.before.verso"/> - <xsl:call-template name="sect4.titlepage.verso"/> - <xsl:call-template name="sect4.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="sect4.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect4.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" margin-left="-4pc" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="sect5.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect5info/title"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect5info/subtitle"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> -</xsl:template> - -<xsl:template name="sect5.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect5.titlepage.separator"> -</xsl:template> - -<xsl:template name="sect5.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect5.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect5.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="sect5.titlepage.before.recto"/> - <xsl:call-template name="sect5.titlepage.recto"/> - <xsl:call-template name="sect5.titlepage.before.verso"/> - <xsl:call-template name="sect5.titlepage.verso"/> - <xsl:call-template name="sect5.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="sect5.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect5.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" margin-left="-4pc" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="simplesect.titlepage.recto"> - <xsl:choose> - <xsl:when test="simplesectinfo/title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="simplesectinfo/subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="simplesect.titlepage.verso"> -</xsl:template> - -<xsl:template name="simplesect.titlepage.separator"> -</xsl:template> - -<xsl:template name="simplesect.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="simplesect.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="simplesect.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="simplesect.titlepage.before.recto"/> - <xsl:call-template name="simplesect.titlepage.recto"/> - <xsl:call-template name="simplesect.titlepage.before.verso"/> - <xsl:call-template name="simplesect.titlepage.verso"/> - <xsl:call-template name="simplesect.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" margin-left="-4pc" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="bibliography.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" margin-left="-4pc" font-size="17.28pt" font-family="{$title.font.family}" font-weight="bold"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> -</xsl:call-template></fo:block> - <xsl:choose> - <xsl:when test="bibliographyinfo/subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="bibliography.titlepage.verso"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.separator"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="bibliography.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="bibliography.titlepage.before.recto"/> - <xsl:call-template name="bibliography.titlepage.recto"/> - <xsl:call-template name="bibliography.titlepage.before.verso"/> - <xsl:call-template name="bibliography.titlepage.verso"/> - <xsl:call-template name="bibliography.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="glossary.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" margin-left="-4pc" font-size="17.28pt" font-family="{$title.font.family}" font-weight="bold"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> -</xsl:call-template></fo:block> - <xsl:choose> - <xsl:when test="glossaryinfo/subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="glossary.titlepage.verso"> -</xsl:template> - -<xsl:template name="glossary.titlepage.separator"> -</xsl:template> - -<xsl:template name="glossary.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="glossary.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="glossary.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="glossary.titlepage.before.recto"/> - <xsl:call-template name="glossary.titlepage.recto"/> - <xsl:call-template name="glossary.titlepage.before.verso"/> - <xsl:call-template name="glossary.titlepage.verso"/> - <xsl:call-template name="glossary.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="glossary.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="glossary.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="index.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" margin-left="-4pc" font-size="17.28pt" font-family="{$title.font.family}" font-weight="bold"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::index[1]"/> -</xsl:call-template></fo:block> - <xsl:choose> - <xsl:when test="indexinfo/subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="index.titlepage.verso"> -</xsl:template> - -<xsl:template name="index.titlepage.separator"> -</xsl:template> - -<xsl:template name="index.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="index.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="index.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="index.titlepage.before.recto"/> - <xsl:call-template name="index.titlepage.recto"/> - <xsl:call-template name="index.titlepage.before.verso"/> - <xsl:call-template name="index.titlepage.verso"/> - <xsl:call-template name="index.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="index.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="index.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="colophon.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" margin-left="-4pc" font-size="17.28pt" font-family="{$title.font.family}" font-weight="bold"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::colophon[1]"/> -</xsl:call-template></fo:block> - <xsl:choose> - <xsl:when test="colophoninfo/subtitle"> - <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="colophoninfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="colophon.titlepage.verso"> -</xsl:template> - -<xsl:template name="colophon.titlepage.separator"> -</xsl:template> - -<xsl:template name="colophon.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="colophon.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="colophon.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="colophon.titlepage.before.recto"/> - <xsl:call-template name="colophon.titlepage.recto"/> - <xsl:call-template name="colophon.titlepage.before.verso"/> - <xsl:call-template name="colophon.titlepage.verso"/> - <xsl:call-template name="colophon.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="colophon.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="colophon.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="colophon.titlepage.recto.auto.mode"> -<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" font-family="{$title.font.family}"> -<xsl:apply-templates select="." mode="colophon.titlepage.recto.mode"/> -</fo:block> -</xsl:template> - -<xsl:template name="table.of.contents.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="table.of.contents.titlepage.recto.style" space-after="1em" margin-left="-4pc" font-size="17.28pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="gentext"> -<xsl:with-param name="key" select="'TableofContents'"/> -</xsl:call-template></fo:block> -</xsl:template> - -<xsl:template name="table.of.contents.titlepage.verso"> -</xsl:template> - -<xsl:template name="table.of.contents.titlepage.separator"> -</xsl:template> - -<xsl:template name="table.of.contents.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="table.of.contents.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="table.of.contents.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="table.of.contents.titlepage.before.recto"/> - <xsl:call-template name="table.of.contents.titlepage.recto"/> - <xsl:call-template name="table.of.contents.titlepage.before.verso"/> - <xsl:call-template name="table.of.contents.titlepage.verso"/> - <xsl:call-template name="table.of.contents.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="table.of.contents.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="table.of.contents.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template name="list.of.tables.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.tables.titlepage.recto.style" space-after="1em" margin-left="-4pc" font-size="17.28pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="gentext"> -<xsl:with-param name="key" select="'ListofTables'"/> -</xsl:call-template></fo:block> -</xsl:template> - -<xsl:template name="list.of.tables.titlepage.verso"> -</xsl:template> - -<xsl:template name="list.of.tables.titlepage.separator"> -</xsl:template> - -<xsl:template name="list.of.tables.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="list.of.tables.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="list.of.tables.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="list.of.tables.titlepage.before.recto"/> - <xsl:call-template name="list.of.tables.titlepage.recto"/> - <xsl:call-template name="list.of.tables.titlepage.before.verso"/> - <xsl:call-template name="list.of.tables.titlepage.verso"/> - <xsl:call-template name="list.of.tables.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="list.of.tables.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="list.of.tables.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template name="list.of.figures.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.figures.titlepage.recto.style" space-after="1em" margin-left="-4pc" font-size="17.28pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="gentext"> -<xsl:with-param name="key" select="'ListofFigures'"/> -</xsl:call-template></fo:block> -</xsl:template> - -<xsl:template name="list.of.figures.titlepage.verso"> -</xsl:template> - -<xsl:template name="list.of.figures.titlepage.separator"> -</xsl:template> - -<xsl:template name="list.of.figures.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="list.of.figures.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="list.of.figures.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="list.of.figures.titlepage.before.recto"/> - <xsl:call-template name="list.of.figures.titlepage.recto"/> - <xsl:call-template name="list.of.figures.titlepage.before.verso"/> - <xsl:call-template name="list.of.figures.titlepage.verso"/> - <xsl:call-template name="list.of.figures.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="list.of.figures.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="list.of.figures.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template name="list.of.examples.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.examples.titlepage.recto.style" space-after="1em" margin-left="-4pc" font-size="17.28pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="gentext"> -<xsl:with-param name="key" select="'ListofExamples'"/> -</xsl:call-template></fo:block> -</xsl:template> - -<xsl:template name="list.of.examples.titlepage.verso"> -</xsl:template> - -<xsl:template name="list.of.examples.titlepage.separator"> -</xsl:template> - -<xsl:template name="list.of.examples.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="list.of.examples.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="list.of.examples.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="list.of.examples.titlepage.before.recto"/> - <xsl:call-template name="list.of.examples.titlepage.recto"/> - <xsl:call-template name="list.of.examples.titlepage.before.verso"/> - <xsl:call-template name="list.of.examples.titlepage.verso"/> - <xsl:call-template name="list.of.examples.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="list.of.examples.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="list.of.examples.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template name="list.of.equations.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.equations.titlepage.recto.style" space-after="1em" margin-left="-4pc" font-size="17.28pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="gentext"> -<xsl:with-param name="key" select="'ListofEquations'"/> -</xsl:call-template></fo:block> -</xsl:template> - -<xsl:template name="list.of.equations.titlepage.verso"> -</xsl:template> - -<xsl:template name="list.of.equations.titlepage.separator"> -</xsl:template> - -<xsl:template name="list.of.equations.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="list.of.equations.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="list.of.equations.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="list.of.equations.titlepage.before.recto"/> - <xsl:call-template name="list.of.equations.titlepage.recto"/> - <xsl:call-template name="list.of.equations.titlepage.before.verso"/> - <xsl:call-template name="list.of.equations.titlepage.verso"/> - <xsl:call-template name="list.of.equations.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="list.of.equations.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="list.of.equations.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template name="list.of.unknowns.titlepage.recto"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.unknowns.titlepage.recto.style" space-after="1em" margin-left="-4pc" font-size="17.28pt" font-weight="bold" font-family="{$title.font.family}"> -<xsl:call-template name="gentext"> -<xsl:with-param name="key" select="'ListofUnknown'"/> -</xsl:call-template></fo:block> -</xsl:template> - -<xsl:template name="list.of.unknowns.titlepage.verso"> -</xsl:template> - -<xsl:template name="list.of.unknowns.titlepage.separator"> -</xsl:template> - -<xsl:template name="list.of.unknowns.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="list.of.unknowns.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="list.of.unknowns.titlepage"> - <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:call-template name="list.of.unknowns.titlepage.before.recto"/> - <xsl:call-template name="list.of.unknowns.titlepage.recto"/> - <xsl:call-template name="list.of.unknowns.titlepage.before.verso"/> - <xsl:call-template name="list.of.unknowns.titlepage.verso"/> - <xsl:call-template name="list.of.unknowns.titlepage.separator"/> - </fo:block> -</xsl:template> - -<xsl:template match="*" mode="list.of.unknowns.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="list.of.unknowns.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -</xsl:stylesheet> \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/fo/titlepage.xsl b/lib/docbook/docbook-xsl/fo/titlepage.xsl deleted file mode 100644 index 870fee5b1..000000000 --- a/lib/docbook/docbook-xsl/fo/titlepage.xsl +++ /dev/null @@ -1,637 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:fo="http://www.w3.org/1999/XSL/Format" - version='1.0'> - -<!-- ******************************************************************** - $Id: titlepage.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:attribute-set name="book.titlepage.recto.style"> - <xsl:attribute name="font-family"> - <xsl:value-of select="$title.font.family"/> - </xsl:attribute> - <xsl:attribute name="font-weight">bold</xsl:attribute> - <xsl:attribute name="font-size">12pt</xsl:attribute> - <xsl:attribute name="text-align">center</xsl:attribute> -</xsl:attribute-set> - -<xsl:attribute-set name="book.titlepage.verso.style"> - <xsl:attribute name="font-size">10pt</xsl:attribute> -</xsl:attribute-set> - -<xsl:attribute-set name="article.titlepage.recto.style"/> -<xsl:attribute-set name="article.titlepage.verso.style"/> - -<xsl:attribute-set name="set.titlepage.recto.style"/> -<xsl:attribute-set name="set.titlepage.verso.style"/> - -<xsl:attribute-set name="part.titlepage.recto.style"> - <xsl:attribute name="text-align">center</xsl:attribute> -</xsl:attribute-set> - -<xsl:attribute-set name="part.titlepage.verso.style"/> - -<xsl:attribute-set name="partintro.titlepage.recto.style"/> -<xsl:attribute-set name="partintro.titlepage.verso.style"/> - -<xsl:attribute-set name="reference.titlepage.recto.style"/> -<xsl:attribute-set name="reference.titlepage.verso.style"/> - -<xsl:attribute-set name="dedication.titlepage.recto.style"/> -<xsl:attribute-set name="dedication.titlepage.verso.style"/> - -<xsl:attribute-set name="preface.titlepage.recto.style"/> -<xsl:attribute-set name="preface.titlepage.verso.style"/> - -<xsl:attribute-set name="chapter.titlepage.recto.style"/> -<xsl:attribute-set name="chapter.titlepage.verso.style"/> - -<xsl:attribute-set name="appendix.titlepage.recto.style"/> -<xsl:attribute-set name="appendix.titlepage.verso.style"/> - -<xsl:attribute-set name="bibliography.titlepage.recto.style"/> -<xsl:attribute-set name="bibliography.titlepage.verso.style"/> - -<xsl:attribute-set name="glossary.titlepage.recto.style"/> -<xsl:attribute-set name="glossary.titlepage.verso.style"/> - -<xsl:attribute-set name="index.titlepage.recto.style"/> -<xsl:attribute-set name="index.titlepage.verso.style"/> - -<xsl:attribute-set name="colophon.titlepage.recto.style"/> -<xsl:attribute-set name="colophon.titlepage.verso.style"/> - -<xsl:attribute-set name="section.titlepage.recto.style"/> -<xsl:attribute-set name="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect1.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect1.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect2.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect2.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect3.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect3.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect4.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect4.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect5.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect5.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="simplesect.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="simplesect.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/> -<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="titlepage.mode"> - <!-- if an element isn't found in this mode, try the default mode --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="abbrev" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="abstract" mode="titlepage.mode"> - <fo:block> - <xsl:if test="title"> <!-- FIXME: add param for using default title? --> - <xsl:call-template name="formal.object.heading"> - <xsl:with-param name="title"> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:block> -</xsl:template> - -<xsl:template match="abstract/title" mode="titlepage.mode"/> - -<xsl:template match="abstract/title" mode="titlepage.abstract.title.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="address" mode="titlepage.mode"> - <!-- use the normal address handling code --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="affiliation" mode="titlepage.mode"> - <fo:block> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:block> -</xsl:template> - -<xsl:template match="artpagenums" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="author" mode="titlepage.mode"> - <fo:wrapper> - <xsl:if test="@id"> - <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> - </xsl:if> - <xsl:call-template name="person.name"/> - <xsl:apply-templates select="affiliation" mode="titlepage.mode"/> - </fo:wrapper> -</xsl:template> - -<xsl:template match="authorblurb" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="authorgroup" mode="titlepage.mode"> - <fo:wrapper> - <xsl:if test="@id"> - <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> - </xsl:if> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:wrapper> -</xsl:template> - -<xsl:template match="authorinitials" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="bibliomisc" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="bibliomset" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="collab" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="confgroup" mode="titlepage.mode"> - <fo:block> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:block> -</xsl:template> - -<xsl:template match="confdates" mode="titlepage.mode"> - <fo:block> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:block> -</xsl:template> - -<xsl:template match="conftitle" mode="titlepage.mode"> - <fo:block> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:block> -</xsl:template> - -<xsl:template match="confnum" mode="titlepage.mode"> - <!-- suppress --> -</xsl:template> - -<xsl:template match="contractnum" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="contractsponsor" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="contrib" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="copyright" mode="titlepage.mode"> - <xsl:variable name="years" select="year"/> - <xsl:variable name="holders" select="holder"/> - - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Copyright'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">copyright</xsl:with-param> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="$years" mode="titlepage.mode"/> - <xsl:if test="holder"> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="$holders" mode="titlepage.mode"/> - </xsl:if> -</xsl:template> - -<xsl:template match="year" mode="titlepage.mode"> - <xsl:apply-templates/><xsl:text>, </xsl:text> -</xsl:template> - -<xsl:template match="year[position()=last()]" mode="titlepage.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="holder" mode="titlepage.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="corpauthor" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="corpname" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="date" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="edition" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Edition'"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="editor" mode="titlepage.mode"> - <xsl:call-template name="person.name"/> -</xsl:template> - -<xsl:template match="editor[position()=1]" priority="2" mode="titlepage.mode"> - <xsl:call-template name="gentext.edited.by"/> - <xsl:call-template name="person.name"/> -</xsl:template> - -<xsl:template match="firstname" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="graphic" mode="titlepage.mode"> - <!-- use the normal graphic handling code --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="honorific" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="isbn" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="issn" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="itermset" mode="titlepage.mode"> - <!-- discard --> -</xsl:template> - -<xsl:template match="invpartnumber" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="issuenum" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="jobtitle" mode="titlepage.mode"> - <fo:block> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:block> -</xsl:template> - -<xsl:template match="keywordset" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="legalnotice" mode="titlepage.mode"> - <fo:block> - <xsl:if test="title"> <!-- FIXME: add param for using default title? --> - <xsl:call-template name="formal.object.heading"> - <xsl:with-param name="title"> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:with-param> - </xsl:call-template> - </xsl:if> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:block> -</xsl:template> - -<xsl:template match="legalnotice/title" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="legalnotice/title" mode="titlepage.legalnotice.title.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="lineage" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="modespec" mode="titlepage.mode"> - <!-- discard --> -</xsl:template> - -<xsl:template match="orgdiv" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="orgname" mode="titlepage.mode"> - <fo:block> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:block> -</xsl:template> - -<xsl:template match="othercredit" mode="titlepage.mode"> - <xsl:variable name="contrib" select="string(contrib)"/> - <xsl:choose> - <xsl:when test="contrib"> - <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])"> - <fo:block> - <xsl:apply-templates mode="titlepage.mode" select="contrib"/> - <xsl:text>: </xsl:text> - <xsl:call-template name="person.name"/> - <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> - <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/> - </fo:block> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <fo:block><xsl:call-template name="person.name"/></fo:block> - <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="othercredit" mode="titlepage.othercredits"> - <xsl:text>, </xsl:text> - <xsl:call-template name="person.name"/> -</xsl:template> - -<xsl:template match="othername" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="pagenums" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="printhistory" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="productname" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="productnumber" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="pubdate" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="publisher" mode="titlepage.mode"> - <fo:block> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:block> -</xsl:template> - -<xsl:template match="publishername" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="pubsnumber" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="releaseinfo" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revhistory" mode="titlepage.mode"> - <fo:table table-layout="fixed"> - <fo:table-column column-number="1" column-width="33%"/> - <fo:table-column column-number="2" column-width="33%"/> - <fo:table-column column-number="3" column-width="33%"/> - <fo:table-body> - <fo:table-row> - <fo:table-cell number-columns-spanned="3"> - <fo:block> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'RevHistory'"/> - </xsl:call-template> - </fo:block> - </fo:table-cell> - </fo:table-row> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:table-body> - </fo:table> -</xsl:template> - -<xsl:template match="revhistory/revision" mode="titlepage.mode"> - <xsl:variable name="revnumber" select=".//revnumber"/> - <xsl:variable name="revdate" select=".//date"/> - <xsl:variable name="revauthor" select=".//authorinitials"/> - <xsl:variable name="revremark" select=".//revremark"/> - <fo:table-row> - <fo:table-cell> - <fo:block> - <xsl:if test="$revnumber"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Revision'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/> - </xsl:if> - </fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block> - <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/> - </fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block> - <xsl:apply-templates select="$revauthor[1]" mode="titlepage.mode"/> - </fo:block> - </fo:table-cell> - </fo:table-row> - <xsl:if test="$revremark"> - <fo:table-row> - <fo:table-cell number-columns-spanned="3"> - <fo:block> - <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/> - </fo:block> - </fo:table-cell> - </fo:table-row> - </xsl:if> -</xsl:template> - -<xsl:template match="revision/revnumber" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/date" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/authorinitials" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/revremark" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="seriesvolnums" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="shortaffil" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subjectset" mode="titlepage.mode"> - <!-- discard --> -</xsl:template> - -<xsl:template match="subtitle" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="surname" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="titleabbrev" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="volumenum" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<!-- ==================================================================== --> -<!-- Book templates --> - -<!-- Note: these templates cannot use *.titlepage.recto.mode or - *.titlepage.verso.mode. If they do then subsequent use of a custom - titlepage.templates.xml file will not work correctly. --> - -<!-- book recto --> - -<xsl:template match="bookinfo/authorgroup" mode="titlepage.mode" priority="2"> - <fo:block> - <xsl:if test="@id"> - <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> - </xsl:if> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'by'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:call-template name="person.name.list"/> - </fo:block> -</xsl:template> - -<!-- book verso --> - -<xsl:template name="book.verso.title"> - <fo:block> - <xsl:apply-templates mode="titlepage.mode"/> - - <xsl:if test="following-sibling::subtitle - |following-sibling::bookinfo/subtitle"> - <xsl:text>: </xsl:text> - - <xsl:apply-templates select="(following-sibling::subtitle - |following-sibling::bookinfo/subtitle)[1]" - mode="book.verso.subtitle.mode"/> - </xsl:if> - </fo:block> -</xsl:template> - -<xsl:template match="subtitle" mode="book.verso.subtitle.mode"> - <xsl:apply-templates mode="titlepage.mode"/> - <xsl:if test="following-sibling::subtitle"> - <xsl:text>: </xsl:text> - <xsl:apply-templates select="following-sibling::subtitle[1]" - mode="book.verso.subtitle.mode"/> - </xsl:if> -</xsl:template> - -<xsl:template match="bookinfo/author" mode="titlepage.mode" priority="2"> - <fo:block> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'by'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:call-template name="person.name"/> - </fo:block> -</xsl:template> - -<xsl:template match="bookinfo/corpauthor" mode="titlepage.mode" priority="2"> - <fo:block> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'by'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates/> - </fo:block> -</xsl:template> - -<xsl:template match="bookinfo/pubdate" mode="titlepage.mode" priority="2"> - <fo:block> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'published'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates mode="titlepage.mode"/> - </fo:block> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/fo/toc.xsl b/lib/docbook/docbook-xsl/fo/toc.xsl deleted file mode 100644 index bc2313f8c..000000000 --- a/lib/docbook/docbook-xsl/fo/toc.xsl +++ /dev/null @@ -1,211 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:fo="http://www.w3.org/1999/XSL/Format" - version='1.0'> - -<!-- ******************************************************************** - $Id: toc.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<!-- FIXME: in the contexts where <toc> can occur, I think it's always - the case that a page-sequence is required. Is that true? --> - -<xsl:template match="toc"> - <xsl:variable name="master-name"> - <xsl:call-template name="select.pagemaster"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="*"> - <xsl:if test="$process.source.toc != 0"> - <!-- if the toc isn't empty, process it --> - <fo:page-sequence hyphenate="{$hyphenate}" - master-reference="{$master-name}"> - <xsl:attribute name="language"> - <xsl:call-template name="l10n.language"/> - </xsl:attribute> - <xsl:if test="$double.sided != 0"> - <xsl:attribute name="force-page-count">end-on-even</xsl:attribute> - </xsl:if> - - <xsl:apply-templates select="." mode="running.head.mode"> - <xsl:with-param name="master-reference" select="$master-name"/> - </xsl:apply-templates> - <xsl:apply-templates select="." mode="running.foot.mode"> - <xsl:with-param name="master-reference" select="$master-name"/> - </xsl:apply-templates> - - <fo:flow flow-name="xsl-region-body"> - <fo:block xsl:use-attribute-sets="toc.margin.properties"> - <xsl:call-template name="table.of.contents.titlepage"/> - <xsl:apply-templates/> - </fo:block> - </fo:flow> - </fo:page-sequence> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <xsl:if test="$process.empty.source.toc != 0"> - <fo:page-sequence hyphenate="{$hyphenate}" - master-reference="{$master-name}"> - <xsl:attribute name="language"> - <xsl:call-template name="l10n.language"/> - </xsl:attribute> - <xsl:if test="$double.sided != 0"> - <xsl:attribute name="force-page-count">end-on-even</xsl:attribute> - </xsl:if> - - <xsl:apply-templates select="." mode="running.head.mode"> - <xsl:with-param name="master-reference" select="$master-name"/> - </xsl:apply-templates> - <xsl:apply-templates select="." mode="running.foot.mode"> - <xsl:with-param name="master-reference" select="$master-name"/> - </xsl:apply-templates> - - <fo:flow flow-name="xsl-region-body"> - <xsl:choose> - <xsl:when test="parent::section - or parent::sect1 - or parent::sect2 - or parent::sect3 - or parent::sect4 - or parent::sect5"> - <xsl:apply-templates select="parent::*" - mode="toc.for.section"/> - </xsl:when> - <xsl:when test="parent::article"> - <xsl:apply-templates select="parent::*" - mode="toc.for.component"/> - </xsl:when> - <xsl:when test="parent::book - or parent::part"> - <xsl:apply-templates select="parent::*" - mode="toc.for.division"/> - </xsl:when> - <xsl:when test="parent::set"> - <xsl:apply-templates select="parent::*" - mode="toc.for.set"/> - </xsl:when> - <!-- there aren't any other contexts that allow toc --> - <xsl:otherwise> - <xsl:message> - <xsl:text>I don't know how to make a TOC in this context!</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </fo:flow> - </fo:page-sequence> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="tocpart|tocchap - |toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> - <xsl:apply-templates select="tocentry"/> - <xsl:if test="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> - <fo:block start-indent="{count(ancestor::*)*2}pc"> - <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/> - </fo:block> - </xsl:if> -</xsl:template> - -<xsl:template match="tocentry|tocfront|tocback"> - <fo:block text-align-last="justify" - end-indent="2pc" - last-line-end-indent="-2pc"> - <fo:inline keep-with-next.within-line="always"> - <xsl:choose> - <xsl:when test="@linkend"> - <fo:basic-link internal-destination="{@linkend}"> - <xsl:apply-templates/> - </fo:basic-link> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </fo:inline> - - <xsl:choose> - <xsl:when test="@linkend"> - <fo:inline keep-together.within-line="always"> - <xsl:text> </xsl:text> - <fo:leader leader-pattern="dots" - keep-with-next.within-line="always"/> - <xsl:text> </xsl:text> - <fo:basic-link internal-destination="{@linkend}"> - <xsl:choose> - <xsl:when test="@pagenum"> - <xsl:value-of select="@pagenum"/> - </xsl:when> - <xsl:otherwise> - <fo:page-number-citation ref-id="{@linkend}"/> - </xsl:otherwise> - </xsl:choose> - </fo:basic-link> - </fo:inline> - </xsl:when> - <xsl:when test="@pagenum"> - <fo:inline keep-together.within-line="always"> - <xsl:text> </xsl:text> - <fo:leader leader-pattern="dots" - keep-with-next.within-line="always"/> - <xsl:text> </xsl:text> - <xsl:value-of select="@pagenum"/> - </fo:inline> - </xsl:when> - <xsl:otherwise> - <!-- just the leaders, what else can I do? --> - <fo:inline keep-together.within-line="always"> - <xsl:text> </xsl:text> - <fo:leader leader-pattern="space" - keep-with-next.within-line="always"/> - </fo:inline> - </xsl:otherwise> - </xsl:choose> - </fo:block> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="toc.for.section"> -<!-- - <xsl:call-template name="section.toc"/> ---> -</xsl:template> - -<xsl:template match="*" mode="toc.for.component"> - <xsl:call-template name="component.toc"/> -</xsl:template> - -<xsl:template match="*" mode="toc.for.section"> -<!-- - <xsl:call-template name="section.toc"/> ---> -</xsl:template> - -<xsl:template match="*" mode="toc.for.division"> - <xsl:call-template name="division.toc"/> -</xsl:template> - -<xsl:template match="*" mode="toc.for.set"> -<!-- - <xsl:call-template name="set.toc"/> ---> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="lot|lotentry"> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/fo/verbatim.xsl b/lib/docbook/docbook-xsl/fo/verbatim.xsl deleted file mode 100644 index b8ffeca17..000000000 --- a/lib/docbook/docbook-xsl/fo/verbatim.xsl +++ /dev/null @@ -1,246 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:fo="http://www.w3.org/1999/XSL/Format" - xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" - xmlns:xverb="com.nwalsh.xalan.Verbatim" - xmlns:lxslt="http://xml.apache.org/xslt" - exclude-result-prefixes="sverb xverb lxslt" - version='1.0'> - -<!-- ******************************************************************** - $Id: verbatim.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<lxslt:component prefix="xverb" - functions="numberLines"/> - -<xsl:template match="programlisting|screen"> - <xsl:param name="suppress-numbers" select="'0'"/> - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' - and @linenumbering = 'numbered' - and $use.extensions != '0' - and $linenumbering.extension != '0'"> - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - <fo:block wrap-option='no-wrap' - text-align='start' - white-space-collapse='false' - linefeed-treatment="preserve" - xsl:use-attribute-sets="monospace.verbatim.properties"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </fo:block> - </xsl:when> - <xsl:otherwise> - <fo:block wrap-option='no-wrap' - text-align='start' - white-space-collapse='false' - linefeed-treatment="preserve" - xsl:use-attribute-sets="monospace.verbatim.properties"> - <xsl:apply-templates/> - </fo:block> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="literallayout"> - <xsl:param name="suppress-numbers" select="'0'"/> - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' - and @linenumbering = 'numbered' - and $use.extensions != '0' - and $linenumbering.extension != '0'"> - <xsl:choose> - <xsl:when test="@class='monospaced'"> - <fo:block wrap-option='no-wrap' - text-align='start' - linefeed-treatment="preserve" - white-space-collapse='false' - xsl:use-attribute-sets="monospace.verbatim.properties"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </fo:block> - </xsl:when> - <xsl:otherwise> - <fo:block wrap-option='no-wrap' - text-align='start' - linefeed-treatment="preserve" - white-space-collapse='false' - xsl:use-attribute-sets="verbatim.properties"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </fo:block> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="@class='monospaced'"> - <fo:block wrap-option='no-wrap' - text-align='start' - linefeed-treatment="preserve" - white-space-collapse='false' - xsl:use-attribute-sets="monospace.verbatim.properties"> - <xsl:copy-of select="$rtf"/> - </fo:block> - </xsl:when> - <xsl:otherwise> - <fo:block wrap-option='no-wrap' - text-align='start' - linefeed-treatment="preserve" - white-space-collapse='false' - xsl:use-attribute-sets="verbatim.properties"> - <xsl:copy-of select="$rtf"/> - </fo:block> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="address"> - <xsl:param name="suppress-numbers" select="'0'"/> - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' - and @linenumbering = 'numbered' - and $use.extensions != '0' - and $linenumbering.extension != '0'"> - <fo:block wrap-option='no-wrap' - white-space-collapse='false' - linefeed-treatment="preserve" - xsl:use-attribute-sets="verbatim.properties"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </fo:block> - </xsl:when> - <xsl:otherwise> - <fo:block wrap-option='no-wrap' - text-align='start' - linefeed-treatment="preserve" - white-space-collapse='false' - xsl:use-attribute-sets="verbatim.properties"> - <xsl:apply-templates/> - </fo:block> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="number.rtf.lines"> - <xsl:param name="rtf" select="''"/> - <xsl:param name="pi.context" select="."/> - - <!-- Save the global values --> - <xsl:variable name="global.linenumbering.everyNth" - select="$linenumbering.everyNth"/> - - <xsl:variable name="global.linenumbering.separator" - select="$linenumbering.separator"/> - - <xsl:variable name="global.linenumbering.width" - select="$linenumbering.width"/> - - <!-- Extract the <?dbfo linenumbering.*?> PI values --> - <xsl:variable name="pi.linenumbering.everyNth"> - <xsl:call-template name="dbfo-attribute"> - <xsl:with-param name="pis" - select="$pi.context/processing-instruction('dbfo')"/> - <xsl:with-param name="attribute" select="'linenumbering.everyNth'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="pi.linenumbering.separator"> - <xsl:call-template name="dbfo-attribute"> - <xsl:with-param name="pis" - select="$pi.context/processing-instruction('dbfo')"/> - <xsl:with-param name="attribute" select="'linenumbering.separator'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="pi.linenumbering.width"> - <xsl:call-template name="dbfo-attribute"> - <xsl:with-param name="pis" - select="$pi.context/processing-instruction('dbfo')"/> - <xsl:with-param name="attribute" select="'linenumbering.width'"/> - </xsl:call-template> - </xsl:variable> - - <!-- Construct the 'in-context' values --> - <xsl:variable name="linenumbering.everyNth"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.everyNth != ''"> - <xsl:value-of select="$pi.linenumbering.everyNth"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.everyNth"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="linenumbering.separator"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.separator != ''"> - <xsl:value-of select="$pi.linenumbering.separator"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.separator"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="linenumbering.width"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.width != ''"> - <xsl:value-of select="$pi.linenumbering.width"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.width"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - - <xsl:choose> - <xsl:when test="contains($vendor, 'SAXON ')"> - <xsl:copy-of select="sverb:numberLines($rtf)"/> - </xsl:when> - <xsl:when test="contains($vendor, 'Apache Software Foundation')"> - <xsl:copy-of select="xverb:numberLines($rtf)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>Don't know how to do line numbering with </xsl:text> - <xsl:value-of select="$vendor"/> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/fo/xep.xsl b/lib/docbook/docbook-xsl/fo/xep.xsl deleted file mode 100644 index 8f9a86763..000000000 --- a/lib/docbook/docbook-xsl/fo/xep.xsl +++ /dev/null @@ -1,207 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:fo="http://www.w3.org/1999/XSL/Format" - xmlns:rx="http://www.renderx.com/XSL/Extensions" - version='1.0'> - -<!-- ******************************************************************** - $Id: xep.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - ******************************************************************** - (c) Stephane Bline Peregrine Systems 2001 - Implementation of xep extensions: - * Pdf bookmarks (based on the XEP 2.5 implementation) - * Document information (XEP 2.5 meta information extensions) - ******************************************************************** --> - -<!-- ******************************************************************** - Document information - In PDF bookmarks can't be used characters with code>255. This version of file - translates characters with code>255 back to ASCII. - - Pavel Zampach (zampach@volny.cz) - - ********************************************************************--> - -<xsl:template name="xep-document-information"> - <rx:meta-info> - <xsl:if test="//author[1]"> - <xsl:element name="rx:meta-field"> - <xsl:attribute name="name">author</xsl:attribute> - <xsl:attribute name="value"> - <xsl:call-template name="person.name"> - <xsl:with-param name="node" select="//author[1]"/> - </xsl:call-template> - </xsl:attribute> - </xsl:element> - </xsl:if> - - <xsl:variable name="title"> - <xsl:apply-templates select="/*[1]" mode="label.markup"/> - <xsl:apply-templates select="/*[1]" mode="title.markup"/> - </xsl:variable> - - <xsl:element name="rx:meta-field"> - <xsl:attribute name="name">title</xsl:attribute> - <xsl:attribute name="value"> - <xsl:value-of select="$title"/> - </xsl:attribute> - </xsl:element> - </rx:meta-info> -</xsl:template> - -<!-- ******************************************************************** - Pdf bookmarks - ******************************************************************** --> -<xsl:template match="set" mode="xep.outline"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - <xsl:variable name="bookmark-label"> - <xsl:apply-templates select="." mode="label.content"/> - <xsl:apply-templates select="." mode="title.content"/> - </xsl:variable> - <rx:bookmark internal-destination="{$id}"> - <rx:bookmark-label> - <xsl:value-of select="translate($bookmark-label, $a-dia, $a-asc)"/> - </rx:bookmark-label> - - <xsl:if test="book"> - <xsl:apply-templates select="book" - mode="xep.outline"/> - </xsl:if> - </rx:bookmark> -</xsl:template> - -<xsl:template match="book" mode="xep.outline"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - <xsl:variable name="bookmark-label"> - <xsl:apply-templates select="." mode="label.markup"/> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:variable> - - <rx:bookmark internal-destination="{$id}"> - <rx:bookmark-label> - <xsl:value-of select="translate($bookmark-label, $a-dia, $a-asc)"/> - </rx:bookmark-label> - - <xsl:if test="part|preface|chapter|appendix"> - <xsl:apply-templates select="part|preface|chapter|appendix" - mode="xep.outline"/> - </xsl:if> - </rx:bookmark> -</xsl:template> - - -<xsl:template match="part" mode="xep.outline"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - <xsl:variable name="bookmark-label"> - <xsl:apply-templates select="." mode="label.markup"/> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:variable> - - <rx:bookmark internal-destination="{$id}"> - <rx:bookmark-label> - <xsl:value-of select="translate($bookmark-label, $a-dia, $a-asc)"/> - </rx:bookmark-label> - - <xsl:if test="chapter|appendix|preface|reference"> - <xsl:apply-templates select="chapter|appendix|preface|reference" - mode="xep.outline"/> - </xsl:if> - </rx:bookmark> -</xsl:template> - -<xsl:template match="preface|chapter|appendix" - mode="xep.outline"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - <xsl:variable name="bookmark-label"> - <xsl:apply-templates select="." mode="label.markup"/> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:variable> - - <rx:bookmark internal-destination="{$id}"> - <rx:bookmark-label> - <xsl:value-of select="translate($bookmark-label, $a-dia, $a-asc)"/> - </rx:bookmark-label> - - <xsl:if test="section|sect1"> - <xsl:apply-templates select="section|sect1" - mode="xep.outline"/> - </xsl:if> - </rx:bookmark> -</xsl:template> - -<xsl:template match="section|sect1|sect2|sect3|sect4|sect5" - mode="xep.outline"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - <xsl:variable name="bookmark-label"> - <xsl:apply-templates select="." mode="label.markup"/> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:variable> - - <rx:bookmark internal-destination="{$id}"> - <rx:bookmark-label> - <xsl:value-of select="translate($bookmark-label, $a-dia, $a-asc)"/> - </rx:bookmark-label> - - <xsl:if test="section|sect2|sect3|sect4|sect5"> - <xsl:apply-templates select="section|sect2|sect3|sect4|sect5" - mode="xep.outline"/> - </xsl:if> - </rx:bookmark> -</xsl:template> - -<xsl:template match="bibliography|glossary|index" - mode="xep.outline"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - <xsl:variable name="bookmark-label"> - <xsl:apply-templates select="." mode="label.markup"/> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:variable> - - <rx:bookmark internal-destination="{$id}"> - <rx:bookmark-label> - <xsl:value-of select="translate($bookmark-label, $a-dia, $a-asc)"/> - </rx:bookmark-label> - </rx:bookmark> -</xsl:template> -<!-- Added missing template for "article" --> -<xsl:template match="article" - mode="xep.outline"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - <xsl:variable name="bookmark-label"> - <xsl:apply-templates select="." mode="label.markup"/> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:variable> - - <rx:bookmark internal-destination="{$id}"> - <rx:bookmark-label> - <xsl:value-of select="translate($bookmark-label, $a-dia, $a-asc)"/> - </rx:bookmark-label> - - <xsl:if test="section|sect1|appendix|bibliography|glossary|index"> - <xsl:apply-templates select="section|sect1|appendix|bibliography|glossary|index" - mode="xep.outline"/> - </xsl:if> - </rx:bookmark> -</xsl:template> - - - -<xsl:template match="title" mode="xep.outline"> - <xsl:apply-templates/> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/fo/xref.xsl b/lib/docbook/docbook-xsl/fo/xref.xsl deleted file mode 100644 index 82885c5f7..000000000 --- a/lib/docbook/docbook-xsl/fo/xref.xsl +++ /dev/null @@ -1,415 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:fo="http://www.w3.org/1999/XSL/Format" - version='1.0'> - -<!-- ******************************************************************** - $Id: xref.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="anchor"> - <fo:wrapper id="{@id}"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="xref"> - <xsl:variable name="targets" select="id(@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:variable name="refelem" select="local-name($target)"/> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - - <xsl:choose> - <xsl:when test="$refelem=''"> - <xsl:message> - <xsl:text>XRef to nonexistent id: </xsl:text> - <xsl:value-of select="@linkend"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - - <xsl:when test="$target/@xreflabel"> - <fo:basic-link internal-destination="{@linkend}" - xsl:use-attribute-sets="xref.properties"> - <xsl:call-template name="xref.xreflabel"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </fo:basic-link> - </xsl:when> - - <xsl:otherwise> - <fo:basic-link internal-destination="{@linkend}" - xsl:use-attribute-sets="xref.properties"> - <xsl:choose> - <xsl:when test="@endterm"> - <xsl:variable name="etargets" select="id(@endterm)"/> - <xsl:variable name="etarget" select="$etargets[1]"/> - <xsl:choose> - <xsl:when test="count($etarget) = 0"> - <xsl:message> - <xsl:value-of select="count($etargets)"/> - <xsl:text>Endterm points to nonexistent ID: </xsl:text> - <xsl:value-of select="@endterm"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$etarget" mode="endterm"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:otherwise> - <xsl:apply-templates select="$target" mode="xref-to"/> - </xsl:otherwise> - </xsl:choose> - </fo:basic-link> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="endterm"> - <!-- Process the children of the endterm element --> - <xsl:apply-templates select="child::node()"/> -</xsl:template> - -<!--- ==================================================================== --> - -<xsl:template match="*" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - - <xsl:message> - <xsl:text>Don't know what gentext to create for xref to: "</xsl:text> - <xsl:value-of select="$refelem"/> - <xsl:text>"</xsl:text> - </xsl:message> - <xsl:text>???</xsl:text> -</xsl:template> - -<xsl:template match="author" mode="xref-to"> - <xsl:call-template name="person.name"/> -</xsl:template> - -<xsl:template match="authorgroup" mode="xref-to"> - <xsl:call-template name="person.name.list"/> -</xsl:template> - -<xsl:template match="figure" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="example" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="table" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="equation" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="procedure" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="cmdsynopsis" mode="xref-to"> - <xsl:apply-templates select="(.//command)[1]" mode="xref"/> -</xsl:template> - -<xsl:template match="funcsynopsis" mode="xref-to"> - <xsl:apply-templates select="(.//function)[1]" mode="xref"/> -</xsl:template> - -<xsl:template match="dedication" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="preface" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="chapter" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="appendix" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="bibliography" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-to"> - <!-- handles both biblioentry and bibliomixed --> - <xsl:text>[</xsl:text> - <xsl:choose> - <xsl:when test="string(.) = ''"> - <xsl:variable name="bib" select="document($bibliography.collection)"/> - <xsl:variable name="id" select="@id"/> - <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/> - <xsl:choose> - <xsl:when test="$entry"> - <xsl:choose> - <xsl:when test="local-name($entry/*[1]) = 'abbrev'"> - <xsl:apply-templates select="$entry/*[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>No bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </xsl:message> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="local-name(*[1]) = 'abbrev'"> - <xsl:apply-templates select="*[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - <xsl:text>]</xsl:text> -</xsl:template> - -<xsl:template match="glossary" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="index" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="section|simplesect - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> - <!-- What about "in Chapter X"? --> -</xsl:template> - -<xsl:template match="bridgehead" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> - <!-- What about "in Chapter X"? --> -</xsl:template> - -<xsl:template match="qandaset" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="qandadiv" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="qandaentry" mode="xref-to"> - <xsl:apply-templates select="question[1]" mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="question" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="answer" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="part" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="reference" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="step" mode="xref-to"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Step'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates select="." mode="number"/> -</xsl:template> - -<xsl:template match="co" mode="xref-to"> - <xsl:apply-templates select="." mode="callout-bug"/> -</xsl:template> - -<xsl:template match="book" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="link"> - <xsl:variable name="targets" select="id(@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - - <fo:basic-link internal-destination="{@linkend}" - xsl:use-attribute-sets="xref.properties"> - <xsl:choose> - <xsl:when test="count(child::node()) > 0"> - <!-- If it has content, use it --> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <!-- else look for an endterm --> - <xsl:choose> - <xsl:when test="@endterm"> - <xsl:variable name="etargets" select="id(@endterm)"/> - <xsl:variable name="etarget" select="$etargets[1]"/> - <xsl:choose> - <xsl:when test="count($etarget) = 0"> - <xsl:message> - <xsl:value-of select="count($etargets)"/> - <xsl:text>Endterm points to nonexistent ID: </xsl:text> - <xsl:value-of select="@endterm"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$etarget" mode="endterm"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:otherwise> - <xsl:message> - <xsl:text>Link element has no content and no Endterm. </xsl:text> - <xsl:text>Nothing to show in the link to </xsl:text> - <xsl:value-of select="$target"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </fo:basic-link> -</xsl:template> - -<xsl:template match="ulink"> - <fo:basic-link external-destination="{@url}" - xsl:use-attribute-sets="xref.properties"> - <xsl:choose> - <xsl:when test="count(child::node())=0"> - <xsl:value-of select="@url"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </fo:basic-link> - <xsl:if test="count(child::node()) != 0"> - <fo:inline hyphenate="false"> - <xsl:text> [</xsl:text> - <xsl:value-of select="@url"/> - <xsl:text>]</xsl:text> - </fo:inline> - </xsl:if> -</xsl:template> - -<xsl:template match="olink"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="title.xref"> - <xsl:param name="target" select="."/> - <xsl:choose> - <xsl:when test="local-name($target) = 'figure' - or local-name($target) = 'example' - or local-name($target) = 'equation' - or local-name($target) = 'table' - or local-name($target) = 'dedication' - or local-name($target) = 'preface' - or local-name($target) = 'bibliography' - or local-name($target) = 'glossary' - or local-name($target) = 'index' - or local-name($target) = 'setindex' - or local-name($target) = 'colophon'"> - <xsl:call-template name="gentext.startquote"/> - <xsl:apply-templates select="$target" mode="title.markup"/> - <xsl:call-template name="gentext.endquote"/> - </xsl:when> - <xsl:otherwise> - <fo:inline font-style="italic"> - <xsl:apply-templates select="$target" mode="title.markup"/> - </fo:inline> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="number.xref"> - <xsl:param name="target" select="."/> - <xsl:apply-templates select="$target" mode="label.markup"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="xref.xreflabel"> - <!-- called to process an xreflabel...you might use this to make --> - <!-- xreflabels come out in the right font for different targets, --> - <!-- for example. --> - <xsl:param name="target" select="."/> - <xsl:value-of select="$target/@xreflabel"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="title" mode="xref"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="command" mode="xref"> - <xsl:call-template name="inline.boldseq"/> -</xsl:template> - -<xsl:template match="function" mode="xref"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template name="insert.page.citation"> - <xsl:param name="id" select="'???'"/> - <xsl:if test="$insert.xref.page.number"> - <xsl:text> </xsl:text> - <fo:inline keep-together.within-line="always"> - <xsl:text>[</xsl:text> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'page.citation'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <fo:page-number-citation ref-id="{$id}"/> - <xsl:text>]</xsl:text> - </fo:inline> - </xsl:if> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/ChangeLog b/lib/docbook/docbook-xsl/html/ChangeLog deleted file mode 100644 index 760813b6b..000000000 --- a/lib/docbook/docbook-xsl/html/ChangeLog +++ /dev/null @@ -1,355 +0,0 @@ -2001-08-14 Norman Walsh <nwalsh@users.sourceforge.net> - - * xref.xsl: Display the ID when gentext cannot be created - -2001-08-11 Robert Stayton <bobstayton@users.sourceforge.net> - - * param.xsl: Removed the '?' from olink resolver parameter because - the olink template will add that (or not, depending on - how that template is customized). - -2001-08-08 Norman Walsh <nwalsh@users.sourceforge.net> - - * param.xsl, verbatim.xsl: Support shade.verbatim parameter - -2001-08-05 Norman Walsh <nwalsh@users.sourceforge.net> - - * param.xsl: Removed the FormatDingbatCallout classes, they were the same as the FormatUnicodeCallout classes but with a font wrapper. Added a callout.unicode.font parameter to wrap Unicode callouts - -2001-08-04 Norman Walsh <nwalsh@users.sourceforge.net> - - * autotoc.xsl: Add '.' to the autotoc.label.separator; suppress the separator if there is no label - - * chunker.xsl: Added a quiet parameter to suppress the Writing... message - - * refentry.xsl: Don't output anchor for refsect*, the anchor is output as part of the title processing - -2001-08-02 Robert Stayton <bobstayton@users.sourceforge.net> - - * sections.xsl: Allow anchors in section titles - - * xref.xsl: Changed <link> to process its endterm if the element content - is empty. - -2001-08-01 Norman Walsh <nwalsh@users.sourceforge.net> - - * component.xsl: Don't calculate ids where they aren't used; don't put ids on divs because anchors will be output in the component title - - * footnote.xsl: Process simpara in footnote; warn if something unexpected turns up in a footnote - - * formal.xsl: Allow anchors in formal object titles - - * graphics.xsl: Output anchors for images that have IDs - - * lists.xsl: Output anchors for list elements with IDs - - * param.xsl: Leave ../ out of graphics paths by default; that doesn't make sense anymore - - * param.xsl, xref.xsl: First crude beginnings of olink support - - * qandaset.xsl: Remove unnecessary spaces - - * titlepage.templates.xml: Don't suppress othercredit on titlepages - - * titlepage.xsl: Handle othercredits on title pages - -2001-07-21 Norman Walsh <nwalsh@users.sourceforge.net> - - * block.xsl, param.xsl: Fix title-end punctuation problems on formalparas - -2001-07-17 Robert Stayton <bobstayton@users.sourceforge.net> - - * graphics.xsl: Fixed bug #442160. Parameter graphic.default.extension is now used also for <graphic> and <inlinegraphic> not only for <imagedata>. - - * xref.xsl: xref element with endterm attribute now uses normal templates - to process the children of the element pointed to by the endterm - ID. Formerly it just used the built-in template and rendered - just the text nodes. - -2001-07-16 Norman Walsh <nwalsh@users.sourceforge.net> - - * inline.xsl, param.xsl: Added phrase.propagates.style and emphasis.propagates.style: if true, wrap a span around phrase and emphasis elements with the role attribute propagated to the class attribute - - * sections.xsl: added null templates for section titleabbrev in normal mode - - * table.xsl: Wrap tbody around table footnotes (so that the HTML table model is not broken) - -2001-07-15 Norman Walsh <nwalsh@users.sourceforge.net> - - * param.xsl: Make generate.section.toc.level 0 by default - -2001-07-10 Norman Walsh <nwalsh@users.sourceforge.net> - - * chunk.xsl: Remove extension namespace declarations; they aren't actually used in this module - - * chunker.xsl: Make exsl:document the first choice - - * chunker.xsl: Fix EXSLT namespace name for exsl:document element - - * chunker.xsl, oldchunker.xsl, param.xsl: Move declaration for default.encoding and saxon.character.representation from param.xsl to (old)chunker.xsl so that chunker.xsl can be used by any stylesheet (indepedent of docbook.xsl). Maybe this should get moved to lib... - - * pi.xsl: Irrelevant encoding change - -2001-07-09 Norman Walsh <nwalsh@users.sourceforge.net> - - * autotoc.xsl: Fixed typo in reference to annotate.toc variable - -2001-07-08 Norman Walsh <nwalsh@users.sourceforge.net> - - * calc-chunks.xsl, chunk-experimental.xsl: Break chunk calculation and chunking into two tasks; *requires* every chunk to have an ID - - * chunker.xsl: Use element-available function not vendor to find chunking elements - - * exsltchunk.xsl, exsltchunker.xsl: These have been integrated into the regular chunker now that it's based on extension-available() - - * keywords.xsl: Tweaked handling of keywords to avoid multiple templates - - * oldchunker.xsl: New file. - - * qandaset.xsl: Improve QandA formatting; make question bold if defaultlabel=none (FR #419315) - - * xref.xsl: Support xref to bridgehead - -2001-07-07 Norman Walsh <nwalsh@users.sourceforge.net> - - * param.xsl: Added callout.dingbats parameter (for extension support; not really used in HTML) - -2001-07-06 Norman Walsh <nwalsh@users.sourceforge.net> - - * chunk-experimental.xsl, expchunk.xsl: New file. - -2001-07-05 Norman Walsh <nwalsh@users.sourceforge.net> - - * block.xsl: Whitespace - - * block.xsl, lists.xsl: FR #422097, make a listitem containing a single simpara output an li with only inline content - - * chunk-common.xsl: Patch #418401, add accesskey attributes to HTML navigation - - * chunk-common.xsl: Patch #428987, use the id of the root element if use.id.as.filename is non-zero; also chunk a /section properly - - * param.xsl, sections.xsl: SR #431040, added generate.section.toc.level parameter to control depth of sections which get a TOC - - * param.xsl, sections.xsl: Change semantics of generate.section.toc.level; 0 no longer means ignored it now means less than 1 :-) - - * titlepage.xsl: Patch #415865, output contrib for authors and othercontribs - -2001-07-04 <uid48421@users.sourceforge.net> - - * autotoc.xsl: Support annotated TOCs - - * biblio.xsl, param.xsl, xref.xsl: Support an external bibliography collection - - * chunk-common.xsl, docbook.xsl, param.xsl: Bug #418968: replaced body.attrs attribute-set with body.attributes template - - * component.xsl, sections.xsl: Remove internal references to *.titlepage.recto.mode and *.titlepage.verso.mode - - * ebnf.xsl: Minor presentation bug fixes - - * xref.xsl: Bug #429011, fix xref to qandset elements - -2001-06-22 Norman Walsh <nwalsh@users.sourceforge.net> - - * docbook.xsl, ebnf.xsl: Support EBNF - - * param.xsl: Remove unused parameter: check.idref - -2001-06-21 Norman Walsh <nwalsh@users.sourceforge.net> - - * lists.xsl, param.xsl, xref.xsl: Use common code to calculate step numbers; support xref to procedures and steps; added formal.procedures parameter - -2001-06-20 Norman Walsh <nwalsh@users.sourceforge.net> - - * formal.xsl: Generate formal titles correctly - - * graphics.xsl: Don't put span around inlinemediaobject in programlistings or screens (causes problems with line numbering and callouts) - - * refentry.xsl: Bug 434102: fix refentry inside of chapter and fix refsynopsisdiv formatting in both FO and HTML - - * xref.xsl: Support xref to authorgroup - -2001-06-18 Norman Walsh <nwalsh@users.sourceforge.net> - - * chunk-common.xsl: Reordered erroneous test: only link to top-level sections, even if the first one is a chunk - -2001-06-17 Norman Walsh <nwalsh@users.sourceforge.net> - - * exsltchunk.xsl, exsltchunker.xsl: New file. - -2001-06-15 Norman Walsh <nwalsh@users.sourceforge.net> - - * component.xsl: Handle subtitle in articleinfo - -2001-06-13 Norman Walsh <nwalsh@users.sourceforge.net> - - * chunk-common.xsl: Make sure the root element gets processed correctly so that it generates the right titlepage - - * component.xsl: Don't output ID attributes on DIVs with required titles since they conflict with the NAME attributes on the subsequently output A tags. - - * docbook.xsl: Pass the current node to user.head.content - - * index.xsl: Updated comment - -2001-06-07 Jirka Kosek <kosek@users.sourceforge.net> - - * lists.xsl: Things preceding steps in procedure are placed before OL list. - -2001-06-04 Norman Walsh <nwalsh@users.sourceforge.net> - - * lists.xsl: Fixed typo in compact list support; backed out procedure step changes - - * sections.xsl: Fixed CSS typo; clear: all should be clear: both - -2001-06-02 Jirka Kosek <kosek@users.sourceforge.net> - - * lists.xsl: Fixed bug #424926. Things preceding steps in procedure are not placed inside OL list. - -2001-05-23 Norman Walsh <nwalsh@users.sourceforge.net> - - * component.xsl: Reorganized templates for clarity - - * graphics.xsl: Fix dup. template bug with is.graphic.* - - * titlepage.xsl: Added template for publisher - -2001-05-21 Norman Walsh <nwalsh@users.sourceforge.net> - - * autotoc.xsl: Make the TOC label/title separator a parameter - - * callout.xsl, verbatim.xsl: Move calculation of linenumber.* parameters into the number.rtf.lines template - - * changebars.xsl: Add link and member as inlines - - * sections.xsl: Refactor the section title code - - * titlepage.templates.xml: Reworked titlepage template processing to support use of more interesting - predicates. - - Note: in previous versions, at most one title, subtitle, or titleabbrev - element would be processed for each title page. In the new design, if you - have multiple title, subtitle, or titleabbrev elements inside an info - wrapper (you shouldn't!), they will all be processed. - -2001-05-13 Norman Walsh <nwalsh@users.sourceforge.net> - - * param.xsl: Fixed ID typo - - * synop.xsl: Fixed synopfragmentref link (suggested by Philippe Martin) - -2001-05-12 Norman Walsh <nwalsh@users.sourceforge.net> - - * autotoc.xsl, param.xsl: Mostly failed attempt to add bridgeheads to the automatic TOC; this option is turned off by default and you should leave it that way. - - * sections.xsl: Calculate the heading level for bridgeheads - -2001-05-03 Norman Walsh <nwalsh@users.sourceforge.net> - - * lists.xsl: Output anchors for procedures and steps - - * table.xsl: Process head/body/foot in the right order - -2001-04-29 Norman Walsh <nwalsh@users.sourceforge.net> - - * chunk-common.xsl, chunk.xsl, xtchunk.xsl: Automatically make an index when chunking with a processor other than XT - -2001-04-26 Norman Walsh <nwalsh@users.sourceforge.net> - - * changebars.xsl: Support a few more elements - - * inline.xsl: Make glossterms hot if they're links. And make them italic. - - * lists.xsl: Improve procedure step/substep enumeration - -2001-04-24 Norman Walsh <nwalsh@users.sourceforge.net> - - * chunk-common.xsl: Feature request 416507: added chunk.sections and chunk.first.sections to provide greater chunking flexibility - - * chunk-common.xsl: Fix chunking bug - - * chunker.xsl: Output ID in message - - * glossary.xsl: Fix bug that caused duplicated glossary entries - - * qandaset.xsl: Bug #418100: fix qandaentry anchors; also fixed formatting bug in questions with indexterms - -2001-04-21 Jirka Kosek <kosek@users.sourceforge.net> - - * chunker.xsl, param.xsl: Added parameters for changing output encoding in chunked HTML - - * inline.xsl: Improve processing of trademarks - -2001-04-20 Norman Walsh <nwalsh@users.sourceforge.net> - - * inline.xsl: Restoring accidentally deleted citetitle template - -2001-04-18 Norman Walsh <nwalsh@users.sourceforge.net> - - * autoidx.xsl: Fix bug: lowercase and uppercase need to be strings (not element names :-) - - * inline.xsl, param.xsl: Bug #413982, easy support for man page CGI links on citerefentry - -2001-04-17 Norman Walsh <nwalsh@users.sourceforge.net> - - * docbook.xsl, param.xsl: Move label.from.part parameter into param.xsl; default it to 0 so that chapters and appendixes are numbered monotonically throughout a book by default. Moved param.xsl up in the include list, just for good measure - -2001-04-16 Norman Walsh <nwalsh@users.sourceforge.net> - - * component.xsl: Fix bug in processing of subtitle content on components - - * glossary.xsl, titlepage.templates.xml: Fix formatting of glossarys--things were really broken - - * xref.xsl: Patches Tracker #415439: support title attribute on HTML anchors associated with xrefs - -2001-04-15 Norman Walsh <nwalsh@users.sourceforge.net> - - * chunk-common.xsl: Process footnotes correctly when chunking; add summary attribute to navigation tables - - * docbook.xsl: Support inheriting of *info keywords - - * footnote.xsl, sections.xsl: Process footnotes correctly when chunking - - * formal.xsl: Use gentext templates for formal object titles - - * param.xsl: Added new parameters: inherit.keywords, process.source.toc, and process.empty.source.toc; changed the default for spacing.paras to 0 - - * table.xsl: Improve support for align attribute on tgroup - - * toc.xsl: Support DocBook toc markup - - * xref.xsl: Make a title attribute on HTML anchors for links to things with titles - -2001-04-05 Norman Walsh <nwalsh@users.sourceforge.net> - - * table.xsl: Don't translate tgroup align into HTML table align--they don't mean the same thing - - * titlepage.xsl: Suppress titleabbrev on the title page - -2001-04-04 Norman Walsh <nwalsh@users.sourceforge.net> - - * chunk-common.xsl: Move xsl:message about chunks into the chunker modules - - * chunker.xsl: Support indent and doctype public/system on chunks (for Saxon, anyway, Xalan's multiple-document extension doesn't seem to support this) - - * xtchunker.xsl: Use xsl:choose to support xml, html, and text output methods - -2001-04-03 Norman Walsh <nwalsh@users.sourceforge.net> - - * callout.xsl: Fix bug 412487, make XSL-generated callout marks honor callout mark parameters - - * chunk-common.xsl: Remove unnecessary xmlns declarations - - * chunker.xsl: Patch to make saxon not produce xml version=1.1 documents - - * param.xsl: Documentation fixes - - * qandaset.xsl: Apply patch 412510 by Jon Willeke, make xref to Question work correctly - - * xref.xsl: Remove unnecessary parameter assignment - -2001-04-02 Norman Walsh <nwalsh@users.sourceforge.net> - - * .cvsignore, Makefile, admon.xsl, autoidx.xsl, autotoc.xsl, biblio.xsl, block.xsl, callout.xsl, changebars.xsl, chunk-common.xsl, chunk.xsl, chunker.xsl, component.xsl, division.xsl, docbook.xsl, ebnf.xsl, footnote.xsl, formal.xsl, glossary.xsl, graphics.xsl, html.xsl, index.xsl, info.xsl, inline.xsl, keywords.xsl, lists.xsl, math.xsl, param.xsl, pi.xsl, qandaset.xsl, refentry.xsl, sections.xsl, synop.xsl, table.xsl, titlepage.templates.xml, titlepage.xsl, toc.xsl, verbatim.xsl, xref.xsl, xtchunk.xsl, xtchunker.xsl: - New file. - - * Makefile: Use the cvstools version of saxon - diff --git a/lib/docbook/docbook-xsl/html/admon.xsl b/lib/docbook/docbook-xsl/html/admon.xsl deleted file mode 100644 index 2c8b99e15..000000000 --- a/lib/docbook/docbook-xsl/html/admon.xsl +++ /dev/null @@ -1,135 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id: admon.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template name="admon.graphic.width"> - <xsl:param name="node" select="."/> - <xsl:text>25</xsl:text> -</xsl:template> - -<xsl:template match="note|important|warning|caution|tip"> - <xsl:choose> - <xsl:when test="$admon.graphics != 0"> - <xsl:call-template name="graphical.admonition"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="nongraphical.admonition"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="admon.graphic"> - <xsl:param name="node" select="."/> - <xsl:value-of select="$admon.graphics.path"/> - <xsl:choose> - <xsl:when test="name($node)='note'">note</xsl:when> - <xsl:when test="name($node)='warning'">warning</xsl:when> - <xsl:when test="name($node)='caution'">caution</xsl:when> - <xsl:when test="name($node)='tip'">tip</xsl:when> - <xsl:when test="name($node)='important'">important</xsl:when> - <xsl:otherwise>note</xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$admon.graphics.extension"/> -</xsl:template> - -<xsl:template name="graphical.admonition"> - <div class="{name(.)}"> - <xsl:if test="$admon.style != ''"> - <xsl:attribute name="style"> - <xsl:value-of select="$admon.style"/> - </xsl:attribute> - </xsl:if> - <table border="0"> - <tr> - <td rowspan="2" align="center" valign="top"> - <xsl:attribute name="width"> - <xsl:call-template name="admon.graphic.width"/> - </xsl:attribute> - <img> - <xsl:attribute name="src"> - <xsl:call-template name="admon.graphic"/> - </xsl:attribute> - </img> - </td> - <th> - <a> - <xsl:attribute name="name"> - <xsl:call-template name="object.id"/> - </xsl:attribute> - </a> - <xsl:apply-templates select="." mode="object.title.markup"/> - </th> - </tr> - <tr> - <td colspan="2" align="left" valign="top"> - <xsl:apply-templates/> - </td> - </tr> - </table> - </div> -</xsl:template> - -<xsl:template name="nongraphical.admonition"> - <div class="{name(.)}"> - <xsl:if test="$admon.style"> - <xsl:attribute name="style"> - <xsl:value-of select="$admon.style"/> - </xsl:attribute> - </xsl:if> - - <h3 class="title"> - <a> - <xsl:attribute name="name"> - <xsl:call-template name="object.id"/> - </xsl:attribute> - </a> - <xsl:apply-templates select="." mode="object.title.markup"/> - </h3> - - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="note/title"></xsl:template> -<xsl:template match="important/title"></xsl:template> -<xsl:template match="warning/title"></xsl:template> -<xsl:template match="caution/title"></xsl:template> -<xsl:template match="tip/title"></xsl:template> - -<xsl:template match="title" mode="admonition.title.mode"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:variable> - <h3 class="title"> - <a name="{$id}"> - <xsl:apply-templates/> - </a> - </h3> -</xsl:template> - -<xsl:template match="title" mode="graphic.admonition.title.mode"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:variable> - <b class="title"> - <a name="{$id}"> - <xsl:apply-templates/> - </a> - </b> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/autoidx.xsl b/lib/docbook/docbook-xsl/html/autoidx.xsl deleted file mode 100644 index e686cd975..000000000 --- a/lib/docbook/docbook-xsl/html/autoidx.xsl +++ /dev/null @@ -1,296 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE xsl:stylesheet [ - -<!ENTITY lowercase "'abcdefghijklmnopqrstuvwxyz'"> -<!ENTITY uppercase "'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"> - -<!ENTITY primary 'concat(primary/@sortas, primary[not(@sortas)])'> -<!ENTITY secondary 'concat(secondary/@sortas, secondary[not(@sortas)])'> -<!ENTITY tertiary 'concat(tertiary/@sortas, tertiary[not(@sortas)])'> - -<!ENTITY section '(ancestor-or-self::set - |ancestor-or-self::book - |ancestor-or-self::part - |ancestor-or-self::reference - |ancestor-or-self::partintro - |ancestor-or-self::chapter - |ancestor-or-self::appendix - |ancestor-or-self::preface - |ancestor-or-self::section - |ancestor-or-self::sect1 - |ancestor-or-self::sect2 - |ancestor-or-self::sect3 - |ancestor-or-self::sect4 - |ancestor-or-self::sect5 - |ancestor-or-self::refsect1 - |ancestor-or-self::refsect2 - |ancestor-or-self::refsect3 - |ancestor-or-self::simplesect - |ancestor-or-self::bibliography - |ancestor-or-self::glossary - |ancestor-or-self::index)[last()]'> - -<!ENTITY section.id 'generate-id(§ion;)'> -<!ENTITY sep '" "'> -]> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - -<xsl:import href="docbook.xsl"/> - -<!-- ==================================================================== --> -<!-- Jeni Tennison gets all the credit for what follows. - I think I understand it :-) Anyway, I've hacked it a bit, so the - bugs are mine. --> - -<xsl:key name="letter" - match="indexterm" - use="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/> - -<xsl:key name="primary" - match="indexterm" - use="&primary;"/> - -<xsl:key name="secondary" - match="indexterm" - use="concat(&primary;, &sep;, &secondary;)"/> - -<xsl:key name="tertiary" - match="indexterm" - use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/> - -<xsl:key name="primary-section" - match="indexterm[not(secondary) and not(see)]" - use="concat(&primary;, &sep;, §ion.id;)"/> - -<xsl:key name="secondary-section" - match="indexterm[not(tertiary) and not(see)]" - use="concat(&primary;, &sep;, &secondary;, &sep;, §ion.id;)"/> - -<xsl:key name="tertiary-section" - match="indexterm[not(see)]" - use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, §ion.id;)"/> - -<xsl:key name="see-also" - match="indexterm[seealso]" - use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso)"/> - -<xsl:key name="see" - match="indexterm[see]" - use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see)"/> - -<xsl:key name="sections" match="*[@id]" use="@id"/> - -<xsl:template name="generate-index"> - <xsl:variable name="terms" select="//indexterm[count(.|key('letter', - translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;))[1]) = 1]"/> - - <xsl:variable name="alphabetical" - select="$terms[contains(concat(&lowercase;, &uppercase;), - substring(&primary;, 1, 1))]"/> - <xsl:variable name="others" select="$terms[not(contains(concat(&lowercase;, - &uppercase;), - substring(&primary;, 1, 1)))]"/> - <div class="index"> - <xsl:if test="$others"> - <div class="indexdiv"> - <h3> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'index symbols'"/> - </xsl:call-template> - </h3> - <dl> - <xsl:apply-templates select="$others[count(.|key('primary', - &primary;)[1]) = 1]" - mode="index-primary"> - <xsl:sort select="&primary;"/> - </xsl:apply-templates> - </dl> - </div> - </xsl:if> - <xsl:apply-templates select="$alphabetical[count(.|key('letter', - translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;))[1]) = 1]" - mode="index-div"> - <xsl:sort select="&primary;"/> - </xsl:apply-templates> - </div> -</xsl:template> - -<xsl:template match="indexterm" mode="index-div"> - <xsl:variable name="key" select="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/> - <div class="indexdiv"> - <h3> - <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/> - </h3> - <dl> - <xsl:apply-templates select="key('letter', $key)[count(.|key('primary', &primary;)[1]) = 1]" - mode="index-primary"> - <xsl:sort select="&primary;"/> - </xsl:apply-templates> - </dl> - </div> -</xsl:template> - -<xsl:template match="indexterm" mode="index-primary"> - <xsl:variable name="key" select="&primary;"/> - <xsl:variable name="refs" select="key('primary', $key)"/> - <dt> - <xsl:value-of select="primary"/> - <xsl:for-each select="$refs[generate-id() = generate-id(key('primary-section', concat($key, &sep;, §ion.id;))[1])]"> - <xsl:apply-templates select="." mode="reference"/> - </xsl:for-each> - </dt> - <xsl:if test="$refs/secondary or $refs[not(secondary)]/*[self::see or self::seealso]"> - <dd> - <dl> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &sep;, &sep;, see))[1])]" - mode="index-see"> - <xsl:sort select="see"/> - </xsl:apply-templates> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &sep;, &sep;, seealso))[1])]" - mode="index-seealso"> - <xsl:sort select="seealso"/> - </xsl:apply-templates> - <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &sep;, &secondary;))[1]) = 1]" - mode="index-secondary"> - <xsl:sort select="&secondary;"/> - </xsl:apply-templates> - </dl> - </dd> - </xsl:if> -</xsl:template> - -<xsl:template match="indexterm" mode="index-secondary"> - <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;)"/> - <xsl:variable name="refs" select="key('secondary', $key)"/> - <dt> - <xsl:value-of select="secondary"/> - <xsl:for-each select="$refs[generate-id() = generate-id(key('secondary-section', concat($key, &sep;, §ion.id;))[1])]"> - <xsl:apply-templates select="." mode="reference"/> - </xsl:for-each> - </dt> - <xsl:if test="$refs/tertiary or $refs[not(tertiary)]/*[self::see or self::seealso]"> - <dd> - <dl> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, see))[1])]" - mode="index-see"> - <xsl:sort select="see"/> - </xsl:apply-templates> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, seealso))[1])]" - mode="index-seealso"> - <xsl:sort select="seealso"/> - </xsl:apply-templates> - <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[1]) = 1]" - mode="index-tertiary"> - <xsl:sort select="&tertiary;"/> - </xsl:apply-templates> - </dl> - </dd> - </xsl:if> -</xsl:template> - -<xsl:template match="indexterm" mode="index-tertiary"> - <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/> - <xsl:variable name="refs" select="key('tertiary', $key)"/> - <dt> - <xsl:value-of select="tertiary"/> - <xsl:for-each select="$refs[generate-id() = generate-id(key('tertiary-section', concat($key, &sep;, §ion.id;))[1])]"> - <xsl:apply-templates select="." mode="reference"/> - </xsl:for-each> - </dt> - <xsl:variable name="see" select="$refs/see | $refs/seealso"/> - <xsl:if test="$see"> - <dd> - <dl> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see))[1])]" - mode="index-see"> - <xsl:sort select="see"/> - </xsl:apply-templates> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso))[1])]" - mode="index-seealso"> - <xsl:sort select="seealso"/> - </xsl:apply-templates> - </dl> - </dd> - </xsl:if> -</xsl:template> - -<xsl:template match="indexterm" mode="reference"> - <xsl:text>, </xsl:text> - <xsl:choose> - <xsl:when test="@zone and string(@zone)"> - <xsl:call-template name="reference"> - <xsl:with-param name="zones" select="normalize-space(@zone)"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <a> - <xsl:variable name="title"> - <xsl:apply-templates select="§ion;" mode="title.markup"/> - </xsl:variable> - - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="§ion;"/> - </xsl:call-template> - </xsl:attribute> - - <xsl:value-of select="$title"/> <!-- text only --> - </a> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="reference"> - <xsl:param name="zones"/> - <xsl:choose> - <xsl:when test="contains($zones, ' ')"> - <xsl:variable name="zone" select="substring-before($zones, ' ')"/> - <xsl:variable name="target" select="key('sections', $zone)"/> - - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target[1]"/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates select="$target[1]" mode="index-title-content"/> - </a> - <xsl:text>, </xsl:text> - <xsl:call-template name="reference"> - <xsl:with-param name="zones" select="substring-after($zones, ' ')"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="zone" select="$zones"/> - <xsl:variable name="target" select="key('sections', $zone)"/> - - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target[1]"/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates select="$target[1]" mode="index-title-content"/> - </a> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="indexterm" mode="index-see"> - <dt><xsl:value-of select="see"/></dt> -</xsl:template> - -<xsl:template match="indexterm" mode="index-seealso"> - <dt><xsl:value-of select="seealso"/></dt> -</xsl:template> - -<xsl:template match="*" mode="index-title-content"> - <xsl:variable name="title"> - <xsl:apply-templates select="§ion;" mode="title.markup"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/autotoc.xsl b/lib/docbook/docbook-xsl/html/autotoc.xsl deleted file mode 100644 index 807dac407..000000000 --- a/lib/docbook/docbook-xsl/html/autotoc.xsl +++ /dev/null @@ -1,620 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id: autotoc.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:param name="autotoc.label.separator" select="'. '"/> - -<xsl:template name="href.target"> - <xsl:param name="object" select="."/> - <xsl:text>#</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> -</xsl:template> - -<xsl:variable name="toc.listitem.type"> - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'">dt</xsl:when> - <xsl:otherwise>li</xsl:otherwise> - </xsl:choose> -</xsl:variable> - -<!-- this is just hack because dl and ul aren't completely isomorphic --> -<xsl:variable name="toc.dd.type"> - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'">dd</xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> -</xsl:variable> - -<xsl:template name="set.toc"> - <xsl:variable name="nodes" select="book|setindex"/> - <xsl:if test="$nodes"> - <div class="toc"> - <p> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">TableofContents</xsl:with-param> - </xsl:call-template> - </b> - </p> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="$nodes" mode="toc"/> - </xsl:element> - </div> - </xsl:if> -</xsl:template> - -<xsl:template name="division.toc"> - <xsl:if test="$generate.division.toc != 0"> - <xsl:variable name="nodes" select="part|reference - |preface|chapter|appendix - |article - |bibliography|glossary|index - |refentry - |bridgehead"/> - <xsl:if test="$nodes"> - <div class="toc"> - <p> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">TableofContents</xsl:with-param> - </xsl:call-template> - </b> - </p> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="$nodes" mode="toc"/> - </xsl:element> - </div> - </xsl:if> - </xsl:if> -</xsl:template> - -<xsl:template name="component.toc"> - <xsl:if test="$generate.component.toc != 0"> - <xsl:variable name="nodes" select="section|sect1|refentry - |article|bibliography|glossary - |appendix|bridgehead[not(@renderas)] - |.//bridgehead[@renderas='sect1']"/> - <xsl:if test="$nodes"> - <div class="toc"> - <p> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">TableofContents</xsl:with-param> - </xsl:call-template> - </b> - </p> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="$nodes" mode="toc"/> - </xsl:element> - </div> - </xsl:if> - </xsl:if> -</xsl:template> - -<xsl:template name="section.toc"> - <xsl:variable name="nodes" - select="section|sect1|sect2|sect3|sect4|sect5|refentry - |bridgehead"/> - <xsl:if test="$nodes"> - <div class="toc"> - <p> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">TableofContents</xsl:with-param> - </xsl:call-template> - </b> - </p> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="$nodes" mode="toc"/> - </xsl:element> - </div> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="book|setindex" mode="toc"> - <xsl:variable name="nodes" select="part|reference - |preface|chapter|appendix - |article - |bibliography|glossary|index - |refentry - |bridgehead"/> - - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates mode="toc" select="$nodes"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>0 and count($nodes)>0"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>0 and count($nodes)>0"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="part|reference" mode="toc"> - <xsl:variable name="nodes" select="appendix|chapter|article - |index|glossary|bibliography - |preface|reference|refentry - |bridgehead"/> - - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="$nodes" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>0 and count($nodes) > 0"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>0 and count($nodes) > 0"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="preface|chapter|appendix|article" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="section|sect1|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>0 and section|sect1"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>0 and section|sect1"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="sect1" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="sect2|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>1 and sect2"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>1 and sect2"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="sect2" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="sect3|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>2 and sect3"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>2 and sect3"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="sect3" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="sect4|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>3 and sect4"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>3 and sect4"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="sect4" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="sect5|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>4 and sect5"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>4 and sect5"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="sect5" mode="toc"> - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - </xsl:element> -</xsl:template> - -<xsl:template match="section" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="section|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="toodeep"> - <xsl:choose> - <!-- if the depth is less than 2, we're already deep enough --> - <xsl:when test="$toc.section.depth < 2">yes</xsl:when> - <!-- if the current section has n-1 section ancestors --> - <!-- then we've already reached depth n --> - <xsl:when test="ancestor::section[position()=$toc.section.depth - 1]"> - <xsl:text>yes</xsl:text> - </xsl:when> - <!-- otherwise, keep going --> - <xsl:otherwise>no</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toodeep='no' and section"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toodeep='no' and section"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="bridgehead" mode="toc"> - <xsl:if test="$bridgehead.in.toc != 0"> - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates/> - </a> - </xsl:element> - </xsl:if> -</xsl:template> - -<xsl:template match="bibliography|glossary" mode="toc"> - <xsl:element name="{$toc.listitem.type}"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - </xsl:element> -</xsl:template> - -<xsl:template match="index" mode="toc"> - <!-- If the index tag is empty, don't point at it from the TOC --> - <xsl:if test="* or $generate.index"> - <xsl:element name="{$toc.listitem.type}"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - </xsl:element> - </xsl:if> -</xsl:template> - -<xsl:template match="refentry" mode="toc"> - <xsl:variable name="refmeta" select=".//refmeta"/> - <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/> - <xsl:variable name="refnamediv" select=".//refnamediv"/> - <xsl:variable name="refname" select="$refnamediv//refname"/> - <xsl:variable name="title"> - <xsl:choose> - <xsl:when test="$refentrytitle"> - <xsl:apply-templates select="$refentrytitle[1]" mode="title"/> - </xsl:when> - <xsl:when test="$refname"> - <xsl:apply-templates select="$refname[1]" mode="title"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:copy-of select="$title"/> - </a> - <xsl:if test="$annotate.toc != 0"> - <xsl:text> - </xsl:text> - <xsl:value-of select="refnamediv/refpurpose"/> - </xsl:if> - </xsl:element> -</xsl:template> - -<xsl:template match="title" mode="toc"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates/> - </a> -</xsl:template> - -</xsl:stylesheet> - diff --git a/lib/docbook/docbook-xsl/html/biblio.xsl b/lib/docbook/docbook-xsl/html/biblio.xsl deleted file mode 100644 index 1926149f6..000000000 --- a/lib/docbook/docbook-xsl/html/biblio.xsl +++ /dev/null @@ -1,992 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id: biblio.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="bibliography"> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - - <div id="{$id}" class="{name(.)}"> - <xsl:call-template name="bibliography.titlepage"/> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="bibliography/bibliographyinfo"></xsl:template> -<xsl:template match="bibliography/title"></xsl:template> -<xsl:template match="bibliography/subtitle"></xsl:template> -<xsl:template match="bibliography/titleabbrev"></xsl:template> - -<xsl:template match="bibliography/title" mode="component.title.mode"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:variable> - <h2 class="title"> - <a name="{$id}"> - <xsl:apply-templates/> - </a> - </h2> -</xsl:template> - -<xsl:template match="bibliography/subtitle" mode="component.title.mode"> - <h3> - <i><xsl:apply-templates/></i> - </h3> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="bibliodiv"> - <div class="{name(.)}"> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="bibliodiv/title"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:variable> - <h3 class="{name(.)}"> - <a name="{$id}"> - <xsl:apply-templates/> - </a> - </h3> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="biblioentry"> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - <xsl:choose> - <xsl:when test="string(.) = ''"> - <xsl:variable name="bib" select="document($bibliography.collection)"/> - <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/> - <xsl:choose> - <xsl:when test="$entry"> - <xsl:apply-templates select="$entry"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>No bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </xsl:message> - <div id="{$id}" class="{name(.)}"> - <a name="{$id}"/> - <p> - <xsl:text>Error: no bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </p> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <div id="{$id}" class="{name(.)}"> - <a name="{$id}"/> - <p> - <xsl:apply-templates mode="bibliography.mode"/> - </p> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="bibliomixed"> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - <xsl:choose> - <xsl:when test="string(.) = ''"> - <xsl:variable name="bib" select="document($bibliography.collection)"/> - <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/> - <xsl:choose> - <xsl:when test="$entry"> - <xsl:apply-templates select="$entry"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>No bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </xsl:message> - <div id="{$id}" class="{name(.)}"> - <a name="{$id}"/> - <p> - <xsl:text>Error: no bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </p> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <div id="{$id}" class="{name(.)}"> - <a name="{$id}"/> - <p> - <xsl:choose> - <xsl:when test="local-name(*[1]) = 'abbrev'"> - <xsl:apply-templates select="*[position()>1]|text()" - mode="bibliomixed.mode"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="bibliomixed.mode"/> - </xsl:otherwise> - </xsl:choose> - </p> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="bibliography.mode"> - <xsl:apply-templates select="."/><!-- try the default mode --> -</xsl:template> - -<xsl:template match="abbrev" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:text>[</xsl:text> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:text>] </xsl:text> - </span> -</xsl:template> - -<xsl:template match="abstract" mode="bibliography.mode"> - <!-- suppressed --> -</xsl:template> - -<xsl:template match="address" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="affiliation" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="shortaffil" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="jobtitle" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="artheader|articleinfo" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="artpagenums" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="author" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:call-template name="person.name"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="authorblurb" mode="bibliography.mode"> - <!-- suppressed --> -</xsl:template> - -<xsl:template match="authorgroup" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:call-template name="person.name.list"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="authorinitials" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="bibliomisc" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="bibliomset" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="biblioset" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - </span> -</xsl:template> - -<xsl:template match="biblioset/title|biblioset/citetitle" - mode="bibliography.mode"> - <xsl:variable name="relation" select="../@relation"/> - <xsl:choose> - <xsl:when test="$relation='article'"> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">ldquo</xsl:with-param> - </xsl:call-template> - <xsl:apply-templates/> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">rdquo</xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <I><xsl:apply-templates/></I> - </xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$biblioentry.item.separator"/> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="bookbiblio" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="citetitle" mode="bibliography.mode"> - <span class="{name(.)}"> - <i><xsl:apply-templates mode="bibliography.mode"/></i> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="collab" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="collabname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="confgroup" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="confdates" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="conftitle" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="confnum" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="confsponsor" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="contractnum" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="contractsponsor" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="contrib" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="copyright" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Copyright'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">copyright</xsl:with-param> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="year" mode="bibliography.mode"/> - <xsl:if test="holder"> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="holder" mode="bibliography.mode"/> - </xsl:if> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="year" mode="bibliography.mode"> - <xsl:apply-templates/><xsl:text>, </xsl:text> -</xsl:template> - -<xsl:template match="year[position()=last()]" mode="bibliography.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="holder" mode="bibliography.mode"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="corpauthor" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="corpname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="date" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="edition" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="editor" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:call-template name="person.name"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="firstname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="honorific" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="indexterm" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="invpartnumber" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="isbn" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="issn" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="issuenum" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="lineage" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="orgname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="orgdiv" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="othercredit" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="othername" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="pagenums" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="printhistory" mode="bibliography.mode"> - <!-- suppressed --> -</xsl:template> - -<xsl:template match="productname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="productnumber" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="pubdate" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="publisher" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - </span> -</xsl:template> - -<xsl:template match="publishername" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="pubsnumber" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="releaseinfo" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="revhistory" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="seriesinfo" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - </span> -</xsl:template> - -<xsl:template match="seriesvolnums" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="subtitle" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="surname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="title" mode="bibliography.mode"> - <span class="{name(.)}"> - <I><xsl:apply-templates mode="bibliography.mode"/></I> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="titleabbrev" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="volumenum" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="bibliomixed.mode"> - <xsl:apply-templates select="."/><!-- try the default mode --> -</xsl:template> - -<xsl:template match="abbrev" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="abstract" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="address" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="affiliation" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="shortaffil" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="jobtitle" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="artpagenums" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="author" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="authorblurb" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="authorgroup" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="authorinitials" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="bibliomisc" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="bibliomset" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="bibliomset/title|bibliomset/citetitle" - mode="bibliomixed.mode"> - <xsl:variable name="relation" select="../@relation"/> - <xsl:choose> - <xsl:when test="$relation='article'"> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">ldquo</xsl:with-param> - </xsl:call-template> - <xsl:apply-templates/> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">rdquo</xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <I><xsl:apply-templates/></I> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="biblioset" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="citetitle" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <i><xsl:apply-templates mode="bibliomixed.mode"/></i> - </span> -</xsl:template> - -<xsl:template match="collab" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="confgroup" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="contractnum" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="contractsponsor" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="contrib" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="copyright" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="corpauthor" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="corpname" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="date" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="edition" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="editor" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="firstname" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="honorific" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="indexterm" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="invpartnumber" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="isbn" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="issn" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="issuenum" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="lineage" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="orgname" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="othercredit" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="othername" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="pagenums" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="printhistory" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="productname" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="productnumber" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="pubdate" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="publisher" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="publishername" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="pubsnumber" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="releaseinfo" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="revhistory" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="seriesvolnums" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="subtitle" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="surname" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="title" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="titleabbrev" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="volumenum" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/block.xsl b/lib/docbook/docbook-xsl/html/block.xsl deleted file mode 100644 index bf93b1ca7..000000000 --- a/lib/docbook/docbook-xsl/html/block.xsl +++ /dev/null @@ -1,371 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id: block.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template name="block.object"> - <div class="{name(.)}"> - <a> - <xsl:attribute name="name"> - <xsl:call-template name="object.id"/> - </xsl:attribute> - </a> - <xsl:apply-templates/> - </div> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="para"> - <p> - <xsl:if test="position() = 1 and parent::listitem"> - <a> - <xsl:attribute name="name"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="parent::listitem"/> - </xsl:call-template> - </xsl:attribute> - </a> - </xsl:if> - - <xsl:if test="@id"> - <a name="{@id}"/> - </xsl:if> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="simpara"> - <!-- see also listitem/simpara in lists.xsl --> - <p> - <xsl:if test="@id"> - <a name="{@id}"/> - </xsl:if> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="formalpara"> - <p> - <xsl:if test="@id"> - <a name="{@id}"/> - </xsl:if> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="formalpara/title"> - <xsl:variable name="titleStr" select="."/> - <xsl:variable name="lastChar"> - <xsl:if test="$titleStr != ''"> - <xsl:value-of select="substring($titleStr,string-length($titleStr),1)"/> - </xsl:if> - </xsl:variable> - - <b> - <xsl:apply-templates/> - <xsl:if test="$lastChar != '' - and not(contains($runinhead.title.end.punct, $lastChar))"> - <xsl:value-of select="$runinhead.default.title.end.punct"/> - </xsl:if> - <xsl:text> </xsl:text> - </b> -</xsl:template> - -<xsl:template match="formalpara/para"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="blockquote"> - <xsl:if test="@id"> - <a name="{@id}"/> - </xsl:if> - <xsl:choose> - <xsl:when test="attribution"> - <table border="0" width="100%" - cellspacing="0" cellpadding="0" class="blockquote" - summary="Block quote"> - <tr> - <td width="10%" valign="top"> </td> - <td width="80%" valign="top"> - <xsl:apply-templates - select="child::*[local-name(.)!='attribution']"/> - </td> - <td width="10%" valign="top"> </td> - </tr> - <tr> - <td colspan="2" align="right" valign="top"> - <xsl:text>--</xsl:text> - <xsl:apply-templates select="attribution"/> - </td> - <td width="10%" valign="top"> </td> - </tr> - </table> - </xsl:when> - <xsl:otherwise> - <blockquote class="blockquote"> - <xsl:apply-templates/> - </blockquote> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="epigraph"> - <div class="{name(.)}"> - <xsl:apply-templates select="para"/> - <span>--<xsl:apply-templates select="attribution"/></span> - </div> -</xsl:template> - -<xsl:template match="attribution"> - <span class="{name(.)}"><xsl:apply-templates/></span> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="sidebar"> - <div class="{name(.)}"> - <a> - <xsl:attribute name="name"> - <xsl:call-template name="object.id"/> - </xsl:attribute> - </a> - - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="sidebar/title"> - <p class="title"> - <b><xsl:apply-templates/></b> - </p> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="abstract"> - <div class="{name(.)}"> - <xsl:call-template name="formal.object.heading"> - <xsl:with-param name="title"> - <xsl:apply-templates select="." mode="title.markup"> - <xsl:with-param name="allow-anchors" select="'1'"/> - </xsl:apply-templates> - </xsl:with-param> - </xsl:call-template> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="abstract/title"> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="msgset"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="msgentry"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="simplemsgentry"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="msg"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="msgmain"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="msgmain/title"> - <b><xsl:apply-templates/></b> -</xsl:template> - -<xsl:template match="msgsub"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="msgsub/title"> - <b><xsl:apply-templates/></b> -</xsl:template> - -<xsl:template match="msgrel"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="msgrel/title"> - <b><xsl:apply-templates/></b> -</xsl:template> - -<xsl:template match="msgtext"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="msginfo"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="msglevel"> - <p> - <b> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'msgset'"/> - <xsl:with-param name="name" select="'MsgLevel'"/> - </xsl:call-template> - </b> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="msgorig"> - <p> - <b> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'msgset'"/> - <xsl:with-param name="name" select="'MsgOrig'"/> - </xsl:call-template> - </b> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="msgaud"> - <p> - <b> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'msgset'"/> - <xsl:with-param name="name" select="'MsgAud'"/> - </xsl:call-template> - </b> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="msgexplan"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="msgexplan/title"> - <p><b><xsl:apply-templates/></b></p> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="revhistory"> - <div class="{name(.)}"> - <table border="0" width="100%" summary="Revision history"> - <tr> - <th align="left" valign="top" colspan="3"> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'RevHistory'"/> - </xsl:call-template> - </b> - </th> - </tr> - <xsl:apply-templates/> - </table> - </div> -</xsl:template> - -<xsl:template match="revhistory/revision"> - <xsl:variable name="revnumber" select=".//revnumber"/> - <xsl:variable name="revdate" select=".//date"/> - <xsl:variable name="revauthor" select=".//authorinitials"/> - <xsl:variable name="revremark" select=".//revremark|../revdescription"/> - <tr> - <td align="left"> - <xsl:if test="$revnumber"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Revision'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="$revnumber"/> - </xsl:if> - </td> - <td align="left"> - <xsl:apply-templates select="$revdate"/> - </td> - <xsl:choose> - <xsl:when test="count($revauthor)=0"> - <td align="left"> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">nbsp</xsl:with-param> - </xsl:call-template> - </td> - </xsl:when> - <xsl:otherwise> - <td align="left"> - <xsl:apply-templates select="$revauthor"/> - </td> - </xsl:otherwise> - </xsl:choose> - </tr> - <xsl:if test="$revremark"> - <tr> - <td align="left" colspan="3"> - <xsl:apply-templates select="$revremark"/> - </td> - </tr> - </xsl:if> -</xsl:template> - -<xsl:template match="revision/revnumber"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="revision/date"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="revision/authorinitials"> - <xsl:text>, </xsl:text> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="revision/authorinitials[1]" priority="2"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="revision/revremark"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="revision/revdescription"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="ackno"> - <p class="{name(.)}"> - <xsl:apply-templates/> - </p> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="highlights"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/calc-chunks.xsl b/lib/docbook/docbook-xsl/html/calc-chunks.xsl deleted file mode 100644 index d832e3726..000000000 --- a/lib/docbook/docbook-xsl/html/calc-chunks.xsl +++ /dev/null @@ -1,486 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.0" - exclude-result-prefixes="doc"> - -<xsl:import href="docbook.xsl"/> -<xsl:include href="chunker.xsl"/> - -<xsl:output method="xml" indent="yes"/> - -<xsl:param name="html.ext" select="'.html'"/> -<doc:param name="html.ext" xmlns=""> -<refpurpose>Extension for chunked files</refpurpose> -<refdescription> -<para>The extension identified by <parameter>html.ext</parameter> will -be used as the filename extension for chunks created by this stylesheet. -</para> -</refdescription> -</doc:param> - -<xsl:param name="root.filename" select="'index'"/> -<doc:param name="root.filename" xmlns=""> -<refpurpose>Filename for the root chunk</refpurpose> -<refdescription> -<para>The <parameter>root.filename</parameter> is the base filename for -the chunk created for the root of each document processed. -</para> -</refdescription> -</doc:param> - -<xsl:param name="base.dir" select="''"/> -<doc:param name="base.dir" xmlns=""> -<refpurpose>Output directory for chunks</refpurpose> -<refdescription> -<para>If specified, the <literal>base.dir</literal> identifies -the output directory for chunks. (If not specified, the output directory -is system dependent.)</para> -</refdescription> -</doc:param> - -<xsl:param name="chunk.sections" select="'1'"/> -<doc:param name="chunk.sections" xmlns=""> -<refpurpose>Create chunks for top-level sections in components?</refpurpose> -<refdescription> -<para>If non-zero, chunks will be created for top-level -<sgmltag>sect1</sgmltag> and <sgmltag>section</sgmltag> elements in -each component. -</para> -</refdescription> -</doc:param> - -<xsl:param name="chunk.first.sections" select="'0'"/> -<doc:param name="chunk.first.sections" xmlns=""> -<refpurpose>Create a chunk for the first top-level section in each component?</refpurpose> -<refdescription> -<para>If non-zero, a chunk will be created for the first top-level -<sgmltag>sect1</sgmltag> or <sgmltag>section</sgmltag> elements in -each component. Otherwise, that section will be part of the chunk for -its parent. -</para> -</refdescription> -</doc:param> - -<xsl:param name="chunk.datafile" select="'.chunks'"/> -<doc:param name="chunk.datafile" xmlns=""> -<refpurpose>Name of the temporary file used to hold chunking data</refpurpose> -<refdescription> -<para>Chunking is now a two-step process. The -<parameter>chunk.datafile</parameter> is the name of the file used to -hold the chunking data. -</para> -</refdescription> -</doc:param> - -<!-- ==================================================================== --> -<!-- What's a chunk? - - appendix - article - bibliography in article or book - book - chapter - colophon - glossary in article or book - index in article or book - part - preface - refentry - reference - sect1 if position()>1 - section if position()>1 && parent != section - set - setindex - --> -<!-- ==================================================================== --> - -<xsl:template name="chunk.info"> - <xsl:param name="node" select="."/> - <xsl:variable name="id"> - <xsl:choose> - <xsl:when test="$node/@id"> - <xsl:value-of select="$node/@id"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Chunk for </xsl:text> - <xsl:value-of select="local-name($node)"/> - <xsl:text> has no id</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <chunk name="{local-name($node)}" id="{$id}"> - <xsl:attribute name="filename"> - <xsl:apply-templates select="." mode="chunk-filename-calc"/> - </xsl:attribute> - </chunk> -</xsl:template> - -<xsl:template match="set" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="book" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="setindex" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="book" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="book/appendix" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="book/glossary" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="book/bibliography" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="book/index" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="preface|chapter" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="part|reference" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="refentry" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="colophon" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="article" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="article/appendix" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="article/glossary" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="article/bibliography" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="article/index" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="sect1 - |/section - |section[local-name(parent::*) != 'section']" - mode="calculate.chunks"> - <xsl:choose> - <xsl:when test=". = /section"> - <xsl:call-template name="chunk.info"/> - </xsl:when> - <xsl:when test="$chunk.sections = 0"> - <!-- nop --> - </xsl:when> - <xsl:when test="ancestor::partintro"> - <!-- nop --> - </xsl:when> - <xsl:when test="$chunk.first.sections = 0"> - <xsl:if test="count(preceding-sibling::section) > 0 - or count(preceding-sibling::sect1) > 0"> - <xsl:call-template name="chunk.info"/> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="chunk.info"/> - </xsl:otherwise> - </xsl:choose> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="*" mode="calculate.chunks"> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="text()" mode="calculate.chunks"> - <!-- nop --> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="chunk-filename-calc"> - <xsl:param name="recursive" select="false()"/> - <!-- returns the filename of a chunk --> - - <xsl:variable name="dbhtml-filename"> - <xsl:call-template name="dbhtml-filename"/> - </xsl:variable> - - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="$dbhtml-filename != ''"> - <xsl:value-of select="$dbhtml-filename"/> - </xsl:when> - <!-- if there's no dbhtml filename, and if we're to use IDs as --> - <!-- filenames, then use the ID to generate the filename. --> - <xsl:when test="@id and $use.id.as.filename != 0"> - <xsl:value-of select="@id"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - <!-- if this is the root element, use the root.filename --> - <xsl:when test="not(parent::*)"> - <xsl:value-of select="$root.filename"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="dir"> - <xsl:call-template name="dbhtml-dir"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="not($recursive) and $filename != ''"> - <!-- if this chunk has an explicit name, use it --> - <xsl:if test="$dir != ''"> - <xsl:value-of select="$dir"/> - <xsl:text>/</xsl:text> - </xsl:if> - <xsl:value-of select="$filename"/> - </xsl:when> - - <xsl:when test="name(.)='set'"> - <xsl:value-of select="$root.filename"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='book'"> - <xsl:text>bk</xsl:text> - <xsl:number level="any" format="01"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='article'"> - <xsl:if test="/set"> - <!-- in a set, make sure we inherit the right book info... --> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ar</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='preface'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>pr</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='chapter'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ch</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='appendix'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ap</xsl:text> - <xsl:number level="any" format="a" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='part'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>pt</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='reference'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>rn</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='refentry'"> - <xsl:if test="parent::reference"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>re</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='colophon'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>co</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='sect1' or name(.)='section'"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - <xsl:text>s</xsl:text> - <xsl:number level="any" format="01" from="preface|chapter|appendix"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='bibliography'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>bi</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='glossary'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>go</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='index'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ix</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='setindex'"> - <xsl:text>si</xsl:text> - <xsl:number level="any" format="01" from="set"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:otherwise> - <xsl:text>chunk-filename-calc-error-</xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:number level="any" format="01" from="set"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="/" priority="-1"> - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$chunk.datafile"/> - <xsl:with-param name="method" select="'xml'"/> - <xsl:with-param name="encoding" select="'utf-8'"/> - <xsl:with-param name="indent" select="'yes'"/> - <xsl:with-param name="content"> - <!-- HACK! --> - <xsl:text disable-output-escaping="yes"> -<!DOCTYPE chunks [ -<!ELEMENT chunks (chunk+)> -<!ELEMENT chunk EMPTY> -<!ATTLIST chunk - id ID #REQUIRED - name CDATA #REQUIRED -> -]> - </xsl:text> - <chunks> - <xsl:apply-templates mode="calculate.chunks"/> - </chunks> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/callout.xsl b/lib/docbook/docbook-xsl/html/callout.xsl deleted file mode 100644 index edd831767..000000000 --- a/lib/docbook/docbook-xsl/html/callout.xsl +++ /dev/null @@ -1,150 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" - xmlns:xverb="com.nwalsh.xalan.Verbatim" - xmlns:lxslt="http://xml.apache.org/xslt" - exclude-result-prefixes="sverb xverb lxslt" - version='1.0'> - -<!-- ******************************************************************** - $Id: callout.xsl,v 1.1 2002/05/15 17:22:29 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<lxslt:component prefix="xverb" - functions="insertCallouts"/> - -<xsl:template match="programlistingco|screenco"> - <xsl:variable name="verbatim" select="programlisting|screen"/> - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - - <xsl:choose> - <xsl:when test="$use.extensions != '0' - and $callouts.extension != '0'"> - <xsl:variable name="rtf"> - <xsl:apply-templates select="$verbatim"> - <xsl:with-param name="suppress-numbers" select="'1'"/> - </xsl:apply-templates> - </xsl:variable> - - <xsl:variable name="rtf-with-callouts"> - <xsl:choose> - <xsl:when test="contains($vendor, 'SAXON ')"> - <xsl:copy-of select="sverb:insertCallouts(areaspec,$rtf)"/> - </xsl:when> - <xsl:when test="contains($vendor, 'Apache Software Foundation')"> - <xsl:copy-of select="xverb:insertCallouts(areaspec,$rtf)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>Don't know how to do callouts with </xsl:text> - <xsl:value-of select="$vendor"/> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$verbatim/@linenumbering = 'numbered' - and $linenumbering.extension != '0'"> - <div class="{name(.)}"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf-with-callouts"/> - <xsl:with-param name="pi.context" - select="programlisting|screen"/> - </xsl:call-template> - <xsl:apply-templates select="calloutlist"/> - </div> - </xsl:when> - <xsl:otherwise> - <div class="{name(.)}"> - <xsl:copy-of select="$rtf-with-callouts"/> - <xsl:apply-templates select="calloutlist"/> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <div class="{name(.)}"> - <xsl:apply-templates/> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="areaspec|areaset|area"> -</xsl:template> - -<xsl:template match="areaset" mode="conumber"> - <xsl:number count="area|areaset" format="1"/> -</xsl:template> - -<xsl:template match="area" mode="conumber"> - <xsl:number count="area|areaset" format="1"/> -</xsl:template> - -<xsl:template match="co"> - <a name="{@id}"/> - <xsl:apply-templates select="." mode="callout-bug"/> -</xsl:template> - -<xsl:template match="co" mode="callout-bug"> - <xsl:call-template name="callout-bug"> - <xsl:with-param name="conum"> - <xsl:number count="co" format="1"/> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="callout-bug"> - <xsl:param name="conum" select='1'/> - - <xsl:choose> - <xsl:when test="$callout.graphics != 0 - and $conum <= $callout.graphics.number.limit"> - <img src="{$callout.graphics.path}{$conum}{$callout.graphics.extension}" - alt="{$conum}" border="0"/> - </xsl:when> - <xsl:when test="$callout.unicode != 0 - and $conum <= $callout.unicode.number.limit"> - <xsl:choose> - <xsl:when test="$callout.unicode.start.character = 10102"> - <xsl:choose> - <xsl:when test="$conum = 1">❶</xsl:when> - <xsl:when test="$conum = 2">❷</xsl:when> - <xsl:when test="$conum = 3">❸</xsl:when> - <xsl:when test="$conum = 4">❹</xsl:when> - <xsl:when test="$conum = 5">❺</xsl:when> - <xsl:when test="$conum = 6">❻</xsl:when> - <xsl:when test="$conum = 7">❼</xsl:when> - <xsl:when test="$conum = 8">❽</xsl:when> - <xsl:when test="$conum = 9">❾</xsl:when> - <xsl:when test="$conum = 10">❿</xsl:when> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Don't know how to generate Unicode callouts </xsl:text> - <xsl:text>when $callout.unicode.start.character is </xsl:text> - <xsl:value-of select="$callout.unicode.start.character"/> - </xsl:message> - <xsl:text>(</xsl:text> - <xsl:value-of select="$conum"/> - <xsl:text>)</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:text>(</xsl:text> - <xsl:value-of select="$conum"/> - <xsl:text>)</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/changebars.xsl b/lib/docbook/docbook-xsl/html/changebars.xsl deleted file mode 100644 index 37d1704cf..000000000 --- a/lib/docbook/docbook-xsl/html/changebars.xsl +++ /dev/null @@ -1,81 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - -<xsl:import href="docbook.xsl"/> - -<xsl:param name="show.revisionflag" select="'1'"/> - -<xsl:template name="user.head.content"> -<style type="text/css"> -<xsl:text> -div.added { background-color: yellow; } -div.deleted { text-decoration: line-through; - background-color: #FF7F7F; } -div.changed { background-color: lime; } -div.off { } - -span.added { background-color: yellow; } -span.deleted { text-decoration: line-through; - background-color: #FF7F7F; } -span.changed { background-color: lime; } -span.off { } -</xsl:text> -</style> -</xsl:template> - -<xsl:template match="*[@revisionflag]"> - <xsl:choose> - <xsl:when test="local-name(.) = 'para' - or local-name(.) = 'section' - or local-name(.) = 'sect1' - or local-name(.) = 'sect2' - or local-name(.) = 'sect3' - or local-name(.) = 'sect4' - or local-name(.) = 'sect5' - or local-name(.) = 'chapter' - or local-name(.) = 'preface' - or local-name(.) = 'itemizedlist' - or local-name(.) = 'varlistentry' - or local-name(.) = 'glossary' - or local-name(.) = 'bibliography' - or local-name(.) = 'index' - or local-name(.) = 'appendix'"> - <div class='{@revisionflag}'> - <xsl:apply-imports/> - </div> - </xsl:when> - <xsl:when test="local-name(.) = 'phrase' - or local-name(.) = 'ulink' - or local-name(.) = 'link' - or local-name(.) = 'filename' - or local-name(.) = 'literal' - or local-name(.) = 'member' - or local-name(.) = 'glossterm' - or local-name(.) = 'quote' - or local-name(.) = 'emphasis' - or local-name(.) = 'command' - or local-name(.) = 'xref'"> - <span class='{@revisionflag}'> - <xsl:apply-imports/> - </span> - </xsl:when> - <xsl:when test="local-name(.) = 'listitem' - or local-name(.) = 'title'"> - <!-- nop; these are handled directly in the stylesheet --> - <xsl:apply-imports/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Revisionflag on unexpected element: </xsl:text> - <xsl:value-of select="local-name(.)"/> - <xsl:text> (Assuming block)</xsl:text> - </xsl:message> - <div class='{@revisionflag}'> - <xsl:apply-imports/> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/chunk-common.xsl b/lib/docbook/docbook-xsl/html/chunk-common.xsl deleted file mode 100644 index c1fdae8dd..000000000 --- a/lib/docbook/docbook-xsl/html/chunk-common.xsl +++ /dev/null @@ -1,1185 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.0" - exclude-result-prefixes="doc"> - -<xsl:output method="html" - encoding="ISO-8859-1" - indent="no"/> - -<xsl:param name="html.ext" select="'.html'"/> -<doc:param name="html.ext" xmlns=""> -<refpurpose>Extension for chunked files</refpurpose> -<refdescription> -<para>The extension identified by <parameter>html.ext</parameter> will -be used as the filename extension for chunks created by this stylesheet. -</para> -</refdescription> -</doc:param> - -<xsl:param name="root.filename" select="'index'"/> -<doc:param name="root.filename" xmlns=""> -<refpurpose>Filename for the root chunk</refpurpose> -<refdescription> -<para>The <parameter>root.filename</parameter> is the base filename for -the chunk created for the root of each document processed. -</para> -</refdescription> -</doc:param> - -<xsl:param name="base.dir" select="''"/> -<doc:param name="base.dir" xmlns=""> -<refpurpose>Output directory for chunks</refpurpose> -<refdescription> -<para>If specified, the <literal>base.dir</literal> identifies -the output directory for chunks. (If not specified, the output directory -is system dependent.)</para> -</refdescription> -</doc:param> - -<xsl:param name="chunk.sections" select="'1'"/> -<doc:param name="chunk.sections" xmlns=""> -<refpurpose>Create chunks for top-level sections in components?</refpurpose> -<refdescription> -<para>If non-zero, chunks will be created for top-level -<sgmltag>sect1</sgmltag> and <sgmltag>section</sgmltag> elements in -each component. -</para> -</refdescription> -</doc:param> - -<xsl:param name="chunk.first.sections" select="'0'"/> -<doc:param name="chunk.first.sections" xmlns=""> -<refpurpose>Create a chunk for the first top-level section in each component?</refpurpose> -<refdescription> -<para>If non-zero, a chunk will be created for the first top-level -<sgmltag>sect1</sgmltag> or <sgmltag>section</sgmltag> elements in -each component. Otherwise, that section will be part of the chunk for -its parent. -</para> -</refdescription> -</doc:param> - -<!-- ==================================================================== --> -<!-- What's a chunk? - - The root element - appendix - article - bibliography in article or book - book - chapter - colophon - glossary in article or book - index in article or book - part - preface - refentry - reference - sect1 if position()>1 - section if position()>1 && parent != section - set - setindex - --> -<!-- ==================================================================== --> - -<xsl:template name="chunk"> - <xsl:param name="node" select="."/> - <!-- returns 1 if $node is a chunk --> - -<!-- - <xsl:message> - <xsl:text>chunk: </xsl:text> - <xsl:value-of select="name($node)"/> - <xsl:text>(</xsl:text> - <xsl:value-of select="$node/@id"/> - <xsl:text>)</xsl:text> - <xsl:text> cs: </xsl:text> - <xsl:value-of select="$chunk.sections"/> - <xsl:text> cfs: </xsl:text> - <xsl:value-of select="$chunk.first.sections"/> - <xsl:text> ps: </xsl:text> - <xsl:value-of select="count($node/parent::section)"/> - <xsl:text> prs: </xsl:text> - <xsl:value-of select="count($node/preceding-sibling::section)"/> - </xsl:message> ---> - - <xsl:choose> - <xsl:when test="not($node/parent::*)">1</xsl:when> - <xsl:when test="$chunk.sections != 0 - and name($node)='sect1' - and ($chunk.first.sections != 0 - or count($node/preceding-sibling::sect1) > 0)"> - <xsl:text>1</xsl:text> - </xsl:when> - <xsl:when test="$chunk.sections != 0 - and name($node)='section' - and count($node/parent::section) = 0 - and ($chunk.first.sections != 0 - or count($node/preceding-sibling::section))>0"> - <xsl:text>1</xsl:text> - </xsl:when> - <xsl:when test="name($node)='preface'">1</xsl:when> - <xsl:when test="name($node)='chapter'">1</xsl:when> - <xsl:when test="name($node)='appendix'">1</xsl:when> - <xsl:when test="name($node)='article'">1</xsl:when> - <xsl:when test="name($node)='part'">1</xsl:when> - <xsl:when test="name($node)='reference'">1</xsl:when> - <xsl:when test="name($node)='refentry'">1</xsl:when> - <xsl:when test="name($node)='index' - and (name($node/parent::*) = 'article' - or name($node/parent::*) = 'book')">1</xsl:when> - <xsl:when test="name($node)='bibliography' - and (name($node/parent::*) = 'article' - or name($node/parent::*) = 'book')">1</xsl:when> - <xsl:when test="name($node)='glossary' - and (name($node/parent::*) = 'article' - or name($node/parent::*) = 'book')">1</xsl:when> - <xsl:when test="name($node)='colophon'">1</xsl:when> - <xsl:when test="name($node)='book'">1</xsl:when> - <xsl:when test="name($node)='set'">1</xsl:when> - <xsl:when test="name($node)='setindex'">1</xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="chunk-filename"> - <xsl:param name="recursive" select="false()"/> - - <!-- returns the filename of a chunk --> - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - - <xsl:variable name="dbhtml-filename"> - <xsl:call-template name="dbhtml-filename"/> - </xsl:variable> - - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="$dbhtml-filename != ''"> - <xsl:value-of select="$dbhtml-filename"/> - </xsl:when> - <!-- if there's no dbhtml filename, and if we're to use IDs as --> - <!-- filenames, then use the ID to generate the filename. --> - <xsl:when test="@id and $use.id.as.filename != 0"> - <xsl:value-of select="@id"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - <!-- if this is the root element, use the root.filename --> - <xsl:when test="not(parent::*)"> - <xsl:value-of select="$root.filename"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="dir"> - <xsl:call-template name="dbhtml-dir"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$ischunk='0'"> - <!-- if called on something that isn't a chunk, walk up... --> - <xsl:choose> - <xsl:when test="count(parent::*)>0"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="$recursive"/> - </xsl:apply-templates> - </xsl:when> - <!-- unless there is no up, in which case return "" --> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:when test="not($recursive) and $filename != ''"> - <!-- if this chunk has an explicit name, use it --> - <xsl:if test="$dir != ''"> - <xsl:value-of select="$dir"/> - <xsl:text>/</xsl:text> - </xsl:if> - <xsl:value-of select="$filename"/> - </xsl:when> - - <xsl:when test="name(.)='set'"> - <xsl:value-of select="$root.filename"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='book'"> - <xsl:text>bk</xsl:text> - <xsl:number level="any" format="01"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='article'"> - <xsl:if test="/set"> - <!-- in a set, make sure we inherit the right book info... --> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ar</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='preface'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>pr</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='chapter'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ch</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='appendix'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ap</xsl:text> - <xsl:number level="any" format="a" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='part'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>pt</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='reference'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>rn</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='refentry'"> - <xsl:if test="parent::reference"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>re</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='colophon'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>co</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='sect1' or name(.)='section'"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - <xsl:text>s</xsl:text> - <xsl:number level="any" format="01" from="preface|chapter|appendix"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='bibliography'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>bi</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='glossary'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>go</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='index'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ix</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='setindex'"> - <xsl:text>si</xsl:text> - <xsl:number level="any" format="01" from="set"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:otherwise> - <xsl:text>chunk-filename-error-</xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:number level="any" format="01" from="set"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="href.target"> - <xsl:param name="object" select="."/> - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$object"/> - </xsl:call-template> - </xsl:variable> - - <xsl:apply-templates mode="chunk-filename" select="$object"/> - - <xsl:if test="$ischunk='0'"> - <xsl:text>#</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="html.head"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <head> - <xsl:call-template name="head.content"/> - <xsl:call-template name="user.head.content"/> - - <xsl:if test="$home"> - <link rel="home"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$home"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$home" - mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$up"> - <link rel="up"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$up"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$up" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$prev"> - <link rel="previous"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$prev" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$next"> - <link rel="next"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$next" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - </head> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="header.navigation"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <xsl:if test="$suppress.navigation = '0'"> - <div class="navheader"> - <table width="100%" summary="Navigation header"> - <tr> - <th colspan="3" align="center"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </th> - </tr> - <tr> - <td width="20%" align="left"> - <xsl:if test="count($prev)>0"> - <a accesskey="p"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-prev</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - <xsl:text> </xsl:text> - </td> - <th width="60%" align="center"> - <xsl:choose> - <xsl:when test="count($up) > 0 and $up != $home"> - <xsl:apply-templates select="$up" mode="object.title.markup"/> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </th> - <td width="20%" align="right"> - <xsl:text> </xsl:text> - <xsl:if test="count($next)>0"> - <a accesskey="n"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-next</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - </td> - </tr> - </table> - <hr/> - </div> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="footer.navigation"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <xsl:if test="$suppress.navigation = '0'"> - <div class="navfooter"> - <hr/> - <table width="100%" summary="Navigation footer"> - <tr> - <td width="40%" align="left"> - <xsl:if test="count($prev)>0"> - <a accesskey="p"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-prev</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - <xsl:text> </xsl:text> - </td> - <td width="20%" align="center"> - <xsl:choose> - <xsl:when test="$home != ."> - <a accesskey="h"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$home"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-home</xsl:with-param> - </xsl:call-template> - </a> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </td> - <td width="40%" align="right"> - <xsl:text> </xsl:text> - <xsl:if test="count($next)>0"> - <a accesskey="n"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-next</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - </td> - </tr> - - <tr> - <td width="40%" align="left"> - <xsl:apply-templates select="$prev" mode="object.title.markup"/> - <xsl:text> </xsl:text> - </td> - <td width="20%" align="center"> - <xsl:choose> - <xsl:when test="count($up)>0"> - <a accesskey="u"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$up"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-up</xsl:with-param> - </xsl:call-template> - </a> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </td> - <td width="40%" align="right"> - <xsl:text> </xsl:text> - <xsl:apply-templates select="$next" mode="object.title.markup"/> - </td> - </tr> - </table> - </div> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="processing-instruction('dbhtml')"> - <!-- nop --> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="process-chunk-element"> - <xsl:choose> - <xsl:when test="$chunk.sections = 0"> - <xsl:call-template name="chunk-no-sections"/> - </xsl:when> - <xsl:when test="$chunk.first.sections = 0"> - <xsl:call-template name="chunk-first-section-with-parent"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="chunk-all-top-level-sections"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="process-chunk"> - <xsl:param name="prev" select="."/> - <xsl:param name="next" select="."/> - - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - - <xsl:variable name="chunkfn"> - <xsl:if test="$ischunk='1'"> - <xsl:apply-templates mode="chunk-filename" select="."/> - </xsl:if> - </xsl:variable> - - <xsl:if test="$ischunk='0'"> - <xsl:message> - <xsl:text>Error </xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text> is not a chunk!</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:variable name="filename"> - <xsl:call-template name="make-relative-filename"> - <xsl:with-param name="base.dir" select="$base.dir"/> - <xsl:with-param name="base.name" select="$chunkfn"/> - </xsl:call-template> - </xsl:variable> - - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$filename"/> - <xsl:with-param name="content"> - <xsl:call-template name="chunk-element-content"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="chunk-first-section-with-parent"> - <xsl:variable name="prev" - select="(preceding::book[1] - |preceding::preface[1] - |preceding::chapter[1] - |preceding::appendix[1] - |preceding::part[1] - |preceding::reference[1] - |preceding::refentry[1] - |preceding::colophon[1] - |preceding::sect1[name(preceding-sibling::*[1]) = 'sect1'][1] - |preceding::section[name(preceding-sibling::*[1]) = 'section' - and name(parent::*) != 'section'][1] - |preceding::article[1] - |preceding::bibliography[1] - |preceding::glossary[1] - |preceding::index[1] - |preceding::setindex[1] - |ancestor::set - |ancestor::book[1] - |ancestor::preface[1] - |ancestor::chapter[1] - |ancestor::appendix[1] - |ancestor::part[1] - |ancestor::reference[1] - |ancestor::article[1])[last()]"/> - - <xsl:variable name="next" - select="(following::book[1] - |following::preface[1] - |following::chapter[1] - |following::appendix[1] - |following::part[1] - |following::reference[1] - |following::refentry[1] - |following::colophon[1] - |following::sect1[1] - |following::section[name(parent::*) != 'section'][1] - |following::bibliography[1] - |following::glossary[1] - |following::index[1] - |following::article[1] - |following::setindex[1] - |descendant::book[1] - |descendant::preface[1] - |descendant::chapter[1] - |descendant::appendix[1] - |descendant::article[1] - |descendant::bibliography[1] - |descendant::glossary[1] - |descendant::index[1] - |descendant::colophon[1] - |descendant::setindex[1] - |descendant::part[1] - |descendant::reference[1] - |descendant::refentry[1] - |descendant::sect1[2] - |descendant::section[name(parent::*) != 'section'][2])[1]"/> - - <xsl:call-template name="process-chunk"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="chunk-all-top-level-sections"> - <xsl:variable name="prev" - select="(preceding::book[1] - |preceding::preface[1] - |preceding::chapter[1] - |preceding::appendix[1] - |preceding::part[1] - |preceding::reference[1] - |preceding::refentry[1] - |preceding::colophon[1] - |preceding::sect1[1] - |preceding::section[name(parent::*) != 'section'][1] - |preceding::article[1] - |preceding::bibliography[1] - |preceding::glossary[1] - |preceding::index[1] - |preceding::setindex[1] - |ancestor::set - |ancestor::book[1] - |ancestor::preface[1] - |ancestor::chapter[1] - |ancestor::appendix[1] - |ancestor::part[1] - |ancestor::reference[1] - |ancestor::article[1])[last()]"/> - - <xsl:variable name="next" - select="(following::book[1] - |following::preface[1] - |following::chapter[1] - |following::appendix[1] - |following::part[1] - |following::reference[1] - |following::refentry[1] - |following::colophon[1] - |following::sect1[1] - |following::section[name(parent::*) != 'section'][1] - |following::bibliography[1] - |following::glossary[1] - |following::index[1] - |following::article[1] - |following::setindex[1] - |descendant::book[1] - |descendant::preface[1] - |descendant::chapter[1] - |descendant::appendix[1] - |descendant::article[1] - |descendant::bibliography[1] - |descendant::glossary[1] - |descendant::index[1] - |descendant::colophon[1] - |descendant::setindex[1] - |descendant::part[1] - |descendant::reference[1] - |descendant::refentry[1] - |descendant::sect1[1] - |descendant::section[name(parent::*) != 'section'][1])[1]"/> - - <xsl:call-template name="process-chunk"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="chunk-no-sections"> - <xsl:variable name="prev" - select="(preceding::book[1] - |preceding::preface[1] - |preceding::chapter[1] - |preceding::appendix[1] - |preceding::part[1] - |preceding::reference[1] - |preceding::refentry[1] - |preceding::colophon[1] - |preceding::article[1] - |preceding::bibliography[1] - |preceding::glossary[1] - |preceding::index[1] - |preceding::setindex[1] - |ancestor::set - |ancestor::book[1] - |ancestor::preface[1] - |ancestor::chapter[1] - |ancestor::appendix[1] - |ancestor::part[1] - |ancestor::reference[1] - |ancestor::article[1])[last()]"/> - - <xsl:variable name="next" - select="(following::book[1] - |following::preface[1] - |following::chapter[1] - |following::appendix[1] - |following::part[1] - |following::reference[1] - |following::refentry[1] - |following::colophon[1] - |following::bibliography[1] - |following::glossary[1] - |following::index[1] - |following::article[1] - |following::setindex[1] - |descendant::book[1] - |descendant::preface[1] - |descendant::chapter[1] - |descendant::appendix[1] - |descendant::article[1] - |descendant::bibliography[1] - |descendant::glossary[1] - |descendant::index[1] - |descendant::colophon[1] - |descendant::setindex[1] - |descendant::part[1] - |descendant::reference[1] - |descendant::refentry[1])[1]"/> - - <xsl:call-template name="process-chunk"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="chunk-element-content"> - <xsl:param name="prev"></xsl:param> - <xsl:param name="next"></xsl:param> - - <html> - <xsl:call-template name="html.head"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <body> - <xsl:call-template name="body.attributes"/> - <xsl:call-template name="user.header.navigation"/> - - <xsl:call-template name="header.navigation"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <xsl:call-template name="user.header.content"/> - - <xsl:apply-imports/> - - <xsl:call-template name="user.footer.content"/> - - <xsl:call-template name="footer.navigation"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <xsl:call-template name="user.footer.navigation"/> - </body> - </html> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="/"> - <xsl:choose> - <xsl:when test="$rootid != ''"> - <xsl:choose> - <xsl:when test="count(id($rootid)) = 0"> - <xsl:message terminate="yes"> - <xsl:text>ID '</xsl:text> - <xsl:value-of select="$rootid"/> - <xsl:text>' not found in document.</xsl:text> - </xsl:message> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="id($rootid)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="/" mode="process.root"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="process.root"> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="set|book|part|preface|chapter|appendix - |article - |reference|refentry - |book/glossary|article/glossary - |book/bibliography|article/bibliography - |colophon"> - <xsl:call-template name="process-chunk-element"/> -</xsl:template> - -<xsl:template match="sect1 - |/section - |section[local-name(parent::*) != 'section']"> - <xsl:choose> - <xsl:when test=". = /section"> - <xsl:call-template name="process-chunk-element"/> - </xsl:when> - <xsl:when test="$chunk.sections = 0"> - <xsl:apply-imports/> - </xsl:when> - <xsl:when test="$chunk.first.sections = 0"> - <xsl:choose> - <xsl:when test="count(preceding-sibling::section) > 0 - or count(preceding-sibling::sect1) > 0"> - <xsl:call-template name="process-chunk-element"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-imports/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="process-chunk-element"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="setindex - |book/index - |article/index"> - <!-- some implementations use completely empty index tags to indicate --> - <!-- where an automatically generated index should be inserted. so --> - <!-- if the index is completely empty, skip it. --> - <xsl:if test="count(*)>0 or $generate.index != '0'"> - <xsl:call-template name="process-chunk-element"/> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="in.other.chunk"> - <xsl:param name="chunk" select="."/> - <xsl:param name="node" select="."/> - - <xsl:variable name="is.chunk"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$node"/> - </xsl:call-template> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:text>in.other.chunk: </xsl:text> - <xsl:value-of select="name($chunk)"/> - <xsl:text> </xsl:text> - <xsl:value-of select="name($node)"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$chunk = $node"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$is.chunk"/> - </xsl:message> ---> - - <xsl:choose> - <xsl:when test="$chunk = $node">0</xsl:when> - <xsl:when test="$is.chunk = 1">1</xsl:when> - <xsl:when test="count($node) = 0">0</xsl:when> - <xsl:otherwise> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$chunk"/> - <xsl:with-param name="node" select="$node/parent::*"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="count.footnotes.in.this.chunk"> - <xsl:param name="node" select="."/> - <xsl:param name="footnotes" select="$node//footnote"/> - <xsl:param name="count" select="0"/> - -<!-- - <xsl:message> - <xsl:text>count.footnotes.in.this.chunk: </xsl:text> - <xsl:value-of select="name($node)"/> - </xsl:message> ---> - - <xsl:variable name="in.other.chunk"> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$node"/> - <xsl:with-param name="node" select="$footnotes[1]"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="count($footnotes) = 0"> - <xsl:value-of select="$count"/> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$in.other.chunk != 0"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$footnotes[1]/ancestor::table - |$footnotes[1]/ancestor::informaltable"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count + 1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="process.footnotes.in.this.chunk"> - <xsl:param name="node" select="."/> - <xsl:param name="footnotes" select="$node//footnote"/> - -<!-- - <xsl:message>process.footnotes.in.this.chunk</xsl:message> ---> - - <xsl:variable name="in.other.chunk"> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$node"/> - <xsl:with-param name="node" select="$footnotes[1]"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="count($footnotes) = 0"> - <!-- nop --> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$in.other.chunk != 0"> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$footnotes[1]/ancestor::table - |$footnotes[1]/ancestor::informaltable"> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$footnotes[1]" - mode="process.footnote.mode"/> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="process.footnotes"> - <xsl:variable name="footnotes" select=".//footnote"/> - <xsl:variable name="fcount"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="footnotes" select="$footnotes"/> - </xsl:call-template> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:value-of select="name(.)"/> - <xsl:text> fcount: </xsl:text> - <xsl:value-of select="$fcount"/> - </xsl:message> ---> - - <!-- Only bother to do this if there's at least one non-table footnote --> - <xsl:if test="$fcount > 0"> - <div class="footnotes"> - <br/> - <hr width="100" align="left"/> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="footnotes" select="$footnotes"/> - </xsl:call-template> - </div> - </xsl:if> -</xsl:template> - -<xsl:template name="process.chunk.footnotes"> - <xsl:variable name="is.chunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - <xsl:if test="$is.chunk = 1"> - <xsl:call-template name="process.footnotes"/> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/chunk-experimental.xsl b/lib/docbook/docbook-xsl/html/chunk-experimental.xsl deleted file mode 100644 index e7f4c0903..000000000 --- a/lib/docbook/docbook-xsl/html/chunk-experimental.xsl +++ /dev/null @@ -1,796 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.0" - exclude-result-prefixes="doc"> - -<xsl:param name="html.ext" select="'.html'"/> -<doc:param name="html.ext" xmlns=""> -<refpurpose>Extension for chunked files</refpurpose> -<refdescription> -<para>The extension identified by <parameter>html.ext</parameter> will -be used as the filename extension for chunks created by this stylesheet. -</para> -</refdescription> -</doc:param> - -<xsl:param name="root.filename" select="'index'"/> -<doc:param name="root.filename" xmlns=""> -<refpurpose>Filename for the root chunk</refpurpose> -<refdescription> -<para>The <parameter>root.filename</parameter> is the base filename for -the chunk created for the root of each document processed. -</para> -</refdescription> -</doc:param> - -<xsl:param name="base.dir" select="''"/> -<doc:param name="base.dir" xmlns=""> -<refpurpose>Output directory for chunks</refpurpose> -<refdescription> -<para>If specified, the <literal>base.dir</literal> identifies -the output directory for chunks. (If not specified, the output directory -is system dependent.)</para> -</refdescription> -</doc:param> - -<xsl:param name="chunk.sections" select="'1'"/> -<doc:param name="chunk.sections" xmlns=""> -<refpurpose>Create chunks for top-level sections in components?</refpurpose> -<refdescription> -<para>If non-zero, chunks will be created for top-level -<sgmltag>sect1</sgmltag> and <sgmltag>section</sgmltag> elements in -each component. -</para> -</refdescription> -</doc:param> - -<xsl:param name="chunk.first.sections" select="'0'"/> -<doc:param name="chunk.first.sections" xmlns=""> -<refpurpose>Create a chunk for the first top-level section in each component?</refpurpose> -<refdescription> -<para>If non-zero, a chunk will be created for the first top-level -<sgmltag>sect1</sgmltag> or <sgmltag>section</sgmltag> elements in -each component. Otherwise, that section will be part of the chunk for -its parent. -</para> -</refdescription> -</doc:param> - -<xsl:param name="chunk.datafile" select="'.chunks'"/> -<doc:param name="chunk.datafile" xmlns=""> -<refpurpose>Name of the temporary file used to hold chunking data</refpurpose> -<refdescription> -<para>Chunking is now a two-step process. The -<parameter>chunk.datafile</parameter> is the name of the file used to -hold the chunking data. -</para> -</refdescription> -</doc:param> - -<!-- ==================================================================== --> -<!-- What's a chunk? - - appendix - article - bibliography in article or book - book - chapter - colophon - glossary in article or book - index in article or book - part - preface - refentry - reference - sect1 if position()>1 - section if position()>1 && parent != section - set - setindex - --> -<!-- ==================================================================== --> - -<xsl:template name="chunk"> - <xsl:param name="node" select="."/> - <!-- returns 1 if $node is a chunk --> - - <xsl:variable name="id"> - <xsl:choose> - <xsl:when test="$node/@id"> - <xsl:value-of select="$node/@id"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="generate-id($node)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="chunks" select="document($chunk.datafile,.)"/> - - <xsl:choose> - <xsl:when test="$chunks/chunks/chunk[@id=$id]">1</xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="chunk-filename"> - <!-- returns the filename of a chunk --> - - <xsl:variable name="id"> - <xsl:choose> - <xsl:when test="@id"> - <xsl:value-of select="@id"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="generate-id(.)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="chunks" select="document($chunk.datafile,.)"/> - <xsl:variable name="chunk" select="$chunks/chunks/chunk[@id=$id]"/> - - <xsl:choose> - <xsl:when test="$chunk"> - <xsl:value-of select="$chunk/@filename"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="parent::*" mode="chunk-filename"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="href.target"> - <xsl:param name="object" select="."/> - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$object"/> - </xsl:call-template> - </xsl:variable> - - <xsl:apply-templates mode="chunk-filename" select="$object"/> - - <xsl:if test="$ischunk='0'"> - <xsl:text>#</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="html.head"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <head> - <xsl:call-template name="head.content"/> - <xsl:call-template name="user.head.content"/> - - <xsl:if test="$home"> - <link rel="home"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$home"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$home" - mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$up"> - <link rel="up"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$up"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$up" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$prev"> - <link rel="previous"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$prev" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$next"> - <link rel="next"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$next" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - </head> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="header.navigation"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <xsl:if test="$suppress.navigation = '0'"> - <div class="navheader"> - <table width="100%" summary="Navigation header"> - <tr> - <th colspan="3" align="center"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </th> - </tr> - <tr> - <td width="20%" align="left"> - <xsl:if test="count($prev)>0"> - <a accesskey="p"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-prev</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - <xsl:text> </xsl:text> - </td> - <th width="60%" align="center"> - <xsl:choose> - <xsl:when test="count($up) > 0 and $up != $home"> - <xsl:apply-templates select="$up" mode="object.title.markup"/> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </th> - <td width="20%" align="right"> - <xsl:text> </xsl:text> - <xsl:if test="count($next)>0"> - <a accesskey="n"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-next</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - </td> - </tr> - </table> - <hr/> - </div> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="footer.navigation"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <xsl:if test="$suppress.navigation = '0'"> - <div class="navfooter"> - <hr/> - <table width="100%" summary="Navigation footer"> - <tr> - <td width="40%" align="left"> - <xsl:if test="count($prev)>0"> - <a accesskey="p"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-prev</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - <xsl:text> </xsl:text> - </td> - <td width="20%" align="center"> - <xsl:choose> - <xsl:when test="$home != ."> - <a accesskey="h"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$home"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-home</xsl:with-param> - </xsl:call-template> - </a> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </td> - <td width="40%" align="right"> - <xsl:text> </xsl:text> - <xsl:if test="count($next)>0"> - <a accesskey="n"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-next</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - </td> - </tr> - - <tr> - <td width="40%" align="left"> - <xsl:apply-templates select="$prev" mode="object.title.markup"/> - <xsl:text> </xsl:text> - </td> - <td width="20%" align="center"> - <xsl:choose> - <xsl:when test="count($up)>0"> - <a accesskey="u"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$up"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-up</xsl:with-param> - </xsl:call-template> - </a> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </td> - <td width="40%" align="right"> - <xsl:text> </xsl:text> - <xsl:apply-templates select="$next" mode="object.title.markup"/> - </td> - </tr> - </table> - </div> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="processing-instruction('dbhtml')"> - <!-- nop --> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="process-chunk"> - <xsl:variable name="id"> - <xsl:choose> - <xsl:when test="@id"> - <xsl:value-of select="@id"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="generate-id(.)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="chunks" select="document($chunk.datafile,.)"/> - - <xsl:variable name="chunk" select="$chunks/chunks/chunk[@id=$id]"/> - <xsl:variable name="prev-id" - select="$chunk/preceding-sibling::chunk[1]/@id"/> - <xsl:variable name="next-id" - select="$chunk/following-sibling::chunk[1]/@id"/> - - <xsl:variable name="prev" select="id($prev-id)"/> - <xsl:variable name="next" select="id($next-id)"/> - - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - - <xsl:variable name="chunkfn"> - <xsl:if test="$ischunk='1'"> - <xsl:apply-templates mode="chunk-filename" select="."/> - </xsl:if> - </xsl:variable> - - <xsl:if test="$ischunk='0'"> - <xsl:message> - <xsl:text>Error </xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text> is not a chunk!</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:variable name="filename"> - <xsl:call-template name="make-relative-filename"> - <xsl:with-param name="base.dir" select="$base.dir"/> - <xsl:with-param name="base.name" select="$chunkfn"/> - </xsl:call-template> - </xsl:variable> - - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$filename"/> - <xsl:with-param name="content"> - <xsl:call-template name="chunk-element-content"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="chunk-element-content"> - <xsl:param name="prev"></xsl:param> - <xsl:param name="next"></xsl:param> - - <html> - <xsl:call-template name="html.head"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <body> - <xsl:call-template name="body.attributes"/> - <xsl:call-template name="user.header.navigation"/> - - <xsl:call-template name="header.navigation"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <xsl:call-template name="user.header.content"/> - - <xsl:apply-imports/> - - <xsl:call-template name="user.footer.content"/> - - <xsl:call-template name="footer.navigation"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <xsl:call-template name="user.footer.navigation"/> - </body> - </html> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="set"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="book"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="book/appendix"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="book/glossary"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="book/bibliography"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="preface|chapter"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="part|reference"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="refentry"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="colophon"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="article"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="article/appendix"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="article/glossary"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="article/bibliography"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="sect1 - |/section - |section[local-name(parent::*) != 'section']"> - <xsl:choose> - <xsl:when test=". = /section"> - <xsl:call-template name="process-chunk"/> - </xsl:when> - <xsl:when test="$chunk.sections = 0"> - <xsl:apply-imports/> - </xsl:when> - <xsl:when test="ancestor::partintro"> - <xsl:apply-imports/> - </xsl:when> - <xsl:when test="$chunk.first.sections = 0"> - <xsl:choose> - <xsl:when test="count(preceding-sibling::section) > 0 - or count(preceding-sibling::sect1) > 0"> - <xsl:call-template name="process-chunk"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-imports/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="process-chunk"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="setindex - |book/index - |article/index"> - <!-- some implementations use completely empty index tags to indicate --> - <!-- where an automatically generated index should be inserted. so --> - <!-- if the index is completely empty, skip it. --> - <xsl:if test="count(*)>0 or $generate.index != '0'"> - <xsl:call-template name="process-chunk"/> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="/"> - <xsl:choose> - <xsl:when test="$rootid != ''"> - <xsl:choose> - <xsl:when test="count(id($rootid)) = 0"> - <xsl:message terminate="yes"> - <xsl:text>ID '</xsl:text> - <xsl:value-of select="$rootid"/> - <xsl:text>' not found in document.</xsl:text> - </xsl:message> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="id($rootid)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="/" mode="process.root"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="process.root"> - <xsl:apply-templates select="."/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="in.other.chunk"> - <xsl:param name="chunk" select="."/> - <xsl:param name="node" select="."/> - - <xsl:variable name="is.chunk"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$node"/> - </xsl:call-template> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:text>in.other.chunk: </xsl:text> - <xsl:value-of select="name($chunk)"/> - <xsl:text> </xsl:text> - <xsl:value-of select="name($node)"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$chunk = $node"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$is.chunk"/> - </xsl:message> ---> - - <xsl:choose> - <xsl:when test="$chunk = $node">0</xsl:when> - <xsl:when test="$is.chunk = 1">1</xsl:when> - <xsl:when test="count($node) = 0">0</xsl:when> - <xsl:otherwise> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$chunk"/> - <xsl:with-param name="node" select="$node/parent::*"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="count.footnotes.in.this.chunk"> - <xsl:param name="node" select="."/> - <xsl:param name="footnotes" select="$node//footnote"/> - <xsl:param name="count" select="0"/> - -<!-- - <xsl:message> - <xsl:text>count.footnotes.in.this.chunk: </xsl:text> - <xsl:value-of select="name($node)"/> - </xsl:message> ---> - - <xsl:variable name="in.other.chunk"> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$node"/> - <xsl:with-param name="node" select="$footnotes[1]"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="count($footnotes) = 0"> - <xsl:value-of select="$count"/> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$in.other.chunk != 0"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$footnotes[1]/ancestor::table - |$footnotes[1]/ancestor::informaltable"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count + 1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="process.footnotes.in.this.chunk"> - <xsl:param name="node" select="."/> - <xsl:param name="footnotes" select="$node//footnote"/> - -<!-- - <xsl:message>process.footnotes.in.this.chunk</xsl:message> ---> - - <xsl:variable name="in.other.chunk"> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$node"/> - <xsl:with-param name="node" select="$footnotes[1]"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="count($footnotes) = 0"> - <!-- nop --> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$in.other.chunk != 0"> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$footnotes[1]/ancestor::table - |$footnotes[1]/ancestor::informaltable"> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$footnotes[1]" - mode="process.footnote.mode"/> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="process.footnotes"> - <xsl:variable name="footnotes" select=".//footnote"/> - <xsl:variable name="fcount"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="footnotes" select="$footnotes"/> - </xsl:call-template> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:value-of select="name(.)"/> - <xsl:text> fcount: </xsl:text> - <xsl:value-of select="$fcount"/> - </xsl:message> ---> - - <!-- Only bother to do this if there's at least one non-table footnote --> - <xsl:if test="$fcount > 0"> - <div class="footnotes"> - <br/> - <hr width="100" align="left"/> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="footnotes" select="$footnotes"/> - </xsl:call-template> - </div> - </xsl:if> -</xsl:template> - -<xsl:template name="process.chunk.footnotes"> - <xsl:variable name="is.chunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - <xsl:if test="$is.chunk = 1"> - <xsl:call-template name="process.footnotes"/> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/chunk.xsl b/lib/docbook/docbook-xsl/html/chunk.xsl deleted file mode 100644 index 3033a4e43..000000000 --- a/lib/docbook/docbook-xsl/html/chunk.xsl +++ /dev/null @@ -1,14 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.1" - exclude-result-prefixes="doc"> - -<!-- This stylesheet works with Saxon and Xalan; for XT use xtchunk.xsl --> -<!-- This stylesheet should also work for any processor that supports --> -<!-- exslt:document() (see http://www.exslt.org/) --> - -<xsl:import href="autoidx.xsl"/> -<xsl:include href="chunk-common.xsl"/> -<xsl:include href="chunker.xsl"/> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/chunker.xsl b/lib/docbook/docbook-xsl/html/chunker.xsl deleted file mode 100644 index 8530956bd..000000000 --- a/lib/docbook/docbook-xsl/html/chunker.xsl +++ /dev/null @@ -1,196 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:saxon="http://icl.com/saxon" - xmlns:lxslt="http://xml.apache.org/xslt" - xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect" - xmlns:exsl="http://exslt.org/common" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.1" - exclude-result-prefixes="doc" - extension-element-prefixes="saxon xalanredirect lxslt exsl"> - -<!-- This stylesheet works with Saxon and Xalan; for XT use xtchunker.xsl --> -<!-- Note: Only Saxon 6.4.2 or later is supported. --> - -<!-- Note: I don't think the exsl namespace name is right! --> - -<!-- ==================================================================== --> - -<xsl:param name="default.encoding" select="'ISO-8859-1'" doc:type='string'/> - -<doc:param name="default.encoding" xmlns=""> -<refpurpose>Encoding used in generated HTML pages</refpurpose> -<refdescription> -<para>This encoding is used in files generated by chunking stylesheet. Currently -only Saxon is able to change output encoding. -</para> -</refdescription> -</doc:param> - -<!-- ==================================================================== --> - -<xsl:param name="saxon.character.representation" select="'entity;decimal'" doc:type='string'/> - -<doc:param name="saxon.character.representation" xmlns=""> -<refpurpose>Saxon character representation used in generated HTML pages</refpurpose> -<refdescription> -<para>This character representation is used in files generated by chunking stylesheet. If -you want to suppress entity references for characters with direct representation -in default.encoding, set this parameter to value <literal>native</literal>. -</para> -</refdescription> -</doc:param> - -<!-- ==================================================================== --> - -<xsl:template name="make-relative-filename"> - <xsl:param name="base.dir" select="'./'"/> - <xsl:param name="base.name" select="''"/> - - <xsl:choose> - <xsl:when test="element-available('exsl:document')"> - <!-- EXSL document does make the chunks relative, I think --> - <xsl:choose> - <xsl:when test="count(parent::*) = 0"> - <xsl:value-of select="concat($base.dir,$base.name)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$base.name"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="element-available('saxon:output')"> - <!-- Saxon doesn't make the chunks relative --> - <xsl:value-of select="concat($base.dir,$base.name)"/> - </xsl:when> - <xsl:when test="element-available('xalanredirect:write')"> - <!-- Xalan doesn't make the chunks relative --> - <xsl:value-of select="concat($base.dir,$base.name)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>Don't know how to chunk with </xsl:text> - <xsl:value-of select="system-property('xsl:vendor')"/> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="write.chunk"> - <xsl:param name="filename" select="''"/> - <xsl:param name="method" select="'html'"/> - <xsl:param name="encoding" select="$default.encoding"/> - <xsl:param name="indent" select="'no'"/> - <xsl:param name="content" select="''"/> - <xsl:param name="quiet" select="0"/> - - <xsl:if test="$quiet = 0"> - <xsl:message> - <xsl:text>Writing </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:if test="name(.) != ''"> - <xsl:text> for </xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:if test="@id"> - <xsl:text>(</xsl:text> - <xsl:value-of select="@id"/> - <xsl:text>)</xsl:text> - </xsl:if> - </xsl:if> - </xsl:message> - </xsl:if> - - <xsl:choose> - <xsl:when test="element-available('exsl:document')"> - <exsl:document href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}"> - <xsl:copy-of select="$content"/> - </exsl:document> - </xsl:when> - <xsl:when test="element-available('saxon:output')"> - <saxon:output href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}" - saxon:character-representation="{$saxon.character.representation}"> - <xsl:copy-of select="$content"/> - </saxon:output> - </xsl:when> - <xsl:when test="element-available('xalanredirect:write')"> - <!-- Xalan uses xalanredirect --> - <xalanredirect:write file="{$filename}"> - <xsl:copy-of select="$content"/> - </xalanredirect:write> - </xsl:when> - <xsl:otherwise> - <!-- it doesn't matter since we won't be making chunks... --> - <xsl:message terminate="yes"> - <xsl:text>Can't make chunks with </xsl:text> - <xsl:value-of select="system-property('xsl:vendor')"/> - <xsl:text>'s processor.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="write.chunk.with.doctype"> - <xsl:param name="filename" select="''"/> - <xsl:param name="method" select="'html'"/> - <xsl:param name="encoding" select="$default.encoding"/> - <xsl:param name="indent" select="'no'"/> - <xsl:param name="doctype-public" select="''"/> - <xsl:param name="doctype-system" select="''"/> - <xsl:param name="content" select="''"/> - - <xsl:message> - <xsl:text>Writing </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:if test="name(.) != ''"> - <xsl:text> for </xsl:text> - <xsl:value-of select="name(.)"/> - </xsl:if> - </xsl:message> - - - <xsl:choose> - <xsl:when test="element-available('exsl:document')"> - <exsl:document href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}" - doctype-public="{$doctype-public}" - doctype-system="{$doctype-system}"> - <xsl:copy-of select="$content"/> - </exsl:document> - </xsl:when> - <xsl:when test="element-available('saxon:output')"> - <!-- Saxon uses saxon:output --> - <saxon:output href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}" - doctype-public="{$doctype-public}" - doctype-system="{$doctype-system}" - saxon:character-representation="{$saxon.character.representation}"> - <xsl:copy-of select="$content"/> - </saxon:output> - </xsl:when> - <xsl:when test="element-available('xalanredirect:write')"> - <!-- Xalan uses xalanredirect --> - <xalanredirect:write file="{$filename}"> - <xsl:copy-of select="$content"/> - </xalanredirect:write> - </xsl:when> - <xsl:otherwise> - <!-- it doesn't matter since we won't be making chunks... --> - <xsl:message terminate="yes"> - <xsl:text>Can't make chunks with </xsl:text> - <xsl:value-of select="system-property('xsl:vendor')"/> - <xsl:text>'s processor.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/component.xsl b/lib/docbook/docbook-xsl/html/component.xsl deleted file mode 100644 index 97b7dd1ef..000000000 --- a/lib/docbook/docbook-xsl/html/component.xsl +++ /dev/null @@ -1,320 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id: component.xsl,v 1.1 2002/05/15 17:22:30 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template name="component.title"> - <xsl:param name="node" select="."/> - <xsl:variable name="id"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$node"/> - </xsl:call-template> - </xsl:variable> - - <h2 class="title"> - <a name="{$id}"/> - <xsl:apply-templates select="$node" mode="object.title.markup"/> - </h2> -</xsl:template> - -<xsl:template name="component.subtitle"> - <xsl:param name="node" select="."/> - <xsl:variable name="subtitle" - select="($node/docinfo/subtitle - |$node/prefaceinfo/subtitle - |$node/chapterinfo/subtitle - |$node/appendixinfo/subtitle - |$node/articleinfo/subtitle - |$node/artheader/subtitle - |$node/subtitle)[1]"/> - - <xsl:if test="$subtitle"> - <h3 class="subtitle"> - <i> - <xsl:apply-templates select="$node" mode="object.subtitle.markup"/> - </i> - </h3> - </xsl:if> -</xsl:template> - -<xsl:template name="component.separator"> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="dedication" mode="dedication"> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - <div id="{$id}" class="{name(.)}"> - <xsl:call-template name="dedication.titlepage"/> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="dedication/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.title"> - <xsl:with-param name="node" select="ancestor::dedication[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="dedication/subtitle" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.subtitle"> - <xsl:with-param name="node" select="ancestor::dedication[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="dedication"></xsl:template> <!-- see mode="dedication" --> -<xsl:template match="dedication/title"></xsl:template> -<xsl:template match="dedication/subtitle"></xsl:template> -<xsl:template match="dedication/titleabbrev"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="colophon"> - <div class="{name(.)}"> - <xsl:call-template name="component.separator"/> - <xsl:call-template name="component.title"/> - <xsl:call-template name="component.subtitle"/> - - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="colophon/title"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="preface"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <div id="{$id}" class="{name(.)}"> - <xsl:call-template name="component.separator"/> - <xsl:call-template name="preface.titlepage"/> - <xsl:if test="$generate.preface.toc != '0'"> - <xsl:call-template name="component.toc"/> - </xsl:if> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="preface/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.title"> - <xsl:with-param name="node" select="ancestor::preface[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="preface/subtitle - |preface/prefaceinfo/subtitle - |preface/docinfo/subtitle" - mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.subtitle"> - <xsl:with-param name="node" select="ancestor::preface[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="preface/docinfo|prefaceinfo"></xsl:template> -<xsl:template match="preface/title"></xsl:template> -<xsl:template match="preface/titleabbrev"></xsl:template> -<xsl:template match="preface/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="chapter"> - <div class="{name(.)}"> - <xsl:call-template name="component.separator"/> - <xsl:call-template name="chapter.titlepage"/> - <xsl:if test="$generate.chapter.toc != '0'"> - <xsl:call-template name="component.toc"/> - </xsl:if> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="chapter/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.title"> - <xsl:with-param name="node" select="ancestor::chapter[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="chapter/subtitle - |chapter/chapterinfo/subtitle - |chapter/docinfo/subtitle" - mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.subtitle"> - <xsl:with-param name="node" select="ancestor::chapter[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="chapter/docinfo|chapterinfo"></xsl:template> -<xsl:template match="chapter/title"></xsl:template> -<xsl:template match="chapter/titleabbrev"></xsl:template> -<xsl:template match="chapter/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="appendix"> - <div class="{name(.)}"> - <xsl:call-template name="component.separator"/> - <xsl:call-template name="appendix.titlepage"/> - <xsl:if test="$generate.appendix.toc != '0'"> - <xsl:call-template name="component.toc"/> - </xsl:if> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="article/appendix"> - <div class="{name(.)}"> - <xsl:call-template name="section.heading"> - <xsl:with-param name="level" select="2"/> - <xsl:with-param name="title"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </xsl:with-param> - </xsl:call-template> - - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="appendix/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.title"> - <xsl:with-param name="node" select="ancestor::appendix[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="appendix/subtitle - |appendix/appendixinfo/subtitle - |appendix/docinfo/subtitle" - mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.subtitle"> - <xsl:with-param name="node" select="ancestor::appendix[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="appendix/docinfo|appendixinfo"></xsl:template> -<xsl:template match="appendix/title"></xsl:template> -<xsl:template match="appendix/titleabbrev"></xsl:template> -<xsl:template match="appendix/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="dedication" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<xsl:template match="preface" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<xsl:template match="chapter" mode="component.number"> - <xsl:param name="add.space" select="false()"/> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:text>.</xsl:text> - <xsl:if test="$add.space"> - <xsl:call-template name="gentext.space"/> - </xsl:if> - </xsl:when> - <xsl:when test="$chapter.autolabel"> - <xsl:number from="book" count="chapter" format="1."/> - <xsl:if test="$add.space"> - <xsl:call-template name="gentext.space"/> - </xsl:if> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="appendix" mode="component.number"> - <xsl:param name="add.space" select="false()"/> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:text>.</xsl:text> - <xsl:if test="$add.space"> - <xsl:call-template name="gentext.space"/> - </xsl:if> - </xsl:when> - <xsl:when test="$chapter.autolabel"> - <xsl:number from="book" count="appendix" format="A."/> - <xsl:if test="$add.space"> - <xsl:call-template name="gentext.space"/> - </xsl:if> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="article" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<xsl:template match="bibliography" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<xsl:template match="glossary" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<xsl:template match="index" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="article"> - <div class="{name(.)}"> - <xsl:call-template name="article.titlepage"/> - <xsl:if test="$generate.article.toc != '0'"> - <xsl:call-template name="component.toc"/> - </xsl:if> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="article/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.title"> - <xsl:with-param name="node" select="ancestor::article[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="article/subtitle - |article/articleinfo/subtitle - |article/artheader/subtitle" - mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.subtitle"> - <xsl:with-param name="node" select="ancestor::article[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="article/artheader|article/articleinfo"></xsl:template> -<xsl:template match="article/title"></xsl:template> -<xsl:template match="article/titleabbrev"></xsl:template> -<xsl:template match="article/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> - diff --git a/lib/docbook/docbook-xsl/html/division.xsl b/lib/docbook/docbook-xsl/html/division.xsl deleted file mode 100644 index 9281df34a..000000000 --- a/lib/docbook/docbook-xsl/html/division.xsl +++ /dev/null @@ -1,134 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id: division.xsl,v 1.1 2002/05/15 17:22:30 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="set"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <div class="{name(.)}" id="{$id}"> - <xsl:call-template name="set.titlepage"/> - <xsl:if test="$generate.set.toc != '0'"> - <xsl:call-template name="set.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="set/setinfo"></xsl:template> -<xsl:template match="set/title"></xsl:template> -<xsl:template match="set/titleabbrev"></xsl:template> -<xsl:template match="set/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="book"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <div class="{name(.)}" id="{$id}"> - <xsl:call-template name="book.titlepage"/> - <xsl:apply-templates select="dedication" mode="dedication"/> - <xsl:if test="$generate.book.toc != '0'"> - <xsl:call-template name="division.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="book/bookinfo"></xsl:template> -<xsl:template match="book/title"></xsl:template> -<xsl:template match="book/titleabbrev"></xsl:template> -<xsl:template match="book/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="part"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <div class="{name(.)}" id="{$id}"> - <xsl:call-template name="part.titlepage"/> - <xsl:if test="not(partintro) and $generate.part.toc != '0'"> - <xsl:call-template name="division.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="part" mode="make.part.toc"> - <xsl:call-template name="division.toc"/> -</xsl:template> - -<xsl:template match="reference" mode="make.part.toc"> - <xsl:call-template name="division.toc"/> -</xsl:template> - -<xsl:template match="part/docinfo"></xsl:template> -<xsl:template match="part/partinfo"></xsl:template> -<xsl:template match="part/title"></xsl:template> -<xsl:template match="part/titleabbrev"></xsl:template> -<xsl:template match="part/subtitle"></xsl:template> - -<xsl:template match="partintro"> - <div class="{name(.)}"> - <xsl:call-template name="partintro.titlepage"/> - <xsl:apply-templates/> - <xsl:if test="$generate.part.toc != '0'"> - <!-- not ancestor::part because partintro appears in reference --> - <xsl:apply-templates select="parent::*" mode="make.part.toc"/> - </xsl:if> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="partintro/title"></xsl:template> -<xsl:template match="partintro/titleabbrev"></xsl:template> -<xsl:template match="partintro/subtitle"></xsl:template> - -<xsl:template match="partintro/title" mode="partintro.title.mode"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:variable> - <h2> - <a name="{$id}"> - <xsl:apply-templates/> - </a> - </h2> -</xsl:template> - -<xsl:template match="partintro/subtitle" mode="partintro.title.mode"> - <h3> - <i><xsl:apply-templates/></i> - </h3> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="book" mode="division.number"> - <xsl:number from="set" count="book" format="1."/> -</xsl:template> - -<xsl:template match="part" mode="division.number"> - <xsl:number from="book" count="part" format="I."/> -</xsl:template> - -</xsl:stylesheet> - diff --git a/lib/docbook/docbook-xsl/html/docbook.xsl b/lib/docbook/docbook-xsl/html/docbook.xsl deleted file mode 100644 index 967507723..000000000 --- a/lib/docbook/docbook-xsl/html/docbook.xsl +++ /dev/null @@ -1,224 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<xsl:output method="html" - encoding="ISO-8859-1" - indent="no"/> - -<!-- ******************************************************************** - $Id: docbook.xsl,v 1.1 2002/05/15 17:22:30 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:include href="../VERSION"/> -<xsl:include href="param.xsl"/> -<xsl:include href="../lib/lib.xsl"/> -<xsl:include href="../common/l10n.xsl"/> -<xsl:include href="../common/common.xsl"/> -<xsl:include href="../common/labels.xsl"/> -<xsl:include href="../common/titles.xsl"/> -<xsl:include href="../common/subtitles.xsl"/> -<xsl:include href="../common/gentext.xsl"/> -<xsl:include href="autotoc.xsl"/> -<xsl:include href="lists.xsl"/> -<xsl:include href="callout.xsl"/> -<xsl:include href="verbatim.xsl"/> -<xsl:include href="graphics.xsl"/> -<xsl:include href="xref.xsl"/> -<xsl:include href="formal.xsl"/> -<xsl:include href="table.xsl"/> -<xsl:include href="sections.xsl"/> -<xsl:include href="inline.xsl"/> -<xsl:include href="footnote.xsl"/> -<xsl:include href="html.xsl"/> -<xsl:include href="info.xsl"/> -<xsl:include href="keywords.xsl"/> -<xsl:include href="division.xsl"/> -<xsl:include href="toc.xsl"/> -<xsl:include href="index.xsl"/> -<xsl:include href="refentry.xsl"/> -<xsl:include href="math.xsl"/> -<xsl:include href="admon.xsl"/> -<xsl:include href="component.xsl"/> -<xsl:include href="biblio.xsl"/> -<xsl:include href="glossary.xsl"/> -<xsl:include href="block.xsl"/> -<xsl:include href="qandaset.xsl"/> -<xsl:include href="synop.xsl"/> -<xsl:include href="titlepage.xsl"/> -<xsl:include href="titlepage.templates.xsl"/> -<xsl:include href="pi.xsl"/> -<xsl:include href="ebnf.xsl"/> - -<!-- ==================================================================== --> - -<xsl:template match="*"> - <xsl:message> - <xsl:text>No template matches </xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text>.</xsl:text> - </xsl:message> - - <font color="red"> - <xsl:text><</xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text>></xsl:text> - <xsl:apply-templates/> - <xsl:text></</xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text>></xsl:text> - </font> -</xsl:template> - -<xsl:template match="text()"> - <xsl:value-of select="."/> -</xsl:template> - -<xsl:template name="body.attributes"> - <xsl:attribute name="bgcolor">white</xsl:attribute> - <xsl:attribute name="text">black</xsl:attribute> - <xsl:attribute name="link">#0000FF</xsl:attribute> - <xsl:attribute name="vlink">#840084</xsl:attribute> - <xsl:attribute name="alink">#0000FF</xsl:attribute> -</xsl:template> - -<xsl:template name="head.content"> - <xsl:param name="node" select="."/> - - <title> - <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ID ' - - ' not found in document. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/html/ebnf.xsl b/lib/docbook/docbook-xsl/html/ebnf.xsl deleted file mode 100644 index 04320c813..000000000 --- a/lib/docbook/docbook-xsl/html/ebnf.xsl +++ /dev/null @@ -1,350 +0,0 @@ - - - - - - - - -$Id: ebnf.xsl,v 1.1 2002/05/15 17:22:30 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -HTML EBNF Reference - - -
Introduction - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - -This reference describes the templates and parameters relevant -to formatting EBNF markup. - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) -
-
-
- - - -#F5DCB3 - - -Background color for EBNF tables - -Sets the background color for EBNF tables. No bgcolor -attribute is output if ebnf.table.bgcolor is set to -the null string. The default value matches the value used in recent -online versions of the W3C's XML Spec productions. - - - -1 - - -Selects border on EBNF tables - -Selects the border on EBNF tables. If non-zero, the tables have -borders, otherwise they don't. - - - - - - - - - - - - - - 1 - - - - - - EBNF - - for - - - - - - - - - - - - -
- -
- - - - - - - - - - EBNF productions - -
-
-
- - - - - - - - - - - [ - - ] - - - - - - - - - - - - - - - - - - - - ::= - - - - - - - - - - -   - - - - - - - - - - - - - Error: no ID for productionrecap linkend: - - . - - - - - - Warning: multiple "IDs" for productionrecap linkend: - - . - - - - - - - - - - - - - - - - | -
-
-
- - - - - - - - - - - - - - - production - - - - - - - - - Non-terminals with no content must point to - production elements in the current document. - - - Invalid xpointer for empty nt: - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - ??? - - - - - - - - - - - - - /*  - -  */ -
-
- - - - - - - - - constraintdef - - - - - - - - - - - - - - - - : - - - - - - - : - - - - - - - - - -  ] - -
-
-
- - - - - - - -

-
- - - -
diff --git a/lib/docbook/docbook-xsl/html/expchunk.xsl b/lib/docbook/docbook-xsl/html/expchunk.xsl deleted file mode 100644 index 22b05120a..000000000 --- a/lib/docbook/docbook-xsl/html/expchunk.xsl +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/html/footnote.xsl b/lib/docbook/docbook-xsl/html/footnote.xsl deleted file mode 100644 index 1ea26a39c..000000000 --- a/lib/docbook/docbook-xsl/html/footnote.xsl +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - - - - #ftn. - - - - - - - [ - - - - ] - - - - - [ - - - - ] - - - - - - - - - - #ftn. - - - - - - [ - - - - ] - - - - - - - - - - - - - - - - - - - - - ftn. - - - - - - # - - - - -

- - [ - - - - ] - - -

-
- - - - - - - - - -
-
-
- -
-
-
- - - - - - - - - Warning: footnote number may not be generated - correctly; - - unexpected as first child of footnote. - - -
- -
-
- - - - - - - - Warning: footnote number may not be generated - correctly; - - unexpected as first child of footnote. - - -
- -
-
- - diff --git a/lib/docbook/docbook-xsl/html/formal.xsl b/lib/docbook/docbook-xsl/html/formal.xsl deleted file mode 100644 index df5e99361..000000000 --- a/lib/docbook/docbook-xsl/html/formal.xsl +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - -
- - -
-
- - -

- - - - - - - - - - -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/lib/docbook/docbook-xsl/html/glossary.xsl b/lib/docbook/docbook-xsl/html/glossary.xsl deleted file mode 100644 index b4cb67e54..000000000 --- a/lib/docbook/docbook-xsl/html/glossary.xsl +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - - - - -
- - - - - - - - - - - - - - - - -
- -
-
-
- - -
-
- - - - - - - -

- -

-
- - -

- -

-
- - - - -
- - - - - - -
- -
-
- - - - - -
- - -
- -
-
-
- - -

- -

-
- - - - - - - - - - -
- -
-
- - -
- - - - - - - - - -
-
- - - - - - - - - - - - - - -
-

- - - - - - - - - - - - - - - . -

-
-
- - -
- - -

- - - - - -

-
-
-
- - - - - - - - - - - - - - - - - - - - . - - - , - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/html/graphics.xsl b/lib/docbook/docbook-xsl/html/graphics.xsl deleted file mode 100644 index e759773c4..000000000 --- a/lib/docbook/docbook-xsl/html/graphics.xsl +++ /dev/null @@ -1,331 +0,0 @@ - - - - - - - - - - - - - 1 - - - - - 1 - - - - - -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Don't know how to insert files with - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Don't know how to insert files with - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
diff --git a/lib/docbook/docbook-xsl/html/html.xsl b/lib/docbook/docbook-xsl/html/html.xsl deleted file mode 100644 index 4bad9a0a4..000000000 --- a/lib/docbook/docbook-xsl/html/html.xsl +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - bullet - - - - - - - - - - - - - - - - bullet - - - © - - - ® - (SM) -   - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/html/index.xsl b/lib/docbook/docbook-xsl/html/index.xsl deleted file mode 100644 index 22e67aac7..000000000 --- a/lib/docbook/docbook-xsl/html/index.xsl +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
-
-
- - - - - - - - - - - -

- - - -

- - - -

- -

-
- - - - -
- -
- -
-
-
- - - - - - - - - - - -

- - - -

-
- - - - - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
-
- -
-
- -
-
-
-
-
- - -
- -
- - -
-
- -
-
-
- -
-
- -
-
-
-
-
- - -
- -
- -
-
- -
-
-
-
- - -
- -
-
- - - - - - diff --git a/lib/docbook/docbook-xsl/html/info.xsl b/lib/docbook/docbook-xsl/html/info.xsl deleted file mode 100644 index 9ee34f728..000000000 --- a/lib/docbook/docbook-xsl/html/info.xsl +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/html/inline.xsl b/lib/docbook/docbook-xsl/html/inline.xsl deleted file mode 100644 index 80a949282..000000000 --- a/lib/docbook/docbook-xsl/html/inline.xsl +++ /dev/null @@ -1,795 +0,0 @@ - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - , - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://example.com/cgi-bin/man.cgi? - - ( - - ) - - - - - - - - - - - - - - - - - emphasis - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - element - - - - - - - - - - - - - - - - - </ - - > - - - - - - - & - - ; - - - - - - - &# - - ; - - - - - - - % - - ; - - - - - - - <? - - > - - - - - - - <? - - ?> - - - - - - - < - - > - - - - - - - < - - /> - - - - - - - <!-- - - --> - - - - - - - - - - - - - < - - mailto: - - - > - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - - - - - - - - - - - -> - - + - - - - - - - - - - - - - - - - - - - - - [ - - ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/html/keywords.xsl b/lib/docbook/docbook-xsl/html/keywords.xsl deleted file mode 100644 index 2aea1da07..000000000 --- a/lib/docbook/docbook-xsl/html/keywords.xsl +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - , - - - - - diff --git a/lib/docbook/docbook-xsl/html/lists.xsl b/lib/docbook/docbook-xsl/html/lists.xsl deleted file mode 100644 index 83ac5bfc4..000000000 --- a/lib/docbook/docbook-xsl/html/lists.xsl +++ /dev/null @@ -1,711 +0,0 @@ - - - - - - - - - - - - -

-
- - - - - 1 - - - - 2 - - - - - - - - - - - - - - - - - - - - - 1 - - - - - 1 - a - i - A - I - - - - - - 1 - a - i - A - I - - - - -
- - - -

-
- - -
- - - -

-
- - - - - - - - - - - - - - - - - - - - - disc - square - - - - - - -
  • - - - list-style-type: - - - - - - - - - - - -
    - -
    -
    - - - -
    -
  • - - - - - - - - - - - - - - - - -

    - - - - -

    - - - - - - - - -
    -
    - - - - - -
    - - - , - - - - - - - - - - - - - - - -
    - -
    -
    - - - -
    -
    - - - - - - -
    - - - - - - - - - 1 - - - -
    - - - - - -
    - - - - - - - - - - - - - - - - - 1 - - - -
    - - - - -
    - - - - - - - - - 1 - - - -
    - - - - 1 - 1 - - - - - - - - - - - - - - - - - - - - 1 - 1 - - 1 - - - - - - - - - - -   - - - &nbsp; - - - - - - - - - - - - - - - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - 1 - 1 - 1 - - 1 - - - - - - - - - - -   - - - &nbsp; - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - -
    - - - - - - -

    - - - -

    -
    - - - - - - - -
    - - -
      - -
    - - - - - - - -
  • - - -
  • - - - - - - - - - - - - - - - - -

    -
    - - - - - - - - - - - - - - - - - - - -

    - - - : - - -

    -
    - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ??? - - -
    - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ??? - - - - - - -
    - diff --git a/lib/docbook/docbook-xsl/html/math.xsl b/lib/docbook/docbook-xsl/html/math.xsl deleted file mode 100644 index ee514e32d..000000000 --- a/lib/docbook/docbook-xsl/html/math.xsl +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/html/oldchunker.xsl b/lib/docbook/docbook-xsl/html/oldchunker.xsl deleted file mode 100644 index f32ed9ac4..000000000 --- a/lib/docbook/docbook-xsl/html/oldchunker.xsl +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - - - -Encoding used in generated HTML pages - -This encoding is used in files generated by chunking stylesheet. Currently -only Saxon is able to change output encoding. - - - - - - - - - -Saxon character representation used in generated HTML pages - -This character representation is used in files generated by chunking stylesheet. If -you want to suppress entity references for characters with direct representation -in default.encoding, set this parameter to value native. - - - - - - - - - - - - - - - - - - - - - - - - Chunking isn't supported with - - - - - - - - - - - - - - - Writing - - - for - - - ( - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Can't make chunks with - - 's processor. - - - - - - - - - - - - - - - - Writing - - - for - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Can't make chunks with - - 's processor. - - - - - - diff --git a/lib/docbook/docbook-xsl/html/param.xsl b/lib/docbook/docbook-xsl/html/param.xsl deleted file mode 100644 index 9bffb4966..000000000 --- a/lib/docbook/docbook-xsl/html/param.xsl +++ /dev/null @@ -1,1239 +0,0 @@ - - - - - - - - -$Id: param.xsl,v 1.1 2002/05/15 17:22:30 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -HTML Parameter Reference - - -
    Introduction - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - -This reference describes each of the HTML Stylesheet parameters. -These are the easily customizable parts of the stylesheet. -If you want to specify an alternate value for one or more of these -parameters, you can do so in a driver stylesheet. - -For example, if you want to change the html.stylesheet -to reference.css, you might create a driver -stylesheet like this: - - - - - - reference.css - -]]> - -Naturally, you have to change the -href attribute on -<xsl:import> -to point to docbook.xsl -on your system. (Or chunk.xsl, if you're using -chunking.) - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) -
    -
    -
    - - - - - -Is othername in author a -middle name? - -If true (non-zero), the othername of an author -appears between the firstname and -surname. Otherwise, othername -is suppressed. - - - - - -aspectj-docs.css - - -Name of the stylesheet to use in the generated HTML - -The name of the stylesheet to place in the HTML LINK -tag, or the empty string to suppress the stylesheet LINK. - - - - - -text/css - - -The type of the stylesheet used in the generated HTML - -The type of the stylesheet to place in the HTML link tag. - - - - - - - - -An HTML base URI - -If html.base is set, it is used for the BASE -element in the HEAD of the HTML documents. -This is useful for dynamically served HTML where the base URI needs -to be shifted. - - - - - - - -The HTML anchor target for ULinks - -If ulink.target is set, its value will -be used for the target attribute -on anchors generated for ulinks. - - - - - - - -Output manvolnum as part of -refentry cross-reference? - -if true (non-zero), the manvolnum is used when cross-referencing -refentrys, either with xref -or citerefentry. - - - - - -1 - - -Display comment elements? - -If true (non-zero), comments will be displayed, otherwise they are suppressed. -Comments here refers to the comment element, -which will be renamed remark in DocBook V4.0, -not XML comments (<-- like this -->) which are unavailable. - - - - - -kr - - -What style of 'FuncSynopsis' should be generated? - -If funcsynopsis.style is ansi, -ANSI-style function synopses are generated for a -funcsynopsis, otherwise K&R-style -function synopses are generated. - - - - - - - - -Decorate elements of a FuncSynopsis? - -If true (non-zero), elements of the FuncSynopsis will be decorated (e.g. bold or -italic). The decoration is controlled by functions that can be redefined -in a customization layer. - - - - - -0 - - -Generate parens after a function? - -If not 0, the formatting of -a function element will include -generated parenthesis. - - - - - - - - -Output NAME header before 'RefName'(s)? - -If true (non-zero), a "NAME" section title is output before the list -of 'RefName's. - - - - - - - - -Use graphics in admonitions? - -If true (non-zero), admonitions are presented in an alternate style that uses -a graphic. Default graphics are provided in the distribution. - - - - - -images/ - - -Path to admonition graphics - -Sets the path, probably relative to the directory where the HTML -files are created, to the admonition graphics. - - - - - - - - -Extension for admonition graphics - -Sets the extension to use on admonition graphics. - - - - - - margin-left: 0.5in; margin-right: 0.5in; - - - -CSS style attributes for admonitions - -Specifies the value of the STYLE -attribute that should be added to admonitions. - - - - - - - - -Are sections enumerated? - -If true (non-zero), unlabeled sections will be enumerated. - - - - - - - - -Do section labels include the component label? - -If true (non-zero), section labels are prefixed with the label of the -component that contains them. - - - - - - - - - -Are chapters and appendixes enumerated? - -If true (non-zero), unlabeled chapters and appendixes will be enumerated. - - - - - - - - -Are prefaces enumerated? - -If true (non-zero), unlabeled prefaces will be enumerated. - - - - - - - - -Are parts and references enumerated? - -If true (non-zero), unlabeled parts and references will be enumerated. - - - - - - - - -Are divisions in QAndASets enumerated? - -If true (non-zero), unlabeled qandadivs will be enumerated. - - - - - - - - -Does enumeration of QandASet components inherit the numeration of parent elements? - -If true (non-zero), numbered QandADiv elements and Questions and Answers inherit -the numeration of the ancestors of the QandASet. - - - - - -number - - -Sets the default for defaultlabel on QandASet. - -If no defaultlabel attribute is specified on a QandASet, this -value is used. It must be one of the legal values for the defaultlabel -attribute. - - - - - -1 - - -Is a Table of Contents created for QandASets? - -If true (non-zero), a ToC is constructed for QandASets. - - - - - -0 - - -Is a Table of Contents created for QandADivs? - -If true (non-zero), a ToC is constructed for QandADivs. - - - - - -. - - -Text to separate bibliography entries - -Text to separate bibliography entries - - - - - -2 - - -How deep should recursive sections appear -in the TOC? - -Specifies the depth to which recursive sections should appear in the -TOC. - - - - - - - - -Will the output be chunked? - -In addition to providing chunking, the chunker can cleanup a -number of XML to HTML issues. If the chunker is not being used, the -stylesheets try to avoid producing results that will not appear properly -in browsers. - - - - - - - - -Should TOCs be genereated in components (Chapters, Appendixes, etc.)? - -If true (non-zero), they are. - - - - - - - -Should TOCs be genereated in divisions (Books, Parts, etc.)? - -If true (non-zero), they are. - - - - - - - - -Mailto URL for the LINK REL=made HTML HEAD element - -If not the empty string, this address will be used for the -REL=made LINK element in the HTML HEAD. - - - - - - - - -Default extension for graphic filenames - -If a graphic or mediaobject -includes a reference to a filename that does not include an extension, -and the format attribute is -unspecified, the default extension will be used. - - - - - -dl - - -Type of HTML list element to use for Tables of Contents - -When an automatically generated Table of Contents (or List of Titles) -is produced, this HTML element will be used to make the list. - - - - - - - - -Use the XPath id() function to find link targets? - -If 1, the stylesheets use the id() function -to find the targets of cross reference elements. This is more -efficient, but only works if your XSLT processor implements the -id() function, naturally. -THIS PARAMETER IS NOT SUPPORTED. IT IS ALWAYS ASSUMED TO BE 1. -SEE xref.xsl IF YOU NEED TO TURN IT OFF. - - - - - - - -Insert additional <p> elements for spacing? - -When non-zero, additional, empty paragraphs are inserted in -several contexts (for example, around informal figures), to create a -more pleasing visual appearance in many browsers. - - - - - -1 - - -Enable CSS decoration of elements - - -If css.decoration is turned on, then HTML elements -produced by the -stylesheet may be decorated with STYLE attributes. For example, the -LI tags produced for list items may include a fragment of CSS in the -STYLE attribute which sets the CSS property "list-style-type". - - - - - -0 - - -Enable decoration of elements that have a revisionflag - - -If show.revisionflag is turned on, then the stylesheets -may produce additional markup designed to allow a CSS stylesheet to -highlight elements that have specific revisionflag settings. - -The markup inserted will be usually be either a <span> or <div> -with an appropriate class attribute. (The value of -the class attribute will be the same as the value of the revisionflag -attribute). In some contexts, for example tables, where extra markup -would be structurally illegal, the class attribute will be added to the -appropriate container element. - -In general, the stylesheets only test for revisionflag in contexts -where an importing stylesheet would have to redefine whole templates. -Most of the revisionflag processing is expected to be done by another -stylesheet, for example changebars.xsl. - - - - -0 - - -Disable header and footer navigation - - -If suppress.navigation is turned on, header and -footer navigation will be suppressed. - - - - - - - -Specify the root element to format - -If rootid is specified, it must be the -value of an ID that occurs in the document being formatted. The entire -document will be loaded and parsed, but formatting will begin at the -element identified, rather than at the root. For example, this allows -you to process only chapter 4 of a book. -Because the entire document is available to the processor, automatic -numbering, cross references, and other dependencies are correctly -resolved. - - - - - - - -Present callout lists using a table? - -The default presentation of CalloutLists uses -an HTML DL. Some browsers don't align DLs very well -if callout.graphics are used. With this option -turned on, CalloutLists are presented in an HTML -TABLE, which usually results in better alignment -of the callout number with the callout description. - - - - - - - -Use graphics for callouts? - -If non-zero, callouts are presented with graphics (e.g., reverse-video -circled numbers instead of "(1)", "(2)", etc.). -Default graphics are provided in the distribution. - - - - - - - - -Extension for callout graphics - -Sets the extension to use on callout graphics. - - - - - - - -Path to callout graphics - -Sets the path, probably relative to the directory where the HTML -files are created, to the callout graphics. - - - - - - - - -Number of the largest callout graphic - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - - - -Enable extensions - -If non-zero, extensions may be used. Each extension is -further controlled by its own parameter. But if -use.extensions is zero, no extensions will -be used. - - - - - - - - -Enable the textinsert extension element - -The textinsert extension element inserts the contents of a -a file into the result tree (as text). - - - - - - - - -Enable the line numbering extension - -If true, verbatim environments (elements that have the -format='linespecific' notation attribute: address, literallayout, -programlisting, screen, synopsis) that specify line numbering will -have, surprise, line numbers. - - - - - - - - -Enable the line numbering extension - -If true, verbatim environments (elements that have the -format='linespecific' notation attribute: address, literallayout, -programlisting, screen, synopsis) that specify line numbering will -have, surprise, line numbers. - - - - - - - - -Indicate which lines should be numbered - -If line numbering is enabled, everyNth line will be numbered. - - - - - - - - -Indicates the width of line numbers - -If line numbering is enabled, line numbers will appear right -justified in a field "width" characters wide. - - - - - - - - -Specify a separator between line numbers and lines - -The separator is inserted between line numbers and lines in -the verbatim environment. - - - - - - - - -Enable the callout extension - -The callouts extension processes areaset -elements in ProgramListingCO and other text-based -callout elements. - - - - - - - - -Enable the callout extension - -The callouts extension processes areaset -elements in ProgramListingCO and other text-based -callout elements. - - - - - - - - -Indicates what column callouts appear in by default - -If a callout does not identify a column (for example, if it uses -the linerange unit), -it will appear in the default column. - - - - - - - - -Identifies the output format of this stylesheet - -The Saxon extension functions need to know if the output format -is HTML ('html') or XSL Formatting Objects ('fo'). This variable answers -that question. Valid settings are 'html' or 'fo'. - - - - - - - -The (absolute) nominal width of tables - -In order to convert CALS column widths into HTML column widths, it -is sometimes necessary to have an absolute table width to use for conversion -of mixed absolute and relative widths. This value must be an absolute -length (not a percentag). - - - - - - - -The default width of tables - -If specified, this value will be used for the WIDTH attribute on -tables that do not specify an alternate width (with the dbhtml processing -instruction). - - - - - - - -Enable the table columns extension function - -The table columns extension function adjusts the widths of table -columns in the HTML result to more accurately reflect the specifications -in the CALS table. - - - - - - - - -Enable the table columns extension function - -The table columns extension function adjusts the widths of table -columns in the HTML result to more accurately reflect the specifications -in the CALS table. - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -Generate TOCs inside Sections? - -If non-zero, a Table of Contents will be generated inside section -elements. Note that -generate.section.toc.level -may suppress some section TOCs. - - - - - - - - -Control depth of TOC generation in sections - -The generate.section.toc.level parameter -controls the depth of section in which TOCs will be generated. Note -that this is related to, but not the same as -toc.section.depth, which controls the depth to -which TOC entries will be generated in a given TOC. -If, for example, generate.section.toc.level -is 3, TOCs will be generated in first, second, and third -level sections, but not in fourth level sections. - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -Should bridgehead elements appear in the TOC? - -If non-zero, bridgeheads appear in the TOC. Note that this option -is not fully supported and may be removed in a future version of the -stylesheets. - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -FIXME: - -FIXME: - - - - - - - - -First Unicode character to use, decimal value. - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - - - -Number of the largest callout graphic - -If callout.graphics -is non-zero, graphics are used to represent -callout numbers. The value of -callout.graphics.number.limit -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. - - - - - - - - -Font to use for Unicode dingbats - -The name of the font to specify around Unicode callout glyphs. -If set to the empty string, no font change will occur. - - - - - - - - -Use ID value of chunk elements as the filename? - -If use.id.as.filename -is non-zero, the filename of chunk elements that have IDs will be -derived from the ID value. - - - - - - - - -Inherit keywords from ancestor elements? - -If inherit.keywords -is non-zero, the keyword META for each HTML -HEAD element will include all of the keywords from -ancestral elements. Otherwise, only the keywords from the current section -will be used. - - - - - - - - -Renumber chapters in each part? - -If label.from.part is non-zero, components -(chapters, appendixes, etc.) -will be numbered from 1 in each part. Otherwise, -they will be numbered monotonically throughout each -book. - - - - - - - - -Generate URL links when cross-referencing RefEntrys? - -If true, a web link will be generated, presumably -to an online man->HTML gateway. The text of the link is -generated by the generate.citerefentry.link template. - - - - - - - - -Selects formal or informal procedures - -Formal procedures are numbered and always hav a title. - - - - - - - - -Name of the bibliography collection file - -Tired of copying bibliography entries from one document to another? -Now you can maintain a central bibliography and let the stylesheets do -the copying for you. This parameter identifies the file (by URI reference) -that contains your complete bibliography collection. - - - - - - - - -Annotate the Table of Contents? - -If true, TOCs will be annotated. At present, this just means -that the RefPurpose of RefEntry -TOC entries will be displayed. - - - - - - - - -Pass emphasis role attribute through to HTML? - -If true, the role attribute of emphasis elements -will be passed through to the HTML as a class attribute on a -span that surrounds the emphasis. - - - - - - - -Pass phrase role attribute through to HTML? - -If true, the role attribute of phrase elements -will be passed through to the HTML as a class attribute on a -span that surrounds the phrase. - - - - - - - -Characters that count as punctuation on a run-in-head - -FIXME: - - - - - - - - -Default punctuation character on a run-in-head - -FIXME: - - - - - - - - - - - - - - - - 0 - #E0E0E0 - - -
    diff --git a/lib/docbook/docbook-xsl/html/pi.xsl b/lib/docbook/docbook-xsl/html/pi.xsl deleted file mode 100644 index 357ca9915..000000000 --- a/lib/docbook/docbook-xsl/html/pi.xsl +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - filename - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - filename - - - - - - - - dir - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - -
    - - - - - -
    -
    -
    - - - - - - No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep? - - - -
    - - - -
    -
    - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - -
    - - - - - -
    -
    -
    - - - - - - No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep? - - - -
    - - - -
    -
    - - - -
    diff --git a/lib/docbook/docbook-xsl/html/qandaset.xsl b/lib/docbook/docbook-xsl/html/qandaset.xsl deleted file mode 100644 index 8bac04369..000000000 --- a/lib/docbook/docbook-xsl/html/qandaset.xsl +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - - - - - - -
    - - - - - -
    -
    - - - - - - - - - - - - - - - - - -
    - - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    -
    - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - -
    - - -
    -
    - - -
    -
    -
    - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - -
    - - - - - - - - -
    -
    - - - - - - - - - - - - - -
    diff --git a/lib/docbook/docbook-xsl/html/refentry.xsl b/lib/docbook/docbook-xsl/html/refentry.xsl deleted file mode 100644 index ebe78f558..000000000 --- a/lib/docbook/docbook-xsl/html/refentry.xsl +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - - - - - - - - , - - - - - -

    - - - -

    -
    - - - , - -
    - - - - - em-dash - - - - - - - - - - -

    - - - - : - - - -

    -
    - - -
    - - - - - -

    - - - - - - - - - - -

    - -
    -
    - - - - - - - - - - - - -

    - -

    -
    - - - -

    - -

    -
    - - - -

    - -

    -
    - - - - - - - -
    diff --git a/lib/docbook/docbook-xsl/html/sections.xsl b/lib/docbook/docbook-xsl/html/sections.xsl deleted file mode 100644 index 90fa49dc4..000000000 --- a/lib/docbook/docbook-xsl/html/sections.xsl +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - title - - - clear: both - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - 2 - - - - - - 2 - 3 - 4 - 5 - 6 - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/html/synop.xsl b/lib/docbook/docbook-xsl/html/synop.xsl deleted file mode 100644 index e01c71a28..000000000 --- a/lib/docbook/docbook-xsl/html/synop.xsl +++ /dev/null @@ -1,939 +0,0 @@ - - - -]> - - - - - - - - - - - - - - - - - -
    - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - - - - - - - -
    - ( - - ) - - - - - - - - - - - - -

    - - ( - - ) - - - -

    -
    - - - - - - -
    -
    - - -

    - - - - - - -

    -
    - - - - - - - - - - - - - - - - - - - - - - (void); - - - (); - - - - - - (...); - - - - - - - ( - - - - - - - - - - - , - - - ); - - - - - - - - - - - - - - - - - , - - - - -
    - - ; -
    - - - ( - - ) - - - - -java - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Unrecognized language on classsynopsis: - - - - - - - - - - - - -
    -    
    -    
    -       extends
    -      
    -      
    -	&RE;    
    -      
    -    
    -    
    -      implements
    -      
    -      
    -	&RE;    
    -      
    -    
    -    
    -      throws
    -      
    -    
    -     {&RE;&RE;
    -    
    -    }
    -  
    -
    - - - - - - - - - , - - - - - - - - - - - - - -   - - - - - - , - - - - - - - - - , - - - - - - - - - , - - - - - - - -
    -    - - ; -
    -
    - - - - -   - - - - - - -   - - - - - - - - - - - - - void  - - - - - - - - - - - 0 - - ,&RE; - - -   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - ( - - - - ) - - &RE;    throws  - - - ; -
    -
    - - - - -
    -    
    -    
    -      : 
    -      
    -      
    -	&RE;    
    -      
    -    
    -    
    -       implements
    -      
    -      
    -	&RE;    
    -      
    -    
    -    
    -       throws
    -      
    -    
    -     {&RE;&RE;
    -    
    -    }
    -  
    -
    - - - - - - - - , - - - - - - - - - -   - - - - - - , - - - - - - - - - , - - - - - - - - - , - - - - - - - -
    -    - - ; -
    -
    - - - - -   - - - - - - -   - - - - - - - - - - - - - void  - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - ( - - ) - - &RE;    throws  - - - ; -
    -
    - - - - -
    -    interface 
    -    
    -    
    -      : 
    -      
    -      
    -	&RE;    
    -      
    -    
    -    
    -       implements
    -      
    -      
    -	&RE;    
    -      
    -    
    -    
    -       throws
    -      
    -    
    -     {&RE;&RE;
    -    
    -    }
    -  
    -
    - - - - - - - - , - - - - - - - - - -   - - - - - - , - - - - - - - - - , - - - - - - - - - , - - - - - - - -
    -    - - ; -
    -
    - - - - -   - - - - - - -   - - - - - - - - - - - - - void  - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - ( - - ) - - &RE;    raises( - - ) - - ; -
    -
    - - - - -
    -    package 
    -    
    -    ;&RE;
    -
    -    
    -      @ISA = (
    -      
    -      );&RE;
    -    
    -
    -    
    -  
    -
    - - - - - - - - , - - - - - - - - - -   - - - - - - , - - - - - - - - - , - - - - - - - - - , - - - - - - - -
    -    - - ; -
    -
    - - - - -   - - - - - - -   - - - - - - - - - - - - - void  - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - -
    - sub - - - { ... }; -
    -
    - - - -
    diff --git a/lib/docbook/docbook-xsl/html/table.xsl b/lib/docbook/docbook-xsl/html/table.xsl deleted file mode 100644 index 04b5c781e..000000000 --- a/lib/docbook/docbook-xsl/html/table.xsl +++ /dev/null @@ -1,640 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 100% - - - - - - - 0 - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - 100% - - - - - - - - - - - - - - - - - - - - - - - - - - - - Don't know how to do convert lengths with - - - - - - - - - - - - - - - - - - - - - - - - - - - - Don't know how to do adjust column widths with - - - - - - - - - - - - - - - - - - - - - -
    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - th - - - - - - td - - - - - - th - - - - - td - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - -Determine the column number in which a given entry occurs - -If an entry has a -colname or -namest attribute, this template -will determine the number of the column in which the entry should occur. -For other entrys, nothing is returned. - - - -entry - -The entry-element which is to be tested. - - - - - - -This template returns the column number if it can be determined, -or nothing (the empty string) - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - 1 - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - diff --git a/lib/docbook/docbook-xsl/html/titlepage.templates.xml b/lib/docbook/docbook-xsl/html/titlepage.templates.xml deleted file mode 100644 index c5b505363..000000000 --- a/lib/docbook/docbook-xsl/html/titlepage.templates.xml +++ /dev/null @@ -1,612 +0,0 @@ - - - - - - - - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="set" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="book" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="part" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="partintro" wrapper="div"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="reference" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="dedication" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::dedication[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="preface" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="chapter" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="appendix" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="section" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect1" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect2" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect3" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect4" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect5" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="simplesect" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="bibliography" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::bibliography[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="glossary" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::glossary[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="index" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::index[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -</t:templates> diff --git a/lib/docbook/docbook-xsl/html/titlepage.templates.xsl b/lib/docbook/docbook-xsl/html/titlepage.templates.xsl deleted file mode 100644 index 2ef3d9ab4..000000000 --- a/lib/docbook/docbook-xsl/html/titlepage.templates.xsl +++ /dev/null @@ -1,2681 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. --> - -<xsl:template name="article.titlepage.recto"> - <xsl:choose> - <xsl:when test="articleinfo/title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> - </xsl:when> - <xsl:when test="artheader/title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="articleinfo/subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> - </xsl:when> - <xsl:when test="artheader/subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> -</xsl:template> - -<xsl:template name="article.titlepage.verso"> -</xsl:template> - -<xsl:template name="article.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="article.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="article.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="article.titlepage"> - <div class="titlepage"> - <xsl:call-template name="article.titlepage.before.recto"/> - <xsl:call-template name="article.titlepage.recto"/> - <xsl:call-template name="article.titlepage.before.verso"/> - <xsl:call-template name="article.titlepage.verso"/> - <xsl:call-template name="article.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="article.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="article.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="set.titlepage.recto"> - <xsl:choose> - <xsl:when test="setinfo/title"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="setinfo/subtitle"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> -</xsl:template> - -<xsl:template name="set.titlepage.verso"> -</xsl:template> - -<xsl:template name="set.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="set.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="set.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="set.titlepage"> - <div class="titlepage"> - <xsl:call-template name="set.titlepage.before.recto"/> - <xsl:call-template name="set.titlepage.recto"/> - <xsl:call-template name="set.titlepage.before.verso"/> - <xsl:call-template name="set.titlepage.verso"/> - <xsl:call-template name="set.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="set.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="set.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="book.titlepage.recto"> - <xsl:choose> - <xsl:when test="bookinfo/title"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="bookinfo/subtitle"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/> -</xsl:template> - -<xsl:template name="book.titlepage.verso"> -</xsl:template> - -<xsl:template name="book.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="book.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="book.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="book.titlepage"> - <div class="titlepage"> - <xsl:call-template name="book.titlepage.before.recto"/> - <xsl:call-template name="book.titlepage.recto"/> - <xsl:call-template name="book.titlepage.before.verso"/> - <xsl:call-template name="book.titlepage.verso"/> - <xsl:call-template name="book.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="book.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="book.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="part.titlepage.recto"> - <xsl:choose> - <xsl:when test="partinfo/title"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="partinfo/subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="part.titlepage.verso"> -</xsl:template> - -<xsl:template name="part.titlepage.separator"> -</xsl:template> - -<xsl:template name="part.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="part.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="part.titlepage"> - <div class="titlepage"> - <xsl:call-template name="part.titlepage.before.recto"/> - <xsl:call-template name="part.titlepage.recto"/> - <xsl:call-template name="part.titlepage.before.verso"/> - <xsl:call-template name="part.titlepage.verso"/> - <xsl:call-template name="part.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="part.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="part.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="partintro.titlepage.recto"> - <xsl:choose> - <xsl:when test="partintroinfo/title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="partintroinfo/subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="partintro.titlepage.verso"> -</xsl:template> - -<xsl:template name="partintro.titlepage.separator"> -</xsl:template> - -<xsl:template name="partintro.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="partintro.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="partintro.titlepage"> - <div> - <xsl:call-template name="partintro.titlepage.before.recto"/> - <xsl:call-template name="partintro.titlepage.recto"/> - <xsl:call-template name="partintro.titlepage.before.verso"/> - <xsl:call-template name="partintro.titlepage.verso"/> - <xsl:call-template name="partintro.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="partintro.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="partintro.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="reference.titlepage.recto"> - <xsl:choose> - <xsl:when test="referenceinfo/title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="referenceinfo/subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="reference.titlepage.verso"> -</xsl:template> - -<xsl:template name="reference.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="reference.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="reference.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="reference.titlepage"> - <div class="titlepage"> - <xsl:call-template name="reference.titlepage.before.recto"/> - <xsl:call-template name="reference.titlepage.recto"/> - <xsl:call-template name="reference.titlepage.before.verso"/> - <xsl:call-template name="reference.titlepage.verso"/> - <xsl:call-template name="reference.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="reference.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="reference.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="dedication.titlepage.recto"> - <div xsl:use-attribute-sets="dedication.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="dedicationinfo/subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="dedication.titlepage.verso"> -</xsl:template> - -<xsl:template name="dedication.titlepage.separator"> -</xsl:template> - -<xsl:template name="dedication.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="dedication.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="dedication.titlepage"> - <div class="titlepage"> - <xsl:call-template name="dedication.titlepage.before.recto"/> - <xsl:call-template name="dedication.titlepage.recto"/> - <xsl:call-template name="dedication.titlepage.before.verso"/> - <xsl:call-template name="dedication.titlepage.verso"/> - <xsl:call-template name="dedication.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="dedication.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="dedication.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="dedication.titlepage.recto.style"> -<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="preface.titlepage.recto"> - <xsl:choose> - <xsl:when test="prefaceinfo/title"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="prefaceinfo/subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="preface.titlepage.verso"> -</xsl:template> - -<xsl:template name="preface.titlepage.separator"> -</xsl:template> - -<xsl:template name="preface.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="preface.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="preface.titlepage"> - <div class="titlepage"> - <xsl:call-template name="preface.titlepage.before.recto"/> - <xsl:call-template name="preface.titlepage.recto"/> - <xsl:call-template name="preface.titlepage.before.verso"/> - <xsl:call-template name="preface.titlepage.verso"/> - <xsl:call-template name="preface.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="preface.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="preface.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="chapter.titlepage.recto"> - <xsl:choose> - <xsl:when test="chapterinfo/title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="chapterinfo/subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="chapter.titlepage.verso"> -</xsl:template> - -<xsl:template name="chapter.titlepage.separator"> -</xsl:template> - -<xsl:template name="chapter.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="chapter.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="chapter.titlepage"> - <div class="titlepage"> - <xsl:call-template name="chapter.titlepage.before.recto"/> - <xsl:call-template name="chapter.titlepage.recto"/> - <xsl:call-template name="chapter.titlepage.before.verso"/> - <xsl:call-template name="chapter.titlepage.verso"/> - <xsl:call-template name="chapter.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="chapter.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="chapter.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="appendix.titlepage.recto"> - <xsl:choose> - <xsl:when test="appendixinfo/title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="appendixinfo/subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="appendix.titlepage.verso"> -</xsl:template> - -<xsl:template name="appendix.titlepage.separator"> -</xsl:template> - -<xsl:template name="appendix.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="appendix.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="appendix.titlepage"> - <div class="titlepage"> - <xsl:call-template name="appendix.titlepage.before.recto"/> - <xsl:call-template name="appendix.titlepage.recto"/> - <xsl:call-template name="appendix.titlepage.before.verso"/> - <xsl:call-template name="appendix.titlepage.verso"/> - <xsl:call-template name="appendix.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="appendix.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="appendix.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="section.titlepage.recto"> - <xsl:choose> - <xsl:when test="sectioninfo/title"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sectioninfo/subtitle"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> -</xsl:template> - -<xsl:template name="section.titlepage.verso"> -</xsl:template> - -<xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="section.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="section.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="section.titlepage"> - <div class="titlepage"> - <xsl:call-template name="section.titlepage.before.recto"/> - <xsl:call-template name="section.titlepage.recto"/> - <xsl:call-template name="section.titlepage.before.verso"/> - <xsl:call-template name="section.titlepage.verso"/> - <xsl:call-template name="section.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="section.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="section.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect1.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect1info/title"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect1info/subtitle"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> -</xsl:template> - -<xsl:template name="sect1.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect1.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect1.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect1.titlepage"> - <div class="titlepage"> - <xsl:call-template name="sect1.titlepage.before.recto"/> - <xsl:call-template name="sect1.titlepage.recto"/> - <xsl:call-template name="sect1.titlepage.before.verso"/> - <xsl:call-template name="sect1.titlepage.verso"/> - <xsl:call-template name="sect1.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect1.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect1.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect2.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect2info/title"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect2info/subtitle"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> -</xsl:template> - -<xsl:template name="sect2.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect2.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect2.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect2.titlepage"> - <div class="titlepage"> - <xsl:call-template name="sect2.titlepage.before.recto"/> - <xsl:call-template name="sect2.titlepage.recto"/> - <xsl:call-template name="sect2.titlepage.before.verso"/> - <xsl:call-template name="sect2.titlepage.verso"/> - <xsl:call-template name="sect2.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect2.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect2.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect3.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect3info/title"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect3info/subtitle"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> -</xsl:template> - -<xsl:template name="sect3.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect3.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect3.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect3.titlepage"> - <div class="titlepage"> - <xsl:call-template name="sect3.titlepage.before.recto"/> - <xsl:call-template name="sect3.titlepage.recto"/> - <xsl:call-template name="sect3.titlepage.before.verso"/> - <xsl:call-template name="sect3.titlepage.verso"/> - <xsl:call-template name="sect3.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect3.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect3.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect4.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect4info/title"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect4info/subtitle"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> -</xsl:template> - -<xsl:template name="sect4.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect4.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect4.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect4.titlepage"> - <div class="titlepage"> - <xsl:call-template name="sect4.titlepage.before.recto"/> - <xsl:call-template name="sect4.titlepage.recto"/> - <xsl:call-template name="sect4.titlepage.before.verso"/> - <xsl:call-template name="sect4.titlepage.verso"/> - <xsl:call-template name="sect4.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect4.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect4.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect5.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect5info/title"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect5info/subtitle"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> -</xsl:template> - -<xsl:template name="sect5.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect5.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect5.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect5.titlepage"> - <div class="titlepage"> - <xsl:call-template name="sect5.titlepage.before.recto"/> - <xsl:call-template name="sect5.titlepage.recto"/> - <xsl:call-template name="sect5.titlepage.before.verso"/> - <xsl:call-template name="sect5.titlepage.verso"/> - <xsl:call-template name="sect5.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect5.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect5.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="simplesect.titlepage.recto"> - <xsl:choose> - <xsl:when test="simplesectinfo/title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="simplesectinfo/subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="simplesect.titlepage.verso"> -</xsl:template> - -<xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="simplesect.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="simplesect.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="simplesect.titlepage"> - <div class="titlepage"> - <xsl:call-template name="simplesect.titlepage.before.recto"/> - <xsl:call-template name="simplesect.titlepage.recto"/> - <xsl:call-template name="simplesect.titlepage.before.verso"/> - <xsl:call-template name="simplesect.titlepage.verso"/> - <xsl:call-template name="simplesect.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="bibliography.titlepage.recto"> - <div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="bibliographyinfo/subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="bibliography.titlepage.verso"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.separator"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="bibliography.titlepage"> - <div class="titlepage"> - <xsl:call-template name="bibliography.titlepage.before.recto"/> - <xsl:call-template name="bibliography.titlepage.recto"/> - <xsl:call-template name="bibliography.titlepage.before.verso"/> - <xsl:call-template name="bibliography.titlepage.verso"/> - <xsl:call-template name="bibliography.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> -<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="glossary.titlepage.recto"> - <div xsl:use-attribute-sets="glossary.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="glossaryinfo/subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="glossary.titlepage.verso"> -</xsl:template> - -<xsl:template name="glossary.titlepage.separator"> -</xsl:template> - -<xsl:template name="glossary.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="glossary.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="glossary.titlepage"> - <div class="titlepage"> - <xsl:call-template name="glossary.titlepage.before.recto"/> - <xsl:call-template name="glossary.titlepage.recto"/> - <xsl:call-template name="glossary.titlepage.before.verso"/> - <xsl:call-template name="glossary.titlepage.verso"/> - <xsl:call-template name="glossary.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="glossary.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="glossary.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="glossary.titlepage.recto.style"> -<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="index.titlepage.recto"> - <div xsl:use-attribute-sets="index.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::index[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="indexinfo/subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="index.titlepage.verso"> -</xsl:template> - -<xsl:template name="index.titlepage.separator"> -</xsl:template> - -<xsl:template name="index.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="index.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="index.titlepage"> - <div class="titlepage"> - <xsl:call-template name="index.titlepage.before.recto"/> - <xsl:call-template name="index.titlepage.recto"/> - <xsl:call-template name="index.titlepage.before.verso"/> - <xsl:call-template name="index.titlepage.verso"/> - <xsl:call-template name="index.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="index.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="index.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="index.titlepage.recto.style"> -<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> -</div> -</xsl:template> - -</xsl:stylesheet> \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/html/titlepage.xsl b/lib/docbook/docbook-xsl/html/titlepage.xsl deleted file mode 100644 index fe3a174f0..000000000 --- a/lib/docbook/docbook-xsl/html/titlepage.xsl +++ /dev/null @@ -1,655 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id: titlepage.xsl,v 1.1 2002/05/15 17:22:30 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:attribute-set name="book.titlepage.recto.style"/> -<xsl:attribute-set name="book.titlepage.verso.style"/> - -<xsl:attribute-set name="article.titlepage.recto.style"/> -<xsl:attribute-set name="article.titlepage.verso.style"/> - -<xsl:attribute-set name="set.titlepage.recto.style"/> -<xsl:attribute-set name="set.titlepage.verso.style"/> - -<xsl:attribute-set name="part.titlepage.recto.style"/> -<xsl:attribute-set name="part.titlepage.verso.style"/> - -<xsl:attribute-set name="partintro.titlepage.recto.style"/> -<xsl:attribute-set name="partintro.titlepage.verso.style"/> - -<xsl:attribute-set name="reference.titlepage.recto.style"/> -<xsl:attribute-set name="reference.titlepage.verso.style"/> - -<xsl:attribute-set name="dedication.titlepage.recto.style"/> -<xsl:attribute-set name="dedication.titlepage.verso.style"/> - -<xsl:attribute-set name="preface.titlepage.recto.style"/> -<xsl:attribute-set name="preface.titlepage.verso.style"/> - -<xsl:attribute-set name="chapter.titlepage.recto.style"/> -<xsl:attribute-set name="chapter.titlepage.verso.style"/> - -<xsl:attribute-set name="appendix.titlepage.recto.style"/> -<xsl:attribute-set name="appendix.titlepage.verso.style"/> - -<xsl:attribute-set name="bibliography.titlepage.recto.style"/> -<xsl:attribute-set name="bibliography.titlepage.verso.style"/> - -<xsl:attribute-set name="glossary.titlepage.recto.style"/> -<xsl:attribute-set name="glossary.titlepage.verso.style"/> - -<xsl:attribute-set name="index.titlepage.recto.style"/> -<xsl:attribute-set name="index.titlepage.verso.style"/> - -<xsl:attribute-set name="section.titlepage.recto.style"/> -<xsl:attribute-set name="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect1.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect1.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect2.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect2.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect3.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect3.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect4.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect4.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect5.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect5.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="simplesect.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="simplesect.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/> -<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="titlepage.mode"> - <!-- if an element isn't found in this mode, try the default mode --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="abbrev" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="abstract" mode="titlepage.mode"> - <div class="{name(.)}"> - <xsl:call-template name="formal.object.heading"> - <xsl:with-param name="title"> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:with-param> - </xsl:call-template> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="abstract/title" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="address" mode="titlepage.mode"> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="affiliation" mode="titlepage.mode"> - <div class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="artpagenums" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="author" mode="titlepage.mode"> - <h3 class="{name(.)}"><xsl:call-template name="person.name"/></h3> - <xsl:apply-templates mode="titlepage.mode" select="./contrib"/> - <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> -</xsl:template> - -<xsl:template match="authorblurb" mode="titlepage.mode"> - <div class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="authorgroup" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="authorinitials" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="bibliomisc" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="bibliomset" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="collab" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="confgroup" mode="titlepage.mode"> - <div class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="confdates" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="conftitle" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="confnum" mode="titlepage.mode"> - <!-- suppress --> -</xsl:template> - -<xsl:template match="contractnum" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="contractsponsor" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="contrib" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </span> -</xsl:template> - -<xsl:template match="copyright" mode="titlepage.mode"> - <xsl:variable name="years" select="year"/> - <xsl:variable name="holders" select="holder"/> - - <p class="{name(.)}"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Copyright'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">copyright</xsl:with-param> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="$years" mode="titlepage.mode"/> - <xsl:call-template name="gentext.space"/> -<!-- - <xsl:call-template name="gentext.by"/> - <xsl:call-template name="gentext.space"/> ---> - <xsl:apply-templates select="$holders" mode="titlepage.mode"/> - </p> -</xsl:template> - -<xsl:template match="year" mode="titlepage.mode"> - <xsl:apply-templates/><xsl:text>, </xsl:text> -</xsl:template> - -<xsl:template match="year[position()=last()]" mode="titlepage.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="holder" mode="titlepage.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="corpauthor" mode="titlepage.mode"> - <h3 class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </h3> -</xsl:template> - -<xsl:template match="corpname" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="date" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="edition" mode="titlepage.mode"> - <p class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Edition'"/> - </xsl:call-template> - </p> -</xsl:template> - -<xsl:template match="editor" mode="titlepage.mode"> - <h3 class="{name(.)}"><xsl:call-template name="person.name"/></h3> -</xsl:template> - -<xsl:template match="editor[position()=1]" mode="titlepage.mode"> - <h4 class="editedby"><xsl:call-template name="gentext.edited.by"/></h4> - <h3 class="{name(.)}"><xsl:call-template name="person.name"/></h3> -</xsl:template> - -<xsl:template match="firstname" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="graphic" mode="titlepage.mode"> - <!-- use the normal graphic handling code --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="honorific" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="isbn" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="issn" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="itermset" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="invpartnumber" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="issuenum" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="jobtitle" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="keywordset" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="legalnotice " mode="titlepage.mode"> - <div class="{local-name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="legalnotice/title" mode="titlepage.mode"> - <p class="legalnotice-title"><b><xsl:apply-templates/></b></p> -</xsl:template> - -<xsl:template match="lineage" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="modespec" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="orgdiv" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="orgname" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="othercredit" mode="titlepage.mode"> - <xsl:variable name="contrib" select="string(contrib)"/> - <xsl:choose> - <xsl:when test="contrib"> - <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])"> - <p class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode" select="contrib"/> - <xsl:text>: </xsl:text> - <xsl:call-template name="person.name"/> - <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> - <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/> - </p> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <p class="{name(.)}"><xsl:call-template name="person.name"/></p> - <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="othercredit" mode="titlepage.othercredits"> - <xsl:text>, </xsl:text> - <xsl:call-template name="person.name"/> -</xsl:template> - -<xsl:template match="othername" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="pagenums" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="printhistory" mode="titlepage.mode"> - <div class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="productname" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="productnumber" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="pubdate" mode="titlepage.mode"> - <p class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </p> -</xsl:template> - -<xsl:template match="publisher" mode="titlepage.mode"> - <p class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </p> -</xsl:template> - -<xsl:template match="publishername" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="pubsnumber" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="releaseinfo" mode="titlepage.mode"> - <p class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </p> -</xsl:template> - -<xsl:template match="revhistory" mode="titlepage.mode"> - <xsl:variable name="numcols"> - <xsl:choose> - <xsl:when test="//authorinitials">3</xsl:when> - <xsl:otherwise>2</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <div class="{name(.)}"> - <table border="1" width="100%" summary="Revision history"> - <tr> - <th align="left" valign="top" colspan="{$numcols}"> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'RevHistory'"/> - </xsl:call-template> - </b> - </th> - </tr> - <xsl:apply-templates mode="titlepage.mode"> - <xsl:with-param name="numcols" select="$numcols"/> - </xsl:apply-templates> - </table> - </div> -</xsl:template> - -<xsl:template match="revhistory/revision" mode="titlepage.mode"> - <xsl:param name="numcols" select="'3'"/> - <xsl:variable name="revnumber" select=".//revnumber"/> - <xsl:variable name="revdate" select=".//date"/> - <xsl:variable name="revauthor" select=".//authorinitials"/> - <xsl:variable name="revremark" select=".//revremark|.//revdescription"/> - <tr> - <td align="left"> - <xsl:if test="$revnumber"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Revision'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/> - </xsl:if> - </td> - <td align="left"> - <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/> - </td> - <xsl:choose> - <xsl:when test="$revauthor"> - <td align="left"> - <xsl:apply-templates select="$revauthor[1]" mode="titlepage.mode"/> - </td> - </xsl:when> - <xsl:when test="$numcols > 2"> - <td> </td> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </tr> - <xsl:if test="$revremark"> - <tr> - <td align="left" colspan="{$numcols}"> - <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/> - </td> - </tr> - </xsl:if> -</xsl:template> - -<xsl:template match="revision/revnumber" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/date" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/authorinitials" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/revremark" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/revdescription" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="seriesvolnums" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="shortaffil" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="subjectset" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="subtitle" mode="titlepage.mode"> - <h2 class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </h2> -</xsl:template> - -<xsl:template match="surname" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="title" mode="titlepage.mode"> - <xsl:variable name="id"> - <xsl:choose> - <!-- if title is in an *info wrapper, get the grandparent --> - <xsl:when test="contains(local-name(..), 'info')"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="../.."/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <h1 class="{name(.)}"> - <a name="{$id}"/> - <xsl:choose> - <xsl:when test="$show.revisionflag and @revisionflag"> - <span class="{@revisionflag}"> - <xsl:apply-templates mode="titlepage.mode"/> - </span> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="titlepage.mode"/> - </xsl:otherwise> - </xsl:choose> - </h1> -</xsl:template> - -<xsl:template match="titleabbrev" mode="titlepage.mode"> - <!-- nop; title abbreviations don't belong on the title page! --> -</xsl:template> - -<xsl:template match="volumenum" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/toc.xsl b/lib/docbook/docbook-xsl/html/toc.xsl deleted file mode 100644 index b601c22d5..000000000 --- a/lib/docbook/docbook-xsl/html/toc.xsl +++ /dev/null @@ -1,173 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id: toc.xsl,v 1.1 2002/05/15 17:22:30 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="toc"> - <xsl:choose> - <xsl:when test="*"> - <xsl:if test="$process.source.toc != 0"> - <!-- if the toc isn't empty, process it --> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates/> - </xsl:element> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <xsl:if test="$process.empty.source.toc != 0"> - <xsl:choose> - <xsl:when test="parent::section - or parent::sect1 - or parent::sect2 - or parent::sect3 - or parent::sect4 - or parent::sect5"> - <xsl:apply-templates select="parent::*" - mode="toc.for.section"/> - </xsl:when> - <xsl:when test="parent::article"> - <xsl:apply-templates select="parent::*" - mode="toc.for.component"/> - </xsl:when> - <xsl:when test="parent::book - or parent::part"> - <xsl:apply-templates select="parent::*" - mode="toc.for.division"/> - </xsl:when> - <xsl:when test="parent::set"> - <xsl:apply-templates select="parent::*" - mode="toc.for.set"/> - </xsl:when> - <!-- there aren't any other contexts that allow toc --> - <xsl:otherwise> - <xsl:message> - <xsl:text>I don't know how to make a TOC in this context!</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="tocpart|tocchap - |toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> - <xsl:variable name="sub-toc"> - <xsl:if test="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'"> - <dd> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/> - </xsl:element> - </dd> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:variable> - - <xsl:apply-templates select="tocentry[position() != last()]"/> - - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'"> - <dt> - <xsl:apply-templates select="tocentry[position() = last()]"/> - </dt> - <xsl:copy-of select="$sub-toc"/> - </xsl:when> - <xsl:otherwise> - <li> - <xsl:apply-templates select="tocentry[position() = last()]"/> - <xsl:copy-of select="$sub-toc"/> - </li> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="tocentry|tocfront|tocback"> - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'"> - <dt> - <xsl:call-template name="tocentry-content"/> - </dt> - </xsl:when> - <xsl:otherwise> - <li> - <xsl:call-template name="tocentry-content"/> - </li> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="tocentry[position() = last()]" priority="2"> - <xsl:call-template name="tocentry-content"/> -</xsl:template> - -<xsl:template name="tocentry-content"> - <xsl:variable name="targets" select="id(@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:choose> - <xsl:when test="@linkend"> - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates/> - </a> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="toc.for.section"> - <xsl:call-template name="section.toc"/> -</xsl:template> - -<xsl:template match="*" mode="toc.for.component"> - <xsl:call-template name="component.toc"/> -</xsl:template> - -<xsl:template match="*" mode="toc.for.section"> - <xsl:call-template name="section.toc"/> -</xsl:template> - -<xsl:template match="*" mode="toc.for.division"> - <xsl:call-template name="division.toc"/> -</xsl:template> - -<xsl:template match="*" mode="toc.for.set"> - <xsl:call-template name="set.toc"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="lot|lotentry"> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/verbatim.xsl b/lib/docbook/docbook-xsl/html/verbatim.xsl deleted file mode 100644 index 07c9ceb38..000000000 --- a/lib/docbook/docbook-xsl/html/verbatim.xsl +++ /dev/null @@ -1,337 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" - xmlns:xverb="com.nwalsh.xalan.Verbatim" - xmlns:lxslt="http://xml.apache.org/xslt" - exclude-result-prefixes="sverb xverb lxslt" - version='1.0'> - -<!-- ******************************************************************** - $Id: verbatim.xsl,v 1.1 2002/05/15 17:22:30 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<lxslt:component prefix="xverb" - functions="numberLines"/> - -<xsl:template match="programlisting|screen|synopsis"> - <xsl:param name="suppress-numbers" select="'0'"/> - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - - <xsl:if test="@id"> - <a href="{$id}"/> - </xsl:if> - - <xsl:variable name="content"> - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' - and @linenumbering = 'numbered' - and $use.extensions != '0' - and $linenumbering.extension != '0'"> - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - <pre class="{name(.)}"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </pre> - </xsl:when> - <xsl:otherwise> - <pre class="{name(.)}"> - <xsl:apply-templates/> - </pre> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$shade.verbatim != 0"> - <table xsl:use-attribute-sets="shade.verbatim.style"> - <tr> - <td> - <xsl:copy-of select="$content"/> - </td> - </tr> - </table> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$content"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="literallayout"> - <xsl:param name="suppress-numbers" select="'0'"/> - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - - <xsl:variable name="content"> - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' - and @linenumbering = 'numbered' - and $use.extensions != '0' - and $linenumbering.extension != '0'"> - <xsl:choose> - <xsl:when test="@class='monospaced'"> - <pre class="{name(.)}"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </pre> - </xsl:when> - <xsl:otherwise> - <div class="{name(.)}"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:otherwise> - <xsl:choose> - <xsl:when test="@class='monospaced'"> - <pre class="{name(.)}"> - <xsl:copy-of select="$rtf"/> - </pre> - </xsl:when> - <xsl:otherwise> - <div class="{name(.)}"> - <xsl:copy-of select="$rtf"/> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$shade.verbatim != 0 and @class='monospaced'"> - <table xsl:use-attribute-sets="shade.verbatim.style"> - <tr> - <td> - <xsl:copy-of select="$content"/> - </td> - </tr> - </table> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$content"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="literallayout[not(@class) - or @class != 'monospaced']//text()"> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="text" select="."/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="address"> - <xsl:param name="suppress-numbers" select="'0'"/> - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' - and @linenumbering = 'numbered' - and $use.extensions != '0' - and $linenumbering.extension != '0'"> - <div class="{name(.)}"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </div> - </xsl:when> - - <xsl:otherwise> - <div class="{name(.)}"> - <xsl:apply-templates/> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="number.rtf.lines"> - <xsl:param name="rtf" select="''"/> - <xsl:param name="pi.context" select="."/> - - <!-- Save the global values --> - <xsl:variable name="global.linenumbering.everyNth" - select="$linenumbering.everyNth"/> - - <xsl:variable name="global.linenumbering.separator" - select="$linenumbering.separator"/> - - <xsl:variable name="global.linenumbering.width" - select="$linenumbering.width"/> - - <!-- Extract the <?dbhtml linenumbering.*?> PI values --> - <xsl:variable name="pi.linenumbering.everyNth"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="$pi.context/processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'linenumbering.everyNth'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="pi.linenumbering.separator"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="$pi.context/processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'linenumbering.separator'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="pi.linenumbering.width"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="$pi.context/processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'linenumbering.width'"/> - </xsl:call-template> - </xsl:variable> - - <!-- Construct the 'in-context' values --> - <xsl:variable name="linenumbering.everyNth"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.everyNth != ''"> - <xsl:value-of select="$pi.linenumbering.everyNth"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.everyNth"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="linenumbering.separator"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.separator != ''"> - <xsl:value-of select="$pi.linenumbering.separator"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.separator"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="linenumbering.width"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.width != ''"> - <xsl:value-of select="$pi.linenumbering.width"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.width"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - - <xsl:choose> - <xsl:when test="contains($vendor, 'SAXON ')"> - <xsl:copy-of select="sverb:numberLines($rtf)"/> - </xsl:when> - <xsl:when test="contains($vendor, 'Apache Software Foundation')"> - <xsl:copy-of select="xverb:numberLines($rtf)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>Don't know how to do line numbering with </xsl:text> - <xsl:value-of select="$vendor"/> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="address//text()"> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="text" select="."/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="make-verbatim"> - <xsl:param name="text" select="''"/> - - <xsl:variable name="starts-with-space" - select="substring($text, 1, 1) = ' '"/> - - <xsl:variable name="starts-with-nl" - select="substring($text, 1, 1) = ' '"/> - - <xsl:variable name="before-space"> - <xsl:if test="contains($text, ' ')"> - <xsl:value-of select="substring-before($text, ' ')"/> - </xsl:if> - </xsl:variable> - - <xsl:variable name="before-nl"> - <xsl:if test="contains($text, ' ')"> - <xsl:value-of select="substring-before($text, ' ')"/> - </xsl:if> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$starts-with-space"> - <xsl:text> </xsl:text> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="text" select="substring($text,2)"/> - </xsl:call-template> - </xsl:when> - - <xsl:when test="$starts-with-nl"> - <br/><xsl:text> </xsl:text> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="text" select="substring($text,2)"/> - </xsl:call-template> - </xsl:when> - - <!-- if the string before a space is shorter than the string before - a newline, fix the space...--> - <xsl:when test="$before-space != '' - and ((string-length($before-space) - < string-length($before-nl)) - or $before-nl = '')"> - <xsl:value-of select="$before-space"/> - <xsl:text> </xsl:text> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="text" select="substring-after($text, ' ')"/> - </xsl:call-template> - </xsl:when> - - <!-- if the string before a newline is shorter than the string before - a space, fix the newline...--> - <xsl:when test="$before-nl != '' - and ((string-length($before-nl) - < string-length($before-space)) - or $before-space = '')"> - <xsl:value-of select="$before-nl"/> - <br/><xsl:text> </xsl:text> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="text" select="substring-after($text, ' ')"/> - </xsl:call-template> - </xsl:when> - - <!-- the string before the newline and the string before the - space are the same; which means they must both be empty --> - <xsl:otherwise> - <xsl:value-of select="$text"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/xref.xsl b/lib/docbook/docbook-xsl/html/xref.xsl deleted file mode 100644 index 6d313a97d..000000000 --- a/lib/docbook/docbook-xsl/html/xref.xsl +++ /dev/null @@ -1,609 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<!-- ******************************************************************** - $Id: xref.xsl,v 1.1 2002/05/15 17:22:30 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="anchor"> - <a> - <xsl:attribute name="name"> - <xsl:call-template name="object.id"/> - </xsl:attribute> - </a> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="xref"> - <xsl:variable name="targets" select="id(@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:variable name="refelem" select="local-name($target)"/> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - - <xsl:if test="@id"> - <a name="{@id}"/> - </xsl:if> - - <xsl:choose> - <xsl:when test="count($target) = 0"> - <xsl:message> - <xsl:text>XRef to nonexistent id: </xsl:text> - <xsl:value-of select="@linkend"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - - <xsl:when test="$target/@xreflabel"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="xref.xreflabel"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </a> - </xsl:when> - - <xsl:otherwise> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - - <xsl:choose> - <xsl:when test="@endterm"> - <xsl:variable name="etargets" select="id(@endterm)"/> - <xsl:variable name="etarget" select="$etargets[1]"/> - <xsl:choose> - <xsl:when test="count($etarget) = 0"> - <xsl:message> - <xsl:value-of select="count($etargets)"/> - <xsl:text>Endterm points to nonexistent ID: </xsl:text> - <xsl:value-of select="@endterm"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$etarget" mode="endterm"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:otherwise> - <xsl:attribute name="title"> - <xsl:apply-templates select="$target" mode="xref-title"/> - </xsl:attribute> - - <xsl:apply-templates select="$target" mode="xref-to"/> - </xsl:otherwise> - </xsl:choose> - </a> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="endterm"> - <!-- Process the children of the endterm element --> - <xsl:apply-templates select="child::node()"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - - <xsl:message> - <xsl:text>Don't know what gentext to create for xref to: "</xsl:text> - <xsl:value-of select="$refelem"/> - <xsl:text>", ("</xsl:text> - <xsl:value-of select="@id"/> - <xsl:text>")</xsl:text> - </xsl:message> - <xsl:text>???</xsl:text> -</xsl:template> - -<xsl:template match="author" mode="xref-to"> - <xsl:call-template name="person.name"/> -</xsl:template> - -<xsl:template match="authorgroup" mode="xref-to"> - <xsl:call-template name="person.name.list"/> -</xsl:template> - -<xsl:template match="figure" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="example" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="table" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="equation" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="procedure" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="cmdsynopsis" mode="xref-to"> - <xsl:apply-templates select="(.//command)[1]" mode="xref"/> -</xsl:template> - -<xsl:template match="funcsynopsis" mode="xref-to"> - <xsl:apply-templates select="(.//function)[1]" mode="xref"/> -</xsl:template> - -<xsl:template match="dedication" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="preface" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="chapter" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="appendix" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="bibliography" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-to"> - <!-- handles both biblioentry and bibliomixed --> - <xsl:text>[</xsl:text> - <xsl:choose> - <xsl:when test="string(.) = ''"> - <xsl:variable name="bib" select="document($bibliography.collection)"/> - <xsl:variable name="id" select="@id"/> - <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/> - <xsl:choose> - <xsl:when test="$entry"> - <xsl:choose> - <xsl:when test="local-name($entry/*[1]) = 'abbrev'"> - <xsl:apply-templates select="$entry/*[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>No bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </xsl:message> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="local-name(*[1]) = 'abbrev'"> - <xsl:apply-templates select="*[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - <xsl:text>]</xsl:text> -</xsl:template> - -<xsl:template match="glossary" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="index" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="section|simplesect - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> - <!-- What about "in Chapter X"? --> -</xsl:template> - -<xsl:template match="bridgehead" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> - <!-- What about "in Chapter X"? --> -</xsl:template> - -<xsl:template match="qandaset" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="qandadiv" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="qandaentry" mode="xref-to"> - <xsl:apply-templates select="question[1]" mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="question" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="answer" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="part" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="reference" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="step" mode="xref-to"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Step'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates select="." mode="number"/> -</xsl:template> - -<xsl:template match="co" mode="xref-to"> - <xsl:apply-templates select="." mode="callout-bug"/> -</xsl:template> - -<xsl:template match="book" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="author" mode="xref-title"> - <xsl:variable name="title"> - <xsl:call-template name="person.name"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="authorgroup" mode="xref-title"> - <xsl:variable name="title"> - <xsl:call-template name="person.name.list"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="cmdsynopsis" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="(.//command)[1]" mode="xref"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="funcsynopsis" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="(.//function)[1]" mode="xref"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-title"> - <!-- handles both biblioentry and bibliomixed --> - <xsl:variable name="title"> - <xsl:text>[</xsl:text> - <xsl:choose> - <xsl:when test="local-name(*[1]) = 'abbrev'"> - <xsl:apply-templates select="*[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>]</xsl:text> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="step" mode="xref-title"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Step'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates select="." mode="number"/> -</xsl:template> - -<xsl:template match="co" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="." mode="callout-bug"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="link"> - <xsl:variable name="targets" select="id(@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - - <a> - <xsl:if test="@id"> - <xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute> - </xsl:if> - - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - - <!-- FIXME: is there a better way to tell what elements have a title? --> - <xsl:if test="local-name($target) = 'book' - or local-name($target) = 'set' - or local-name($target) = 'chapter' - or local-name($target) = 'preface' - or local-name($target) = 'appendix' - or local-name($target) = 'bibliography' - or local-name($target) = 'glossary' - or local-name($target) = 'index' - or local-name($target) = 'part' - or local-name($target) = 'refentry' - or local-name($target) = 'reference' - or local-name($target) = 'example' - or local-name($target) = 'equation' - or local-name($target) = 'table' - or local-name($target) = 'figure' - or local-name($target) = 'simplesect' - or starts-with(local-name($target),'sect') - or starts-with(local-name($target),'refsect')"> - <xsl:attribute name="title"> - <xsl:apply-templates select="$target" - mode="object.title.markup.textonly"/> - </xsl:attribute> - </xsl:if> - - <xsl:choose> - <xsl:when test="count(child::node()) > 0"> - <!-- If it has content, use it --> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <!-- else look for an endterm --> - <xsl:choose> - <xsl:when test="@endterm"> - <xsl:variable name="etargets" select="id(@endterm)"/> - <xsl:variable name="etarget" select="$etargets[1]"/> - <xsl:choose> - <xsl:when test="count($etarget) = 0"> - <xsl:message> - <xsl:value-of select="count($etargets)"/> - <xsl:text>Endterm points to nonexistent ID: </xsl:text> - <xsl:value-of select="@endterm"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$etarget" mode="endterm"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:otherwise> - <xsl:message> - <xsl:text>Link element has no content and no Endterm. </xsl:text> - <xsl:text>Nothing to show in the link to </xsl:text> - <xsl:value-of select="$target"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </a> -</xsl:template> - -<xsl:template match="ulink"> - <a> - <xsl:if test="@id"> - <xsl:attribute name="name"> - <xsl:value-of select="@id"/> - </xsl:attribute> - </xsl:if> - <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute> - <xsl:if test="$ulink.target != ''"> - <xsl:attribute name="target"> - <xsl:value-of select="$ulink.target"/> - </xsl:attribute> - </xsl:if> - <xsl:choose> - <xsl:when test="count(child::node())=0"> - <xsl:value-of select="@url"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </a> -</xsl:template> - -<xsl:template match="olink"> - <xsl:if test="@id"> - <a name="{@id}"/> - </xsl:if> - - <xsl:variable name="localinfo" select="@localinfo"/> - - <xsl:variable name="href"> - <xsl:choose> - <xsl:when test="@linkmode"> - <!-- use the linkmode to get the base URI, use localinfo as fragid --> - <xsl:variable name="modespec" select="id(@linkmode)"/> - <xsl:if test="count($modespec) != 1 - or local-name($modespec) != 'modespec'"> - <xsl:message>Warning: olink linkmode pointer is wrong.</xsl:message> - </xsl:if> - <xsl:value-of select="$modespec"/> - <xsl:if test="@localinfo"> - <xsl:text>#</xsl:text> - <xsl:value-of select="@localinfo"/> - </xsl:if> - </xsl:when> - <xsl:when test="@type = 'href'"> - <xsl:call-template name="olink.outline"> - <xsl:with-param name="outline.base.uri" - select="unparsed-entity-uri(@targetdocent)"/> - <xsl:with-param name="localinfo" select="@localinfo"/> - <xsl:with-param name="return" select="'href'"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$olink.resolver"/> - <xsl:text>?</xsl:text> - <xsl:value-of select="$olink.sysid"/> - <xsl:value-of select="unparsed-entity-uri(@targetdocent)"/> - <!-- XSL gives no access to the public identifier (grumble...) --> - <xsl:if test="@localinfo"> - <xsl:text>&</xsl:text> - <xsl:value-of select="$olink.fragid"/> - <xsl:value-of select="@localinfo"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <a href="{$href}"> - <xsl:choose> - <xsl:when test="count(node()) > 0"> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="olink.outline"> - <xsl:with-param name="outline.base.uri" - select="unparsed-entity-uri(@targetdocent)"/> - <xsl:with-param name="localinfo" select="@localinfo"/> - <xsl:with-param name="return" select="'xref'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </a> -</xsl:template> - -<xsl:template name="olink.outline"> - <xsl:param name="outline.base.uri"/> - <xsl:param name="localinfo"/> - <xsl:param name="return" select="href"/> - - <xsl:variable name="outline-file" - select="concat($outline.base.uri, - $olink.outline.ext)"/> - - <xsl:variable name="outline" select="document($outline-file,.)/div"/> - - <xsl:variable name="node-href"> - <xsl:choose> - <xsl:when test="$localinfo != ''"> - <xsl:variable name="node" select="$outline//*[@id=$localinfo]"/> - <xsl:value-of select="$node/@href"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$outline/@href"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="node-xref"> - <xsl:choose> - <xsl:when test="$localinfo != ''"> - <xsl:variable name="node" select="$outline//*[@id=$localinfo]"/> - <xsl:copy-of select="$node/xref"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$outline/xref"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$return = 'href'"> - <xsl:value-of select="$node-href"/> - </xsl:when> - <xsl:when test="$return = 'xref'"> - <xsl:value-of select="$node-xref"/> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$node-xref"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="xref.xreflabel"> - <!-- called to process an xreflabel...you might use this to make --> - <!-- xreflabels come out in the right font for different targets, --> - <!-- for example. --> - <xsl:param name="target" select="."/> - <xsl:value-of select="$target/@xreflabel"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="title" mode="xref"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="command" mode="xref"> - <xsl:call-template name="inline.boldseq"/> -</xsl:template> - -<xsl:template match="function" mode="xref"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/html/xtchunk.xsl b/lib/docbook/docbook-xsl/html/xtchunk.xsl deleted file mode 100644 index 0f0d49e2b..000000000 --- a/lib/docbook/docbook-xsl/html/xtchunk.xsl +++ /dev/null @@ -1,10 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:xt="http://www.jclark.com/xt" - extension-element-prefixes="xt" - version="1.0"> - -<xsl:import href="docbook.xsl"/> -<xsl:include href="chunk-common.xsl"/> -<xsl:include href="xtchunker.xsl"/> - -</xsl:stylesheet> \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/html/xtchunker.xsl b/lib/docbook/docbook-xsl/html/xtchunker.xsl deleted file mode 100644 index 2bd5a6438..000000000 --- a/lib/docbook/docbook-xsl/html/xtchunker.xsl +++ /dev/null @@ -1,70 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:xt="http://www.jclark.com/xt" - extension-element-prefixes="xt" - version="1.0"> - -<!-- This stylesheet works with XT; for others use chunker.xsl --> - -<!-- ==================================================================== --> - -<xsl:template name="make-relative-filename"> - <xsl:param name="base.dir" select="'./'"/> - <xsl:param name="base.name" select="''"/> - - <!-- XT makes chunks relative --> - <xsl:choose> - <xsl:when test="count(parent::*) = 0"> - <xsl:value-of select="concat($base.dir,$base.name)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$base.name"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="write.chunk"> - <xsl:param name="filename" select="''"/> - <xsl:param name="method" select="'html'"/> - <xsl:param name="encoding" select="'ISO-8859-1'"/> - <xsl:param name="indent" select="'no'"/> - <xsl:param name="content" select="''"/> - - <xsl:message> - <xsl:text>Writing </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:if test="name(.) != ''"> - <xsl:text> for </xsl:text> - <xsl:value-of select="name(.)"/> - </xsl:if> - </xsl:message> - - <!-- apparently XT doesn't support AVTs for method and encoding --> - <xsl:choose> - <xsl:when test="$method = 'xml'"> - <xt:document href="{$filename}" - method="xml" - indent="{$indent}" - encoding="ISO-8859-1"> - <xsl:copy-of select="$content"/> - </xt:document> - </xsl:when> - <xsl:when test="$method = 'text'"> - <xt:document href="{$filename}" - method="text" - indent="{$indent}" - encoding="ISO-8859-1"> - <xsl:copy-of select="$content"/> - </xt:document> - </xsl:when> - <xsl:otherwise> - <xt:document href="{$filename}" - method="html" - indent="{$indent}" - encoding="ISO-8859-1"> - <xsl:copy-of select="$content"/> - </xt:document> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/lib/docbook/docbook-xsl/htmlhelp/ChangeLog b/lib/docbook/docbook-xsl/htmlhelp/ChangeLog deleted file mode 100644 index 5be476291..000000000 --- a/lib/docbook/docbook-xsl/htmlhelp/ChangeLog +++ /dev/null @@ -1,30 +0,0 @@ -2001-08-13 Jirka Kosek <kosek@users.sourceforge.net> - - * htmlhelp-common.xsl: Fixed problems with new lines in titles for TOC - -2001-08-08 Jirka Kosek <kosek@users.sourceforge.net> - - * htmlhelp-common.xsl: Added new parameters for controling filenames of project and output files. - New parameter htmlhelp.hhp.tail for specifying user content for project file. - -2001-07-23 Jirka Kosek <kosek@users.sourceforge.net> - - * htmlhelp-common.xsl: Fixed bug #442162 - bibliography element is included in ToC in the left pane, index is not generated because it has own dialog also in the left pane of HTML Help viewer - -2001-06-25 Jirka Kosek <kosek@users.sourceforge.net> - - * htmlhelp-common.xsl: Added htmlhelp.autolabel parameter to control inclusion of component and section labels into tree-like ToC. - -2001-05-05 Jirka Kosek <kosek@users.sourceforge.net> - - * htmlhelp-common.xsl: Colophon is now included in toc.hhc - -2001-04-21 Jirka Kosek <kosek@users.sourceforge.net> - - * README: Removed obsolete file - -2001-04-04 Norman Walsh <nwalsh@users.sourceforge.net> - - * README, htmlhelp-common.xsl, htmlhelp.xsl, langcodes.xml, xthtmlhelp.xsl: - New file. - diff --git a/lib/docbook/docbook-xsl/htmlhelp/doc/ChangeLog b/lib/docbook/docbook-xsl/htmlhelp/doc/ChangeLog deleted file mode 100644 index 89e43121f..000000000 --- a/lib/docbook/docbook-xsl/htmlhelp/doc/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -2001-04-22 Jirka Kosek <kosek@users.sourceforge.net> - - * htmlhelp.xml: Updated encoding issues for non-English languages - -2001-04-04 Norman Walsh <nwalsh@users.sourceforge.net> - - * htmlhelp.xml: New file. - diff --git a/lib/docbook/docbook-xsl/htmlhelp/doc/htmlhelp.xml b/lib/docbook/docbook-xsl/htmlhelp/doc/htmlhelp.xml deleted file mode 100644 index f9f531732..000000000 --- a/lib/docbook/docbook-xsl/htmlhelp/doc/htmlhelp.xml +++ /dev/null @@ -1,145 +0,0 @@ -<?xml version='1.0' encoding='utf-8'?> -<!DOCTYPE chapter PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN' - 'http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd'> -<chapter lang="en"> -<chapterinfo> -<author> -<firstname>Jirka</firstname> -<surname>Kosek</surname> -</author> -<copyright> -<year>2001</year> -<holder>Jiří Kosek</holder> -</copyright> -<releaseinfo>$Id: htmlhelp.xml,v 1.1 2002/05/15 17:22:31 isberg Exp $</releaseinfo> -</chapterinfo> -<title>Using XSL stylesheets to generate HTML Help - - -HTML Help (HH) is help-format used in newer versions of MS -Windows and applications written for this platform. This format allows -to pack several HTML files together with images, table of contents and -index into single file. Windows contains browser for this file-format -and full-text search is also supported on HH files. If you want know -more about HH and its capabilities look at HTML -Help pages. - -
    -How to generate first HTML Help file from DocBook sources - -Working with HH stylesheets is same as with other XSL DocBook -stylesheets. Simply run your favorite XSLT processor on your document -with stylesheet suited for HH: - -saxon yourfile /path/to/stylesheets/contrib/htmlhelp/htmlhelp.xsl - -If you are using XT processor, you should use stylesheet -xthtmlhelp.xsl instead of -htmlhelp.xsl. - -Stylesheet imports standard chunking stylesheet, thus set of -HTML files is created in usual way. Other files are also created -– htmlhelp.hhp is project file for HTML -Help Compiler and toc.hhc holds structure of your -document. - -Language identifier for whole HH file is taken from the top most -element with lang attribute in -your DocBook source. This is perfectly legal for documents in only one -language. If language is not specified in the document, US English is -defaulted. There is one problem – MS language codes are country -sensitive, and this information is not available in DocBook source. If -the stylesheet selects bad code for you, edit -langcodes.xml, and remove all entries which have -yours language code, but are located in inappropriate country. - -Title of whole HH file is taken from first title element in your -document. Fulltext searching is automatically on. If your document -contains index terms, they are automatically converted to HH ActiveX -objects, which are recognized by HTML Help compiler. - -Stylesheet creates couple of files which are then used as an -input for HTML Help Compiler (HHC) which is part of HTML -Help Workshop. If you have HHC in your path, you can start -conversion to HH format by running command: - -hhc htmlhelp.hhp - -If you can not stand without your mouse, there is alternative -way. Just double-click on htmlhelp.hhp file. HH Workshop will be -launched automaticaly. Generation of HH file can be started by selecting - -File Compile from application's -menu. - -
    - -
    -Customizing generated files - -
    -Enabling navigation links - -By default, HTML Help stylesheet disables navigation links at -the start and the bottom of each page. If you want to enable this -feature, start your XSLT processor with parameter suppress.navigation set to 0. - -saxon yourfile /path/to/stylesheets/contrib/htmlhelp/htmlhelp.xsl "suppress.navigation=0" - -Another approach is to create driver file, which overrides -default parameter value. - - - - - - - - -]]> - -
    - -
    -Generating HTML Help for non-Western European languages - -If you are generating HTML Help for non-Western Europe -languages, you should change output encoding of your files, because -HTML Help compiler improperly handles UTF-8 and even character -entities in TOC file and index entries. This can be easily done by -driver file like this: - - - - - - - - - - -]]> - -Default encoding is ISO-8859-1 (aka ISO Latin 1). - -
    - -
    - -
    -Feedback - -If you have any comments and suggestion about HTML Help -stylesheet feel free to contact me at following address -jirka@kosek.cz. - -
    - - \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/htmlhelp/htmlhelp-common.xsl b/lib/docbook/docbook-xsl/htmlhelp/htmlhelp-common.xsl deleted file mode 100644 index 7c14ec952..000000000 --- a/lib/docbook/docbook-xsl/htmlhelp/htmlhelp-common.xsl +++ /dev/null @@ -1,453 +0,0 @@ - - - - - - - - -Character encoding to use in files for HTML Help compiler. - -HTML Help Compiler is not UTF-8 aware, so you should always use -apropriate single-byte encoding here. - - - - - - -Should tree-like ToC use autonumbering feature? - -If you want to include chapter and section numbers into ToC in -the left panel, set this parameter to 1. - - - - - - -Filename of output HTML Help file. - -Change this parameter if you want different name of result -CHM file than htmlhelp.chm. - - - - - - -Filename of project file. - -Change this parameter if you want different name of project -file than htmlhelp.hhp. - - - - - - -Filename of TOC file. - -Change this parameter if you want different name of TOC file -than toc.hhc. - - - - - - -Additional content for project file. - -If you want to include some additional parameters into project file, -store appropriate part of project file into this parameter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[OPTIONS] - - -Auto Index=Yes - -Compatibility=1.1 or later -Compiled file= -Contents file= -Default topic= - - - - - - - -Display compile progress=No -Full-text search=Yes -Language= - - - - - - 0x0409 English (United States) - - -Title= - - -[FILES] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <HTML> -<HEAD> -</HEAD> -<BODY> -<OBJECT type="text/site properties"> - <param name="ImageType" value="Folder"> -</OBJECT> -<UL> - - -</UL> -</BODY> -</HTML> - - - - - - - - - - - - <LI> <OBJECT type="text/sitemap"> - <param name="Name" value=" - - "> - <param name="Local" value=" - - "> - </OBJECT> - - <UL> - - </UL> - - - - - - - - - - - - - <LI> <OBJECT type="text/sitemap"> - <param name="Name" value=" - - "> - <param name="Local" value=" - - "> - </OBJECT> - - <UL> - - </UL> - - - - - - - - - - - - - <LI> <OBJECT type="text/sitemap"> - <param name="Name" value=" - - "> - <param name="Local" value=" - - "> - </OBJECT> - - <UL> - - </UL> - - - - - - - - - - - - - <LI> <OBJECT type="text/sitemap"> - <param name="Name" value=" - - "> - <param name="Local" value=" - - "> - </OBJECT> - - <UL> - - </UL> - - - - - - - - - - - - - <LI> <OBJECT type="text/sitemap"> - <param name="Name" value=" - - "> - <param name="Local" value=" - - "> - </OBJECT> - - <UL> - - </UL> - - - - - - - - - - - - - <LI> <OBJECT type="text/sitemap"> - <param name="Name" value=" - - "> - <param name="Local" value=" - - "> - </OBJECT> - - <UL> - - </UL> - - - - - - - - - - - - - <LI> <OBJECT type="text/sitemap"> - <param name="Name" value=" - - "> - <param name="Local" value=" - - "> - </OBJECT> - - <UL> - - </UL> - - - - - - - - - - - - - <LI> <OBJECT type="text/sitemap"> - <param name="Name" value=" - - "> - <param name="Local" value=" - - "> - </OBJECT> - - <UL> - - </UL> - - - - - - - - - - - - - <LI> <OBJECT type="text/sitemap"> - <param name="Name" value=" - - "> - <param name="Local" value=" - - "> - </OBJECT> - - - - - - - - - - - - - - , - - - - , - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/htmlhelp/htmlhelp.xsl b/lib/docbook/docbook-xsl/htmlhelp/htmlhelp.xsl deleted file mode 100644 index 192959522..000000000 --- a/lib/docbook/docbook-xsl/htmlhelp/htmlhelp.xsl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/htmlhelp/langcodes.xml b/lib/docbook/docbook-xsl/htmlhelp/langcodes.xml deleted file mode 100644 index 0e1847cf7..000000000 --- a/lib/docbook/docbook-xsl/htmlhelp/langcodes.xml +++ /dev/null @@ -1,103 +0,0 @@ - - -0x041c Albanian -0x1401 Arabic (ALGERIA) -0x2c0a Spanish (ARGENTINA) -0x0c09 English (AUSTRALIA) -0x0c07 German (AUSTRIA) -0x3c01 Arabic (BAHRAIN) -0x0423 Byelorussian -0x080c French (BELGIUM) -0x2809 English (BELIZE) -0x400a Spanish (BOLIVIA) -0x0416 Portuguese (BRAZIL) -0x083e Malay (BRUNEI DARUSSALAM) -0x0402 Bulgarian -0x0c0c French (CANADA) -0x340a Spanish (CHILE) -0x0804 Chinese (CHINA) -0x240a Spanish (COLOMBIA) -0x140a Spanish (COSTA RICA) -0x041a Croatian -0x0405 Czech -0x0406 Danish -0x1c0a Spanish (DOMINICAN REPUBLIC) -0x300a Spanish (ECUADOR) -0x0c01 Arabic (EGYPT) -0x440a Spanish (EL SALVADOR) -0x0425 Estonian -0x0438 Faeroese -0x040b Finnish -0x040c French (FRANCE) -0x0407 German (GERMANY) -0x0408 Greek -0x100a Spanish (GUATEMALA) -0x480a Spanish (HONDURAS) -0x0c04 Chinese (HONG KONG) -0x040e Hungarian -0x040f Icelandic -0x0439 Hindi -0x04 -0x0429 Farsi -0x0801 Arabic (IRAQ) -0x1809 English (IRELAND) -0x04 -0x0410 Italian -0x2009 English (JAMAICA) -0x0411 Japanese -0x2c01 Arabic (JORDAN) -0x0441 Swahili -0x0412 Korean -0x3401 Arabic (KUWAIT) -0x0426 Latvian (Lettish) -0x3001 Arabic (LEBANON) -0x1001 Arabic (LIBYAN ARAB JAMAHIRIYA) -0x1407 German (LIECHTENSTEIN) -0x0427 Lithuanian -0x1007 German (LUXEMBOURG) -0x1404 Chinese (MACAU) -0x042f Macedonian -0x043e Malay (MALAYSIA) -0x080a Spanish (MEXICO) -0x180c French (MONACO) -0x1801 Arabic (MOROCCO) -0x0413 Dutch -0x1409 English (NEW ZEALAND) -0x4c0a Spanish (NICARAGUA) -0x0414 Norwegian -0x2001 Arabic (OMAN) -0x0420 Urdu -0x180a Spanish (PANAMA) -0x3c0a Spanish (PARAGUAY) -0x280a Spanish (PERU) -0x3409 English (PHILIPPINES) -0x0415 Polish -0x0816 Portuguese (PORTUGAL) -0x500a Spanish (PUERTO RICO) -0x4001 Arabic (QATAR) -0x0418 Romanian -0x0419 Russian -0x0401 Arabic (SAUDI ARABIA) -0x1004 Chinese (SINGAPORE) -0x041b Slovak -0x0424 Slovenian -0x0436 Afrikaans -0x0403 Catalan -0x041d Swedish -0x0807 German (SWITZERLAND) -0x2801 Arabic (SYRIAN ARAB REPUBLIC) -0x0404 Chinese (TAIWAN, PROVINCE OF CHINA) -0x041e Thai -0x2c09 English (TRINIDAD AND TOBAGO) -0x1c01 Arabic (TUNISIA) -0x041f Turkish -0x0422 Ukrainian -0x3801 Arabic (UNITED ARAB EMIRATES) -0x0809 English (UNITED KINGDOM) -0x0409 English (UNITED STATES) -0x380a Spanish (URUGUAY) -0x200a Spanish (VENEZUELA) -0x242a Vietnamese -0x2401 Arabic (YEMEN) -0x3009 English (ZIMBABWE) - diff --git a/lib/docbook/docbook-xsl/htmlhelp/xthtmlhelp.xsl b/lib/docbook/docbook-xsl/htmlhelp/xthtmlhelp.xsl deleted file mode 100644 index 9cd5357c2..000000000 --- a/lib/docbook/docbook-xsl/htmlhelp/xthtmlhelp.xsl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/images/ChangeLog b/lib/docbook/docbook-xsl/images/ChangeLog deleted file mode 100644 index 8d5311914..000000000 --- a/lib/docbook/docbook-xsl/images/ChangeLog +++ /dev/null @@ -1,5 +0,0 @@ -2001-04-02 Norman Walsh - - * caution.gif, caution.png, caution.tif, home.png, important.gif, important.png, important.tif, next.png, note.gif, note.png, note.tif, prev.png, tip.gif, tip.png, tip.tif, toc-blank.png, toc-minus.png, toc-plus.png, up.png, warning.gif, warning.png, warning.tif: - New file. - diff --git a/lib/docbook/docbook-xsl/images/callouts/1.png b/lib/docbook/docbook-xsl/images/callouts/1.png deleted file mode 100644 index 7d473430b7bec514f7de12f5769fe7c5859e8c5d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 329 zcmeAS@N?(olHy`uVBq!ia0vp^JRr;gBp8b2n5}^nQC}X^4DKU-G|w_t}fLBA)Suv#nrW z!^h2QnY_`l!BOq-UXEX{m2up>JTQkX)2m zTvF+fTUlI^nXH#utd~++ke^qgmzgTe~DWM4ffP81J diff --git a/lib/docbook/docbook-xsl/images/callouts/10.png b/lib/docbook/docbook-xsl/images/callouts/10.png deleted file mode 100644 index 997bbc8246a316e040e0804174ba260e219d7d33..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 361 zcmeAS@N?(olHy`uVBq!ia0vp^JRr;gBp8b2n5}^nQWtZ~+OvdJMW|Y+^UT?O-M{rKJsmzxdayJ{ zDCQA!%%@7Jj$q%-wf8e0_jRx8Dqi$}^?K=?6FriQFLv>>oc^CE+aVHhW3=nZ+fQ4!M=ZC7H>3sl|FJr3LwU zC3?yExf6FO?f@F61vV}-Juk7O6lk8Yg;}bFaZ-|HQc7Azopr01?u8M*si- diff --git a/lib/docbook/docbook-xsl/images/callouts/2.png b/lib/docbook/docbook-xsl/images/callouts/2.png deleted file mode 100644 index 5d09341b2f6d2ea2d1d5dad5d980f14b4b05dfd2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 353 zcmeAS@N?(olHy`uVBq!ia0vp^JRr;gBp8b2n5}^nQxaY7e*=hH)_rZeB4|imU1$R#1`!P>&$poQl;nzm}mD5ZFopaX|GsS%q*{P~< z;WtmO%lhToBL0i}yfkaOt?EN=nkLNGuU`ywhI5H)L`iUdT1k0gQ7VIjhO(w-Zen_> zZ(@38a<+nro{^q~f~BRtfrY+-p+a&|W^qZSLvCepNoKNMYO!8QX+eHoiC%Jk?!;Y+ zJAlS%fsM;d&r2*R1)67JkeZlkYGj#gX_9E3W@4U_nw*@Ln38B@k(iuhnUeN2eF0kK0(Y1u|9Rc(19XFPiEBhjaDG}zd16s2gM)^$re|(qda7?? zdS-IAf{C7yo`r&?rM`iMzJZ}aa#3b+Nu@(>WpPPnvR-PjUP@^}eqM=Qa(?c_U5Yz^ z#%Y0#%S_KpEGY$=XJL?(l#*ybuErX#^g`ttQfwn3r>K)tuC)r#2`iJ>Prt42#Ndx#Uc~1)>aw z3jE@Q4|!9Z%lVv}- zc=48cF7H)t`(Ck`^+mtha~Np7bBSw2NpOBzNqJ&XDuaWDvZiNlVtT4?VtQtBwt|VC zk)DNurKP@sg}#BILUK`NaY>~^Ze?*vX0l#tv0h4PL4IC|UUGi!#9fLzfW~Qojmu2W zODrh`nrE42VU(7fm~5G9U~HM3l#*m_WNcxOXkuzEX4g z+-vfUhb0A>b04=Im{6XiQd1v%r%>h0$G8U7E1If8OQ!N~xOYY5h0NDT$p9(iZ?Q&e z18-(+l~J8O`)kc}e&uL$eW&>P-#`~Qm$*ih1m~xflqVLYGB{``YkKA;rl!p+yCFkc(+@-h!Xq*<< zxXkpt#FA2=d1VEBsYynrsitN|Y01eJ$;p;U#>wWX2KP5v&I9V=1L+C? fTFYQ)RAFeOZJ=$?lDoSWD8u0C>gTe~DWM4f^}upZ diff --git a/lib/docbook/docbook-xsl/images/callouts/6.png b/lib/docbook/docbook-xsl/images/callouts/6.png deleted file mode 100644 index 0ba694af6c07d947d219b45a629bd32c60a0f5fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 355 zcmeAS@N?(olHy`uVBq!ia0vp^JRr;gBp8b2n5}^nQ*)Bra@SU# zmiz#bR~{$s2si{S(aY|Z}Vd7tb ouUmn-_&~Y>fYve?8dVq?X&Y!8wB+ut1u%w%U~xZhnMEEs6JbBSw2NpOBzNqJ&XDuaWDvZiNlVtT4?VtQtBwt|VC zk)DNurKP@sg}#BILUK`NaY>~^Ze?*vX0l#tv0h4PL4IC|UUGi!#9fLzfW~Qojmu2W zODrh`nrCEbVQgk$XkwI@Y+{_8nv`N>YGIaQkz#0QY@Te9lBQ<)awbq0A4pdK&{_sV bqY6VKZ3AtCmfYR7Kp6&4S3j3^P6u&S`V$cAh@R~F=4@V4jxkzlaQrcFYWK{)(`o5XZnut z=nE4SU2g1ZW%;@@I$>_e3F8a=8WK~|CVXt1DqisQxtIX|`YW_n&?Nh#1gQ}d)$LrYTw(_{nVG)tp2V+#}WG*e^KRLdkoLz7g? qn(IA84Qgo42`r6v<+Hvch>@C7(8A5T-G@yGywn*$#_oy diff --git a/lib/docbook/docbook-xsl/images/callouts/9.png b/lib/docbook/docbook-xsl/images/callouts/9.png deleted file mode 100644 index a0676d26cc2ff1de12c4ecdeefb44a0d71bc6bde..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 357 zcmeAS@N?(olHy`uVBq!ia0vp^JRr;gBp8b2n5}^nQNRqa;^5&H%t0&v*|C|wdb9$wI zR@+N9#RIowg@Uqn&z-__Tzhhz!sG|vTxA7?=O|Y?u(d4T{!RM9c7chr6d%1?R=i16 z?@Ic{f32YJFJnVhX)qGzOMplv!L->5yAlT#}irms+fsQd*FoSE84k zpF44v;trs3T43Wc)AJHbN`dAXo0u6Hr<$gkq?lM38ycjV7+5A5Sr{ayr5c%-n;95g pF*H#D>f!_G3IJNmU}#ifXryhRZP1dtyA~+J;OXk;vd$@?2>@J{cB%jX diff --git a/lib/docbook/docbook-xsl/images/callouts/ChangeLog b/lib/docbook/docbook-xsl/images/callouts/ChangeLog deleted file mode 100644 index ed5516c4c..000000000 --- a/lib/docbook/docbook-xsl/images/callouts/ChangeLog +++ /dev/null @@ -1,5 +0,0 @@ -2001-04-02 Norman Walsh - - * 1.png, 10.png, 2.png, 3.png, 4.png, 5.png, 6.png, 7.png, 8.png, 9.png: - New file. - diff --git a/lib/docbook/docbook-xsl/images/caution.gif b/lib/docbook/docbook-xsl/images/caution.gif deleted file mode 100644 index d9f5e5b1bc52702e490263297e0c686477f8a9a9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 743 zcmZ?wbhEHblwgox_^QhQ1OfsK5)urGiVTK^3{FlAQBe%Z$qd=q48_F^)zu6wEet(9 z3{$2s%$dWmbScButqgnj0tJhwOaY?mIdiJFZjD;HG`**{8_ndlqdgjcTGH1@5rAvWm>DH}V&z(E>{Q2|u@89nQ znoBxR{K>+|z@W#V1JVle69d~nhv}!E7VV7D!$l=+#gyARX+eW7x`wT@Cg?1ihH6;1 zs$!+xj1Yt%W31lvY*ooh8##Wqt4P*f&)W2{!b0}^@kv>5x2zLQef-gZgT0SEg>hLF z)Pd`+x;*(#oF^Yc1wYmptOPqEY|_Nz%wH;O`WPI6ayD{2tAO4N zo7{UG#GByI2%_fo|5LqMv{6N+A1o@_2o{w)&t4I@GfML`SWvEy;UY+Xf4Xzz&KO;h zV_?(HH9iCh`e$qcdSYD|*JluqH{jv}kl>0fV4tmS-PB+scb>_h18CFP6lf@4^@?vqT-$&hMpcE*)wGd!;~q-Q>IkUnZqz=PVt;M zK*p3gbLK2v%CK~4^3tV1#?q}@8MbbX+PXD)>(;G%_cH9=n|$sZ!?|yxmE{-7;w@N47?rU=3X_NkV zU|o{PnRTZ;lXp4>+)hZU_|Lw%*va*6=<@jI@BP^`_OsZ?pZg-2AaGf|;i2L0<>du@ zeRrO4er03}pLSxdREd>pap^;~&E+}=JYKy#vHnLI=Z$}pPyA_`zG;G~<$`Br2do;7 z$Heivv0AeyJYVI({@6?X6r+V~XS2Cs!|bddDqJz@2lKf$~4dA1c%lfOT+5KMUSWi#X5(9ePxx_W1Bsf2+N)z4*}Q$iB}K{RAP diff --git a/lib/docbook/docbook-xsl/images/caution.tif b/lib/docbook/docbook-xsl/images/caution.tif deleted file mode 100644 index 4a282948c4c7ed53a2cab4132152c9923f7eb363..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1978 zcmebD)MDUaXJBaHTM%HOBF4+!!hOu3BSpZ2m-o=a4UGyOVRGC@78N*Fn1mTgu^*ne z;*L$0(G;HMj}kXtX=zR2W)oug(x;}vd4|pLf`&qbk&JK3goqWpg18tM4sYt>NNQ*5 zJO1L!te8d4X6?)=pC(QSU||)yt{QYgWZzM1M#kk|4=&{>4cy$*l3-xF?uL{AUz_5A z50}pAFgB%?DF*m>GD)-@{{F$i>YOfT;)C)He}4t3vbN+MR?Ki#WjWH`E;J#5fkSah z*CvDRdtCvNOpI%k6$_&6*{?lq*|st4mU-vV>qgQQdBM7KAGv%{?hRM3li^KVy1S9x zik*=G2sju77$g`J84MYm7@`=G8L}CQ8LAmtfUpM)r!auv95`Ic0D)T>AaF0kUWRi( zcnu8iF+kvR1_*r5@Sfp29R6n*g@Y>uM&o~Q#Rt7z11bTqgJPg?F|Y&xk=0NVR1Poz z%ZNF^GJpYGT5JXL8G!j8gs%ZfLk3G=Ndlpt1L^lb3@Tv^fu#V1MQ=Zj+J`d)yn#^y zss&&)AHzQe7O)6V5GchAW=nvWNNgr3n*%7$3}v$d*=$fYGmtIF2r&nwMieRzvPldo p4l+|5%Ki*wOEI#7?fS#Uz#t7}vjA&lTO_>>KsEyq{Q;^60RYt05`+K% diff --git a/lib/docbook/docbook-xsl/images/home.png b/lib/docbook/docbook-xsl/images/home.png deleted file mode 100644 index cbb711de712dcf06597a3a8a3d95f6fefda1f245..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1156 zcmeAS@N?(olHy`uVBq!ia0vp^%0SG|!3-oLGuzY{7?>FXd_r6WdIS`E6g8)48qP6v zn&afP)GK*ya`E2cmc1=K$9krmo3ixW(yjNl9=mt!-1BqS-d}tE{`vdw@Bfd2(GVCG zA@J$l5_e#hU`+CMcVXyYmGuB}CVRR#hE&{I8+eiLumVSprtq8v761QlTpYPgC-&05 zDJ{&8o?4V1EYqU7+)vOI#yLg7ec#$`gxH85}f}H9d0^ z(^GvD(=(H^6-@Mu^ehxCE%gm7^bHIZl8Z8nODY|5D~n4qll4-I^-@X;^7BgclJj#X z?o!+VG)@a_TxNP+Vo52`JVR3xV`HP#G)t4DL{lRpBV!ZeBojj;vlKG}W79NC!#D3= nHUM?;fpi4`tz|GatuQpzHqbT@s&o4Ulwt66^>bP0l+XkK0lack diff --git a/lib/docbook/docbook-xsl/images/important.gif b/lib/docbook/docbook-xsl/images/important.gif deleted file mode 100644 index 6795d9a819874ca8b833c4d4993988721489070f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1003 zcmd5)v2xQu5Iutd0|w+k5&Zs3?l2X}aDS zjTF}vbzOHH$Mba8b;e`IbzRT%eBTcOF$gq_YY0gQX<;}D0zVAhF!bZtiem@kQ53ld zc?kJw3X()jQz=b5X{r%YqZCjoWEse^T9yffD1>wGXnD2O6PLX4*vhfx$E#2ysKF~)d4pDz}RBuUaVC4^8)m&+y7^CACN zNWZET0BmraH<<4P+`FFGYnVCKQ9;ZBR3T)qVf|%U7d>simE()pGuDQwHb2TG+MBQ_ zvDDA4Qf1%Pj=rj3vOLN4H;wu(_qSJ$@rtK60JzIpt9fbL=6P}WBLJ%VyrBKnwv9gL z@+koKj|(oEHhf+1r)*HA;C;h{WiuO<>j@AFLq1UdID5A%&u-GCYUTM&`rF#A&P{r^ z_xRIVhqhjHEgv=NdwEBz@%x57)QYSpY=k4uyJx0tows>V2jGshqK7Z@I~q3m5W5c^ zZt#o~c$MEO+~MK7@*>Lh!0mEumT-7-ns3eG+lQO)ySz&7zEB7GF&sm<)jwePAZ~s8 Q_s=i~Dg!i1^#?fn4NukiE&u=k diff --git a/lib/docbook/docbook-xsl/images/important.png b/lib/docbook/docbook-xsl/images/important.png deleted file mode 100644 index 12c90f607a1b27ddde0a7d922ae255e8c90e883e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 722 zcmV;@0xkWCP)Gdz_qOoSb{LwMwNgp7=gl$4aErG%}mjHRWNrKOy`y@b8JoTa6ut*xc4t*y1SwY|N)#>U3Z&d%1> z*52OU=jZ3|@9+2b_y7O@tTMkk%M`~Kg@u8&dg_P^_0l3yQb639!jLZt^Lx<-O17UeeJ z-|=!77W(jGx&e#?FOku-gKofoU0$~4M+dhLFueEauP`}l7LV=;lsOdn%WHure=x;k`m0(bF&MU#) z-qv#^n8(MjB|ykioqII#+`g4no-MU=BK|Sahu_3M_-d*=7hq=~t?^}A)G7 zbairN0An*{V`DL9V>K}|HDobmIW;*pIW=W9HaTQ6F*7kTGI9=S@Bjb+07*qoM6N<$ Ef=i}M4FCWD diff --git a/lib/docbook/docbook-xsl/images/important.tif b/lib/docbook/docbook-xsl/images/important.tif deleted file mode 100644 index 184de63711510990ab0a8f483c274d2f11596cef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2020 zcmebD)M7AWXJBX$dk|ousK?9JTDdL8Uq@YU@bJG?*jxfpA<|j-!WmZOftnGps z2`M(7+NV;37GB736>XW?tSpqXE>}~nv-Ps%oEtMlIQW-6+n$q%9M;|CK z_#F#ZV$1tJGvEmalTiEz3u}o#Tuh>mHiUOeO7JnuKG`_As3Jnn>nKNe(yJ$T`WW1e~GYvWZ4Wap86IdPu0ZRZU zVEzvR=YI)c=}-+U1EPR<3b=fz29^QIz>)z}8Z2c{1j=VaONynyvH(;CHn0?60O~UY>I?#w0~|oMCXfdzd#ZtD0Rym90=efsxO4)k@&c9v z5Z5Y>mIBlY0dHWCG6FG-=41HBzycNl3Ie5=!E6Z-6N$|PWrOMuW+FXd_r6qS{MX+1QdG|HK%AA z&M|bFA9tAudUsBZ|kvp$Id-JckTVP=kK4t z|Nj2}C>RZap&SB+ixVCKvjk(3x4R2N2dk_Hkkjkw;uunKYwyH|T!$5ST0$SiY~H5U zR{cLbR)lT!-5c|b6rGCX%N?2P<`-xxUu`gZx87&*3!~4wH@%p0)WuYX}UBIC~8cAiK_+plk!-xP|nq~%Rem@g?39waS$dFIAw`2be&`&H`~ zup7N@y!g@N+18CSR#dLnIlgB9pXN>WRz-=n38I0oRnmeW@(a^WRPZVkYb)}kZ6%y pT0bWnsEZGzD*$LMgRyCap{cfkwt-Nc+b5t5gQu&X%Q~loCIEjWXuALa diff --git a/lib/docbook/docbook-xsl/images/note.gif b/lib/docbook/docbook-xsl/images/note.gif deleted file mode 100644 index f329d359e55c7ed753170a6f04fbc0cba1e1e565..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 580 zcmZ?wbhEHblwgox_`=Ho1YTZVK|w)LQBlds$=TW2#l^+d)zvL6Ej>LwQ>IK=x^(H* zty}l*-FxiVv2*9nUAuPe-o1OzpFe;9{{8>||AFElBX9%7pDc_F45AD=ASEC>8Cd@% zghGJlBo$966GSzJUe!6ZN$1q35SXB^-zJAkEPj)pXq*a$h_ zXQ+sXsjhEmXhNv37hJ?OaLOg1X|~+1jSyWR(o`3y(c1;Ai!}%$em*Glyc1BwlJ~NK zuZpLThNs9@k1ImH0$Wth2s`>W>73rA(RIXT!4{9MLpCC+wq2hkd_`O*d~)g9;?U*N zC}OI4M1Z6Hl7Y`-pGiWx6O;l)uFCkcxOF@EUU3NwS>oY6#RI6O?U2byr$d1v9)TjN znwNw$j~n?OWwbpf2zH99Zo*Lqk)s;^7gg9U27sNV>(8nyV%m64QG)9cM8x-WNa$(j zzz`MJAQq_8eSmmjy7}|Lu@zf kf(CKug-JSrEM6BktMtGlBGk2ik;bV{KB5sIO^OWG0Fd3m^#A|> diff --git a/lib/docbook/docbook-xsl/images/note.png b/lib/docbook/docbook-xsl/images/note.png deleted file mode 100644 index d0c3c645ab9af6318035b026dd86944b9ddc9114..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 490 zcmeAS@N?(olHy`uVBq!ia0vp^5+KY0Bp8m$B&h%?rX+877Y2q^y~;)m42&$EE{-7; zw^Ao5PC9JB<666~wbh%Oo7tJ0_rGWfi({a(qjR96>_P4H$tJl=Pxd^1p6`8M?=jE( z!hchf6<8Mi`NHe6`iia69>!lxe4C2-S>+Wvj;l63k!MNSb9|1+f-i>irDi|a^uLl% z^#-f2#pQ2lC%m~9m9JWJZL3|T8FRX>A78<>cU{Z6XGFG336=OLGkw25|29|RG_k%U z>j|M}Ih2i#-w+9_WSj8)*j_s0*s+gA3;Sh&ja)bx!VF_Sf>*se@&+kCgO zr+R@?&ik*cqgb|1nDsf`Smu_<(#~sYRz=fNIgWLC7l}#=|C@V!^7^u?J-&S9hp(U4 z$p4Zq##20*5QGIHvwJ-nxqBD;h diff --git a/lib/docbook/docbook-xsl/images/prev.png b/lib/docbook/docbook-xsl/images/prev.png deleted file mode 100644 index cf24654f8a9d6826bf5ee3f6b640d0b34f44d2ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1132 zcmeAS@N?(olHy`uVBq!ia0vp^%0SG|!3-oLGuzY{7?>FXd_r6qS{MX+1QdG|HK%AA z&M|bFA9tAudO|H@7THL=dQiK_Wb?x_ut?D z9|fZ!FvLS(&zmEwfLVeu$=lt9p@UV{1IVfNba4!+xV3fSLB2x#g-7SkiDHi<0%5c709k4@>c%U5PUn6XiNrQ7+$BX-K(BEj>;XDjvwZcIF~ zikDl%a$|T|&B@5M-I14sdv^1r*gkp|z3k=crb$1i`yH45`zBpRc(KYI-u^rPzjiy@ zGH(5%+Qq}Yvm59P=MvY5lHmNblJdl&R0anPWlhiA#Pn3(#PrPMYy}fNBRvZROG|wN z3w;Aah2)~l;*v^-+{)sT%w)aPV!f2og8aM^z2yAdiMtec0FBcE8<&}$msnB?G|wQ- z!aOlC%^=CZB-O|yDbdi(G|ec{Bq=S?EGaqB)I9sbjHy6fd>~x`Kx-L{O)CsdwGFfl UgzDTr0c99GUHx3vIVCg!0Q2->tpET3 diff --git a/lib/docbook/docbook-xsl/images/tip.gif b/lib/docbook/docbook-xsl/images/tip.gif deleted file mode 100644 index 823f2b417c797bcc5b5af0d86034bbbe68a9c5d8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 598 zcmaKpzfZzI6vwMTVkAa>9EomJF@dB^cAyaw8YzNW>;V&-Ax?~pOgK0Qkwp3j7=?eJ zp(Bd}iDHPQ&cwK|BZjz$_padR<(hoox1W3W-n*l8G9sLBGh57bgCWc1aD#QQmI@nS1Ofyy{@WiyWQ4xz1!{fdcDD5FdB`<y3!k zEzMQ}>2XNH@2x$azJrio4y76u%{aaSQ8iI0-$_v{WV^70wC+frSXf@6n4D`V#?Bj* zZt`izA4lq-+})D%wiNUU4VVF+%2sLK@TMg8DV7ztp%Z(?@L;tQU1CsK&Qwqezj{Cq zSwCP?&P}GNbF_4EK-+twGeQq!I#zP|Y+{WP*FI?V_Kf=>vV0rySc_v6yVepU`O=gc N_rd2$!U|dD;1^e0&sYEe diff --git a/lib/docbook/docbook-xsl/images/tip.png b/lib/docbook/docbook-xsl/images/tip.png deleted file mode 100644 index 5c4aab3bb3543191c360387c4af9a3cbaa051345..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 449 zcmeAS@N?(olHy`uVBq!ia0vp^l0YoM0VEi-?r};1DW)WEcNYeRRlUkaK;CUn7srr_ zTcwkB3m#VBagbEhuIO1a$!w|j^feEHv@=+|woj32oF*6|l<3XH$!T}Lao)e6jJhoQ z_vr?OZVprC|7iZ8xaicUR0b&zR-JdP408=+?zC0Rn8IN&QLTWhMIcU0X8P7uUN4WB zR_?a_;&p>ll{>(OzfJ4N{OX={Q&zNgO}j31DC;|ya^r9Fjd348&p+!^cT+^sws+=& zCu*T*mRNK3PE;$BNx$Fa_9(Y=&DoXLMFRd#U31O)<`W^F&-o=xbIqK-c?mr!bmn>! zky6TW;ML~4nXw$T{yra=OteL6G!=B;0=?;6;u=vBoS#-wo>-L1;Gm(b>6x3Dp6Z*J zo|&AjV4`QFXQ5zesc&GRZ(yj9T$EW{Qt6OeSzMBtte0A>mr`1gpI4%noS!>!m*Ngk zP=bxiOwUU!DFvFBnrfM1VQy}0X_lO7WM-b2nq**TZkb|inr2~`WR#dJWc*7VsEZGz hD*$LMgOO>4k%_i}w!yxSoa=!y44$rjF6*2UngF(YpwIvS diff --git a/lib/docbook/docbook-xsl/images/tip.tif b/lib/docbook/docbook-xsl/images/tip.tif deleted file mode 100644 index 4a3d8c75fd58190ceae8d6ffa621ecf7e925c3c1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 420 zcmebD)M8*_WMF8pe-L1yJdc;H$tf{F-CELXO3;xcp67e?gucfex%0l_j;Y3!bk~Iw z*}inn73j9T)O}-3=fCGcYZHT(zR^l}-s<&G=c&#%w(qtbzQr9{)4X|tE-LgF&v4l4 z)p%aZSR=ZsmwRfU)`umDZ@!1L>ZTZTei3kDV32yV!Q3h+-nMlqyV>lRzWV|5XS|!R zJ9po!|JC=_hMz9Ex3Ove_O<7Ki^+ZG3OW)0HK&YExa~knT17|Dw`}IsahgrSch^-` zbR3#}CTEJE3FpcFHhEeT>m*%ClD6O_#XWHUqAtUxv!lnpXbkP%`INR23xxENF% fWR5tL{SwHQVq^u|^$Ez9hO&PF*|tb}fm{Xvme+K0 diff --git a/lib/docbook/docbook-xsl/images/toc-blank.png b/lib/docbook/docbook-xsl/images/toc-blank.png deleted file mode 100644 index 6ffad17a0c7a78deaae58716e8071cc40cb0b8e0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 318 zcmeAS@N?(olHy`uVBq!ia0vp^{6Ngf!VDzk7iOmbDT4r?5LY1G0LBeqssYGrXgF}- zKtn^rf1vn(hW}s+NCR0w;4iG^2^42c@^*J&=wOxg0CMC!T^vIyZYBTtzyH6zKuy9A zentg0F+qV0g#~P97#OBpaJrNsxA6f`rE`gEL`iUdT1k0gQ7VIjhO(w-Zen_>Z(@38 za<+nro{^q~f~BRtfrY+-p+a&|W^qZSLvCepNoKNMYO!8QX+eHoiC%Jk?!;Y+JAlS% zfsM;d&r2*R1)7&;o@#7ik&>8{Vv?F>U|?x(ZfKHZYGz`bmXczeoR*Z-Hs=yh7cWRx f0MJ?nL(>XNZ3Ars^Rf>h;}|?${an^LB{Ts5OHX0g diff --git a/lib/docbook/docbook-xsl/images/toc-minus.png b/lib/docbook/docbook-xsl/images/toc-minus.png deleted file mode 100644 index abbb020c8e2d6705ebc2f0fc17deed30f2977a46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 259 zcmeAS@N?(olHy`uVBq!ia0vp^{6Ngf0VEhsJkjh1QcOwS?k)@rt9q4-G!sMP)HD-wQzH`-1CumMgJctv6pLi@6hos# qqtv?{|7HPo@q%;(0Ig*(G_A1IHqbUOFZ%#8j=|H_&t;ucLK6V~f=xvL diff --git a/lib/docbook/docbook-xsl/images/toc-plus.png b/lib/docbook/docbook-xsl/images/toc-plus.png deleted file mode 100644 index 941312ce0dab168e0efcc5b572e387259880e541..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 264 zcmeAS@N?(olHy`uVBq!ia0vp^{6Ngf0VEhsJkjh1QcOwS?k)@rt9q49T#T`K7w7|w?rspM=lmg95OfodLFfd9rOi4*hH8wIdOfpPPHA_l1 vPBO4aOiebg{FXd_r6qS{MX+1QdG|HK%AA z&M|bF#=*s&OJYO?ftdq@1MW_{{H_c7!85p5(1lc z&#VJx3C1LEcNc~ZR#^`qC(YBvF{I+w)Ct~v2NXD1b6>NwI=-vFd2Ozz_LBUAZ6_V# z0_-2ED|^IRKipvRGe~yg+2{$+0#aW-GMHneR${}Twfy{=Zu8*Wewig#Kj<-8yG4i7iAWgR668V7MElu>!lX!rIZ%r=auLs=jTq` zrMLrVoEF%)%=Em(l2V{~M&{;5#umm#78a?N$;qjPhKZ(zMyW=L7Ktfo#^y-|**sf- lni%*%x&naKG8mgy7@BGuXd4LCxqSjjdAjiitKf)ghIjv$xRfA5@!fkDH{bMrpZER!`M%%z$hqF& zRTo^?=>a_=-~^4}0c5}joCOph4kUmZz-=G{VS5-sP2q6X`MO`-x!!*rW ztyZts8;wS@*(?@mpZ^}uZ$}#tfY(x3o*?Xoo>h`d8|jmC(W5ivVgErE1sEKfo%%8K zZm_%KW2+i;iCOE!&3{olD%O0Ac=Thp(EZgCUC z>m{!ZyCyqrXB4)SL^$CI^0ECR$tT=P*F@;1lfy%=Q(o%DDkk-3k1-hj`YC2`iO!;PB{{!F!o39xr+d_Vw5fMTEwpb-s#9q<5Nzz6gIepyU?Lctpr{ZK zVzWaWPAC)#17S8h%;AIuf(Q_yeIybEqS0s^i1YdJcsv0ln9M{Xkpz;-I_^=P))~D~!!Hvpq{Dl8O{rN@cECkt>#DncX%I(O&3i_YgL-$m$VU zT3cLBLS%M1`o{TBX}S|Tbhc)vk!Yp)%rdDd&my(RPsxl%lU$)tC?(1~WuEwClUQn! n$Q8O{Mxt@ukkcT{K0> diff --git a/lib/docbook/docbook-xsl/images/warning.tif b/lib/docbook/docbook-xsl/images/warning.tif deleted file mode 100644 index 7b6611ec7a1980022c11ad6877fedf32f41b3df0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1990 zcmebD)MAieXJBaHR|qhCa3Ybt#fe?OBZVhOke}_5p}~zDOYXJdOmf$P_Zjir-v(f(n1LVCeE22NskqJ)$I5g z8XP9S{LzviJ+sf*L4iXe*;u-Tjq%lq8EgzJ!Hcg+?M+EyWoUYBc3S038aqStx-zY! zDFTdKac@c|p3q>CIvAgpWRM#aTC%3+U_*~obs9PKLA zwdWf7S{m)1m+z3c?Wmx@z`-EEAipvhp!;Kbm?5X2D0kj+rcP|eW7(8DkV2Fki5IhEj=NKUH8UqO41H$KE_?`g-zXRd_Q8-9KfPnz02B(N>pejpX z>SzI`howNaA&_POrkNgK+E@xq2Mpl!zyMB5$ACOgn$iTTxCSKe0kI-51uy_p+j}7S z9f(I$z~Bf0U{v4*qwzmD;)zDC@CHUcBM`%AK8Ak`EMO6Es$gUWvn4>Pkl0L6HV06g z8Omk_ve}?)W*}RT5n>KVjVM$cWRn - - * javahelp-common.xsl: Fixed bug #425149, colphons and articles inside book are now handled - -2001-04-04 Norman Walsh - - * javahelp-common.xsl, javahelp.xsl, xtjavahelp.xsl: New file. - diff --git a/lib/docbook/docbook-xsl/javahelp/javahelp-common.xsl b/lib/docbook/docbook-xsl/javahelp/javahelp-common.xsl deleted file mode 100644 index 14ca84847..000000000 --- a/lib/docbook/docbook-xsl/javahelp/javahelp-common.xsl +++ /dev/null @@ -1,425 +0,0 @@ - - - - - - - - - - -Character encoding to use in control files for Java Help. - -Java Help crashes on some characters when written as character -references. In that case you can select appropriate encoding here. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="$title"/> - - - - - top - - - - - - TOC - - javax.help.TOCView - jhelptoc.xml - - - - Index - - javax.help.IndexView - jhelpidx.xml - - - - Search - - javax.help.SearchView - JavaHelpSearch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - , - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/javahelp/javahelp.xsl b/lib/docbook/docbook-xsl/javahelp/javahelp.xsl deleted file mode 100644 index 159262c09..000000000 --- a/lib/docbook/docbook-xsl/javahelp/javahelp.xsl +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/lib/docbook/docbook-xsl/javahelp/xtjavahelp.xsl b/lib/docbook/docbook-xsl/javahelp/xtjavahelp.xsl deleted file mode 100644 index 456de5c1b..000000000 --- a/lib/docbook/docbook-xsl/javahelp/xtjavahelp.xsl +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - JavaHelp cannot work with XT; XT does not support - writing doctype public and system identifiers - - - - diff --git a/lib/docbook/docbook-xsl/lib/ChangeLog b/lib/docbook/docbook-xsl/lib/ChangeLog deleted file mode 100644 index bc4fd8e32..000000000 --- a/lib/docbook/docbook-xsl/lib/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -2001-04-03 Norman Walsh - - * lib.xsl: Documentation fixes - -2001-04-02 Norman Walsh - - * lib.xsl: New file. - diff --git a/lib/docbook/docbook-xsl/lib/lib.xsl b/lib/docbook/docbook-xsl/lib/lib.xsl deleted file mode 100644 index 9f2a2e33a..000000000 --- a/lib/docbook/docbook-xsl/lib/lib.xsl +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - - - -$Id: lib.xsl,v 1.1 2002/05/15 17:22:31 isberg Exp $ - -Walsh -Norman -19992000 -Norman Walsh - - -Library Template Reference - - -
    Introduction - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Substitute one text string for another in a string - -The string.subst template replaces all -occurances of target in string -with replacement and returns the result. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Extract IDREF from an XPointer - -The xpointer.idref template returns the -ID portion of an XPointer which is a pointer to an ID within the current -document, or the empty string if it is not. -In other words, xpointer.idref returns -foo when passed either #foo -or #xpointer(id('foo')), otherwise it returns -the empty string. - - - - - http://... - - - - - - - - - - - - - - - - -Return the unqualified dimension from a length specification - -The length-magnitude template returns the -unqualified length ("20" for "20pt") from a dimension. - - - - - - - - - - - - - - - - - - - - - -Return a fully qualified length specification - -The length-spec template returns the -qualified length from a dimension. If an unqualified length is given, -the default.units will be added to it. - - - - - - - - - - - - - - - - - - - - - - - - - - - Unrecognized unit of measure: - - . - - - - - -
    diff --git a/lib/docbook/docbook-xsl/template/ChangeLog b/lib/docbook/docbook-xsl/template/ChangeLog deleted file mode 100644 index ec9e3bdae..000000000 --- a/lib/docbook/docbook-xsl/template/ChangeLog +++ /dev/null @@ -1,19 +0,0 @@ -2001-08-01 Norman Walsh - - * titlepage.xsl: Add t and param to the excluded result prefixes - -2001-05-21 Norman Walsh - - * titlepage.xsl: Reworked titlepage template processing to support use of more interesting - predicates. - - Note: in previous versions, at most one title, subtitle, or titleabbrev - element would be processed for each title page. In the new design, if you - have multiple title, subtitle, or titleabbrev elements inside an info - wrapper (you shouldn't!), they will all be processed. - -2001-04-02 Norman Walsh - - * README, biblioentry.xsl, testtemplate.xml, titlepage.xsl: - New file. - diff --git a/lib/docbook/docbook-xsl/template/README b/lib/docbook/docbook-xsl/template/README deleted file mode 100644 index 673ca5c21..000000000 --- a/lib/docbook/docbook-xsl/template/README +++ /dev/null @@ -1,15 +0,0 @@ -This directory contains rudimentary support for the notion of -stylesheet templates. - -The idea is that if you want to change the behavior of the -stylesheets, for example, processing different bibliography -elements, you will construct a tempate document that describes -what you want and then process that template with the "template" -stylesheet. - -The result of this processing will be a customization layer for -the DocBook XSL Stylesheets that does what you want. This -removes the stylesheet customizer from the burdon of figuring -out how the stylesheets work and modifying them. - -In theory, anyway... \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/template/biblioentry.xsl b/lib/docbook/docbook-xsl/template/biblioentry.xsl deleted file mode 100644 index 955d40795..000000000 --- a/lib/docbook/docbook-xsl/template/biblioentry.xsl +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - biblioentry - - - id - - object.id - - - - - {$id} - {name(.)} - - - {$id} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bibliography.mode - - - - - - - - - - bibliography.mode - - - diff --git a/lib/docbook/docbook-xsl/template/testtemplate.xml b/lib/docbook/docbook-xsl/template/testtemplate.xml deleted file mode 100644 index 9a9c3c857..000000000 --- a/lib/docbook/docbook-xsl/template/testtemplate.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - -docbook.css - - - - <subtitle predicate="[1]"/> - <corpauthor/> - <author/> - <authorgroup> - <t:or> - <corpauthor/> - <author/> - <editor/> - </t:or> - </authorgroup> - <editor/> - <releaseinfo/> - <copyright/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> -</t:titlepage> - -<t:biblioentry> - <abbrev/> - <title/> - <t:or> - <authorgroup/> - <author/> - </t:or> - <biblioset/> -</t:biblioentry> - -</t:templates> \ No newline at end of file diff --git a/lib/docbook/docbook-xsl/template/titlepage.xsl b/lib/docbook/docbook-xsl/template/titlepage.xsl deleted file mode 100644 index f7a0d09d7..000000000 --- a/lib/docbook/docbook-xsl/template/titlepage.xsl +++ /dev/null @@ -1,1129 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:fo="http://www.w3.org/1999/XSL/Format" - xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0" - xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc t param" - version='1.0'> - -<!-- ******************************************************************** - $Id: titlepage.xsl,v 1.1 2002/05/15 17:22:31 isberg Exp $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<doc:reference xmlns=""> -<referenceinfo> -<releaseinfo role="meta"> -$Id: titlepage.xsl,v 1.1 2002/05/15 17:22:31 isberg Exp $ -</releaseinfo> -<author><surname>Walsh</surname> -<firstname>Norman</firstname></author> -<copyright><year>1999</year><year>2000</year> -<holder>Norman Walsh</holder> -</copyright> -</referenceinfo> -<title>Template Stylesheet Reference - - -
    Introduction - -This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets. - -This is not intended to be user documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in how it -works. - -Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-) -
    -
    - - - - - - - - - - - -Construct a stylesheet for the templates provided - - -The t:templates element is the root of a -set of templates. This template creates an appropriate -xsl:stylesheet for the templates. - -If the t:templates element has a -base-stylesheet attribute, an -xsl:import statement is constructed for it. - - - - - - 1.0 - - - - This stylesheet was created by - template/titlepage.xsl; - do not edit it by hand. - - - - - - - - - - - - - - - - - - - - -Copy xsl: elements straight through - - -This template simply copies the xsl: elements -straight through into the result tree. - - - - - - - - - - -Create the templates necessary to construct a title page - - -The t:titlepage element creates a set of -templates for processing the titlepage for an element. The -root of this template set is the template named -wrapper.titlepage. That is the -template that should be called to generate the title page. - - -The t:titlepage element has three attributes: - - -element -The name of the source document element for which -these templates apply. In other words, to make a title page for the -article element, set the -element attribute to -article. This attribute is required. - - -wrapper -The entire title page can be wrapped with an element. -This attribute identifies that element. - - -class -If the class attribute -is set, a class attribute with this -value will be added to the wrapper element that surrounds the entire -title page. - - - - - -Any other attributes are copied through literally to the -wrapper element. - -The content of a t:titlepage is one or -more t:titlepage-content, -t:titlepage-separator, and -t:titlepage-before elements. - -Each of these elements may be provided for the recto -and verso sides of the title page. - - - - - - - - - - - - - - .titlepage - - - - - - - - - .titlepage.before.recto - - - - - - - .titlepage.recto - - - - - - - .titlepage.before.verso - - - - - - - .titlepage.verso - - - - - - - .titlepage.separator - - - - - - - - - - - - - - * - - - .titlepage.recto.mode - - - if an element isn't found in this mode, - - try the generic titlepage.mode - - - . - titlepage.mode - - - - - - - - * - - - .titlepage.verso.mode - - - if an element isn't found in this mode, - - try the generic titlepage.mode - - - . - titlepage.mode - - - - - - - - - - - - - - - - - - - .titlepage. - - .auto.mode - - - - - - .titlepage. - - .style - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - .titlepage. - - .mode - - - - - - - - - - - - - - -Copy t:titlepage attributes - - -This template copies all of the other attributes -from a t:titlepage element onto the specified -wrapper. - - - - - - - - - - - - - - - - - - -Create templates for the content of one side of a title page - - -The title page content, that is, the elements from the source -document that are rendered on the title page, can be controlled independently -for the recto and verso sides of the title page. - -The t:titlepage-content element has two attributes: - - -side -Identifies the side of the page to which this title -page content applies. The -side attribute is required and -must be set to either -recto or -verso. In addition, you must specify -exactly one t:titlepage-content for each side -within each t:titlepage. - - -order -Indicates how the order of the elements presented on -the title page is determined. If the -order is -document, the elements are presented -in document order. Otherwise (if the -order is -stylesheet), the elements are presented -in the order that they appear in the template (and consequently in -the stylesheet). - - - - - -The content of a t:titlepage-content element is -a list of element names. These names should be unqualified. They identify -the elements in the source document that should appear on the title page. - - -Each element may have a single attribute: -predicate. The value of this -attribute is used as a predicate for the expression that matches -the element on which it occurs. - -In other words, to put only the first three authors on the -recto-side of a title -page, you could specify: - - - - - - -]]> - - -Usually, the elements so named are empty. But it is possible to -make one level of selection within them. Suppose that you want to -process authorgroup elements on the title page, but -you want to select only proper authors, editors, or corporate authors, -not collaborators or other credited authors. - -In that case, you can put a t:or group inside -the authorgroup element: - - - - - - - - - - - - -]]> - - -This will have the effect of automatically generating a template -for processing authorgroups in the title page mode, -selecting only the specified children. If you need more complex processing, -you'll have to construct the templates by hand. - - - - - - - - - - - - - Illegal value specified for @side - on t:titlepage-content: - - - - - - The @side attribute is required on - t:titlepage-content. - - - - - - - - .titlepage. - - .auto.mode - - - - - - - .titlepage. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Create templates for the separator - - -The title page is separated from the content which follows it by -the markup specified in the t:titlepage-separator -element. - - - - - - - - - .titlepage.separator - - - - - - - - - - -Create templates for what precedes a title page - - -Each side of the title page is preceded by the markup specified -in the t:titlepage-before element for that -side. - - - - - - - - - .titlepage.before. - - - - - - - - - - - -Copy elements - - -This template simply copies the elements that it applies to -straight through into the result tree. - - - - - - - - - - - - - -Copy attributes - - -This template simply copies the attributes that it applies to -straight through into the result tree. - - - - - - - - - - - - -Create rules to process titlepage elements in document order - - -This template is called to process all of the children of the -t:titlepage-content element. It creates the hairy -select expression necessary to process each of those elements in -the title page. - -Note that this template automatically handles the case where -some DocBook elements, like title and subtitle, can occur both inside -the *info elements where metadata is usually stored and outside. - - -It also automatically calculates the name for the *info container -and handles elements that have historically had containers with different -names. - - - - - - - - info - - - - - - artheader - - - - - - - - - - docinfo - - - - - - - - - - recto - - - - - - - .titlepage. - - .auto.mode - - - - | - - - - / - - - - - - - | - - / - - - - - - - - | - - - - - - - - - - -Create rules to process titlepage elements in stylesheet order - - -This template is called to process all of the children of the -t:titlepage-content element. It creates the set -of xsl:apply-templates elements necessary -process each of those elements in the title page. - -Note that this template automatically handles the case where -some DocBook elements, like title and subtitle, can occur both inside -the *info elements where metadata is usually stored and outside. - - -It also automatically calculates the name for the *info container -and handles elements that have historically had containers with different -names. - - - - - - - - info - - - - - - artheader - - - - - - - - - - docinfo - - - - - - - - - recto - - - - - - .titlepage. - - .auto.mode - - - - - - - - - - - - .titlepage. - - .style - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Force can only be used with named-templates. - - - - - - - - - - - - - - - / - - - - - - - - - - / - - - - - - - - - - - - - - - / - - - - - - - - - - / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / - - - - - - - - - - - - - - - - - / - - - - - - - - - - - - - - - - -Create templates for special rules - - -This template is called to process all of the descendants of the -t:titlepage-content element that require special -processing. At present, that's just t:or elements. - - - - - - - - - - - recto - - - - - - .titlepage. - - .auto.mode - - - - - - - - - - - - - - - - - - - - - - - - - - - -Create template for individual special rules - - -This template is called to process the children of special -template elements. - - - - - - - - - - - recto - - - - - - .titlepage. - - .auto.mode - - - - - - - - - - - - - - - -Process the t:or special rule - - -This template processes t:or. - - - - - - - - - - recto - - - - - - .titlepage. - - .auto.mode - - - - - - - - - - - - - - - - -Process the t:or special rule in -titlepage.subrules mode - - -The titlepage.subrules mode doesn't apply to t:or, so just -reprocess this node in the normal mode. - - - - - - - - - - -Construct the "or-list" used in the select attribute for -special rules. - - -Walk through each of the children of t:or, producing the -text of the select attribute. - - - - - - - - - - - - - - - - - - - - - | - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/tools/ChangeLog b/lib/docbook/docbook-xsl/tools/ChangeLog deleted file mode 100644 index 709104759..000000000 --- a/lib/docbook/docbook-xsl/tools/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -2001-08-01 Norman Walsh - - * profile.xsl: Moved profile.xsl to profile subdirectory - -2001-07-31 Jirka Kosek - - * profile.xsl: New file. - diff --git a/lib/docbook/docbook-xsl/tools/olink/ChangeLog b/lib/docbook/docbook-xsl/tools/olink/ChangeLog deleted file mode 100644 index 164385981..000000000 --- a/lib/docbook/docbook-xsl/tools/olink/ChangeLog +++ /dev/null @@ -1,13 +0,0 @@ -2001-08-11 Robert Stayton - - * olink-common.xsl: Fixed the attributes that were all being saved to the - same id attribute. - Also added lang as a supported attribute. - - * olinksum.dtd: Added lang as a supported attribute. - -2001-08-01 Norman Walsh - - * olink-common.xsl, olink.xsl, olinkchunk.xsl, olinksum.dtd: - New file. - diff --git a/lib/docbook/docbook-xsl/tools/olink/olink-common.xsl b/lib/docbook/docbook-xsl/tools/olink/olink-common.xsl deleted file mode 100644 index f8bb6d6cb..000000000 --- a/lib/docbook/docbook-xsl/tools/olink/olink-common.xsl +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    diff --git a/lib/docbook/docbook-xsl/tools/olink/olink.xsl b/lib/docbook/docbook-xsl/tools/olink/olink.xsl deleted file mode 100644 index 98f7e1b95..000000000 --- a/lib/docbook/docbook-xsl/tools/olink/olink.xsl +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/tools/olink/olinkchunk.xsl b/lib/docbook/docbook-xsl/tools/olink/olinkchunk.xsl deleted file mode 100644 index a3dc74493..000000000 --- a/lib/docbook/docbook-xsl/tools/olink/olinkchunk.xsl +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/tools/olink/olinksum.dtd b/lib/docbook/docbook-xsl/tools/olink/olinksum.dtd deleted file mode 100644 index c123adea7..000000000 --- a/lib/docbook/docbook-xsl/tools/olink/olinksum.dtd +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/tools/profile/ChangeLog b/lib/docbook/docbook-xsl/tools/profile/ChangeLog deleted file mode 100644 index 07f01140d..000000000 --- a/lib/docbook/docbook-xsl/tools/profile/ChangeLog +++ /dev/null @@ -1,4 +0,0 @@ -2001-08-01 Norman Walsh - - * profile.xsl: New file. - diff --git a/lib/docbook/docbook-xsl/tools/profile/profile.xsl b/lib/docbook/docbook-xsl/tools/profile/profile.xsl deleted file mode 100644 index b9f0aa9eb..000000000 --- a/lib/docbook/docbook-xsl/tools/profile/profile.xsl +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/xhtml/ChangeLog b/lib/docbook/docbook-xsl/xhtml/ChangeLog deleted file mode 100644 index 5f3380392..000000000 --- a/lib/docbook/docbook-xsl/xhtml/ChangeLog +++ /dev/null @@ -1,16 +0,0 @@ -2001-08-01 Norman Walsh - - * docbook.xsl: Bug #441079, use import instead of include so that xsl:output isn't occurring multiple times at the same level - -2001-06-20 Norman Walsh - - * docbook.xsl: Put public and system identifiers on XHTML documents to that entity references (  etc.) work - -2001-04-03 Norman Walsh - - * chunk.xsl, docbook.xsl, xtchunk.xsl: Support MathML and chunking properly - -2001-04-02 Norman Walsh - - * docbook.xsl, xtchunk.xsl: New file. - diff --git a/lib/docbook/docbook-xsl/xhtml/chunk.xsl b/lib/docbook/docbook-xsl/xhtml/chunk.xsl deleted file mode 100644 index 1f6c7aedc..000000000 --- a/lib/docbook/docbook-xsl/xhtml/chunk.xsl +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/xhtml/docbook.xsl b/lib/docbook/docbook-xsl/xhtml/docbook.xsl deleted file mode 100644 index 3528901aa..000000000 --- a/lib/docbook/docbook-xsl/xhtml/docbook.xsl +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/lib/docbook/docbook-xsl/xhtml/xtchunk.xsl b/lib/docbook/docbook-xsl/xhtml/xtchunk.xsl deleted file mode 100644 index 7695d2bc0..000000000 --- a/lib/docbook/docbook-xsl/xhtml/xtchunk.xsl +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/lib/pom.xml b/lib/pom.xml index c060ee695..621c49def 100644 --- a/lib/pom.xml +++ b/lib/pom.xml @@ -136,6 +136,32 @@ c61a373f6d50ff8fcfba900934f7254d44f9735b + + download-docbook-dtd + generate-resources + + wget + + + https://www.oasis-open.org/docbook/xml/4.1.2/docbkx412.zip + docbook + docbkx412.zip + b9ae7a41056bfaf885581812d60651b7b5531519 + + + + download-docbook-xsl + generate-resources + + wget + + + https://sourceforge.net/projects/docbook/files/OldFiles/docbook-xsl-1.44.zip/download + docbook + docbook-xsl-1.44.zip + 626e7bee806ea14812f6f95cc2d187ab6ba9114a + + unzip-ant-binaries @@ -357,10 +387,6 @@ true - ant/${lib.ant.artifact}-bin.zip/${lib.ant.artifact} ant @@ -375,10 +401,6 @@ true - ant/${lib.ant.artifact}-src.zip/${lib.ant.artifact}/src/main ant/ant-src.zip @@ -393,10 +415,6 @@ true - commons/commons-beanutils-${lib.commons.beanutils.version}.jar commons/commons.jar @@ -411,10 +429,6 @@ true - commons/commons-collections-${lib.commons.collections.version}.jar commons/commons.jar @@ -429,10 +443,6 @@ true - commons/commons-digester-${lib.commons.digester.version}.jar commons/commons.jar @@ -447,10 +457,6 @@ true - commons/commons-logging-${lib.commons.logging.version}.jar commons/commons.jar @@ -465,10 +471,6 @@ true - commons/commons-beanutils-${lib.commons.beanutils.version}-sources.jar/commons-beanutils-${lib.commons.beanutils.tag}/src/java commons/commons-src.zip @@ -483,10 +485,6 @@ true - commons/commons-collections-${lib.commons.collections.version}-sources.jar/commons-collections-${lib.commons.collections.tag}/src/java commons/commons-src.zip @@ -501,10 +499,6 @@ true - commons/commons-digester-${lib.commons.digester.version}-sources.jar/commons-digester-${lib.commons.digester.tag}/src/java commons/commons-src.zip @@ -519,15 +513,39 @@ true - commons/commons-logging-${lib.commons.logging.version}-sources.jar/commons-logging-${lib.commons.logging.tag}/src/java commons/commons-src.zip + + unzip-docbook-dtd + process-resources + + copy + + + true + + docbook/docbkx412.zip + docbook/docbook-dtd + + + + + unzip-docbook-xsl + process-resources + + copy + + + true + + docbook/docbook-xsl-1.44.zip/docbook-xsl-1.44 + docbook/docbook-xsl + + +

    This class provides a - * Saxon - * extension to turn the CVS date strings, which are UTC: