booky 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.pdf +0 -0
- data/README.textile +35 -8
- data/booky.gemspec +7 -2
- data/lib/booky.rb +40 -36
- data/lib/booky/ast.rb +10 -0
- data/lib/booky/exceptions.rb +1 -1
- data/lib/booky/layout.rb +103 -0
- data/lib/booky/layout/base.rb +70 -0
- data/lib/booky/layout/base/author.rb +15 -0
- data/lib/booky/layout/base/blockquote.rb +58 -0
- data/lib/booky/layout/base/chart.rb +26 -0
- data/lib/booky/layout/base/charts/bar.rb +164 -0
- data/lib/booky/layout/base/charts/base.rb +82 -0
- data/lib/booky/layout/base/charts/line.rb +249 -0
- data/lib/booky/layout/base/code.rb +185 -0
- data/lib/booky/layout/base/copyright.rb +16 -0
- data/lib/booky/layout/base/footnote.rb +10 -0
- data/lib/booky/layout/base/h0.rb +26 -0
- data/lib/booky/layout/base/h1.rb +29 -0
- data/lib/booky/layout/base/h2.rb +29 -0
- data/lib/booky/layout/base/h3.rb +29 -0
- data/lib/booky/layout/base/h4.rb +29 -0
- data/lib/booky/layout/base/image.rb +39 -0
- data/lib/booky/layout/base/import.rb +11 -0
- data/lib/booky/layout/base/numbered_list.rb +45 -0
- data/lib/booky/layout/base/outline.rb +21 -0
- data/lib/booky/layout/base/p.rb +15 -0
- data/lib/booky/layout/base/subtitle.rb +18 -0
- data/lib/booky/layout/base/table.rb +58 -0
- data/lib/booky/layout/base/title.rb +22 -0
- data/lib/booky/layout/base/toc.rb +131 -0
- data/lib/booky/layout/base/tof.rb +73 -0
- data/lib/booky/layout/base/unnumbered_list.rb +36 -0
- data/lib/booky/layout/element.rb +28 -0
- data/lib/booky/layout/helpers.rb +29 -0
- data/lib/booky/pdf.rb +12 -10
- data/lib/booky/textile.rb +6 -4
- data/lib/booky/textile/load.rb +1 -1
- data/lib/booky/textile/precompiler.rb +1 -0
- data/lib/booky/textile/source.rb +31 -5
- data/lib/booky/textile/table.rb +52 -0
- data/lib/booky/version.rb +1 -1
- data/pdfs/Rakefile +16 -0
- data/pdfs/blockquote_source.pdf +15641 -1
- data/pdfs/footnotes.pdf +1991 -0
- data/pdfs/link_image.pdf +0 -0
- data/pdfs/lists.pdf +706 -1
- data/pdfs/tables.pdf +2162 -0
- data/pdfs/title_subtitle.pdf +3454 -0
- data/spec/ast_spec.rb +12 -0
- data/{lib/fop/lib → spec/fixtures}/.DS_Store +0 -0
- data/spec/fixtures/bar_chart.json +35 -0
- data/spec/fixtures/blockquote_pagebreak.textile +27 -0
- data/spec/fixtures/blockquote_source.textile +35 -0
- data/spec/fixtures/chart.textile +9 -0
- data/spec/fixtures/footnotes.textile +57 -0
- data/spec/fixtures/footnotes_tables.textile +29 -0
- data/spec/fixtures/image_big.jpg +0 -0
- data/spec/fixtures/image_small.jpg +0 -0
- data/spec/fixtures/import.textile +7 -0
- data/spec/fixtures/line_chart.json +49 -0
- data/spec/fixtures/link_image.textile +18 -0
- data/spec/fixtures/lists.textile +98 -0
- data/spec/fixtures/request_flow.pdf +477 -0
- data/spec/fixtures/some_code.rb +138 -0
- data/spec/fixtures/some_text.txt +10 -0
- data/spec/fixtures/source_plain_text.textile +1 -0
- data/spec/fixtures/tables.textile +42 -0
- data/spec/fixtures/textile/basic.textile +3 -0
- data/spec/fixtures/textile/source/precompiled_index.textile +2 -2
- data/spec/fixtures/textile/tables/names.xls +0 -0
- data/spec/fixtures/textile/tables/request_limits_hardware.xls +0 -0
- data/spec/fixtures/title_subtitle.textile +110 -0
- data/spec/helpers.rb +2 -1
- data/spec/pdf_spec.rb +107 -0
- data/test.pdf +16657 -0
- metadata +152 -1551
- data/lib/booky/docbook.rb +0 -13
- data/lib/booky/fo.rb +0 -15
- data/lib/booky/fonts.rb +0 -104
- data/lib/custom_fonts.xml +0 -91
- data/lib/fop/KEYS +0 -248
- data/lib/fop/LICENSE +0 -202
- data/lib/fop/NOTICE +0 -10
- data/lib/fop/README +0 -286
- data/lib/fop/build/fop.jar +0 -0
- data/lib/fop/conf/fop.xconf +0 -464
- data/lib/fop/fop +0 -254
- data/lib/fop/fop.bat +0 -85
- data/lib/fop/fop.cmd +0 -75
- data/lib/fop/fop.js +0 -341
- data/lib/fop/lib/README.txt +0 -243
- data/lib/fop/lib/avalon-framework-4.2.0.jar +0 -0
- data/lib/fop/lib/avalon-framework.LICENSE.txt +0 -175
- data/lib/fop/lib/avalon-framework.NOTICE.TXT +0 -11
- data/lib/fop/lib/batik-all-1.7.jar +0 -0
- data/lib/fop/lib/batik.LICENSE.txt +0 -201
- data/lib/fop/lib/batik.NOTICE.txt +0 -18
- data/lib/fop/lib/commons-io-1.3.1.jar +0 -0
- data/lib/fop/lib/commons-io.LICENSE.txt +0 -203
- data/lib/fop/lib/commons-io.NOTICE.txt +0 -6
- data/lib/fop/lib/commons-logging-1.0.4.jar +0 -0
- data/lib/fop/lib/commons-logging.LICENSE.txt +0 -202
- data/lib/fop/lib/commons-logging.NOTICE.txt +0 -3
- data/lib/fop/lib/jeuclid-core-3.1.9.jar +0 -0
- data/lib/fop/lib/jeuclid-fop-3.1.9.jar +0 -0
- data/lib/fop/lib/serializer-2.7.0.jar +0 -0
- data/lib/fop/lib/serializer.LICENSE.txt +0 -201
- data/lib/fop/lib/serializer.NOTICE.txt +0 -15
- data/lib/fop/lib/xalan-2.7.0.jar +0 -0
- data/lib/fop/lib/xalan.BCEL.LICENSE.txt +0 -52
- data/lib/fop/lib/xalan.LICENSE.txt +0 -202
- data/lib/fop/lib/xalan.NOTICE.txt +0 -44
- data/lib/fop/lib/xalan.regexp.LICENSE.txt +0 -52
- data/lib/fop/lib/xalan.runtime.LICENSE.txt +0 -20
- data/lib/fop/lib/xerces.LICENSE.txt +0 -56
- data/lib/fop/lib/xercesImpl-2.7.1.jar +0 -0
- data/lib/fop/lib/xercesImpl.LICENSE.txt +0 -201
- data/lib/fop/lib/xercesImpl.NOTICE.txt +0 -14
- data/lib/fop/lib/xml-apis-1.3.04.jar +0 -0
- data/lib/fop/lib/xml-apis-ext-1.3.04.jar +0 -0
- data/lib/fop/lib/xml-apis-ext.LICENSE.dom-documentation.txt +0 -73
- data/lib/fop/lib/xml-apis-ext.LICENSE.dom-software.txt +0 -61
- data/lib/fop/lib/xml-apis-ext.LICENSE.sac.html +0 -75
- data/lib/fop/lib/xml-apis-ext.LICENSE.txt +0 -202
- data/lib/fop/lib/xml-apis-ext.NOTICE.txt +0 -16
- data/lib/fop/lib/xml-apis-ext.README.dom.txt +0 -56
- data/lib/fop/lib/xml-apis.LICENSE-SAX.html +0 -17
- data/lib/fop/lib/xml-apis.LICENSE.DOM-documentation.html +0 -74
- data/lib/fop/lib/xml-apis.LICENSE.DOM-software.html +0 -66
- data/lib/fop/lib/xml-apis.LICENSE.txt +0 -201
- data/lib/fop/lib/xml-apis.NOTICE.txt +0 -13
- data/lib/fop/lib/xmlgraphics-commons-1.4.jar +0 -0
- data/lib/fop/lib/xmlgraphics-commons.LICENSE.txt +0 -202
- data/lib/fop/lib/xmlgraphics-commons.NOTICE.txt +0 -5
- data/lib/fop/lib/xslthl-2.0.2.jar +0 -0
- data/lib/fop/status.xml +0 -1809
- data/lib/params.pdf +0 -0
- data/lib/stylesheets/.CatalogManager.properties.example +0 -61
- data/lib/stylesheets/.urilist +0 -1
- data/lib/stylesheets/AUTHORS +0 -4
- data/lib/stylesheets/BUGS +0 -21
- data/lib/stylesheets/COPYING +0 -47
- data/lib/stylesheets/INSTALL +0 -88
- data/lib/stylesheets/Makefile +0 -89
- data/lib/stylesheets/NEWS +0 -139
- data/lib/stylesheets/NEWS.html +0 -25
- data/lib/stylesheets/NEWS.xml +0 -145
- data/lib/stylesheets/README +0 -166
- data/lib/stylesheets/RELEASE-NOTES.html +0 -8353
- data/lib/stylesheets/RELEASE-NOTES.pdf +6 -24345
- data/lib/stylesheets/RELEASE-NOTES.txt +0 -8575
- data/lib/stylesheets/RELEASE-NOTES.xml +0 -10327
- data/lib/stylesheets/TODO +0 -23
- data/lib/stylesheets/VERSION +0 -115
- data/lib/stylesheets/catalog.xml +0 -8
- data/lib/stylesheets/common/addns.xsl +0 -118
- data/lib/stylesheets/common/af.xml +0 -1229
- data/lib/stylesheets/common/am.xml +0 -1229
- data/lib/stylesheets/common/ar.xml +0 -1229
- data/lib/stylesheets/common/as.xml +0 -660
- data/lib/stylesheets/common/ast.xml +0 -660
- data/lib/stylesheets/common/autoidx-kimber.xsl +0 -45
- data/lib/stylesheets/common/autoidx-kosek.xsl +0 -155
- data/lib/stylesheets/common/az.xml +0 -672
- data/lib/stylesheets/common/bg.xml +0 -724
- data/lib/stylesheets/common/bn.xml +0 -1229
- data/lib/stylesheets/common/bn_in.xml +0 -660
- data/lib/stylesheets/common/bs.xml +0 -662
- data/lib/stylesheets/common/ca.xml +0 -660
- data/lib/stylesheets/common/charmap.xml +0 -185
- data/lib/stylesheets/common/charmap.xsl +0 -222
- data/lib/stylesheets/common/common.xml +0 -622
- data/lib/stylesheets/common/common.xsl +0 -2040
- data/lib/stylesheets/common/cs.xml +0 -700
- data/lib/stylesheets/common/cy.xml +0 -1245
- data/lib/stylesheets/common/da.xml +0 -664
- data/lib/stylesheets/common/de.xml +0 -666
- data/lib/stylesheets/common/el.xml +0 -729
- data/lib/stylesheets/common/en.xml +0 -1230
- data/lib/stylesheets/common/entities.ent +0 -67
- data/lib/stylesheets/common/eo.xml +0 -1229
- data/lib/stylesheets/common/es.xml +0 -676
- data/lib/stylesheets/common/et.xml +0 -1229
- data/lib/stylesheets/common/eu.xml +0 -1229
- data/lib/stylesheets/common/fa.xml +0 -660
- data/lib/stylesheets/common/fi.xml +0 -670
- data/lib/stylesheets/common/fr.xml +0 -690
- data/lib/stylesheets/common/ga.xml +0 -1229
- data/lib/stylesheets/common/gentext.xsl +0 -840
- data/lib/stylesheets/common/gl.xml +0 -1229
- data/lib/stylesheets/common/gu.xml +0 -660
- data/lib/stylesheets/common/he.xml +0 -1229
- data/lib/stylesheets/common/hi.xml +0 -660
- data/lib/stylesheets/common/hr.xml +0 -662
- data/lib/stylesheets/common/hu.xml +0 -678
- data/lib/stylesheets/common/id.xml +0 -1229
- data/lib/stylesheets/common/insertfile.xsl +0 -113
- data/lib/stylesheets/common/is.xml +0 -672
- data/lib/stylesheets/common/it.xml +0 -1229
- data/lib/stylesheets/common/ja.xml +0 -660
- data/lib/stylesheets/common/ka.xml +0 -700
- data/lib/stylesheets/common/kn.xml +0 -1229
- data/lib/stylesheets/common/ko.xml +0 -1229
- data/lib/stylesheets/common/ky.xml +0 -732
- data/lib/stylesheets/common/l10n.dtd +0 -64
- data/lib/stylesheets/common/l10n.xml +0 -77
- data/lib/stylesheets/common/l10n.xsl +0 -594
- data/lib/stylesheets/common/la.xml +0 -1229
- data/lib/stylesheets/common/labels.xsl +0 -888
- data/lib/stylesheets/common/lt.xml +0 -678
- data/lib/stylesheets/common/lv.xml +0 -1229
- data/lib/stylesheets/common/ml.xml +0 -660
- data/lib/stylesheets/common/mn.xml +0 -730
- data/lib/stylesheets/common/mr.xml +0 -660
- data/lib/stylesheets/common/nb.xml +0 -1229
- data/lib/stylesheets/common/nds.xml +0 -666
- data/lib/stylesheets/common/nl.xml +0 -660
- data/lib/stylesheets/common/nn.xml +0 -1229
- data/lib/stylesheets/common/olink.xsl +0 -1227
- data/lib/stylesheets/common/or.xml +0 -1229
- data/lib/stylesheets/common/pa.xml +0 -660
- data/lib/stylesheets/common/pi.xml +0 -168
- data/lib/stylesheets/common/pi.xsl +0 -347
- data/lib/stylesheets/common/pl.xml +0 -678
- data/lib/stylesheets/common/pt.xml +0 -1229
- data/lib/stylesheets/common/pt_br.xml +0 -1229
- data/lib/stylesheets/common/refentry.xml +0 -781
- data/lib/stylesheets/common/refentry.xsl +0 -1353
- data/lib/stylesheets/common/ro.xml +0 -1229
- data/lib/stylesheets/common/ru.xml +0 -726
- data/lib/stylesheets/common/sk.xml +0 -1229
- data/lib/stylesheets/common/sl.xml +0 -1229
- data/lib/stylesheets/common/sq.xml +0 -1229
- data/lib/stylesheets/common/sr.xml +0 -720
- data/lib/stylesheets/common/sr_Latn.xml +0 -679
- data/lib/stylesheets/common/subtitles.xsl +0 -156
- data/lib/stylesheets/common/sv.xml +0 -664
- data/lib/stylesheets/common/ta.xml +0 -660
- data/lib/stylesheets/common/table.xsl +0 -515
- data/lib/stylesheets/common/targetdatabase.dtd +0 -49
- data/lib/stylesheets/common/targets.xsl +0 -334
- data/lib/stylesheets/common/te.xml +0 -660
- data/lib/stylesheets/common/th.xml +0 -1229
- data/lib/stylesheets/common/titles.xsl +0 -806
- data/lib/stylesheets/common/tl.xml +0 -1229
- data/lib/stylesheets/common/tr.xml +0 -666
- data/lib/stylesheets/common/uk.xml +0 -726
- data/lib/stylesheets/common/utility.xml +0 -259
- data/lib/stylesheets/common/utility.xsl +0 -291
- data/lib/stylesheets/common/vi.xml +0 -1229
- data/lib/stylesheets/common/xh.xml +0 -1229
- data/lib/stylesheets/common/zh.xml +0 -660
- data/lib/stylesheets/common/zh_cn.xml +0 -660
- data/lib/stylesheets/common/zh_tw.xml +0 -660
- data/lib/stylesheets/docsrc/authors.xml +0 -10
- data/lib/stylesheets/docsrc/copyright.xml +0 -18
- data/lib/stylesheets/docsrc/license.xml +0 -23
- data/lib/stylesheets/docsrc/page.png +0 -0
- data/lib/stylesheets/docsrc/reference.css +0 -79
- data/lib/stylesheets/docsrc/reference.xml +0 -229
- data/lib/stylesheets/docsrc/reference.xml.included +0 -33905
- data/lib/stylesheets/docsrc/warranty.xml +0 -11
- data/lib/stylesheets/eclipse/eclipse.xsl +0 -294
- data/lib/stylesheets/eclipse/eclipse3.xsl +0 -112
- data/lib/stylesheets/eclipse/profile-eclipse.xsl +0 -268
- data/lib/stylesheets/epub/README +0 -88
- data/lib/stylesheets/epub/bin/dbtoepub +0 -76
- data/lib/stylesheets/epub/bin/lib/docbook.rb +0 -227
- data/lib/stylesheets/epub/bin/xslt/obfuscate.xsl +0 -14
- data/lib/stylesheets/epub/docbook.xsl +0 -1678
- data/lib/stylesheets/extensions/LICENSE.txt +0 -264
- data/lib/stylesheets/extensions/NOTICE.txt +0 -12
- data/lib/stylesheets/extensions/README.LIBXSLT +0 -52
- data/lib/stylesheets/extensions/README.txt +0 -4
- data/lib/stylesheets/extensions/docbook.py +0 -239
- data/lib/stylesheets/extensions/lucene-analyzers-3.0.0.jar +0 -0
- data/lib/stylesheets/extensions/lucene-core-3.0.0.jar +0 -0
- data/lib/stylesheets/extensions/saxon65.jar +0 -0
- data/lib/stylesheets/extensions/webhelpindexer.jar +0 -0
- data/lib/stylesheets/extensions/xalan27.jar +0 -0
- data/lib/stylesheets/extensions/xslt.py +0 -84
- data/lib/stylesheets/fo/admon.xsl +0 -132
- data/lib/stylesheets/fo/annotations.xsl +0 -20
- data/lib/stylesheets/fo/autoidx-kimber.xsl +0 -173
- data/lib/stylesheets/fo/autoidx-kosek.xsl +0 -140
- data/lib/stylesheets/fo/autoidx-ng.xsl +0 -22
- data/lib/stylesheets/fo/autoidx.xsl +0 -1331
- data/lib/stylesheets/fo/autotoc.xsl +0 -917
- data/lib/stylesheets/fo/axf.xsl +0 -112
- data/lib/stylesheets/fo/biblio-iso690.xsl +0 -1302
- data/lib/stylesheets/fo/biblio.xsl +0 -1171
- data/lib/stylesheets/fo/block.xsl +0 -656
- data/lib/stylesheets/fo/callout.xsl +0 -232
- data/lib/stylesheets/fo/component.xsl +0 -900
- data/lib/stylesheets/fo/division.xsl +0 -614
- data/lib/stylesheets/fo/docbook.xsl +0 -333
- data/lib/stylesheets/fo/ebnf.xsl +0 -326
- data/lib/stylesheets/fo/fo-rtf.xsl +0 -155
- data/lib/stylesheets/fo/fo.xsl +0 -120
- data/lib/stylesheets/fo/footnote.xsl +0 -221
- data/lib/stylesheets/fo/fop.xsl +0 -95
- data/lib/stylesheets/fo/fop1.xsl +0 -225
- data/lib/stylesheets/fo/formal.xsl +0 -644
- data/lib/stylesheets/fo/glossary.xsl +0 -1170
- data/lib/stylesheets/fo/graphics.xsl +0 -649
- data/lib/stylesheets/fo/highlight.xsl +0 -78
- data/lib/stylesheets/fo/htmltbl.xsl +0 -427
- data/lib/stylesheets/fo/index.xsl +0 -486
- data/lib/stylesheets/fo/info.xsl +0 -36
- data/lib/stylesheets/fo/inline.xsl +0 -1289
- data/lib/stylesheets/fo/keywords.xsl +0 -23
- data/lib/stylesheets/fo/lists.xsl +0 -1395
- data/lib/stylesheets/fo/math.xsl +0 -141
- data/lib/stylesheets/fo/pagesetup.xsl +0 -2571
- data/lib/stylesheets/fo/param.xml +0 -12445
- data/lib/stylesheets/fo/param.xsl +0 -969
- data/lib/stylesheets/fo/passivetex.xsl +0 -38
- data/lib/stylesheets/fo/pdf2index +0 -140
- data/lib/stylesheets/fo/pi.xml +0 -1002
- data/lib/stylesheets/fo/pi.xsl +0 -1093
- data/lib/stylesheets/fo/profile-docbook.xsl +0 -288
- data/lib/stylesheets/fo/ptc.xsl +0 -79
- data/lib/stylesheets/fo/qandaset.xsl +0 -397
- data/lib/stylesheets/fo/refentry.xsl +0 -640
- data/lib/stylesheets/fo/sections.xsl +0 -766
- data/lib/stylesheets/fo/spaces.xsl +0 -276
- data/lib/stylesheets/fo/synop.xsl +0 -1009
- data/lib/stylesheets/fo/table.xml +0 -135
- data/lib/stylesheets/fo/table.xsl +0 -1682
- data/lib/stylesheets/fo/task.xsl +0 -93
- data/lib/stylesheets/fo/titlepage.templates.xml +0 -1354
- data/lib/stylesheets/fo/titlepage.templates.xsl +0 -5186
- data/lib/stylesheets/fo/titlepage.xsl +0 -769
- data/lib/stylesheets/fo/toc.xsl +0 -334
- data/lib/stylesheets/fo/verbatim.xsl +0 -466
- data/lib/stylesheets/fo/xep.xsl +0 -182
- data/lib/stylesheets/fo/xref.xsl +0 -1539
- data/lib/stylesheets/highlighting/README +0 -16
- data/lib/stylesheets/highlighting/c-hl.xml +0 -101
- data/lib/stylesheets/highlighting/common.xsl +0 -121
- data/lib/stylesheets/highlighting/cpp-hl.xml +0 -150
- data/lib/stylesheets/highlighting/csharp-hl.xml +0 -187
- data/lib/stylesheets/highlighting/delphi-hl.xml +0 -200
- data/lib/stylesheets/highlighting/ini-hl.xml +0 -45
- data/lib/stylesheets/highlighting/java-hl.xml +0 -117
- data/lib/stylesheets/highlighting/javascript-hl.xml +0 -147
- data/lib/stylesheets/highlighting/m2-hl.xml +0 -90
- data/lib/stylesheets/highlighting/myxml-hl.xml +0 -116
- data/lib/stylesheets/highlighting/perl-hl.xml +0 -120
- data/lib/stylesheets/highlighting/php-hl.xml +0 -149
- data/lib/stylesheets/highlighting/python-hl.xml +0 -100
- data/lib/stylesheets/highlighting/ruby-hl.xml +0 -109
- data/lib/stylesheets/highlighting/tcl-hl.xml +0 -180
- data/lib/stylesheets/highlighting/xslthl-config.xml +0 -46
- data/lib/stylesheets/html/admon.xsl +0 -136
- data/lib/stylesheets/html/annotations.xsl +0 -171
- data/lib/stylesheets/html/autoidx-kimber.xsl +0 -166
- data/lib/stylesheets/html/autoidx-kosek.xsl +0 -121
- data/lib/stylesheets/html/autoidx-ng.xsl +0 -22
- data/lib/stylesheets/html/autoidx.xsl +0 -740
- data/lib/stylesheets/html/autotoc.xsl +0 -709
- data/lib/stylesheets/html/biblio-iso690.xsl +0 -1302
- data/lib/stylesheets/html/biblio.xsl +0 -1255
- data/lib/stylesheets/html/block.xsl +0 -540
- data/lib/stylesheets/html/callout.xsl +0 -202
- data/lib/stylesheets/html/changebars.xsl +0 -123
- data/lib/stylesheets/html/chunk-changebars.xsl +0 -100
- data/lib/stylesheets/html/chunk-code.xsl +0 -672
- data/lib/stylesheets/html/chunk-common.xsl +0 -1921
- data/lib/stylesheets/html/chunk.xsl +0 -53
- data/lib/stylesheets/html/chunker.xsl +0 -440
- data/lib/stylesheets/html/chunkfast.xsl +0 -73
- data/lib/stylesheets/html/chunktoc.xsl +0 -541
- data/lib/stylesheets/html/component.xsl +0 -427
- data/lib/stylesheets/html/division.xsl +0 -219
- data/lib/stylesheets/html/docbook.css.xml +0 -109
- data/lib/stylesheets/html/docbook.xsl +0 -468
- data/lib/stylesheets/html/ebnf.xsl +0 -330
- data/lib/stylesheets/html/footnote.xsl +0 -314
- data/lib/stylesheets/html/formal.xsl +0 -427
- data/lib/stylesheets/html/glossary.xsl +0 -493
- data/lib/stylesheets/html/graphics.xsl +0 -1516
- data/lib/stylesheets/html/highlight.xsl +0 -87
- data/lib/stylesheets/html/html-rtf.xsl +0 -336
- data/lib/stylesheets/html/html.xsl +0 -614
- data/lib/stylesheets/html/htmltbl.xsl +0 -137
- data/lib/stylesheets/html/index.xsl +0 -290
- data/lib/stylesheets/html/info.xsl +0 -45
- data/lib/stylesheets/html/inline.xsl +0 -1491
- data/lib/stylesheets/html/keywords.xsl +0 -37
- data/lib/stylesheets/html/lists.xsl +0 -1185
- data/lib/stylesheets/html/maketoc.xsl +0 -87
- data/lib/stylesheets/html/manifest.xsl +0 -23
- data/lib/stylesheets/html/math.xsl +0 -271
- data/lib/stylesheets/html/oldchunker.xsl +0 -203
- data/lib/stylesheets/html/onechunk.xsl +0 -38
- data/lib/stylesheets/html/param.xml +0 -10905
- data/lib/stylesheets/html/param.xsl +0 -436
- data/lib/stylesheets/html/pi.xml +0 -1113
- data/lib/stylesheets/html/pi.xsl +0 -1264
- data/lib/stylesheets/html/profile-chunk-code.xsl +0 -614
- data/lib/stylesheets/html/profile-chunk.xsl +0 -53
- data/lib/stylesheets/html/profile-docbook.xsl +0 -412
- data/lib/stylesheets/html/profile-onechunk.xsl +0 -38
- data/lib/stylesheets/html/qandaset.xsl +0 -438
- data/lib/stylesheets/html/refentry.xsl +0 -301
- data/lib/stylesheets/html/sections.xsl +0 -617
- data/lib/stylesheets/html/synop.xsl +0 -1556
- data/lib/stylesheets/html/table.xsl +0 -1201
- data/lib/stylesheets/html/task.xsl +0 -78
- data/lib/stylesheets/html/titlepage.templates.xml +0 -708
- data/lib/stylesheets/html/titlepage.templates.xsl +0 -3818
- data/lib/stylesheets/html/titlepage.xsl +0 -1049
- data/lib/stylesheets/html/toc.xsl +0 -352
- data/lib/stylesheets/html/verbatim.xsl +0 -411
- data/lib/stylesheets/html/xref.xsl +0 -1378
- data/lib/stylesheets/htmlhelp/htmlhelp-common.xsl +0 -1108
- data/lib/stylesheets/htmlhelp/htmlhelp.xsl +0 -23
- data/lib/stylesheets/htmlhelp/profile-htmlhelp-common.xsl +0 -1082
- data/lib/stylesheets/htmlhelp/profile-htmlhelp.xsl +0 -23
- data/lib/stylesheets/images/annot-close.png +0 -0
- data/lib/stylesheets/images/annot-open.png +0 -0
- data/lib/stylesheets/images/blank.png +0 -0
- data/lib/stylesheets/images/callouts/1.gif +0 -0
- data/lib/stylesheets/images/callouts/1.png +0 -0
- data/lib/stylesheets/images/callouts/1.svg +0 -15
- data/lib/stylesheets/images/callouts/10.gif +0 -0
- data/lib/stylesheets/images/callouts/10.png +0 -0
- data/lib/stylesheets/images/callouts/10.svg +0 -18
- data/lib/stylesheets/images/callouts/11.gif +0 -0
- data/lib/stylesheets/images/callouts/11.png +0 -0
- data/lib/stylesheets/images/callouts/11.svg +0 -16
- data/lib/stylesheets/images/callouts/12.gif +0 -0
- data/lib/stylesheets/images/callouts/12.png +0 -0
- data/lib/stylesheets/images/callouts/12.svg +0 -18
- data/lib/stylesheets/images/callouts/13.gif +0 -0
- data/lib/stylesheets/images/callouts/13.png +0 -0
- data/lib/stylesheets/images/callouts/13.svg +0 -20
- data/lib/stylesheets/images/callouts/14.gif +0 -0
- data/lib/stylesheets/images/callouts/14.png +0 -0
- data/lib/stylesheets/images/callouts/14.svg +0 -17
- data/lib/stylesheets/images/callouts/15.gif +0 -0
- data/lib/stylesheets/images/callouts/15.png +0 -0
- data/lib/stylesheets/images/callouts/15.svg +0 -19
- data/lib/stylesheets/images/callouts/16.svg +0 -20
- data/lib/stylesheets/images/callouts/17.svg +0 -17
- data/lib/stylesheets/images/callouts/18.svg +0 -21
- data/lib/stylesheets/images/callouts/19.svg +0 -20
- data/lib/stylesheets/images/callouts/2.gif +0 -0
- data/lib/stylesheets/images/callouts/2.png +0 -0
- data/lib/stylesheets/images/callouts/2.svg +0 -17
- data/lib/stylesheets/images/callouts/20.svg +0 -20
- data/lib/stylesheets/images/callouts/21.svg +0 -18
- data/lib/stylesheets/images/callouts/22.svg +0 -20
- data/lib/stylesheets/images/callouts/23.svg +0 -22
- data/lib/stylesheets/images/callouts/24.svg +0 -19
- data/lib/stylesheets/images/callouts/25.svg +0 -21
- data/lib/stylesheets/images/callouts/26.svg +0 -22
- data/lib/stylesheets/images/callouts/27.svg +0 -19
- data/lib/stylesheets/images/callouts/28.svg +0 -23
- data/lib/stylesheets/images/callouts/29.svg +0 -22
- data/lib/stylesheets/images/callouts/3.gif +0 -0
- data/lib/stylesheets/images/callouts/3.png +0 -0
- data/lib/stylesheets/images/callouts/3.svg +0 -19
- data/lib/stylesheets/images/callouts/30.svg +0 -22
- data/lib/stylesheets/images/callouts/4.gif +0 -0
- data/lib/stylesheets/images/callouts/4.png +0 -0
- data/lib/stylesheets/images/callouts/4.svg +0 -16
- data/lib/stylesheets/images/callouts/5.gif +0 -0
- data/lib/stylesheets/images/callouts/5.png +0 -0
- data/lib/stylesheets/images/callouts/5.svg +0 -18
- data/lib/stylesheets/images/callouts/6.gif +0 -0
- data/lib/stylesheets/images/callouts/6.png +0 -0
- data/lib/stylesheets/images/callouts/6.svg +0 -19
- data/lib/stylesheets/images/callouts/7.gif +0 -0
- data/lib/stylesheets/images/callouts/7.png +0 -0
- data/lib/stylesheets/images/callouts/7.svg +0 -16
- data/lib/stylesheets/images/callouts/8.gif +0 -0
- data/lib/stylesheets/images/callouts/8.png +0 -0
- data/lib/stylesheets/images/callouts/8.svg +0 -20
- data/lib/stylesheets/images/callouts/9.gif +0 -0
- data/lib/stylesheets/images/callouts/9.png +0 -0
- data/lib/stylesheets/images/callouts/9.svg +0 -19
- data/lib/stylesheets/images/caution.gif +0 -0
- data/lib/stylesheets/images/caution.png +0 -0
- data/lib/stylesheets/images/caution.svg +0 -25
- data/lib/stylesheets/images/caution.tif +0 -0
- data/lib/stylesheets/images/colorsvg/caution.svg +0 -141
- data/lib/stylesheets/images/colorsvg/home.svg +0 -498
- data/lib/stylesheets/images/colorsvg/important.svg +0 -239
- data/lib/stylesheets/images/colorsvg/next.svg +0 -338
- data/lib/stylesheets/images/colorsvg/note.svg +0 -200
- data/lib/stylesheets/images/colorsvg/prev.svg +0 -338
- data/lib/stylesheets/images/colorsvg/tip.svg +0 -367
- data/lib/stylesheets/images/colorsvg/up.svg +0 -338
- data/lib/stylesheets/images/colorsvg/warning.svg +0 -232
- data/lib/stylesheets/images/draft.png +0 -0
- data/lib/stylesheets/images/home.gif +0 -0
- data/lib/stylesheets/images/home.png +0 -0
- data/lib/stylesheets/images/home.svg +0 -26
- data/lib/stylesheets/images/important.gif +0 -0
- data/lib/stylesheets/images/important.png +0 -0
- data/lib/stylesheets/images/important.svg +0 -25
- data/lib/stylesheets/images/important.tif +0 -0
- data/lib/stylesheets/images/next.gif +0 -0
- data/lib/stylesheets/images/next.png +0 -0
- data/lib/stylesheets/images/next.svg +0 -19
- data/lib/stylesheets/images/note.gif +0 -0
- data/lib/stylesheets/images/note.png +0 -0
- data/lib/stylesheets/images/note.svg +0 -33
- data/lib/stylesheets/images/note.tif +0 -0
- data/lib/stylesheets/images/prev.gif +0 -0
- data/lib/stylesheets/images/prev.png +0 -0
- data/lib/stylesheets/images/prev.svg +0 -19
- data/lib/stylesheets/images/tip.gif +0 -0
- data/lib/stylesheets/images/tip.png +0 -0
- data/lib/stylesheets/images/tip.svg +0 -31
- data/lib/stylesheets/images/tip.tif +0 -0
- data/lib/stylesheets/images/toc-blank.png +0 -0
- data/lib/stylesheets/images/toc-minus.png +0 -0
- data/lib/stylesheets/images/toc-plus.png +0 -0
- data/lib/stylesheets/images/up.gif +0 -0
- data/lib/stylesheets/images/up.png +0 -0
- data/lib/stylesheets/images/up.svg +0 -19
- data/lib/stylesheets/images/warning.gif +0 -0
- data/lib/stylesheets/images/warning.png +0 -0
- data/lib/stylesheets/images/warning.svg +0 -23
- data/lib/stylesheets/images/warning.tif +0 -0
- data/lib/stylesheets/install.sh +0 -977
- data/lib/stylesheets/javahelp/javahelp.xsl +0 -613
- data/lib/stylesheets/javahelp/profile-javahelp.xsl +0 -548
- data/lib/stylesheets/lib/lib.xsl +0 -482
- data/lib/stylesheets/manpages/ChangeLog.20020917 +0 -195
- data/lib/stylesheets/manpages/block.xsl +0 -412
- data/lib/stylesheets/manpages/charmap.groff.xsl +0 -6014
- data/lib/stylesheets/manpages/docbook.xsl +0 -302
- data/lib/stylesheets/manpages/endnotes.xsl +0 -587
- data/lib/stylesheets/manpages/html-synop.xsl +0 -1569
- data/lib/stylesheets/manpages/info.xsl +0 -801
- data/lib/stylesheets/manpages/inline.xsl +0 -221
- data/lib/stylesheets/manpages/lists.xsl +0 -606
- data/lib/stylesheets/manpages/other.xsl +0 -889
- data/lib/stylesheets/manpages/param.xml +0 -3220
- data/lib/stylesheets/manpages/param.xsl +0 -195
- data/lib/stylesheets/manpages/pi.xml +0 -70
- data/lib/stylesheets/manpages/pi.xsl +0 -80
- data/lib/stylesheets/manpages/profile-docbook.xsl +0 -282
- data/lib/stylesheets/manpages/refentry.xsl +0 -321
- data/lib/stylesheets/manpages/synop.xsl +0 -433
- data/lib/stylesheets/manpages/table.xsl +0 -633
- data/lib/stylesheets/manpages/utility.xsl +0 -556
- data/lib/stylesheets/params/abstract.notitle.enabled.xml +0 -22
- data/lib/stylesheets/params/abstract.properties.xml +0 -32
- data/lib/stylesheets/params/abstract.title.properties.xml +0 -39
- data/lib/stylesheets/params/active.toc.xml +0 -29
- data/lib/stylesheets/params/ade.extensions.xml +0 -32
- data/lib/stylesheets/params/admon.graphics.extension.xml +0 -27
- data/lib/stylesheets/params/admon.graphics.path.xml +0 -27
- data/lib/stylesheets/params/admon.graphics.xml +0 -29
- data/lib/stylesheets/params/admon.style.xml +0 -31
- data/lib/stylesheets/params/admon.textlabel.xml +0 -32
- data/lib/stylesheets/params/admonition.properties.xml +0 -25
- data/lib/stylesheets/params/admonition.title.properties.xml +0 -32
- data/lib/stylesheets/params/alignment.xml +0 -41
- data/lib/stylesheets/params/annotate.toc.xml +0 -28
- data/lib/stylesheets/params/annotation.css.xml +0 -71
- data/lib/stylesheets/params/annotation.graphic.close.xml +0 -31
- data/lib/stylesheets/params/annotation.graphic.open.xml +0 -28
- data/lib/stylesheets/params/annotation.js.xml +0 -33
- data/lib/stylesheets/params/annotation.support.xml +0 -29
- data/lib/stylesheets/params/appendix.autolabel.xml +0 -73
- data/lib/stylesheets/params/arbortext.extensions.xml +0 -30
- data/lib/stylesheets/params/article.appendix.title.properties.xml +0 -33
- data/lib/stylesheets/params/author.othername.in.middle.xml +0 -31
- data/lib/stylesheets/params/autolayout-file.xml +0 -29
- data/lib/stylesheets/params/autotoc.label.in.hyperlink.xml +0 -29
- data/lib/stylesheets/params/autotoc.label.separator.xml +0 -27
- data/lib/stylesheets/params/axf.extensions.xml +0 -33
- data/lib/stylesheets/params/banner.before.navigation.xml +0 -25
- data/lib/stylesheets/params/base.dir.xml +0 -29
- data/lib/stylesheets/params/biblioentry.item.separator.xml +0 -26
- data/lib/stylesheets/params/biblioentry.properties.xml +0 -28
- data/lib/stylesheets/params/bibliography.collection.xml +0 -104
- data/lib/stylesheets/params/bibliography.numbered.xml +0 -27
- data/lib/stylesheets/params/bibliography.style.xml +0 -35
- data/lib/stylesheets/params/blockquote.properties.xml +0 -34
- data/lib/stylesheets/params/blurb.on.titlepage.enabled.xml +0 -31
- data/lib/stylesheets/params/body.attributes.xml +0 -31
- data/lib/stylesheets/params/body.bg.color.xml +0 -28
- data/lib/stylesheets/params/body.end.indent.xml +0 -37
- data/lib/stylesheets/params/body.font.family.xml +0 -32
- data/lib/stylesheets/params/body.font.master.xml +0 -30
- data/lib/stylesheets/params/body.font.size.xml +0 -31
- data/lib/stylesheets/params/body.margin.bottom.xml +0 -29
- data/lib/stylesheets/params/body.margin.top.xml +0 -28
- data/lib/stylesheets/params/body.start.indent.xml +0 -64
- data/lib/stylesheets/params/bookmarks.collapse.xml +0 -31
- data/lib/stylesheets/params/bridgehead.in.toc.xml +0 -28
- data/lib/stylesheets/params/bullet.image.xml +0 -28
- data/lib/stylesheets/params/callout.defaultcolumn.xml +0 -30
- data/lib/stylesheets/params/callout.graphics.extension.xml +0 -33
- data/lib/stylesheets/params/callout.graphics.number.limit.xml +0 -34
- data/lib/stylesheets/params/callout.graphics.path.xml +0 -31
- data/lib/stylesheets/params/callout.graphics.xml +0 -30
- data/lib/stylesheets/params/callout.icon.size.xml +0 -28
- data/lib/stylesheets/params/callout.list.table.xml +0 -32
- data/lib/stylesheets/params/callout.unicode.font.xml +0 -29
- data/lib/stylesheets/params/callout.unicode.number.limit.xml +0 -35
- data/lib/stylesheets/params/callout.unicode.start.character.xml +0 -33
- data/lib/stylesheets/params/callout.unicode.xml +0 -26
- data/lib/stylesheets/params/callouts.extension.xml +0 -30
- data/lib/stylesheets/params/chapter.autolabel.xml +0 -71
- data/lib/stylesheets/params/chunk.append.xml +0 -30
- data/lib/stylesheets/params/chunk.first.sections.xml +0 -31
- data/lib/stylesheets/params/chunk.quietly.xml +0 -30
- data/lib/stylesheets/params/chunk.section.depth.xml +0 -27
- data/lib/stylesheets/params/chunk.sections.xml +0 -30
- data/lib/stylesheets/params/chunk.separate.lots.xml +0 -36
- data/lib/stylesheets/params/chunk.toc.xml +0 -30
- data/lib/stylesheets/params/chunk.tocs.and.lots.has.title.xml +0 -28
- data/lib/stylesheets/params/chunk.tocs.and.lots.xml +0 -32
- data/lib/stylesheets/params/chunker.output.cdata-section-elements.xml +0 -30
- data/lib/stylesheets/params/chunker.output.doctype-public.xml +0 -31
- data/lib/stylesheets/params/chunker.output.doctype-system.xml +0 -31
- data/lib/stylesheets/params/chunker.output.encoding.xml +0 -31
- data/lib/stylesheets/params/chunker.output.indent.xml +0 -30
- data/lib/stylesheets/params/chunker.output.media-type.xml +0 -35
- data/lib/stylesheets/params/chunker.output.method.xml +0 -32
- data/lib/stylesheets/params/chunker.output.omit-xml-declaration.xml +0 -30
- data/lib/stylesheets/params/chunker.output.standalone.xml +0 -31
- data/lib/stylesheets/params/citerefentry.link.xml +0 -29
- data/lib/stylesheets/params/collect.xref.targets.xml +0 -33
- data/lib/stylesheets/params/column.count.back.xml +0 -27
- data/lib/stylesheets/params/column.count.body.xml +0 -27
- data/lib/stylesheets/params/column.count.front.xml +0 -27
- data/lib/stylesheets/params/column.count.index.xml +0 -27
- data/lib/stylesheets/params/column.count.lot.xml +0 -28
- data/lib/stylesheets/params/column.count.titlepage.xml +0 -27
- data/lib/stylesheets/params/column.gap.back.xml +0 -28
- data/lib/stylesheets/params/column.gap.body.xml +0 -28
- data/lib/stylesheets/params/column.gap.front.xml +0 -28
- data/lib/stylesheets/params/column.gap.index.xml +0 -28
- data/lib/stylesheets/params/column.gap.lot.xml +0 -28
- data/lib/stylesheets/params/column.gap.titlepage.xml +0 -29
- data/lib/stylesheets/params/compact.list.item.spacing.xml +0 -28
- data/lib/stylesheets/params/component.label.includes.part.label.xml +0 -39
- data/lib/stylesheets/params/component.title.properties.xml +0 -40
- data/lib/stylesheets/params/component.titlepage.properties.xml +0 -33
- data/lib/stylesheets/params/contrib.inline.enabled.xml +0 -26
- data/lib/stylesheets/params/crop.mark.bleed.xml +0 -28
- data/lib/stylesheets/params/crop.mark.offset.xml +0 -28
- data/lib/stylesheets/params/crop.mark.width.xml +0 -28
- data/lib/stylesheets/params/crop.marks.xml +0 -28
- data/lib/stylesheets/params/css.decoration.xml +0 -33
- data/lib/stylesheets/params/css.stylesheet.dir.xml +0 -33
- data/lib/stylesheets/params/css.stylesheet.xml +0 -29
- data/lib/stylesheets/params/current.docid.xml +0 -27
- data/lib/stylesheets/params/currentpage.marker.xml +0 -25
- data/lib/stylesheets/params/custom.css.source.xml +0 -119
- data/lib/stylesheets/params/default.float.class.xml +0 -34
- data/lib/stylesheets/params/default.image.width.xml +0 -30
- data/lib/stylesheets/params/default.table.frame.xml +0 -28
- data/lib/stylesheets/params/default.table.rules.xml +0 -76
- data/lib/stylesheets/params/default.table.width.xml +0 -26
- data/lib/stylesheets/params/default.units.xml +0 -37
- data/lib/stylesheets/params/dingbat.font.family.xml +0 -33
- data/lib/stylesheets/params/docbook.css.link.xml +0 -42
- data/lib/stylesheets/params/docbook.css.source.xml +0 -83
- data/lib/stylesheets/params/double.sided.xml +0 -31
- data/lib/stylesheets/params/draft.mode.xml +0 -36
- data/lib/stylesheets/params/draft.watermark.image.xml +0 -27
- data/lib/stylesheets/params/dry-run.xml +0 -27
- data/lib/stylesheets/params/dynamic.toc.xml +0 -29
- data/lib/stylesheets/params/ebnf.assignment.xml +0 -39
- data/lib/stylesheets/params/ebnf.statement.terminator.xml +0 -32
- data/lib/stylesheets/params/ebnf.table.bgcolor.xml +0 -30
- data/lib/stylesheets/params/ebnf.table.border.xml +0 -26
- data/lib/stylesheets/params/eclipse.autolabel.xml +0 -28
- data/lib/stylesheets/params/eclipse.plugin.id.xml +0 -28
- data/lib/stylesheets/params/eclipse.plugin.name.xml +0 -27
- data/lib/stylesheets/params/eclipse.plugin.provider.xml +0 -27
- data/lib/stylesheets/params/editedby.enabled.xml +0 -27
- data/lib/stylesheets/params/email.delimiters.enabled.xml +0 -34
- data/lib/stylesheets/params/email.mailto.enabled.xml +0 -29
- data/lib/stylesheets/params/emphasis.propagates.style.xml +0 -26
- data/lib/stylesheets/params/entry.propagates.style.xml +0 -30
- data/lib/stylesheets/params/epub.autolabel.xml +0 -28
- data/lib/stylesheets/params/equation.number.properties.xml +0 -28
- data/lib/stylesheets/params/equation.properties.xml +0 -27
- data/lib/stylesheets/params/example.properties.xml +0 -27
- data/lib/stylesheets/params/exsl.node.set.available.xml +0 -44
- data/lib/stylesheets/params/feedback.href.xml +0 -28
- data/lib/stylesheets/params/feedback.link.text.xml +0 -28
- data/lib/stylesheets/params/feedback.with.ids.xml +0 -27
- data/lib/stylesheets/params/figure.properties.xml +0 -27
- data/lib/stylesheets/params/filename-prefix.xml +0 -28
- data/lib/stylesheets/params/firstterm.only.link.xml +0 -29
- data/lib/stylesheets/params/foil.properties.xml +0 -37
- data/lib/stylesheets/params/foil.subtitle.properties.xml +0 -36
- data/lib/stylesheets/params/foil.title.master.xml +0 -29
- data/lib/stylesheets/params/foil.title.size.xml +0 -32
- data/lib/stylesheets/params/foilgroup.properties.xml +0 -31
- data/lib/stylesheets/params/foilgroup.toc.xml +0 -29
- data/lib/stylesheets/params/footer.column.widths.xml +0 -80
- data/lib/stylesheets/params/footer.content.properties.xml +0 -34
- data/lib/stylesheets/params/footer.hr.xml +0 -26
- data/lib/stylesheets/params/footer.rule.xml +0 -27
- data/lib/stylesheets/params/footer.table.height.xml +0 -32
- data/lib/stylesheets/params/footer.table.properties.xml +0 -30
- data/lib/stylesheets/params/footers.on.blank.pages.xml +0 -27
- data/lib/stylesheets/params/footnote.font.size.xml +0 -28
- data/lib/stylesheets/params/footnote.mark.properties.xml +0 -41
- data/lib/stylesheets/params/footnote.number.format.xml +0 -33
- data/lib/stylesheets/params/footnote.number.symbols.xml +0 -39
- data/lib/stylesheets/params/footnote.properties.xml +0 -43
- data/lib/stylesheets/params/footnote.sep.leader.properties.xml +0 -39
- data/lib/stylesheets/params/fop.extensions.xml +0 -36
- data/lib/stylesheets/params/fop1.extensions.xml +0 -34
- data/lib/stylesheets/params/formal.object.properties.xml +0 -36
- data/lib/stylesheets/params/formal.procedures.xml +0 -28
- data/lib/stylesheets/params/formal.title.placement.xml +0 -41
- data/lib/stylesheets/params/formal.title.properties.xml +0 -34
- data/lib/stylesheets/params/funcsynopsis.decoration.xml +0 -30
- data/lib/stylesheets/params/funcsynopsis.style.xml +0 -31
- data/lib/stylesheets/params/function.parens.xml +0 -29
- data/lib/stylesheets/params/generate.css.header.xml +0 -40
- data/lib/stylesheets/params/generate.id.attributes.xml +0 -59
- data/lib/stylesheets/params/generate.index.xml +0 -25
- data/lib/stylesheets/params/generate.legalnotice.link.xml +0 -72
- data/lib/stylesheets/params/generate.manifest.xml +0 -27
- data/lib/stylesheets/params/generate.meta.abstract.xml +0 -29
- data/lib/stylesheets/params/generate.revhistory.link.xml +0 -50
- data/lib/stylesheets/params/generate.section.toc.level.xml +0 -35
- data/lib/stylesheets/params/generate.toc.xml +0 -108
- data/lib/stylesheets/params/glossary.as.blocks.xml +0 -38
- data/lib/stylesheets/params/glossary.collection.xml +0 -252
- data/lib/stylesheets/params/glossary.sort.xml +0 -32
- data/lib/stylesheets/params/glossdef.block.properties.xml +0 -32
- data/lib/stylesheets/params/glossdef.list.properties.xml +0 -30
- data/lib/stylesheets/params/glossentry.list.item.properties.xml +0 -32
- data/lib/stylesheets/params/glossentry.show.acronym.xml +0 -37
- data/lib/stylesheets/params/glosslist.as.blocks.xml +0 -27
- data/lib/stylesheets/params/glossterm.auto.link.xml +0 -33
- data/lib/stylesheets/params/glossterm.block.properties.xml +0 -35
- data/lib/stylesheets/params/glossterm.list.properties.xml +0 -30
- data/lib/stylesheets/params/glossterm.separation.xml +0 -31
- data/lib/stylesheets/params/glossterm.width.xml +0 -28
- data/lib/stylesheets/params/graphic.default.extension.xml +0 -29
- data/lib/stylesheets/params/graphical.admonition.properties.xml +0 -42
- data/lib/stylesheets/params/graphics.dir.xml +0 -33
- data/lib/stylesheets/params/graphicsize.extension.xml +0 -30
- data/lib/stylesheets/params/graphicsize.use.img.src.path.xml +0 -30
- data/lib/stylesheets/params/header.column.widths.xml +0 -80
- data/lib/stylesheets/params/header.content.properties.xml +0 -34
- data/lib/stylesheets/params/header.hr.xml +0 -26
- data/lib/stylesheets/params/header.rule.xml +0 -27
- data/lib/stylesheets/params/header.table.height.xml +0 -32
- data/lib/stylesheets/params/header.table.properties.xml +0 -30
- data/lib/stylesheets/params/headers.on.blank.pages.xml +0 -27
- data/lib/stylesheets/params/hidetoc.image.xml +0 -29
- data/lib/stylesheets/params/highlight.default.language.xml +0 -27
- data/lib/stylesheets/params/highlight.source.xml +0 -82
- data/lib/stylesheets/params/highlight.xslthl.config.xml +0 -33
- data/lib/stylesheets/params/home.image.xml +0 -27
- data/lib/stylesheets/params/html.append.xml +0 -30
- data/lib/stylesheets/params/html.base.xml +0 -30
- data/lib/stylesheets/params/html.cellpadding.xml +0 -29
- data/lib/stylesheets/params/html.cellspacing.xml +0 -29
- data/lib/stylesheets/params/html.cleanup.xml +0 -34
- data/lib/stylesheets/params/html.ext.xml +0 -29
- data/lib/stylesheets/params/html.extra.head.links.xml +0 -31
- data/lib/stylesheets/params/html.head.legalnotice.link.multiple.xml +0 -44
- data/lib/stylesheets/params/html.head.legalnotice.link.types.xml +0 -75
- data/lib/stylesheets/params/html.longdesc.link.xml +0 -39
- data/lib/stylesheets/params/html.longdesc.xml +0 -28
- data/lib/stylesheets/params/html.stylesheet.type.xml +0 -26
- data/lib/stylesheets/params/html.stylesheet.xml +0 -36
- data/lib/stylesheets/params/htmlhelp.alias.file.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.autolabel.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.back.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.forward.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.hideshow.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.home.url.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.home.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.jump1.title.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.jump1.url.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.jump1.xml +0 -23
- data/lib/stylesheets/params/htmlhelp.button.jump2.title.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.jump2.url.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.jump2.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.locate.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.next.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.options.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.prev.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.print.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.refresh.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.button.stop.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.button.zoom.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.chm.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.default.topic.xml +0 -37
- data/lib/stylesheets/params/htmlhelp.display.progress.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.encoding.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.enhanced.decompilation.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.enumerate.images.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.force.map.and.alias.xml +0 -26
- data/lib/stylesheets/params/htmlhelp.hhc.binary.xml +0 -29
- data/lib/stylesheets/params/htmlhelp.hhc.folders.instead.books.xml +0 -31
- data/lib/stylesheets/params/htmlhelp.hhc.section.depth.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.hhc.show.root.xml +0 -29
- data/lib/stylesheets/params/htmlhelp.hhc.width.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.hhc.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.hhk.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.hhp.tail.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.hhp.window.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.hhp.windows.xml +0 -29
- data/lib/stylesheets/params/htmlhelp.hhp.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.map.file.xml +0 -25
- data/lib/stylesheets/params/htmlhelp.only.xml +0 -32
- data/lib/stylesheets/params/htmlhelp.remember.window.position.xml +0 -27
- data/lib/stylesheets/params/htmlhelp.show.advanced.search.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.show.favorities.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.show.menu.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.show.toolbar.text.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.title.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.use.hhk.xml +0 -28
- data/lib/stylesheets/params/htmlhelp.window.geometry.xml +0 -30
- data/lib/stylesheets/params/hyphenate.verbatim.characters.xml +0 -30
- data/lib/stylesheets/params/hyphenate.verbatim.xml +0 -45
- data/lib/stylesheets/params/hyphenate.xml +0 -29
- data/lib/stylesheets/params/id.warnings.xml +0 -25
- data/lib/stylesheets/params/ignore.image.scaling.xml +0 -28
- data/lib/stylesheets/params/img.src.path.xml +0 -40
- data/lib/stylesheets/params/index.div.title.properties.xml +0 -39
- data/lib/stylesheets/params/index.entry.properties.xml +0 -33
- data/lib/stylesheets/params/index.links.to.section.xml +0 -76
- data/lib/stylesheets/params/index.method.xml +0 -162
- data/lib/stylesheets/params/index.number.separator.xml +0 -54
- data/lib/stylesheets/params/index.on.role.xml +0 -48
- data/lib/stylesheets/params/index.on.type.xml +0 -52
- data/lib/stylesheets/params/index.page.number.properties.xml +0 -31
- data/lib/stylesheets/params/index.prefer.titleabbrev.xml +0 -29
- data/lib/stylesheets/params/index.preferred.page.properties.xml +0 -32
- data/lib/stylesheets/params/index.range.separator.xml +0 -57
- data/lib/stylesheets/params/index.term.separator.xml +0 -54
- data/lib/stylesheets/params/informal.object.properties.xml +0 -29
- data/lib/stylesheets/params/informalequation.properties.xml +0 -27
- data/lib/stylesheets/params/informalexample.properties.xml +0 -27
- data/lib/stylesheets/params/informalfigure.properties.xml +0 -27
- data/lib/stylesheets/params/informaltable.properties.xml +0 -32
- data/lib/stylesheets/params/inherit.keywords.xml +0 -31
- data/lib/stylesheets/params/insert.link.page.number.xml +0 -69
- data/lib/stylesheets/params/insert.olink.page.number.xml +0 -83
- data/lib/stylesheets/params/insert.olink.pdf.frag.xml +0 -68
- data/lib/stylesheets/params/insert.xref.page.number.xml +0 -60
- data/lib/stylesheets/params/itemizedlist.label.properties.xml +0 -26
- data/lib/stylesheets/params/itemizedlist.label.width.xml +0 -28
- data/lib/stylesheets/params/itemizedlist.properties.xml +0 -23
- data/lib/stylesheets/params/javahelp.encoding.xml +0 -31
- data/lib/stylesheets/params/keep.relative.image.uris.xml +0 -34
- data/lib/stylesheets/params/keyboard.nav.xml +0 -29
- data/lib/stylesheets/params/l10n.gentext.default.language.xml +0 -30
- data/lib/stylesheets/params/l10n.gentext.language.xml +0 -33
- data/lib/stylesheets/params/l10n.gentext.use.xref.language.xml +0 -53
- data/lib/stylesheets/params/l10n.lang.value.rfc.compliant.xml +0 -57
- data/lib/stylesheets/params/label.from.part.xml +0 -38
- data/lib/stylesheets/params/line-height.xml +0 -27
- data/lib/stylesheets/params/linenumbering.everyNth.xml +0 -29
- data/lib/stylesheets/params/linenumbering.extension.xml +0 -30
- data/lib/stylesheets/params/linenumbering.separator.xml +0 -30
- data/lib/stylesheets/params/linenumbering.width.xml +0 -29
- data/lib/stylesheets/params/link.mailto.url.xml +0 -29
- data/lib/stylesheets/params/list.block.properties.xml +0 -25
- data/lib/stylesheets/params/list.block.spacing.xml +0 -29
- data/lib/stylesheets/params/list.item.spacing.xml +0 -26
- data/lib/stylesheets/params/make.clean.html.xml +0 -51
- data/lib/stylesheets/params/make.graphic.viewport.xml +0 -35
- data/lib/stylesheets/params/make.index.markup.xml +0 -73
- data/lib/stylesheets/params/make.single.year.ranges.xml +0 -28
- data/lib/stylesheets/params/make.valid.html.xml +0 -35
- data/lib/stylesheets/params/make.year.ranges.xml +0 -32
- data/lib/stylesheets/params/man.authors.section.enabled.xml +0 -46
- data/lib/stylesheets/params/man.base.url.for.relative.links.xml +0 -76
- data/lib/stylesheets/params/man.break.after.slash.xml +0 -46
- data/lib/stylesheets/params/man.charmap.enabled.xml +0 -55
- data/lib/stylesheets/params/man.charmap.subset.profile.english.xml +0 -80
- data/lib/stylesheets/params/man.charmap.subset.profile.xml +0 -297
- data/lib/stylesheets/params/man.charmap.uri.xml +0 -42
- data/lib/stylesheets/params/man.charmap.use.subset.xml +0 -80
- data/lib/stylesheets/params/man.copyright.section.enabled.xml +0 -46
- data/lib/stylesheets/params/man.endnotes.are.numbered.xml +0 -106
- data/lib/stylesheets/params/man.endnotes.list.enabled.xml +0 -105
- data/lib/stylesheets/params/man.endnotes.list.heading.xml +0 -36
- data/lib/stylesheets/params/man.font.funcprototype.xml +0 -30
- data/lib/stylesheets/params/man.font.funcsynopsisinfo.xml +0 -30
- data/lib/stylesheets/params/man.font.links.xml +0 -64
- data/lib/stylesheets/params/man.font.table.headings.xml +0 -30
- data/lib/stylesheets/params/man.font.table.title.xml +0 -30
- data/lib/stylesheets/params/man.funcsynopsis.style.xml +0 -26
- data/lib/stylesheets/params/man.hyphenate.computer.inlines.xml +0 -53
- data/lib/stylesheets/params/man.hyphenate.filenames.xml +0 -47
- data/lib/stylesheets/params/man.hyphenate.urls.xml +0 -46
- data/lib/stylesheets/params/man.hyphenate.xml +0 -59
- data/lib/stylesheets/params/man.indent.blurbs.xml +0 -33
- data/lib/stylesheets/params/man.indent.lists.xml +0 -35
- data/lib/stylesheets/params/man.indent.refsect.xml +0 -70
- data/lib/stylesheets/params/man.indent.verbatims.xml +0 -33
- data/lib/stylesheets/params/man.indent.width.xml +0 -39
- data/lib/stylesheets/params/man.justify.xml +0 -52
- data/lib/stylesheets/params/man.output.base.dir.xml +0 -39
- data/lib/stylesheets/params/man.output.better.ps.enabled.xml +0 -61
- data/lib/stylesheets/params/man.output.encoding.xml +0 -53
- data/lib/stylesheets/params/man.output.in.separate.dir.xml +0 -32
- data/lib/stylesheets/params/man.output.lang.in.name.enabled.xml +0 -50
- data/lib/stylesheets/params/man.output.manifest.enabled.xml +0 -27
- data/lib/stylesheets/params/man.output.manifest.filename.xml +0 -29
- data/lib/stylesheets/params/man.output.quietly.xml +0 -37
- data/lib/stylesheets/params/man.output.subdirs.enabled.xml +0 -40
- data/lib/stylesheets/params/man.segtitle.suppress.xml +0 -28
- data/lib/stylesheets/params/man.string.subst.map.local.post.xml +0 -34
- data/lib/stylesheets/params/man.string.subst.map.local.pre.xml +0 -34
- data/lib/stylesheets/params/man.string.subst.map.xml +0 -162
- data/lib/stylesheets/params/man.subheading.divider.enabled.xml +0 -37
- data/lib/stylesheets/params/man.subheading.divider.xml +0 -37
- data/lib/stylesheets/params/man.table.footnotes.divider.xml +0 -29
- data/lib/stylesheets/params/man.th.extra1.suppress.xml +0 -32
- data/lib/stylesheets/params/man.th.extra2.max.length.xml +0 -43
- data/lib/stylesheets/params/man.th.extra2.suppress.xml +0 -44
- data/lib/stylesheets/params/man.th.extra3.max.length.xml +0 -42
- data/lib/stylesheets/params/man.th.extra3.suppress.xml +0 -34
- data/lib/stylesheets/params/man.th.title.max.length.xml +0 -63
- data/lib/stylesheets/params/manifest.in.base.dir.xml +0 -29
- data/lib/stylesheets/params/manifest.xml +0 -29
- data/lib/stylesheets/params/manual.toc.xml +0 -29
- data/lib/stylesheets/params/margin.note.float.type.xml +0 -77
- data/lib/stylesheets/params/margin.note.properties.xml +0 -54
- data/lib/stylesheets/params/margin.note.title.properties.xml +0 -32
- data/lib/stylesheets/params/margin.note.width.xml +0 -35
- data/lib/stylesheets/params/marker.section.level.xml +0 -50
- data/lib/stylesheets/params/menuchoice.menu.separator.xml +0 -42
- data/lib/stylesheets/params/menuchoice.separator.xml +0 -32
- data/lib/stylesheets/params/minus.image.xml +0 -29
- data/lib/stylesheets/params/monospace.font.family.xml +0 -29
- data/lib/stylesheets/params/monospace.properties.xml +0 -38
- data/lib/stylesheets/params/monospace.verbatim.font.width.xml +0 -40
- data/lib/stylesheets/params/monospace.verbatim.properties.xml +0 -27
- data/lib/stylesheets/params/multiframe.bottom.bgcolor.xml +0 -28
- data/lib/stylesheets/params/multiframe.navigation.height.xml +0 -28
- data/lib/stylesheets/params/multiframe.top.bgcolor.xml +0 -28
- data/lib/stylesheets/params/multiframe.xml +0 -31
- data/lib/stylesheets/params/nav.separator.xml +0 -28
- data/lib/stylesheets/params/nav.table.summary.xml +0 -27
- data/lib/stylesheets/params/navbgcolor.xml +0 -26
- data/lib/stylesheets/params/navbodywidth.xml +0 -26
- data/lib/stylesheets/params/navig.graphics.extension.xml +0 -28
- data/lib/stylesheets/params/navig.graphics.path.xml +0 -30
- data/lib/stylesheets/params/navig.graphics.xml +0 -31
- data/lib/stylesheets/params/navig.showtitles.xml +0 -32
- data/lib/stylesheets/params/navtocwidth.xml +0 -26
- data/lib/stylesheets/params/next.image.xml +0 -27
- data/lib/stylesheets/params/no.home.image.xml +0 -27
- data/lib/stylesheets/params/no.next.image.xml +0 -27
- data/lib/stylesheets/params/no.prev.image.xml +0 -27
- data/lib/stylesheets/params/no.toc.image.xml +0 -27
- data/lib/stylesheets/params/no.up.image.xml +0 -27
- data/lib/stylesheets/params/nominal.image.depth.xml +0 -27
- data/lib/stylesheets/params/nominal.image.width.xml +0 -43
- data/lib/stylesheets/params/nominal.table.width.xml +0 -30
- data/lib/stylesheets/params/nongraphical.admonition.properties.xml +0 -41
- data/lib/stylesheets/params/normal.para.spacing.xml +0 -26
- data/lib/stylesheets/params/olink.base.uri.xml +0 -35
- data/lib/stylesheets/params/olink.debug.xml +0 -36
- data/lib/stylesheets/params/olink.doctitle.xml +0 -146
- data/lib/stylesheets/params/olink.fragid.xml +0 -23
- data/lib/stylesheets/params/olink.lang.fallback.sequence.xml +0 -83
- data/lib/stylesheets/params/olink.outline.ext.xml +0 -28
- data/lib/stylesheets/params/olink.properties.xml +0 -33
- data/lib/stylesheets/params/olink.pubid.xml +0 -27
- data/lib/stylesheets/params/olink.resolver.xml +0 -23
- data/lib/stylesheets/params/olink.sysid.xml +0 -27
- data/lib/stylesheets/params/orderedlist.label.properties.xml +0 -26
- data/lib/stylesheets/params/orderedlist.label.width.xml +0 -28
- data/lib/stylesheets/params/orderedlist.properties.xml +0 -24
- data/lib/stylesheets/params/othercredit.like.author.enabled.xml +0 -31
- data/lib/stylesheets/params/output-root.xml +0 -28
- data/lib/stylesheets/params/output.indent.xml +0 -32
- data/lib/stylesheets/params/overlay.js.xml +0 -28
- data/lib/stylesheets/params/overlay.logo.xml +0 -28
- data/lib/stylesheets/params/overlay.xml +0 -32
- data/lib/stylesheets/params/page.height.portrait.xml +0 -69
- data/lib/stylesheets/params/page.height.xml +0 -37
- data/lib/stylesheets/params/page.margin.bottom.xml +0 -29
- data/lib/stylesheets/params/page.margin.inner.xml +0 -56
- data/lib/stylesheets/params/page.margin.outer.xml +0 -53
- data/lib/stylesheets/params/page.margin.top.xml +0 -28
- data/lib/stylesheets/params/page.orientation.xml +0 -32
- data/lib/stylesheets/params/page.width.portrait.xml +0 -67
- data/lib/stylesheets/params/page.width.xml +0 -36
- data/lib/stylesheets/params/pages.template.xml +0 -29
- data/lib/stylesheets/params/paper.type.xml +0 -73
- data/lib/stylesheets/params/para.propagates.style.xml +0 -29
- data/lib/stylesheets/params/part.autolabel.xml +0 -73
- data/lib/stylesheets/params/passivetex.extensions.xml +0 -37
- data/lib/stylesheets/params/pgwide.properties.xml +0 -52
- data/lib/stylesheets/params/phrase.propagates.style.xml +0 -29
- data/lib/stylesheets/params/pixels.per.inch.xml +0 -31
- data/lib/stylesheets/params/plus.image.xml +0 -29
- data/lib/stylesheets/params/points.per.em.xml +0 -29
- data/lib/stylesheets/params/preface.autolabel.xml +0 -71
- data/lib/stylesheets/params/prefer.internal.olink.xml +0 -78
- data/lib/stylesheets/params/preferred.mediaobject.role.xml +0 -40
- data/lib/stylesheets/params/prev.image.xml +0 -27
- data/lib/stylesheets/params/procedure.properties.xml +0 -29
- data/lib/stylesheets/params/process.empty.source.toc.xml +0 -39
- data/lib/stylesheets/params/process.source.toc.xml +0 -39
- data/lib/stylesheets/params/profile.arch.xml +0 -39
- data/lib/stylesheets/params/profile.attribute.xml +0 -34
- data/lib/stylesheets/params/profile.audience.xml +0 -38
- data/lib/stylesheets/params/profile.condition.xml +0 -38
- data/lib/stylesheets/params/profile.conformance.xml +0 -38
- data/lib/stylesheets/params/profile.lang.xml +0 -38
- data/lib/stylesheets/params/profile.os.xml +0 -38
- data/lib/stylesheets/params/profile.revision.xml +0 -38
- data/lib/stylesheets/params/profile.revisionflag.xml +0 -38
- data/lib/stylesheets/params/profile.role.xml +0 -54
- data/lib/stylesheets/params/profile.security.xml +0 -38
- data/lib/stylesheets/params/profile.separator.xml +0 -27
- data/lib/stylesheets/params/profile.status.xml +0 -38
- data/lib/stylesheets/params/profile.userlevel.xml +0 -38
- data/lib/stylesheets/params/profile.value.xml +0 -41
- data/lib/stylesheets/params/profile.vendor.xml +0 -38
- data/lib/stylesheets/params/profile.wordsize.xml +0 -38
- data/lib/stylesheets/params/punct.honorific.xml +0 -28
- data/lib/stylesheets/params/qanda.defaultlabel.xml +0 -86
- data/lib/stylesheets/params/qanda.in.toc.xml +0 -34
- data/lib/stylesheets/params/qanda.inherit.numeration.xml +0 -30
- data/lib/stylesheets/params/qanda.nested.in.toc.xml +0 -29
- data/lib/stylesheets/params/qanda.title.level1.properties.xml +0 -32
- data/lib/stylesheets/params/qanda.title.level2.properties.xml +0 -32
- data/lib/stylesheets/params/qanda.title.level3.properties.xml +0 -32
- data/lib/stylesheets/params/qanda.title.level4.properties.xml +0 -32
- data/lib/stylesheets/params/qanda.title.level5.properties.xml +0 -32
- data/lib/stylesheets/params/qanda.title.level6.properties.xml +0 -34
- data/lib/stylesheets/params/qanda.title.properties.xml +0 -37
- data/lib/stylesheets/params/qandadiv.autolabel.xml +0 -26
- data/lib/stylesheets/params/rebuild-all.xml +0 -33
- data/lib/stylesheets/params/refclass.suppress.xml +0 -28
- data/lib/stylesheets/params/refentry.date.profile.enabled.xml +0 -46
- data/lib/stylesheets/params/refentry.date.profile.xml +0 -38
- data/lib/stylesheets/params/refentry.generate.name.xml +0 -33
- data/lib/stylesheets/params/refentry.generate.title.xml +0 -33
- data/lib/stylesheets/params/refentry.manual.fallback.profile.xml +0 -48
- data/lib/stylesheets/params/refentry.manual.profile.enabled.xml +0 -47
- data/lib/stylesheets/params/refentry.manual.profile.xml +0 -72
- data/lib/stylesheets/params/refentry.meta.get.quietly.xml +0 -37
- data/lib/stylesheets/params/refentry.pagebreak.xml +0 -33
- data/lib/stylesheets/params/refentry.separator.xml +0 -29
- data/lib/stylesheets/params/refentry.source.fallback.profile.xml +0 -49
- data/lib/stylesheets/params/refentry.source.name.profile.enabled.xml +0 -48
- data/lib/stylesheets/params/refentry.source.name.profile.xml +0 -89
- data/lib/stylesheets/params/refentry.source.name.suppress.xml +0 -42
- data/lib/stylesheets/params/refentry.title.properties.xml +0 -59
- data/lib/stylesheets/params/refentry.version.profile.enabled.xml +0 -47
- data/lib/stylesheets/params/refentry.version.profile.xml +0 -41
- data/lib/stylesheets/params/refentry.version.suppress.xml +0 -43
- data/lib/stylesheets/params/refentry.xref.manvolnum.xml +0 -31
- data/lib/stylesheets/params/reference.autolabel.xml +0 -67
- data/lib/stylesheets/params/region.after.extent.xml +0 -29
- data/lib/stylesheets/params/region.before.extent.xml +0 -29
- data/lib/stylesheets/params/revhistory.table.cell.properties.xml +0 -28
- data/lib/stylesheets/params/revhistory.table.properties.xml +0 -28
- data/lib/stylesheets/params/revhistory.title.properties.xml +0 -28
- data/lib/stylesheets/params/root.filename.xml +0 -29
- data/lib/stylesheets/params/root.properties.xml +0 -46
- data/lib/stylesheets/params/rootid.xml +0 -33
- data/lib/stylesheets/params/runinhead.default.title.end.punct.xml +0 -27
- data/lib/stylesheets/params/runinhead.title.end.punct.xml +0 -32
- data/lib/stylesheets/params/running.foot.properties.xml +0 -34
- data/lib/stylesheets/params/sans.font.family.xml +0 -29
- data/lib/stylesheets/params/saxon.callouts.xml +0 -30
- data/lib/stylesheets/params/saxon.character.representation.xml +0 -38
- data/lib/stylesheets/params/saxon.linenumbering.xml +0 -32
- data/lib/stylesheets/params/saxon.tablecolumns.xml +0 -30
- data/lib/stylesheets/params/script.dir.xml +0 -33
- data/lib/stylesheets/params/section.autolabel.max.depth.xml +0 -32
- data/lib/stylesheets/params/section.autolabel.xml +0 -26
- data/lib/stylesheets/params/section.container.element.xml +0 -62
- data/lib/stylesheets/params/section.label.includes.component.label.xml +0 -27
- data/lib/stylesheets/params/section.level1.properties.xml +0 -43
- data/lib/stylesheets/params/section.level2.properties.xml +0 -43
- data/lib/stylesheets/params/section.level3.properties.xml +0 -43
- data/lib/stylesheets/params/section.level4.properties.xml +0 -43
- data/lib/stylesheets/params/section.level5.properties.xml +0 -43
- data/lib/stylesheets/params/section.level6.properties.xml +0 -43
- data/lib/stylesheets/params/section.properties.xml +0 -35
- data/lib/stylesheets/params/section.title.level1.properties.xml +0 -32
- data/lib/stylesheets/params/section.title.level2.properties.xml +0 -33
- data/lib/stylesheets/params/section.title.level3.properties.xml +0 -32
- data/lib/stylesheets/params/section.title.level4.properties.xml +0 -32
- data/lib/stylesheets/params/section.title.level5.properties.xml +0 -32
- data/lib/stylesheets/params/section.title.level6.properties.xml +0 -33
- data/lib/stylesheets/params/section.title.properties.xml +0 -39
- data/lib/stylesheets/params/segmentedlist.as.table.xml +0 -28
- data/lib/stylesheets/params/sequential.links.xml +0 -25
- data/lib/stylesheets/params/shade.verbatim.style.xml +0 -36
- data/lib/stylesheets/params/shade.verbatim.xml +0 -30
- data/lib/stylesheets/params/show.comments.xml +0 -32
- data/lib/stylesheets/params/show.foil.number.xml +0 -28
- data/lib/stylesheets/params/show.revisionflag.xml +0 -42
- data/lib/stylesheets/params/showtoc.image.xml +0 -29
- data/lib/stylesheets/params/side.float.properties.xml +0 -50
- data/lib/stylesheets/params/sidebar.float.type.xml +0 -90
- data/lib/stylesheets/params/sidebar.float.width.xml +0 -35
- data/lib/stylesheets/params/sidebar.properties.xml +0 -42
- data/lib/stylesheets/params/sidebar.title.properties.xml +0 -32
- data/lib/stylesheets/params/simplesect.in.toc.xml +0 -26
- data/lib/stylesheets/params/slide.font.family.xml +0 -31
- data/lib/stylesheets/params/slide.title.font.family.xml +0 -31
- data/lib/stylesheets/params/slides.js.xml +0 -28
- data/lib/stylesheets/params/slides.properties.xml +0 -31
- data/lib/stylesheets/params/spacing.paras.xml +0 -30
- data/lib/stylesheets/params/speakernote.properties.xml +0 -32
- data/lib/stylesheets/params/subscript.properties.xml +0 -29
- data/lib/stylesheets/params/superscript.properties.xml +0 -29
- data/lib/stylesheets/params/suppress.footer.navigation.xml +0 -26
- data/lib/stylesheets/params/suppress.header.navigation.xml +0 -27
- data/lib/stylesheets/params/suppress.homepage.title.xml +0 -25
- data/lib/stylesheets/params/suppress.navigation.xml +0 -28
- data/lib/stylesheets/params/symbol.font.family.xml +0 -45
- data/lib/stylesheets/params/table.borders.with.css.xml +0 -28
- data/lib/stylesheets/params/table.cell.border.color.xml +0 -39
- data/lib/stylesheets/params/table.cell.border.style.xml +0 -42
- data/lib/stylesheets/params/table.cell.border.thickness.xml +0 -35
- data/lib/stylesheets/params/table.cell.padding.xml +0 -32
- data/lib/stylesheets/params/table.entry.padding.xml +0 -27
- data/lib/stylesheets/params/table.footnote.number.format.xml +0 -33
- data/lib/stylesheets/params/table.footnote.number.symbols.xml +0 -39
- data/lib/stylesheets/params/table.footnote.properties.xml +0 -39
- data/lib/stylesheets/params/table.frame.border.color.xml +0 -28
- data/lib/stylesheets/params/table.frame.border.style.xml +0 -37
- data/lib/stylesheets/params/table.frame.border.thickness.xml +0 -27
- data/lib/stylesheets/params/table.properties.xml +0 -34
- data/lib/stylesheets/params/table.spacer.image.xml +0 -26
- data/lib/stylesheets/params/table.table.properties.xml +0 -36
- data/lib/stylesheets/params/tablecolumns.extension.xml +0 -30
- data/lib/stylesheets/params/target.database.document.xml +0 -37
- data/lib/stylesheets/params/targets.filename.xml +0 -32
- data/lib/stylesheets/params/template.xml +0 -27
- data/lib/stylesheets/params/tex.math.delims.xml +0 -47
- data/lib/stylesheets/params/tex.math.file.xml +0 -42
- data/lib/stylesheets/params/tex.math.in.alt.xml +0 -76
- data/lib/stylesheets/params/text.home.xml +0 -27
- data/lib/stylesheets/params/text.next.xml +0 -27
- data/lib/stylesheets/params/text.prev.xml +0 -27
- data/lib/stylesheets/params/text.toc.xml +0 -27
- data/lib/stylesheets/params/text.up.xml +0 -27
- data/lib/stylesheets/params/textbgcolor.xml +0 -26
- data/lib/stylesheets/params/textdata.default.encoding.xml +0 -32
- data/lib/stylesheets/params/textinsert.extension.xml +0 -62
- data/lib/stylesheets/params/title.font.family.xml +0 -33
- data/lib/stylesheets/params/title.margin.left.xml +0 -65
- data/lib/stylesheets/params/titlefoil.html.xml +0 -27
- data/lib/stylesheets/params/toc.bg.color.xml +0 -27
- data/lib/stylesheets/params/toc.blank.graphic.xml +0 -28
- data/lib/stylesheets/params/toc.blank.image.xml +0 -27
- data/lib/stylesheets/params/toc.blank.text.xml +0 -27
- data/lib/stylesheets/params/toc.hide.show.xml +0 -33
- data/lib/stylesheets/params/toc.html.xml +0 -27
- data/lib/stylesheets/params/toc.image.xml +0 -27
- data/lib/stylesheets/params/toc.indent.width.xml +0 -34
- data/lib/stylesheets/params/toc.line.properties.xml +0 -44
- data/lib/stylesheets/params/toc.list.type.xml +0 -30
- data/lib/stylesheets/params/toc.margin.properties.xml +0 -33
- data/lib/stylesheets/params/toc.max.depth.xml +0 -25
- data/lib/stylesheets/params/toc.pointer.graphic.xml +0 -28
- data/lib/stylesheets/params/toc.pointer.image.xml +0 -27
- data/lib/stylesheets/params/toc.pointer.text.xml +0 -27
- data/lib/stylesheets/params/toc.row.height.xml +0 -33
- data/lib/stylesheets/params/toc.section.depth.xml +0 -28
- data/lib/stylesheets/params/toc.spacer.graphic.xml +0 -28
- data/lib/stylesheets/params/toc.spacer.image.xml +0 -27
- data/lib/stylesheets/params/toc.spacer.text.xml +0 -27
- data/lib/stylesheets/params/toc.width.xml +0 -28
- data/lib/stylesheets/params/ua.js.xml +0 -28
- data/lib/stylesheets/params/ulink.footnotes.xml +0 -34
- data/lib/stylesheets/params/ulink.hyphenate.chars.xml +0 -37
- data/lib/stylesheets/params/ulink.hyphenate.xml +0 -35
- data/lib/stylesheets/params/ulink.show.xml +0 -37
- data/lib/stylesheets/params/ulink.target.xml +0 -29
- data/lib/stylesheets/params/up.image.xml +0 -27
- data/lib/stylesheets/params/use.embed.for.svg.xml +0 -33
- data/lib/stylesheets/params/use.extensions.xml +0 -31
- data/lib/stylesheets/params/use.id.as.filename.xml +0 -30
- data/lib/stylesheets/params/use.id.function.xml +0 -32
- data/lib/stylesheets/params/use.local.olink.style.xml +0 -28
- data/lib/stylesheets/params/use.role.as.xrefstyle.xml +0 -93
- data/lib/stylesheets/params/use.role.for.mediaobject.xml +0 -56
- data/lib/stylesheets/params/use.svg.xml +0 -30
- data/lib/stylesheets/params/variablelist.as.blocks.xml +0 -62
- data/lib/stylesheets/params/variablelist.as.table.xml +0 -54
- data/lib/stylesheets/params/variablelist.max.termlength.xml +0 -46
- data/lib/stylesheets/params/variablelist.term.break.after.xml +0 -39
- data/lib/stylesheets/params/variablelist.term.properties.xml +0 -29
- data/lib/stylesheets/params/variablelist.term.separator.xml +0 -40
- data/lib/stylesheets/params/verbatim.properties.xml +0 -38
- data/lib/stylesheets/params/wordml.template.xml +0 -29
- data/lib/stylesheets/params/writing.mode.xml +0 -83
- data/lib/stylesheets/params/xbCollapsibleLists.js.xml +0 -28
- data/lib/stylesheets/params/xbDOM.js.xml +0 -28
- data/lib/stylesheets/params/xbLibrary.js.xml +0 -28
- data/lib/stylesheets/params/xbStyle.js.xml +0 -28
- data/lib/stylesheets/params/xep.extensions.xml +0 -31
- data/lib/stylesheets/params/xep.index.item.properties.xml +0 -36
- data/lib/stylesheets/params/xref.label-page.separator.xml +0 -38
- data/lib/stylesheets/params/xref.label-title.separator.xml +0 -36
- data/lib/stylesheets/params/xref.properties.xml +0 -29
- data/lib/stylesheets/params/xref.title-page.separator.xml +0 -36
- data/lib/stylesheets/params/xref.with.number.and.title.xml +0 -30
- data/lib/stylesheets/profiling/profile-mode.xsl +0 -239
- data/lib/stylesheets/profiling/profile.xsl +0 -58
- data/lib/stylesheets/profiling/strip-attributes.xsl +0 -27
- data/lib/stylesheets/profiling/xsl2profile.xsl +0 -159
- data/lib/stylesheets/roundtrip/blocks-spec.xml +0 -11
- data/lib/stylesheets/roundtrip/blocks2dbk.dtd +0 -76
- data/lib/stylesheets/roundtrip/blocks2dbk.xsl +0 -1734
- data/lib/stylesheets/roundtrip/dbk2ooo.xsl +0 -178
- data/lib/stylesheets/roundtrip/dbk2pages.xsl +0 -442
- data/lib/stylesheets/roundtrip/dbk2wordml.xsl +0 -402
- data/lib/stylesheets/roundtrip/dbk2wp.xsl +0 -1376
- data/lib/stylesheets/roundtrip/normalise-common.xsl +0 -39
- data/lib/stylesheets/roundtrip/normalise2sections.xsl +0 -1270
- data/lib/stylesheets/roundtrip/pages2normalise.xsl +0 -352
- data/lib/stylesheets/roundtrip/param.xml +0 -105
- data/lib/stylesheets/roundtrip/param.xsl +0 -20
- data/lib/stylesheets/roundtrip/sections-spec.xml +0 -38
- data/lib/stylesheets/roundtrip/sections2blocks.xsl +0 -263
- data/lib/stylesheets/roundtrip/specifications.xml +0 -1420
- data/lib/stylesheets/roundtrip/template-pages.xml +0 -2
- data/lib/stylesheets/roundtrip/template.dot +0 -0
- data/lib/stylesheets/roundtrip/template.xml +0 -3
- data/lib/stylesheets/roundtrip/wordml2normalise.xsl +0 -446
- data/lib/stylesheets/slides/browser/CTOCWidget.js +0 -169
- data/lib/stylesheets/slides/browser/overlay.js +0 -142
- data/lib/stylesheets/slides/browser/slides-default.css +0 -9
- data/lib/stylesheets/slides/browser/slides-frames.css +0 -73
- data/lib/stylesheets/slides/browser/slides-plain.css +0 -1
- data/lib/stylesheets/slides/browser/slides-table.css +0 -41
- data/lib/stylesheets/slides/browser/slides-w3c.css +0 -1
- data/lib/stylesheets/slides/browser/slides.css +0 -119
- data/lib/stylesheets/slides/browser/slides.js +0 -120
- data/lib/stylesheets/slides/browser/ua.js +0 -135
- data/lib/stylesheets/slides/browser/xbCollapsibleLists.js +0 -537
- data/lib/stylesheets/slides/browser/xbDOM.js +0 -374
- data/lib/stylesheets/slides/browser/xbDebug.js +0 -311
- data/lib/stylesheets/slides/browser/xbLibrary.js +0 -80
- data/lib/stylesheets/slides/browser/xbStyle-css.js +0 -791
- data/lib/stylesheets/slides/browser/xbStyle-nn4.js +0 -485
- data/lib/stylesheets/slides/browser/xbStyle-not-supported.js +0 -77
- data/lib/stylesheets/slides/browser/xbStyle.js +0 -295
- data/lib/stylesheets/slides/fo/param.xml +0 -356
- data/lib/stylesheets/slides/fo/param.xsl +0 -74
- data/lib/stylesheets/slides/fo/plain-titlepage.xml +0 -79
- data/lib/stylesheets/slides/fo/plain-titlepage.xsl +0 -187
- data/lib/stylesheets/slides/fo/plain.xsl +0 -528
- data/lib/stylesheets/slides/graphics/active/arr-next.png +0 -0
- data/lib/stylesheets/slides/graphics/active/arr-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/active/but-fforward.png +0 -0
- data/lib/stylesheets/slides/graphics/active/but-info.png +0 -0
- data/lib/stylesheets/slides/graphics/active/but-next.png +0 -0
- data/lib/stylesheets/slides/graphics/active/but-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/active/but-rewind.png +0 -0
- data/lib/stylesheets/slides/graphics/active/nav-home.png +0 -0
- data/lib/stylesheets/slides/graphics/active/nav-next.png +0 -0
- data/lib/stylesheets/slides/graphics/active/nav-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/active/nav-toc.png +0 -0
- data/lib/stylesheets/slides/graphics/active/nav-up.png +0 -0
- data/lib/stylesheets/slides/graphics/active/w3c-next.png +0 -0
- data/lib/stylesheets/slides/graphics/active/w3c-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/active/w3c-toc.png +0 -0
- data/lib/stylesheets/slides/graphics/arrow.gif +0 -0
- data/lib/stylesheets/slides/graphics/blank.gif +0 -0
- data/lib/stylesheets/slides/graphics/blank.png +0 -0
- data/lib/stylesheets/slides/graphics/hidetoc.gif +0 -0
- data/lib/stylesheets/slides/graphics/inactive/but-fforward.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/but-info.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/but-next.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/but-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/but-rewind.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/nav-home.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/nav-next.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/nav-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/nav-toc.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/nav-up.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/w3c-next.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/w3c-prev.png +0 -0
- data/lib/stylesheets/slides/graphics/inactive/w3c-toc.png +0 -0
- data/lib/stylesheets/slides/graphics/plus.gif +0 -0
- data/lib/stylesheets/slides/graphics/pointer.png +0 -0
- data/lib/stylesheets/slides/graphics/showtoc.gif +0 -0
- data/lib/stylesheets/slides/graphics/toc/bullet.png +0 -0
- data/lib/stylesheets/slides/graphics/toc/closed.png +0 -0
- data/lib/stylesheets/slides/graphics/toc/open.png +0 -0
- data/lib/stylesheets/slides/html/css.xsl +0 -46
- data/lib/stylesheets/slides/html/default.xsl +0 -261
- data/lib/stylesheets/slides/html/flat.xsl +0 -70
- data/lib/stylesheets/slides/html/frames.xsl +0 -2016
- data/lib/stylesheets/slides/html/graphics.xsl +0 -151
- data/lib/stylesheets/slides/html/jscript.xsl +0 -127
- data/lib/stylesheets/slides/html/param.xml +0 -1376
- data/lib/stylesheets/slides/html/param.xsl +0 -68
- data/lib/stylesheets/slides/html/plain.xsl +0 -472
- data/lib/stylesheets/slides/html/slides-common.xsl +0 -1541
- data/lib/stylesheets/slides/html/tables.xsl +0 -336
- data/lib/stylesheets/slides/html/vslides.xsl +0 -667
- data/lib/stylesheets/slides/html/w3c.xsl +0 -376
- data/lib/stylesheets/slides/htmlhelp/htmlhelp.xsl +0 -89
- data/lib/stylesheets/slides/keynote/default.xsl +0 -600
- data/lib/stylesheets/slides/keynote/xsltsl/cmp.xsl +0 -348
- data/lib/stylesheets/slides/keynote/xsltsl/date-time.xsl +0 -1524
- data/lib/stylesheets/slides/keynote/xsltsl/example.xsl +0 -90
- data/lib/stylesheets/slides/keynote/xsltsl/markup.xsl +0 -789
- data/lib/stylesheets/slides/keynote/xsltsl/math.xsl +0 -704
- data/lib/stylesheets/slides/keynote/xsltsl/node.xsl +0 -229
- data/lib/stylesheets/slides/keynote/xsltsl/stdlib.xsl +0 -340
- data/lib/stylesheets/slides/keynote/xsltsl/string.xsl +0 -1233
- data/lib/stylesheets/slides/keynote/xsltsl/svg.xsl +0 -177
- data/lib/stylesheets/slides/keynote/xsltsl/uri.xsl +0 -580
- data/lib/stylesheets/slides/svg/default.xsl +0 -686
- data/lib/stylesheets/slides/xhtml/css.xsl +0 -47
- data/lib/stylesheets/slides/xhtml/default.xsl +0 -246
- data/lib/stylesheets/slides/xhtml/flat.xsl +0 -71
- data/lib/stylesheets/slides/xhtml/frames.xsl +0 -1982
- data/lib/stylesheets/slides/xhtml/graphics.xsl +0 -152
- data/lib/stylesheets/slides/xhtml/jscript.xsl +0 -128
- data/lib/stylesheets/slides/xhtml/param.xsl +0 -70
- data/lib/stylesheets/slides/xhtml/plain.xsl +0 -470
- data/lib/stylesheets/slides/xhtml/slides-common.xsl +0 -1534
- data/lib/stylesheets/slides/xhtml/tables.xsl +0 -334
- data/lib/stylesheets/slides/xhtml/vslides.xsl +0 -652
- data/lib/stylesheets/slides/xhtml/w3c.xsl +0 -358
- data/lib/stylesheets/template/titlepage.xml +0 -478
- data/lib/stylesheets/template/titlepage.xsl +0 -1355
- data/lib/stylesheets/tests/refentry.007.ns.xml +0 -325
- data/lib/stylesheets/tests/refentry.007.xml +0 -340
- data/lib/stylesheets/tools/bin/docbook-xsl-update +0 -53
- data/lib/stylesheets/tools/make/Makefile.DocBook +0 -698
- data/lib/stylesheets/tools/make/Makefile.combine +0 -182
- data/lib/stylesheets/tools/make/Makefile.docParam +0 -59
- data/lib/stylesheets/webhelp/LICENSE +0 -1
- data/lib/stylesheets/webhelp/build.properties +0 -43
- data/lib/stylesheets/webhelp/build.xml +0 -112
- data/lib/stylesheets/webhelp/docs/common/css/positioning.css +0 -109
- data/lib/stylesheets/webhelp/docs/common/images/header-bg.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/images/highlight-blue.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/images/highlight-yellow.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/images/loading.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/images/logo.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/images/showHideTreeIcons.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/jquery-1.4.2.min.js +0 -154
- data/lib/stylesheets/webhelp/docs/common/jquery/jquery-ui-1.8.2.custom.min.js +0 -321
- data/lib/stylesheets/webhelp/docs/common/jquery/jquery.cookie.js +0 -93
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css +0 -398
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/file.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder-closed.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder-closed2.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/folder2.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/minus.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/plus.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-black-line.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-black.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-default-line.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-default.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam-line.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-gray-line.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-gray.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-red-line.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/images/treeview-red.gif +0 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.async.js +0 -72
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.css +0 -85
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.js +0 -255
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.min.js +0 -16
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.pack.js +0 -16
- data/lib/stylesheets/webhelp/docs/common/main.js +0 -161
- data/lib/stylesheets/webhelp/docs/content/ch01.html +0 -61
- data/lib/stylesheets/webhelp/docs/content/ch02.html +0 -32
- data/lib/stylesheets/webhelp/docs/content/ch02s01.html +0 -117
- data/lib/stylesheets/webhelp/docs/content/ch02s02.html +0 -102
- data/lib/stylesheets/webhelp/docs/content/ch02s03.html +0 -36
- data/lib/stylesheets/webhelp/docs/content/ch02s04.html +0 -42
- data/lib/stylesheets/webhelp/docs/content/ch03.html +0 -37
- data/lib/stylesheets/webhelp/docs/content/ch03s01.html +0 -62
- data/lib/stylesheets/webhelp/docs/content/ch03s02.html +0 -124
- data/lib/stylesheets/webhelp/docs/content/index.html +0 -71
- data/lib/stylesheets/webhelp/docs/content/search/htmlFileInfoList.js +0 -10
- data/lib/stylesheets/webhelp/docs/content/search/htmlFileList.js +0 -11
- data/lib/stylesheets/webhelp/docs/content/search/index-1.js +0 -224
- data/lib/stylesheets/webhelp/docs/content/search/index-2.js +0 -223
- data/lib/stylesheets/webhelp/docs/content/search/index-3.js +0 -221
- data/lib/stylesheets/webhelp/docs/content/search/nwSearchFnt.js +0 -513
- data/lib/stylesheets/webhelp/docs/content/search/stemmers/en_stemmer.js +0 -187
- data/lib/stylesheets/webhelp/docs/favicon.ico +0 -0
- data/lib/stylesheets/webhelp/docs/index.html +0 -13
- data/lib/stylesheets/webhelp/docsrc/readme.xml +0 -891
- data/lib/stylesheets/webhelp/template/common/css/positioning.css +0 -109
- data/lib/stylesheets/webhelp/template/common/images/header-bg.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/images/highlight-blue.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/images/highlight-yellow.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/images/loading.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/images/logo.png +0 -0
- data/lib/stylesheets/webhelp/template/common/images/showHideTreeIcons.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/jquery-1.4.2.min.js +0 -154
- data/lib/stylesheets/webhelp/template/common/jquery/jquery-ui-1.8.2.custom.min.js +0 -321
- data/lib/stylesheets/webhelp/template/common/jquery/jquery.cookie.js +0 -93
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css +0 -398
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/file.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder-closed.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder-closed2.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/folder2.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/minus.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/plus.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-black-line.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-black.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-default-line.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-default.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-famfamfam-line.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-famfamfam.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-gray-line.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-gray.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-red-line.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/images/treeview-red.gif +0 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.async.js +0 -72
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.css +0 -85
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.js +0 -255
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.min.js +0 -16
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.pack.js +0 -16
- data/lib/stylesheets/webhelp/template/common/main.js +0 -161
- data/lib/stylesheets/webhelp/template/content/search/default.props +0 -1
- data/lib/stylesheets/webhelp/template/content/search/en-us.props +0 -45
- data/lib/stylesheets/webhelp/template/content/search/es-es.props +0 -179
- data/lib/stylesheets/webhelp/template/content/search/ja-jp.props +0 -1
- data/lib/stylesheets/webhelp/template/content/search/nwSearchFnt.js +0 -513
- data/lib/stylesheets/webhelp/template/content/search/punctuation.props +0 -31
- data/lib/stylesheets/webhelp/template/content/search/stemmers/de_stemmer.js +0 -247
- data/lib/stylesheets/webhelp/template/content/search/stemmers/en_stemmer.js +0 -187
- data/lib/stylesheets/webhelp/template/content/search/stemmers/fr_stemmer.js +0 -299
- data/lib/stylesheets/webhelp/template/favicon.ico +0 -0
- data/lib/stylesheets/webhelp/xsl/webhelp.xsl +0 -772
- data/lib/stylesheets/website/autolayout.xsl +0 -258
- data/lib/stylesheets/website/chunk-common.xsl +0 -227
- data/lib/stylesheets/website/chunk-tabular.xsl +0 -12
- data/lib/stylesheets/website/chunk-website.xsl +0 -12
- data/lib/stylesheets/website/head.xsl +0 -316
- data/lib/stylesheets/website/makefile-dep.xsl +0 -143
- data/lib/stylesheets/website/olink.xsl +0 -297
- data/lib/stylesheets/website/param.xml +0 -788
- data/lib/stylesheets/website/param.xsl +0 -53
- data/lib/stylesheets/website/rss.xsl +0 -143
- data/lib/stylesheets/website/tabular.xsl +0 -213
- data/lib/stylesheets/website/toc-tabular.xsl +0 -480
- data/lib/stylesheets/website/toc.xsl +0 -286
- data/lib/stylesheets/website/website-common.xsl +0 -821
- data/lib/stylesheets/website/website-targets.xsl +0 -27
- data/lib/stylesheets/website/website.xsl +0 -132
- data/lib/stylesheets/website/xbel.xsl +0 -114
- data/lib/stylesheets/xhtml-1_1/admon.xsl +0 -135
- data/lib/stylesheets/xhtml-1_1/annotations.xsl +0 -160
- data/lib/stylesheets/xhtml-1_1/autoidx-kimber.xsl +0 -140
- data/lib/stylesheets/xhtml-1_1/autoidx-kosek.xsl +0 -110
- data/lib/stylesheets/xhtml-1_1/autoidx-ng.xsl +0 -23
- data/lib/stylesheets/xhtml-1_1/autoidx.xsl +0 -682
- data/lib/stylesheets/xhtml-1_1/autotoc.xsl +0 -665
- data/lib/stylesheets/xhtml-1_1/biblio-iso690.xsl +0 -1302
- data/lib/stylesheets/xhtml-1_1/biblio.xsl +0 -1242
- data/lib/stylesheets/xhtml-1_1/block.xsl +0 -537
- data/lib/stylesheets/xhtml-1_1/callout.xsl +0 -189
- data/lib/stylesheets/xhtml-1_1/changebars.xsl +0 -80
- data/lib/stylesheets/xhtml-1_1/chunk-changebars.xsl +0 -97
- data/lib/stylesheets/xhtml-1_1/chunk-code.xsl +0 -644
- data/lib/stylesheets/xhtml-1_1/chunk-common.xsl +0 -1562
- data/lib/stylesheets/xhtml-1_1/chunk.xsl +0 -53
- data/lib/stylesheets/xhtml-1_1/chunker.xsl +0 -303
- data/lib/stylesheets/xhtml-1_1/chunkfast.xsl +0 -70
- data/lib/stylesheets/xhtml-1_1/chunktoc.xsl +0 -527
- data/lib/stylesheets/xhtml-1_1/component.xsl +0 -397
- data/lib/stylesheets/xhtml-1_1/division.xsl +0 -219
- data/lib/stylesheets/xhtml-1_1/docbook.css.xml +0 -109
- data/lib/stylesheets/xhtml-1_1/docbook.xsl +0 -435
- data/lib/stylesheets/xhtml-1_1/ebnf.xsl +0 -329
- data/lib/stylesheets/xhtml-1_1/footnote.xsl +0 -306
- data/lib/stylesheets/xhtml-1_1/formal.xsl +0 -413
- data/lib/stylesheets/xhtml-1_1/glossary.xsl +0 -565
- data/lib/stylesheets/xhtml-1_1/graphics.xsl +0 -1437
- data/lib/stylesheets/xhtml-1_1/highlight.xsl +0 -89
- data/lib/stylesheets/xhtml-1_1/html-rtf.xsl +0 -321
- data/lib/stylesheets/xhtml-1_1/html.xsl +0 -600
- data/lib/stylesheets/xhtml-1_1/htmltbl.xsl +0 -104
- data/lib/stylesheets/xhtml-1_1/index.xsl +0 -266
- data/lib/stylesheets/xhtml-1_1/info.xsl +0 -46
- data/lib/stylesheets/xhtml-1_1/inline.xsl +0 -1452
- data/lib/stylesheets/xhtml-1_1/keywords.xsl +0 -38
- data/lib/stylesheets/xhtml-1_1/lists.xsl +0 -1090
- data/lib/stylesheets/xhtml-1_1/maketoc.xsl +0 -92
- data/lib/stylesheets/xhtml-1_1/manifest.xsl +0 -23
- data/lib/stylesheets/xhtml-1_1/math.xsl +0 -285
- data/lib/stylesheets/xhtml-1_1/oldchunker.xsl +0 -177
- data/lib/stylesheets/xhtml-1_1/onechunk.xsl +0 -37
- data/lib/stylesheets/xhtml-1_1/param.xsl +0 -438
- data/lib/stylesheets/xhtml-1_1/pi.xsl +0 -1204
- data/lib/stylesheets/xhtml-1_1/profile-chunk-code.xsl +0 -616
- data/lib/stylesheets/xhtml-1_1/profile-chunk.xsl +0 -53
- data/lib/stylesheets/xhtml-1_1/profile-docbook.xsl +0 -407
- data/lib/stylesheets/xhtml-1_1/profile-onechunk.xsl +0 -37
- data/lib/stylesheets/xhtml-1_1/qandaset.xsl +0 -421
- data/lib/stylesheets/xhtml-1_1/refentry.xsl +0 -301
- data/lib/stylesheets/xhtml-1_1/sections.xsl +0 -543
- data/lib/stylesheets/xhtml-1_1/synop.xsl +0 -1515
- data/lib/stylesheets/xhtml-1_1/table.xsl +0 -1169
- data/lib/stylesheets/xhtml-1_1/task.xsl +0 -75
- data/lib/stylesheets/xhtml-1_1/titlepage.templates.xsl +0 -3818
- data/lib/stylesheets/xhtml-1_1/titlepage.xsl +0 -1032
- data/lib/stylesheets/xhtml-1_1/toc.xsl +0 -332
- data/lib/stylesheets/xhtml-1_1/verbatim.xsl +0 -389
- data/lib/stylesheets/xhtml-1_1/xref.xsl +0 -1317
- data/lib/stylesheets/xhtml/admon.xsl +0 -137
- data/lib/stylesheets/xhtml/annotations.xsl +0 -160
- data/lib/stylesheets/xhtml/autoidx-kimber.xsl +0 -140
- data/lib/stylesheets/xhtml/autoidx-kosek.xsl +0 -110
- data/lib/stylesheets/xhtml/autoidx-ng.xsl +0 -23
- data/lib/stylesheets/xhtml/autoidx.xsl +0 -682
- data/lib/stylesheets/xhtml/autotoc.xsl +0 -665
- data/lib/stylesheets/xhtml/biblio-iso690.xsl +0 -1302
- data/lib/stylesheets/xhtml/biblio.xsl +0 -1242
- data/lib/stylesheets/xhtml/block.xsl +0 -537
- data/lib/stylesheets/xhtml/callout.xsl +0 -189
- data/lib/stylesheets/xhtml/changebars.xsl +0 -80
- data/lib/stylesheets/xhtml/chunk-changebars.xsl +0 -97
- data/lib/stylesheets/xhtml/chunk-code.xsl +0 -644
- data/lib/stylesheets/xhtml/chunk-common.xsl +0 -1562
- data/lib/stylesheets/xhtml/chunk.xsl +0 -53
- data/lib/stylesheets/xhtml/chunker.xsl +0 -303
- data/lib/stylesheets/xhtml/chunkfast.xsl +0 -70
- data/lib/stylesheets/xhtml/chunktoc.xsl +0 -527
- data/lib/stylesheets/xhtml/component.xsl +0 -397
- data/lib/stylesheets/xhtml/division.xsl +0 -219
- data/lib/stylesheets/xhtml/docbook.css.xml +0 -109
- data/lib/stylesheets/xhtml/docbook.xsl +0 -435
- data/lib/stylesheets/xhtml/ebnf.xsl +0 -329
- data/lib/stylesheets/xhtml/footnote.xsl +0 -306
- data/lib/stylesheets/xhtml/formal.xsl +0 -413
- data/lib/stylesheets/xhtml/glossary.xsl +0 -565
- data/lib/stylesheets/xhtml/graphics.xsl +0 -1437
- data/lib/stylesheets/xhtml/highlight.xsl +0 -89
- data/lib/stylesheets/xhtml/html-rtf.xsl +0 -321
- data/lib/stylesheets/xhtml/html.xsl +0 -600
- data/lib/stylesheets/xhtml/htmltbl.xsl +0 -104
- data/lib/stylesheets/xhtml/index.xsl +0 -266
- data/lib/stylesheets/xhtml/info.xsl +0 -46
- data/lib/stylesheets/xhtml/inline.xsl +0 -1452
- data/lib/stylesheets/xhtml/keywords.xsl +0 -38
- data/lib/stylesheets/xhtml/lists.xsl +0 -1123
- data/lib/stylesheets/xhtml/maketoc.xsl +0 -92
- data/lib/stylesheets/xhtml/manifest.xsl +0 -23
- data/lib/stylesheets/xhtml/math.xsl +0 -285
- data/lib/stylesheets/xhtml/oldchunker.xsl +0 -177
- data/lib/stylesheets/xhtml/onechunk.xsl +0 -37
- data/lib/stylesheets/xhtml/param.xsl +0 -438
- data/lib/stylesheets/xhtml/pi.xsl +0 -1204
- data/lib/stylesheets/xhtml/profile-chunk-code.xsl +0 -616
- data/lib/stylesheets/xhtml/profile-chunk.xsl +0 -53
- data/lib/stylesheets/xhtml/profile-docbook.xsl +0 -407
- data/lib/stylesheets/xhtml/profile-onechunk.xsl +0 -37
- data/lib/stylesheets/xhtml/qandaset.xsl +0 -421
- data/lib/stylesheets/xhtml/refentry.xsl +0 -301
- data/lib/stylesheets/xhtml/sections.xsl +0 -543
- data/lib/stylesheets/xhtml/synop.xsl +0 -1515
- data/lib/stylesheets/xhtml/table.xsl +0 -1169
- data/lib/stylesheets/xhtml/task.xsl +0 -75
- data/lib/stylesheets/xhtml/titlepage.templates.xsl +0 -3818
- data/lib/stylesheets/xhtml/titlepage.xsl +0 -1032
- data/lib/stylesheets/xhtml/toc.xsl +0 -332
- data/lib/stylesheets/xhtml/verbatim.xsl +0 -389
- data/lib/stylesheets/xhtml/xref.xsl +0 -1317
@@ -1,58 +0,0 @@
|
|
1
|
-
<xsl:stylesheet exclude-result-prefixes="d"
|
2
|
-
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
3
|
-
xmlns:d="http://docbook.org/ns/docbook"
|
4
|
-
version="1.0">
|
5
|
-
|
6
|
-
<!-- Include common profiling stylesheet -->
|
7
|
-
<xsl:import href="profile-mode.xsl"/>
|
8
|
-
|
9
|
-
<!-- This file must be included, because profile-mode is using templates from it -->
|
10
|
-
<xsl:import href="../common/addns.xsl"/>
|
11
|
-
|
12
|
-
<!-- In the two pass processing there is no need for base URI fixup -->
|
13
|
-
<xsl:param name="profile.baseuri.fixup" select="false()"/>
|
14
|
-
|
15
|
-
<!-- If you need to validate profiled content against DTD,
|
16
|
-
create customization that will import this stylesheet and
|
17
|
-
will use xsl:output (see example bellow) to output reference
|
18
|
-
to the desired DTD version. -->
|
19
|
-
<!-- Generate DocBook instance with correct DOCTYPE -->
|
20
|
-
<!--
|
21
|
-
<xsl:output method="xml"
|
22
|
-
doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
|
23
|
-
doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
|
24
|
-
-->
|
25
|
-
|
26
|
-
<!-- Profiling parameters -->
|
27
|
-
<xsl:param name="profile.arch" select="''"/>
|
28
|
-
<xsl:param name="profile.audience" select="''"/>
|
29
|
-
<xsl:param name="profile.condition" select="''"/>
|
30
|
-
<xsl:param name="profile.conformance" select="''"/>
|
31
|
-
<xsl:param name="profile.lang" select="''"/>
|
32
|
-
<xsl:param name="profile.os" select="''"/>
|
33
|
-
<xsl:param name="profile.revision" select="''"/>
|
34
|
-
<xsl:param name="profile.revisionflag" select="''"/>
|
35
|
-
<xsl:param name="profile.role" select="''"/>
|
36
|
-
<xsl:param name="profile.security" select="''"/>
|
37
|
-
<xsl:param name="profile.status" select="''"/>
|
38
|
-
<xsl:param name="profile.userlevel" select="''"/>
|
39
|
-
<xsl:param name="profile.vendor" select="''"/>
|
40
|
-
<xsl:param name="profile.wordsize" select="''"/>
|
41
|
-
<xsl:param name="profile.attribute" select="''"/>
|
42
|
-
<xsl:param name="profile.value" select="''"/>
|
43
|
-
<xsl:param name="profile.separator" select="';'"/>
|
44
|
-
|
45
|
-
<xsl:param name="exsl.node.set.available">
|
46
|
-
<xsl:choose>
|
47
|
-
<xsl:when xmlns:exsl="http://exslt.org/common" exsl:foo="" test="function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')">1</xsl:when>
|
48
|
-
<xsl:otherwise>0</xsl:otherwise>
|
49
|
-
</xsl:choose>
|
50
|
-
</xsl:param>
|
51
|
-
|
52
|
-
<!-- Call common profiling mode -->
|
53
|
-
<xsl:template match="/">
|
54
|
-
<xsl:apply-templates select="." mode="profile"/>
|
55
|
-
</xsl:template>
|
56
|
-
|
57
|
-
</xsl:stylesheet>
|
58
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
3
|
-
version="1.0">
|
4
|
-
|
5
|
-
<xsl:output method="xml"/>
|
6
|
-
|
7
|
-
<xsl:param name="attributes" select="''"/>
|
8
|
-
|
9
|
-
<xsl:variable name="strip-attributes"
|
10
|
-
select="concat(' ', normalize-space($attributes), ' ')"/>
|
11
|
-
|
12
|
-
<xsl:template match="@*|text()|comment()|processing-instruction()">
|
13
|
-
<xsl:copy/>
|
14
|
-
</xsl:template>
|
15
|
-
|
16
|
-
<xsl:template match="*">
|
17
|
-
<xsl:copy>
|
18
|
-
<xsl:for-each select="@*">
|
19
|
-
<xsl:if test="not(contains($strip-attributes, concat(' ',name(.),' ')))">
|
20
|
-
<xsl:copy-of select="."/>
|
21
|
-
</xsl:if>
|
22
|
-
</xsl:for-each>
|
23
|
-
<xsl:apply-templates select="node()"/>
|
24
|
-
</xsl:copy>
|
25
|
-
</xsl:template>
|
26
|
-
|
27
|
-
</xsl:stylesheet>
|
@@ -1,159 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
3
|
-
xmlns:xslo="http://www.w3.org/1999/XSL/TransformAlias"
|
4
|
-
xmlns:fo="http://www.w3.org/1999/XSL/Format"
|
5
|
-
exclude-result-prefixes="fo"
|
6
|
-
version="1.0">
|
7
|
-
|
8
|
-
<xsl:include href="../lib/lib.xsl"/>
|
9
|
-
|
10
|
-
<xsl:output method="xml" encoding="US-ASCII"/>
|
11
|
-
|
12
|
-
<xsl:namespace-alias stylesheet-prefix="xslo" result-prefix="xsl"/>
|
13
|
-
|
14
|
-
<xsl:preserve-space elements="*"/>
|
15
|
-
|
16
|
-
<xsl:template match="/">
|
17
|
-
<xsl:comment>This file was created automatically by xsl2profile</xsl:comment>
|
18
|
-
<xsl:comment>from the DocBook XSL stylesheets.</xsl:comment>
|
19
|
-
<xsl:apply-templates/>
|
20
|
-
</xsl:template>
|
21
|
-
|
22
|
-
<!-- Make sure we override some templates and parameters appropriately for XHTML -->
|
23
|
-
<xsl:template match="xsl:stylesheet">
|
24
|
-
<xsl:copy>
|
25
|
-
<xsl:attribute name="exslt:dummy" xmlns:exslt="http://exslt.org/common">dummy</xsl:attribute>
|
26
|
-
<xsl:attribute name="ng:dummy" xmlns:ng="http://docbook.org/docbook-ng">dummy</xsl:attribute>
|
27
|
-
<xsl:attribute name="db:dummy" xmlns:db="http://docbook.org/ns/docbook">dummy</xsl:attribute>
|
28
|
-
<xsl:if test="not(@extension-element-prefixes)">
|
29
|
-
<xsl:attribute name="extension-element-prefixes">exslt</xsl:attribute>
|
30
|
-
</xsl:if>
|
31
|
-
<xsl:if test="not(@exclude-result-prefixes)">
|
32
|
-
<xsl:attribute name="exclude-result-prefixes">exslt</xsl:attribute>
|
33
|
-
</xsl:if>
|
34
|
-
<xsl:for-each select="@*">
|
35
|
-
<xsl:choose>
|
36
|
-
<xsl:when test="local-name(.) = 'extension-element-prefixes' or
|
37
|
-
local-name(.) = 'exclude-result-prefixes'">
|
38
|
-
<xsl:attribute name="{local-name(.)}"><xsl:value-of select="concat(., ' exslt')"/></xsl:attribute>
|
39
|
-
</xsl:when>
|
40
|
-
<xsl:otherwise>
|
41
|
-
<xsl:attribute name="{local-name(.)}"><xsl:value-of select="."/></xsl:attribute>
|
42
|
-
</xsl:otherwise>
|
43
|
-
</xsl:choose>
|
44
|
-
</xsl:for-each>
|
45
|
-
<xsl:apply-templates/>
|
46
|
-
</xsl:copy>
|
47
|
-
</xsl:template>
|
48
|
-
|
49
|
-
<xsl:template match="*">
|
50
|
-
<xsl:copy>
|
51
|
-
<xsl:copy-of select="@*"/>
|
52
|
-
<xsl:apply-templates/>
|
53
|
-
</xsl:copy>
|
54
|
-
</xsl:template>
|
55
|
-
|
56
|
-
<xsl:template match="comment()|processing-instruction()|text()">
|
57
|
-
<xsl:copy/>
|
58
|
-
</xsl:template>
|
59
|
-
|
60
|
-
<xsl:template match="xsl:template[@match='/']">
|
61
|
-
<xslo:include href="../profiling/profile-mode.xsl"/>
|
62
|
-
<xslo:variable name="profiled-content">
|
63
|
-
<xslo:choose>
|
64
|
-
<xslo:when test="*/self::ng:* or */self::db:*">
|
65
|
-
<xslo:message>Note: namesp. cut : stripped namespace before processing</xslo:message>
|
66
|
-
<xslo:variable name="stripped-content">
|
67
|
-
<xslo:apply-templates select="/" mode="stripNS"/>
|
68
|
-
</xslo:variable>
|
69
|
-
<xslo:message>Note: namesp. cut : processing stripped document</xslo:message>
|
70
|
-
<xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/>
|
71
|
-
</xslo:when>
|
72
|
-
<xslo:otherwise>
|
73
|
-
<xslo:apply-templates select="/" mode="profile"/>
|
74
|
-
</xslo:otherwise>
|
75
|
-
</xslo:choose>
|
76
|
-
</xslo:variable>
|
77
|
-
<xslo:variable name="profiled-nodes" select="exslt:node-set($profiled-content)"/>
|
78
|
-
<xsl:copy>
|
79
|
-
<xsl:copy-of select="@*"/>
|
80
|
-
<xsl:apply-templates mode="correct"/>
|
81
|
-
</xsl:copy>
|
82
|
-
</xsl:template>
|
83
|
-
|
84
|
-
<xsl:template match="xsl:template[@name='hhc-main' or @name='hhp-main' or @name='hhk' or @name='hh-map' or @name='hh-alias' or @name='etoc'] | xsl:variable[@name='raw.help.title']">
|
85
|
-
<xsl:copy>
|
86
|
-
<xsl:copy-of select="@*"/>
|
87
|
-
<xsl:apply-templates mode="correct"/>
|
88
|
-
</xsl:copy>
|
89
|
-
</xsl:template>
|
90
|
-
|
91
|
-
<xsl:template match="*[starts-with(@select, '/')]" mode="correct">
|
92
|
-
<xsl:copy>
|
93
|
-
<xsl:for-each select="@*">
|
94
|
-
<xsl:choose>
|
95
|
-
<xsl:when test="local-name(.) = 'select' and string(.) = '/'">
|
96
|
-
<xsl:attribute name="{local-name(.)}">$profiled-nodes</xsl:attribute>
|
97
|
-
</xsl:when>
|
98
|
-
<xsl:when test="local-name(.) = 'select' and starts-with(., '/')">
|
99
|
-
<xsl:attribute name="{local-name(.)}">$profiled-nodes<xsl:value-of select="."/></xsl:attribute>
|
100
|
-
</xsl:when>
|
101
|
-
<xsl:otherwise>
|
102
|
-
<xsl:attribute name="{local-name(.)}"><xsl:value-of select="."/></xsl:attribute>
|
103
|
-
</xsl:otherwise>
|
104
|
-
</xsl:choose>
|
105
|
-
</xsl:for-each>
|
106
|
-
<xsl:apply-templates mode="correct"/>
|
107
|
-
</xsl:copy>
|
108
|
-
</xsl:template>
|
109
|
-
|
110
|
-
<xsl:template match='*[contains(@*, "key('id',$rootid)")]' mode="correct" priority="2">
|
111
|
-
<xsl:copy>
|
112
|
-
<xsl:for-each select="@*">
|
113
|
-
<xsl:choose>
|
114
|
-
<xsl:when test='contains(., "key('id',$rootid)")'>
|
115
|
-
<xsl:attribute name="{local-name(.)}">
|
116
|
-
<xsl:call-template name="string.subst">
|
117
|
-
<xsl:with-param name="string" select="."/>
|
118
|
-
<xsl:with-param name="target">key('id',$rootid)</xsl:with-param>
|
119
|
-
<xsl:with-param name="replacement">$profiled-nodes//*[@id=$rootid]</xsl:with-param>
|
120
|
-
</xsl:call-template>
|
121
|
-
</xsl:attribute>
|
122
|
-
</xsl:when>
|
123
|
-
<xsl:otherwise>
|
124
|
-
<xsl:attribute name="{local-name(.)}"><xsl:value-of select="."/></xsl:attribute>
|
125
|
-
</xsl:otherwise>
|
126
|
-
</xsl:choose>
|
127
|
-
</xsl:for-each>
|
128
|
-
<xsl:apply-templates mode="correct"/>
|
129
|
-
</xsl:copy>
|
130
|
-
</xsl:template>
|
131
|
-
|
132
|
-
<!-- FO stylesheet has apply-templates without select, we must detect it by context -->
|
133
|
-
<xsl:template match="fo:root//xsl:apply-templates" mode="correct">
|
134
|
-
<xsl:copy>
|
135
|
-
<xsl:copy-of select="@*"/>
|
136
|
-
<xsl:attribute name="select">$profiled-nodes/node()</xsl:attribute>
|
137
|
-
<xsl:apply-templates mode="correct"/>
|
138
|
-
</xsl:copy>
|
139
|
-
</xsl:template>
|
140
|
-
|
141
|
-
<!-- DB5 namespace stripping is already done -->
|
142
|
-
<xsl:template match="xsl:when[contains(@test, 'self::db')]" mode="correct">
|
143
|
-
<xsl:copy>
|
144
|
-
<xsl:attribute name="test">false()</xsl:attribute>
|
145
|
-
</xsl:copy>
|
146
|
-
</xsl:template>
|
147
|
-
|
148
|
-
<xsl:template match="*" mode="correct">
|
149
|
-
<xsl:copy>
|
150
|
-
<xsl:copy-of select="@*"/>
|
151
|
-
<xsl:apply-templates mode="correct"/>
|
152
|
-
</xsl:copy>
|
153
|
-
</xsl:template>
|
154
|
-
|
155
|
-
<xsl:template match="comment()|processing-instruction()|text()" mode="correct">
|
156
|
-
<xsl:copy/>
|
157
|
-
</xsl:template>
|
158
|
-
|
159
|
-
</xsl:stylesheet>
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<group:root xmlns:group='http://www.explain.com.au/grouping'>
|
2
|
-
<bibliography styles='bibliography bibliography-title'>
|
3
|
-
<bibliodiv styles='bibliodiv bibliodiv-title'/>
|
4
|
-
</bibliography>
|
5
|
-
<glossary styles='glossary glossary-title'>
|
6
|
-
<glossdiv styles='glossdiv glossdiv-title'/>
|
7
|
-
</glossary>
|
8
|
-
<qandaset styles='qandaset qandaset-title'>
|
9
|
-
<qandadiv styles='qandadiv qandadiv-title'/>
|
10
|
-
</qandaset>
|
11
|
-
</group:root>
|
@@ -1,76 +0,0 @@
|
|
1
|
-
<!ENTITY components-extra ""> <!-- for customisation -->
|
2
|
-
<!ENTITY components "dbk:appendix |
|
3
|
-
dbk:article |
|
4
|
-
dbk:book |
|
5
|
-
dbk:chapter |
|
6
|
-
dbk:part |
|
7
|
-
dbk:preface |
|
8
|
-
dbk:section |
|
9
|
-
dbk:sect1 |
|
10
|
-
dbk:sect2 |
|
11
|
-
dbk:sect3 |
|
12
|
-
dbk:sect4 |
|
13
|
-
dbk:sect5
|
14
|
-
&components-extra;">
|
15
|
-
|
16
|
-
<!ENTITY blocks-extra ""> <!-- for customisation -->
|
17
|
-
<!ENTITY blocks "dbk:bibliography |
|
18
|
-
dbk:bibliodiv |
|
19
|
-
dbk:glossary |
|
20
|
-
dbk:glossdiv |
|
21
|
-
dbk:qandaset |
|
22
|
-
dbk:qandadiv
|
23
|
-
&blocks-extra;">
|
24
|
-
|
25
|
-
<!ENTITY metadata-extra ""> <!-- for customisation -->
|
26
|
-
<!ENTITY metadata-content 'contains(@rnd:style, "-title") or
|
27
|
-
contains(@rnd:style, "-subtitle") or
|
28
|
-
@rnd:style = "abstract" or
|
29
|
-
@rnd:style = "address" or
|
30
|
-
@rnd:style = "affiliation" or
|
31
|
-
@rnd:style = "author" or
|
32
|
-
@rnd:style = "biblioid" or
|
33
|
-
@rnd:style = "bibliomisc" or
|
34
|
-
@rnd:style = "bibliosource" or
|
35
|
-
@rnd:style = "contrib" or
|
36
|
-
@rnd:style = "date" or
|
37
|
-
@rnd:style = "edition" or
|
38
|
-
@rnd:style = "editor" or
|
39
|
-
@rnd:style = "email" or
|
40
|
-
@rnd:style = "issuenum" or
|
41
|
-
@rnd:style = "keyword" or
|
42
|
-
@rnd:style = "legalnotice" or
|
43
|
-
@rnd:style = "othercredit" or
|
44
|
-
@rnd:style = "pagenums" or
|
45
|
-
@rnd:style = "personblurb" or
|
46
|
-
@rnd:style = "pubdate" or
|
47
|
-
@rnd:style = "publisher" or
|
48
|
-
@rnd:style = "publisher-address" or
|
49
|
-
@rnd:style = "releaseinfo" or
|
50
|
-
@rnd:style = "revhistory" or
|
51
|
-
@rnd:style = "revision" or
|
52
|
-
@rnd:style = "volumenum"
|
53
|
-
&metadata-extra;'>
|
54
|
-
|
55
|
-
<!ENTITY author-extra ""> <!-- for customisation -->
|
56
|
-
<!ENTITY author-content '@rnd:style = "personblurb" or
|
57
|
-
@rnd:style = "address" or
|
58
|
-
@rnd:style = "affiliation" or
|
59
|
-
@rnd:style = "contrib" or
|
60
|
-
@rnd:style = "email"
|
61
|
-
&author-extra;'>
|
62
|
-
|
63
|
-
<!ENTITY admonition-extra ""> <!-- for customisation -->
|
64
|
-
<!ENTITY admonition '@rnd:style = "caution" or
|
65
|
-
@rnd:style = "important" or
|
66
|
-
@rnd:style = "note" or
|
67
|
-
@rnd:style = "tip" or
|
68
|
-
@rnd:style = "warning"
|
69
|
-
&admonition-extra;'>
|
70
|
-
<!ENTITY admonition-title-extra ""> <!-- for customisation -->
|
71
|
-
<!ENTITY admonition-title '@rnd:style = "caution-title" or
|
72
|
-
@rnd:style = "important-title" or
|
73
|
-
@rnd:style = "note-title" or
|
74
|
-
@rnd:style = "tip-title" or
|
75
|
-
@rnd:style = "warning-title"
|
76
|
-
&admonition-title-extra;'>
|
@@ -1,1734 +0,0 @@
|
|
1
|
-
<!DOCTYPE xsl:stylesheet [
|
2
|
-
<!-- External DTD defines entities:
|
3
|
-
components :- QNames of component-level elements
|
4
|
-
blocks :- QNames of block-level elements
|
5
|
-
metadata-content :- XPath expression matching metadata styles
|
6
|
-
author-content :- XPath expression matching author styles
|
7
|
-
admonition :- XPath expression matching admonition styles
|
8
|
-
admonition-title :- XPath expression matching admonition title styles
|
9
|
-
-->
|
10
|
-
<!ENTITY % ext SYSTEM "blocks2dbk.dtd">
|
11
|
-
%ext;
|
12
|
-
]>
|
13
|
-
<xsl:stylesheet exclude-result-prefixes="d"
|
14
|
-
version="1.0"
|
15
|
-
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
16
|
-
xmlns:d="http://docbook.org/ns/docbook"
|
17
|
-
xmlns:dbk='http://docbook.org/ns/docbook'
|
18
|
-
xmlns:rnd='http://docbook.org/ns/docbook/roundtrip'
|
19
|
-
xmlns:xlink='http://www.w3.org/1999/xlink'>
|
20
|
-
|
21
|
-
<!-- $Id: blocks2dbk.xsl 8137 2008-10-09 03:37:56Z balls $ -->
|
22
|
-
<!-- Stylesheet to convert word processing docs to DocBook -->
|
23
|
-
<!-- This stylesheet processes the output of sections2blocks.xsl -->
|
24
|
-
|
25
|
-
<xsl:output indent="yes" method="xml"
|
26
|
-
cdata-section-elements='dbk:programlisting dbk:literallayout'/>
|
27
|
-
|
28
|
-
<!-- ================================================== -->
|
29
|
-
<!-- Parameters -->
|
30
|
-
<!-- ================================================== -->
|
31
|
-
|
32
|
-
<xsl:param name='docbook5'>0</xsl:param>
|
33
|
-
<xsl:param name="nest.sections">1</xsl:param>
|
34
|
-
|
35
|
-
<xsl:strip-space elements='*'/>
|
36
|
-
<xsl:preserve-space elements='dbk:para dbk:emphasis'/>
|
37
|
-
|
38
|
-
<xsl:template match="&components; |
|
39
|
-
&blocks;">
|
40
|
-
<xsl:choose>
|
41
|
-
<xsl:when test='self::dbk:article and
|
42
|
-
count(dbk:book) = 1 and
|
43
|
-
count(dbk:info|dbk:book) <= 2'>
|
44
|
-
<xsl:apply-templates select='dbk:book'/>
|
45
|
-
</xsl:when>
|
46
|
-
<xsl:when test='self::dbk:article and
|
47
|
-
*[1][self::dbk:para] and
|
48
|
-
*[1]/@rnd:style != "article-title" and
|
49
|
-
contains(*[1]/@rnd:style, "-title")'>
|
50
|
-
<xsl:variable name='element-name'
|
51
|
-
select='substring-before(*[1]/@rnd:style, "-title")'/>
|
52
|
-
<xsl:element name='{$element-name}'
|
53
|
-
namespace='http://docbook.org/ns/docbook'>
|
54
|
-
<dbk:info>
|
55
|
-
<xsl:apply-templates select='*[1]'
|
56
|
-
mode='rnd:metadata'/>
|
57
|
-
</dbk:info>
|
58
|
-
<xsl:apply-templates/>
|
59
|
-
</xsl:element>
|
60
|
-
</xsl:when>
|
61
|
-
<xsl:otherwise>
|
62
|
-
<xsl:copy>
|
63
|
-
<xsl:call-template name='rnd:attributes'/>
|
64
|
-
|
65
|
-
<xsl:variable name='metadata'>
|
66
|
-
<xsl:apply-templates select='*[1]'
|
67
|
-
mode='rnd:metadata'/>
|
68
|
-
</xsl:variable>
|
69
|
-
<xsl:if test='$metadata'>
|
70
|
-
<dbk:info>
|
71
|
-
<xsl:copy-of select='$metadata'/>
|
72
|
-
</dbk:info>
|
73
|
-
</xsl:if>
|
74
|
-
|
75
|
-
<xsl:apply-templates/>
|
76
|
-
</xsl:copy>
|
77
|
-
</xsl:otherwise>
|
78
|
-
</xsl:choose>
|
79
|
-
</xsl:template>
|
80
|
-
|
81
|
-
<xsl:template match='dbk:book-component'>
|
82
|
-
<xsl:variable name='element-name'
|
83
|
-
select='substring-before(*[1]/@rnd:style, "-title")'/>
|
84
|
-
|
85
|
-
<xsl:element name='{$element-name}'
|
86
|
-
namespace='http://docbook.org/ns/docbook'>
|
87
|
-
<dbk:info>
|
88
|
-
<xsl:apply-templates select='*[1]'
|
89
|
-
mode='rnd:metadata'/>
|
90
|
-
</dbk:info>
|
91
|
-
<xsl:apply-templates/>
|
92
|
-
</xsl:element>
|
93
|
-
</xsl:template>
|
94
|
-
|
95
|
-
<xsl:template match="dbk:para" name='rnd:para'>
|
96
|
-
<!-- Some elements are normally suppressed,
|
97
|
-
since they are processed in a different context.
|
98
|
-
If this parameter is false then the element will be processed normally.
|
99
|
-
-->
|
100
|
-
<xsl:param name='suppress' select='true()'/>
|
101
|
-
|
102
|
-
<!-- This paragraph may be in a sidebar -->
|
103
|
-
<xsl:variable name='sidebar'
|
104
|
-
select='preceding-sibling::*[self::dbk:para and @rnd:style = "sidebar-title"][1]'/>
|
105
|
-
|
106
|
-
<!-- This paragraph may be in the textobject of a table or figure -->
|
107
|
-
<xsl:variable name='table'
|
108
|
-
select='preceding-sibling::dbk:informaltable[1]'/>
|
109
|
-
<xsl:variable name='figure'
|
110
|
-
select='preceding-sibling::dbk:para[@rnd:style = "informalfigure-imagedata" or (dbk:inlinemediaobject and count(*) = 1 and normalize-space(.) = "")][1]'/>
|
111
|
-
<xsl:variable name='caption'
|
112
|
-
select='following-sibling::dbk:para[@rnd:style = "d:caption" or @rnd:style = "Caption"]'/>
|
113
|
-
|
114
|
-
<xsl:choose>
|
115
|
-
<!-- continue style paragraphs are handled in context -->
|
116
|
-
<xsl:when test='$suppress and
|
117
|
-
@rnd:style = "para-continue"'/>
|
118
|
-
|
119
|
-
<!-- Certain elements gather the following paragraph -->
|
120
|
-
<xsl:when test='$suppress and
|
121
|
-
preceding-sibling::*[1][self::dbk:para and
|
122
|
-
@rnd:style = "example-title"]'/>
|
123
|
-
|
124
|
-
<xsl:when test='$suppress and
|
125
|
-
$sidebar and
|
126
|
-
not(preceding-sibling::dbk:para[(not(@rnd:style) or @rnd:style = "") and
|
127
|
-
preceding-sibling::*[preceding-sibling::*[generate-id() = generate-id($sidebar)]]])'/>
|
128
|
-
|
129
|
-
<!-- Separate processing is performed for table/figure titles and captions -->
|
130
|
-
<xsl:when test='$suppress and
|
131
|
-
@rnd:style = "table-title" and
|
132
|
-
following-sibling::*[1][self::dbk:informaltable|self::dbk:para[@rnd:style = "informalfigure-imagedata"]|self::dbk:para[dbk:inlinemediaobject and count(*) = 1 and normalize-space() = ""]]'/>
|
133
|
-
<xsl:when test='$suppress and
|
134
|
-
@rnd:style = "figure-title" and
|
135
|
-
following-sibling::*[1][self::dbk:para][@rnd:style = "informalfigure-imagedata" or (dbk:inlinemediaobject and count(*) = 1 and normalize-space(.) = "")]'/>
|
136
|
-
<xsl:when test='$suppress and
|
137
|
-
(@rnd:style = "d:caption" or @rnd:style = "Caption") and
|
138
|
-
(preceding-sibling::*[self::dbk:informaltable] or
|
139
|
-
preceding-sibling::*[self::dbk:para][@rnd:style = "informalfigure-imagedata" or (dbk:inlinemediaobject and count(*) = 1 and normalize-space(.) = "")])'/>
|
140
|
-
|
141
|
-
<xsl:when test='$suppress and
|
142
|
-
$table and
|
143
|
-
$caption and
|
144
|
-
generate-id($caption/preceding-sibling::dbk:informaltable[1]) = generate-id($table)'/>
|
145
|
-
<xsl:when test='$suppress and
|
146
|
-
$figure and
|
147
|
-
$caption and
|
148
|
-
generate-id($caption/preceding-sibling::dbk:para[@rnd:style = "informalfigure-imagedata" or (dbk:inlinemediaobject and count(*) = 1 and normalize-space(.) = "")][1]) = generate-id($figure)'/>
|
149
|
-
|
150
|
-
<xsl:when test='@rnd:style = "imagedata-metadata" or
|
151
|
-
@rnd:style = "table-metadata"'/>
|
152
|
-
|
153
|
-
<!-- Ignore empty paragraphs -->
|
154
|
-
<xsl:when test='(not(@rnd:style) or
|
155
|
-
@rnd:style = "") and
|
156
|
-
normalize-space(.) = "" and
|
157
|
-
not(*)'/>
|
158
|
-
|
159
|
-
<!-- Image inline or block? -->
|
160
|
-
<xsl:when test='(not(@rnd:style) or
|
161
|
-
@rnd:style = "") and
|
162
|
-
normalize-space(.) = "" and
|
163
|
-
count(*) = 1 and
|
164
|
-
dbk:inlinemediaobject'>
|
165
|
-
<xsl:apply-templates/>
|
166
|
-
</xsl:when>
|
167
|
-
<xsl:when test='not(@rnd:style) or
|
168
|
-
@rnd:style = "" or
|
169
|
-
@rnd:style = "para-continue"'>
|
170
|
-
<dbk:para>
|
171
|
-
<xsl:call-template name='rnd:attributes'/>
|
172
|
-
<xsl:apply-templates/>
|
173
|
-
</dbk:para>
|
174
|
-
</xsl:when>
|
175
|
-
|
176
|
-
<xsl:when test='@rnd:style = "d:xinclude"'
|
177
|
-
xmlns:xi='http://www.w3.org/2001/XInclude'>
|
178
|
-
<xi:include>
|
179
|
-
<xsl:attribute name='href'>
|
180
|
-
<xsl:apply-templates mode='rnd:xinclude'/>
|
181
|
-
</xsl:attribute>
|
182
|
-
</xi:include>
|
183
|
-
</xsl:when>
|
184
|
-
|
185
|
-
<xsl:when test='$suppress and
|
186
|
-
preceding-sibling::*[1]/self::dbk:para[&admonition-title;]'/>
|
187
|
-
<xsl:when test='&admonition-title;'>
|
188
|
-
<xsl:element name='{substring-before(@rnd:style, "-title")}'
|
189
|
-
namespace='http://docbook.org/ns/docbook'>
|
190
|
-
<xsl:call-template name='rnd:attributes'/>
|
191
|
-
<dbk:title>
|
192
|
-
<xsl:apply-templates/>
|
193
|
-
</dbk:title>
|
194
|
-
<xsl:apply-templates select='following-sibling::*[1]'>
|
195
|
-
<xsl:with-param name='suppress' select='false()'/>
|
196
|
-
</xsl:apply-templates>
|
197
|
-
<xsl:apply-templates select='following-sibling::*[2]'
|
198
|
-
mode='rnd:continue'/>
|
199
|
-
</xsl:element>
|
200
|
-
</xsl:when>
|
201
|
-
|
202
|
-
<xsl:when test='starts-with(@rnd:style, "d:itemizedlist") or
|
203
|
-
starts-with(@rnd:style, "d:orderedlist")'>
|
204
|
-
|
205
|
-
<xsl:variable name='stop.node'
|
206
|
-
select='following-sibling::dbk:para[not(@rnd:style) or
|
207
|
-
(not(starts-with(@rnd:style, "d:itemizedlist") or starts-with(@rnd:style, "d:orderedlist")) and @rnd:style != "para-continue")][1]'/>
|
208
|
-
|
209
|
-
<xsl:choose>
|
210
|
-
<xsl:when test='translate(substring-after(@rnd:style, "d:list"), "0123456789", "") != "" or
|
211
|
-
substring-after(@rnd:style, "d:list") = ""'>
|
212
|
-
<xsl:call-template name='rnd:error'>
|
213
|
-
<xsl:with-param name='code' select='"list-bad-level"'/>
|
214
|
-
<xsl:with-param name='message'>style "<xsl:value-of select='@rnd:style'/>" is not a valid list style</xsl:with-param>
|
215
|
-
</xsl:call-template>
|
216
|
-
</xsl:when>
|
217
|
-
|
218
|
-
<!-- TODO: the previous para-continue may not be associated with a list -->
|
219
|
-
|
220
|
-
<!-- NB. Look back at the previous paragraph. There may be intervening tables or images. -->
|
221
|
-
<xsl:when test='preceding-sibling::dbk:para[1][starts-with(@rnd:style, "d:itemizedlist") or starts-with(@rnd:style, "d:orderedlist") or @rnd:style = "para-continue"]'/>
|
222
|
-
<xsl:when test='substring-after(@rnd:style, "d:list") != 1'>
|
223
|
-
<xsl:call-template name='rnd:error'>
|
224
|
-
<xsl:with-param name='code'>list-wrong-level</xsl:with-param>
|
225
|
-
<xsl:with-param name='message'>list started at the wrong level</xsl:with-param>
|
226
|
-
</xsl:call-template>
|
227
|
-
</xsl:when>
|
228
|
-
<xsl:when test='$stop.node'>
|
229
|
-
<xsl:element name='{substring-before(@rnd:style, "1")}'
|
230
|
-
namespace='http://docbook.org/ns/docbook'>
|
231
|
-
<xsl:apply-templates select='.|following-sibling::dbk:para[@rnd:style = current()/@rnd:style][following-sibling::*[generate-id() = generate-id($stop.node)]]'
|
232
|
-
mode='rnd:listitem'/>
|
233
|
-
</xsl:element>
|
234
|
-
</xsl:when>
|
235
|
-
<xsl:otherwise>
|
236
|
-
<xsl:element name='{substring-before(@rnd:style, "1")}'
|
237
|
-
namespace='http://docbook.org/ns/docbook'>
|
238
|
-
<xsl:apply-templates select='.|following-sibling::dbk:para[@rnd:style = current()/@rnd:style]'
|
239
|
-
mode='rnd:listitem'/>
|
240
|
-
</xsl:element>
|
241
|
-
</xsl:otherwise>
|
242
|
-
</xsl:choose>
|
243
|
-
</xsl:when>
|
244
|
-
|
245
|
-
<xsl:when test='@rnd:style = "d:programlisting" and
|
246
|
-
preceding-sibling::*[1][self::dbk:para and @rnd:style = "d:programlisting"]'/>
|
247
|
-
<xsl:when test='@rnd:style = "d:literallayout" and
|
248
|
-
preceding-sibling::*[1][self::dbk:para and @rnd:style = "d:literallayout"]'/>
|
249
|
-
<xsl:when test='@rnd:style = "d:programlisting" or
|
250
|
-
@rnd:style = "d:literallayout"'>
|
251
|
-
|
252
|
-
<xsl:variable name='stop.node'
|
253
|
-
select='following-sibling::dbk:para[@rnd:style != current()/@rnd:style][1]'/>
|
254
|
-
|
255
|
-
<xsl:element name='{@rnd:style}'
|
256
|
-
namespace='http://docbook.org/ns/docbook'>
|
257
|
-
<xsl:apply-templates/>
|
258
|
-
|
259
|
-
<xsl:choose>
|
260
|
-
<xsl:when test='$stop.node'>
|
261
|
-
<xsl:apply-templates select='following-sibling::dbk:para[following-sibling::*[generate-id() = generate-id($stop.node)]]'
|
262
|
-
mode='rnd:programlisting'/>
|
263
|
-
</xsl:when>
|
264
|
-
<xsl:otherwise>
|
265
|
-
<xsl:apply-templates select='following-sibling::dbk:para'
|
266
|
-
mode='rnd:programlisting'/>
|
267
|
-
</xsl:otherwise>
|
268
|
-
</xsl:choose>
|
269
|
-
</xsl:element>
|
270
|
-
</xsl:when>
|
271
|
-
|
272
|
-
<xsl:when test='@rnd:style = "example-title"'>
|
273
|
-
<xsl:element name='{substring-before(@rnd:style, "-title")}'
|
274
|
-
namespace='http://docbook.org/ns/docbook'>
|
275
|
-
<xsl:call-template name='rnd:attributes'/>
|
276
|
-
<dbk:title>
|
277
|
-
<xsl:apply-templates/>
|
278
|
-
</dbk:title>
|
279
|
-
|
280
|
-
<xsl:apply-templates select='following-sibling::*[1]'>
|
281
|
-
<xsl:with-param name='suppress' select='false()'/>
|
282
|
-
</xsl:apply-templates>
|
283
|
-
</xsl:element>
|
284
|
-
</xsl:when>
|
285
|
-
|
286
|
-
<xsl:when test='@rnd:style = "sidebar-title"'>
|
287
|
-
<!-- TODO: next sidebar should stop this sidebar -->
|
288
|
-
<xsl:variable name='stop.node'
|
289
|
-
select='following-sibling::dbk:para[(not(@rnd:style) or @rnd:style = "") and
|
290
|
-
normalize-space(.) = ""][1]'/>
|
291
|
-
|
292
|
-
<dbk:sidebar>
|
293
|
-
<xsl:call-template name='rnd:attributes'/>
|
294
|
-
<dbk:info>
|
295
|
-
<dbk:title>
|
296
|
-
<xsl:apply-templates/>
|
297
|
-
</dbk:title>
|
298
|
-
</dbk:info>
|
299
|
-
|
300
|
-
<xsl:choose>
|
301
|
-
<xsl:when test='$stop.node'>
|
302
|
-
<xsl:apply-templates select='following-sibling::*[following-sibling::*[generate-id() = generate-id($stop.node)]]'
|
303
|
-
mode='rnd:sidebar'/>
|
304
|
-
</xsl:when>
|
305
|
-
<xsl:otherwise>
|
306
|
-
<xsl:apply-templates select='following-sibling::*'
|
307
|
-
mode='rnd:sidebar'/>
|
308
|
-
</xsl:otherwise>
|
309
|
-
</xsl:choose>
|
310
|
-
</dbk:sidebar>
|
311
|
-
</xsl:when>
|
312
|
-
|
313
|
-
<xsl:when test='&admonition;'>
|
314
|
-
<xsl:element name='{@rnd:style}'
|
315
|
-
namespace='http://docbook.org/ns/docbook'>
|
316
|
-
<xsl:call-template name='rnd:attributes'/>
|
317
|
-
<dbk:para>
|
318
|
-
<xsl:apply-templates/>
|
319
|
-
</dbk:para>
|
320
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
321
|
-
mode='rnd:continue'/>
|
322
|
-
</xsl:element>
|
323
|
-
</xsl:when>
|
324
|
-
|
325
|
-
<!-- TODO: make sure this is in a bibliography.
|
326
|
-
If not, create a bibliolist.
|
327
|
-
-->
|
328
|
-
<xsl:when test='@rnd:style = "d:bibliomixed"'>
|
329
|
-
<dbk:bibliomixed>
|
330
|
-
<xsl:call-template name='rnd:attributes'/>
|
331
|
-
<xsl:apply-templates/>
|
332
|
-
</dbk:bibliomixed>
|
333
|
-
</xsl:when>
|
334
|
-
<xsl:when test='@rnd:style = "biblioentry-title"'>
|
335
|
-
<dbk:biblioentry>
|
336
|
-
<xsl:call-template name='rnd:attributes'/>
|
337
|
-
<dbk:title>
|
338
|
-
<xsl:apply-templates/>
|
339
|
-
</dbk:title>
|
340
|
-
<xsl:if test='following-sibling::*[1][&metadata-content;]'>
|
341
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
342
|
-
mode='rnd:metadata'/>
|
343
|
-
</xsl:if>
|
344
|
-
</dbk:biblioentry>
|
345
|
-
</xsl:when>
|
346
|
-
|
347
|
-
<xsl:when test='@rnd:style = "blockquote-attribution" and
|
348
|
-
preceding-sibling::*[1][self::dbk:para][@rnd:style = "blockquote-title" or @rnd:style = "d:blockquote"]'/>
|
349
|
-
<xsl:when test='@rnd:style = "blockquote-attribution"'>
|
350
|
-
<xsl:call-template name='rnd:error'>
|
351
|
-
<xsl:with-param name='code'>improper-blockquote-attribution</xsl:with-param>
|
352
|
-
<xsl:with-param name='message'>blockquote attribution must follow a blockquote title</xsl:with-param>
|
353
|
-
</xsl:call-template>
|
354
|
-
</xsl:when>
|
355
|
-
<xsl:when test='@rnd:style = "d:blockquote" or
|
356
|
-
@rnd:style = "blockquote-title"'>
|
357
|
-
<xsl:choose>
|
358
|
-
<xsl:when test='@rnd:style = "d:blockquote" and
|
359
|
-
preceding-sibling::*[1][self::dbk:para][starts-with(@rnd:style, "d:blockquote")]'/>
|
360
|
-
<xsl:otherwise>
|
361
|
-
|
362
|
-
<xsl:variable name='stop.node'
|
363
|
-
select='following-sibling::*[not(@rnd:style = "d:blockquote" or
|
364
|
-
@rnd:style = "blockquote-attribution")][1]'/>
|
365
|
-
|
366
|
-
<dbk:blockquote>
|
367
|
-
<xsl:call-template name='rnd:attributes'/>
|
368
|
-
<xsl:if test='@rnd:style = "blockquote-title"'>
|
369
|
-
<dbk:info>
|
370
|
-
<dbk:title>
|
371
|
-
<xsl:apply-templates/>
|
372
|
-
</dbk:title>
|
373
|
-
</dbk:info>
|
374
|
-
</xsl:if>
|
375
|
-
<xsl:choose>
|
376
|
-
<xsl:when test='$stop.node'>
|
377
|
-
<xsl:apply-templates select='following-sibling::*[following-sibling::*[generate-id() = generate-id($stop.node)]][@rnd:style = "blockquote-attribution"]' mode='rnd:blockquote-attribution'/>
|
378
|
-
<xsl:apply-templates select='self::*[@rnd:style = "d:blockquote"] |
|
379
|
-
following-sibling::*[following-sibling::*[generate-id() = generate-id($stop.node)]]'
|
380
|
-
mode='rnd:blockquote'/>
|
381
|
-
</xsl:when>
|
382
|
-
<xsl:otherwise>
|
383
|
-
<xsl:apply-templates select='following-sibling::*[@rnd:style = "blockquote-attribution"]' mode='rnd:blockquote-attribution'/>
|
384
|
-
<xsl:apply-templates select='self::*[@rnd:style = "d:blockquote"] |
|
385
|
-
following-sibling::*'
|
386
|
-
mode='rnd:blockquote'/>
|
387
|
-
</xsl:otherwise>
|
388
|
-
</xsl:choose>
|
389
|
-
</dbk:blockquote>
|
390
|
-
</xsl:otherwise>
|
391
|
-
</xsl:choose>
|
392
|
-
</xsl:when>
|
393
|
-
|
394
|
-
<xsl:when test='@rnd:style = "d:bridgehead"'>
|
395
|
-
<xsl:element name='{@rnd:style}'
|
396
|
-
namespace='http://docbook.org/ns/docbook'>
|
397
|
-
<xsl:call-template name='rnd:attributes'/>
|
398
|
-
<xsl:apply-templates/>
|
399
|
-
</xsl:element>
|
400
|
-
</xsl:when>
|
401
|
-
|
402
|
-
<xsl:when test='@rnd:style = "formalpara-title"'>
|
403
|
-
<dbk:formalpara>
|
404
|
-
<dbk:title>
|
405
|
-
<xsl:call-template name='rnd:attributes'/>
|
406
|
-
<xsl:apply-templates/>
|
407
|
-
</dbk:title>
|
408
|
-
<xsl:choose>
|
409
|
-
<xsl:when test='following-sibling::*[1][self::dbk:para][@rnd:style = "d:formalpara"]'>
|
410
|
-
<dbk:para>
|
411
|
-
<xsl:call-template name='rnd:attributes'>
|
412
|
-
<xsl:with-param name='node'
|
413
|
-
select='following-sibling::*[1]'/>
|
414
|
-
</xsl:call-template>
|
415
|
-
<xsl:apply-templates select='following-sibling::*[1]/node()'/>
|
416
|
-
</dbk:para>
|
417
|
-
</xsl:when>
|
418
|
-
</xsl:choose>
|
419
|
-
</dbk:formalpara>
|
420
|
-
</xsl:when>
|
421
|
-
<xsl:when test='@rnd:style = "d:formalpara" and
|
422
|
-
preceding-sibling::*[1][self::dbk:para][@rnd:style = "formalpara-title"]'/>
|
423
|
-
<xsl:when test='@rnd:style = "d:formalpara"'>
|
424
|
-
<xsl:call-template name='rnd:error'>
|
425
|
-
<xsl:with-param name='code'>formalpara-notitle</xsl:with-param>
|
426
|
-
<xsl:with-param name='message'>formalpara used without a title</xsl:with-param>
|
427
|
-
</xsl:call-template>
|
428
|
-
</xsl:when>
|
429
|
-
|
430
|
-
<xsl:when test='@rnd:style = "informalfigure-imagedata"'>
|
431
|
-
<xsl:variable name='caption.next'
|
432
|
-
select='following-sibling::dbk:para[@rnd:style = "d:caption" or @rnd:style = "Caption"][1]'/>
|
433
|
-
|
434
|
-
<xsl:variable name='metadata'
|
435
|
-
select='preceding-sibling::*[1][self::dbk:para][@rnd:style = "imagedata-metadata"]'/>
|
436
|
-
|
437
|
-
<xsl:choose>
|
438
|
-
<xsl:when test='preceding-sibling::*[1][self::dbk:para][@rnd:style = "figure-title"] or
|
439
|
-
($metadata and preceding-sibling::*[2][self::dbk:para][@rnd:style = "figure-title"])'>
|
440
|
-
<dbk:figure>
|
441
|
-
<xsl:call-template name='rnd:attributes'/>
|
442
|
-
<dbk:info>
|
443
|
-
<dbk:title>
|
444
|
-
<xsl:choose>
|
445
|
-
<xsl:when test='$metadata'>
|
446
|
-
<xsl:apply-templates
|
447
|
-
select='preceding-sibling::*[2]/node()'/>
|
448
|
-
</xsl:when>
|
449
|
-
<xsl:otherwise>
|
450
|
-
<xsl:apply-templates
|
451
|
-
select='preceding-sibling::*[1]/node()'/>
|
452
|
-
</xsl:otherwise>
|
453
|
-
</xsl:choose>
|
454
|
-
</dbk:title>
|
455
|
-
</dbk:info>
|
456
|
-
<dbk:mediaobject>
|
457
|
-
<dbk:imageobject>
|
458
|
-
<dbk:imagedata>
|
459
|
-
<xsl:attribute name='fileref'>
|
460
|
-
<xsl:choose>
|
461
|
-
<xsl:when test='dbk:inlinemediaobject/dbk:imageobject/dbk:imagedata/@fileref != ""'>
|
462
|
-
<xsl:value-of select='dbk:inlinemediaobject/dbk:imageobject/dbk:imagedata/@fileref'/>
|
463
|
-
</xsl:when>
|
464
|
-
<xsl:otherwise>
|
465
|
-
<xsl:value-of select='.'/>
|
466
|
-
</xsl:otherwise>
|
467
|
-
</xsl:choose>
|
468
|
-
</xsl:attribute>
|
469
|
-
<xsl:call-template name='rnd:imagedata-attributes'>
|
470
|
-
<xsl:with-param name='metadata' select='$metadata'/>
|
471
|
-
</xsl:call-template>
|
472
|
-
</dbk:imagedata>
|
473
|
-
</dbk:imageobject>
|
474
|
-
</dbk:mediaobject>
|
475
|
-
<xsl:call-template name='rnd:figure-text-caption'>
|
476
|
-
<xsl:with-param name='caption' select='$caption.next'/>
|
477
|
-
</xsl:call-template>
|
478
|
-
</dbk:figure>
|
479
|
-
</xsl:when>
|
480
|
-
<xsl:when test='preceding-sibling::*[1][self::dbk:para][@rnd:style = "table-title"] or
|
481
|
-
($metadata and preceding-sibling::*[2][self::dbk:para][@rnd:style = "table-title"])'>
|
482
|
-
<dbk:table>
|
483
|
-
<xsl:call-template name='rnd:attributes'/>
|
484
|
-
<dbk:info>
|
485
|
-
<dbk:title>
|
486
|
-
<xsl:choose>
|
487
|
-
<xsl:when test='$metadata'>
|
488
|
-
<xsl:apply-templates
|
489
|
-
select='preceding-sibling::*[2]/node()'/>
|
490
|
-
</xsl:when>
|
491
|
-
<xsl:otherwise>
|
492
|
-
<xsl:apply-templates
|
493
|
-
select='preceding-sibling::*[1]/node()'/>
|
494
|
-
</xsl:otherwise>
|
495
|
-
</xsl:choose>
|
496
|
-
</dbk:title>
|
497
|
-
</dbk:info>
|
498
|
-
|
499
|
-
<dbk:mediaobject>
|
500
|
-
<dbk:imageobject>
|
501
|
-
<dbk:imagedata>
|
502
|
-
<xsl:attribute name='fileref'>
|
503
|
-
<xsl:choose>
|
504
|
-
<xsl:when test='dbk:inlinemediaobject/dbk:imageobject/dbk:imagedata/@fileref != ""'>
|
505
|
-
<xsl:value-of select='dbk:inlinemediaobject/dbk:imageobject/dbk:imagedata/@fileref'/>
|
506
|
-
</xsl:when>
|
507
|
-
<xsl:otherwise>
|
508
|
-
<xsl:value-of select='.'/>
|
509
|
-
</xsl:otherwise>
|
510
|
-
</xsl:choose>
|
511
|
-
</xsl:attribute>
|
512
|
-
<xsl:call-template name='rnd:imagedata-attributes'>
|
513
|
-
<xsl:with-param name='metadata' select='$metadata'/>
|
514
|
-
</xsl:call-template>
|
515
|
-
</dbk:imagedata>
|
516
|
-
</dbk:imageobject>
|
517
|
-
</dbk:mediaobject>
|
518
|
-
<xsl:call-template name='rnd:figure-text-caption'>
|
519
|
-
<xsl:with-param name='caption' select='$caption.next'/>
|
520
|
-
</xsl:call-template>
|
521
|
-
</dbk:table>
|
522
|
-
</xsl:when>
|
523
|
-
<xsl:otherwise>
|
524
|
-
<dbk:informalfigure>
|
525
|
-
<xsl:call-template name='rnd:attributes'/>
|
526
|
-
<dbk:mediaobject>
|
527
|
-
<dbk:imageobject>
|
528
|
-
<dbk:imagedata>
|
529
|
-
<xsl:attribute name='fileref'>
|
530
|
-
<xsl:choose>
|
531
|
-
<xsl:when test='dbk:inlinemediaobject/dbk:imageobject/dbk:imagedata/@fileref != ""'>
|
532
|
-
<xsl:value-of select='dbk:inlinemediaobject/dbk:imageobject/dbk:imagedata/@fileref'/>
|
533
|
-
</xsl:when>
|
534
|
-
<xsl:otherwise>
|
535
|
-
<xsl:value-of select='.'/>
|
536
|
-
</xsl:otherwise>
|
537
|
-
</xsl:choose>
|
538
|
-
</xsl:attribute>
|
539
|
-
<xsl:call-template name='rnd:imagedata-attributes'>
|
540
|
-
<xsl:with-param name='metadata' select='$metadata'/>
|
541
|
-
</xsl:call-template>
|
542
|
-
</dbk:imagedata>
|
543
|
-
</dbk:imageobject>
|
544
|
-
</dbk:mediaobject>
|
545
|
-
<xsl:call-template name='rnd:figure-text-caption'>
|
546
|
-
<xsl:with-param name='caption' select='$caption.next'/>
|
547
|
-
</xsl:call-template>
|
548
|
-
</dbk:informalfigure>
|
549
|
-
</xsl:otherwise>
|
550
|
-
</xsl:choose>
|
551
|
-
</xsl:when>
|
552
|
-
|
553
|
-
<xsl:when test='(@rnd:style = "d:caption" or @rnd:style = "Caption") and
|
554
|
-
preceding-sibling::*[(self::dbk:para and contains(@rnd:style, "d:imagedata")) or self::dbk:informaltable]'/>
|
555
|
-
<xsl:when test='@rnd:style = "d:caption" or @rnd:style = "Caption"'>
|
556
|
-
<xsl:call-template name='rnd:error'>
|
557
|
-
<xsl:with-param name='code'>bad-caption</xsl:with-param>
|
558
|
-
<xsl:with-param name='message'>caption does not follow table or figure</xsl:with-param>
|
559
|
-
</xsl:call-template>
|
560
|
-
</xsl:when>
|
561
|
-
|
562
|
-
<xsl:when test='(contains(@rnd:style, "-title") or
|
563
|
-
contains(@rnd:style, "-titleabbrev") or
|
564
|
-
contains(@rnd:style, "-subtitle")) and
|
565
|
-
not(starts-with(@rnd:style, "d:blockquote") or starts-with(@rnd:style, "d:formal"))'>
|
566
|
-
<!-- TODO: check that no non-metadata elements occur before this paragraph -->
|
567
|
-
</xsl:when>
|
568
|
-
|
569
|
-
<!-- Metadata elements are handled in rnd:metadata mode -->
|
570
|
-
<!-- TODO: check that no non-metadata elements occur before this paragraph -->
|
571
|
-
<xsl:when test='&metadata-content;'/>
|
572
|
-
|
573
|
-
<xsl:otherwise>
|
574
|
-
<xsl:call-template name='rnd:error'>
|
575
|
-
<xsl:with-param name='code'>unknown-style</xsl:with-param>
|
576
|
-
<xsl:with-param name='message'>unknown paragraph style "<xsl:value-of select='@rnd:style'/>" encountered</xsl:with-param>
|
577
|
-
</xsl:call-template>
|
578
|
-
</xsl:otherwise>
|
579
|
-
</xsl:choose>
|
580
|
-
</xsl:template>
|
581
|
-
|
582
|
-
<!-- Determine if the caption belongs to the current figure.
|
583
|
-
If so, then process the textobject content and the caption.
|
584
|
-
-->
|
585
|
-
<xsl:template name='rnd:figure-text-caption'>
|
586
|
-
<xsl:param name='caption' select='/..'/>
|
587
|
-
|
588
|
-
<xsl:variable name='textobjs'
|
589
|
-
select='following-sibling::*[following-sibling::*[generate-id() = generate-id($caption)]]'/>
|
590
|
-
|
591
|
-
<xsl:choose>
|
592
|
-
<xsl:when test='not($caption)'/> <!-- nothing to do -->
|
593
|
-
<xsl:when test='$textobjs[self::dbk:informaltable |
|
594
|
-
self::dbk:inlinemediaobject |
|
595
|
-
self::dbk:para[@rnd:style = "informalfigure-imagedata" or
|
596
|
-
@rnd:style = "mediaobject-imagedata"]]'/> <!-- caption belongs to something else -->
|
597
|
-
<xsl:otherwise>
|
598
|
-
<xsl:apply-templates select='$textobjs' mode='rnd:textobject'/>
|
599
|
-
|
600
|
-
<xsl:apply-templates select='$caption' mode='rnd:caption'/>
|
601
|
-
</xsl:otherwise>
|
602
|
-
</xsl:choose>
|
603
|
-
</xsl:template>
|
604
|
-
|
605
|
-
<xsl:template match='dbk:para' mode='rnd:caption'>
|
606
|
-
<dbk:caption>
|
607
|
-
<xsl:call-template name='rnd:attributes'/>
|
608
|
-
<xsl:apply-templates/>
|
609
|
-
</dbk:caption>
|
610
|
-
</xsl:template>
|
611
|
-
|
612
|
-
<xsl:template name='rnd:imagedata-attributes'>
|
613
|
-
<xsl:param name='metadata' select='""'/>
|
614
|
-
|
615
|
-
<xsl:choose>
|
616
|
-
<xsl:when test='not($metadata)'/>
|
617
|
-
<xsl:when test='contains($metadata, " ")'>
|
618
|
-
<xsl:call-template name='rnd:imagedata-attributes'>
|
619
|
-
<xsl:with-param name='metadata'
|
620
|
-
select='substring-before($metadata, " ")'/>
|
621
|
-
</xsl:call-template>
|
622
|
-
<xsl:call-template name='rnd:imagedata-attributes'>
|
623
|
-
<xsl:with-param name='metadata'
|
624
|
-
select='substring-after($metadata, " ")'/>
|
625
|
-
</xsl:call-template>
|
626
|
-
</xsl:when>
|
627
|
-
<xsl:when test='not(contains($metadata, "="))'>
|
628
|
-
<xsl:call-template name='rnd:warning'>
|
629
|
-
<xsl:with-param name='code' select='"imagedata-missing-value"'/>
|
630
|
-
<xsl:with-param name='message'>
|
631
|
-
<xsl:text>imagedata-metadata missing value for attribute "</xsl:text>
|
632
|
-
<xsl:value-of select='$metadata'/>
|
633
|
-
<xsl:text>"</xsl:text>
|
634
|
-
</xsl:with-param>
|
635
|
-
</xsl:call-template>
|
636
|
-
</xsl:when>
|
637
|
-
<xsl:otherwise>
|
638
|
-
<xsl:variable name='name'
|
639
|
-
select='translate(normalize-space(substring-before($metadata, "=")), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "d:abcdefghijklmnopqrstuvwxyz")'/>
|
640
|
-
<xsl:variable name='value'
|
641
|
-
select='translate(normalize-space(substring-after($metadata, "=")), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "d:abcdefghijklmnopqrstuvwxyz")'/>
|
642
|
-
|
643
|
-
<xsl:choose>
|
644
|
-
<xsl:when test='$name = "d:scalefit"'>
|
645
|
-
<xsl:attribute name='scalefit'>
|
646
|
-
<xsl:choose>
|
647
|
-
<xsl:when test='$value = "1" or
|
648
|
-
$value = "d:yes" or
|
649
|
-
$value = "d:true"'>1</xsl:when>
|
650
|
-
<xsl:otherwise>0</xsl:otherwise>
|
651
|
-
</xsl:choose>
|
652
|
-
</xsl:attribute>
|
653
|
-
</xsl:when>
|
654
|
-
<xsl:when test='$name = "d:align" or
|
655
|
-
$name = "d:contentdepth" or
|
656
|
-
$name = "d:contentwidth" or
|
657
|
-
$name = "d:depth" or
|
658
|
-
$name = "d:scale" or
|
659
|
-
$name = "d:valign" or
|
660
|
-
$name = "d:width"'>
|
661
|
-
<!-- TODO: check enumerate values-->
|
662
|
-
<xsl:attribute name='{$name}'>
|
663
|
-
<xsl:value-of select='$value'/>
|
664
|
-
</xsl:attribute>
|
665
|
-
</xsl:when>
|
666
|
-
<xsl:otherwise>
|
667
|
-
<xsl:call-template name='rnd:error'>
|
668
|
-
<xsl:with-param name='code' select='"imagedata-unknown-attribute"'/>
|
669
|
-
<xsl:with-param name='message'>
|
670
|
-
<xsl:text>imagedata-metadata unknown attribute "</xsl:text>
|
671
|
-
<xsl:value-of select='$name'/>
|
672
|
-
<xsl:text>"</xsl:text>
|
673
|
-
</xsl:with-param>
|
674
|
-
</xsl:call-template>
|
675
|
-
</xsl:otherwise>
|
676
|
-
</xsl:choose>
|
677
|
-
</xsl:otherwise>
|
678
|
-
</xsl:choose>
|
679
|
-
</xsl:template>
|
680
|
-
|
681
|
-
<xsl:template match='dbk:emphasis'>
|
682
|
-
<xsl:choose>
|
683
|
-
<xsl:when test='not(@rnd:style) and @role = "italic"'>
|
684
|
-
<xsl:copy>
|
685
|
-
<xsl:apply-templates mode='rnd:copy'/>
|
686
|
-
</xsl:copy>
|
687
|
-
</xsl:when>
|
688
|
-
<xsl:when test='not(@rnd:style) or @role'>
|
689
|
-
<xsl:copy>
|
690
|
-
<xsl:call-template name='rnd:attributes'/>
|
691
|
-
<xsl:apply-templates mode='rnd:copy'/>
|
692
|
-
</xsl:copy>
|
693
|
-
</xsl:when>
|
694
|
-
|
695
|
-
<xsl:when test='@rnd:style = preceding-sibling::node()[1][self::dbk:emphasis]/@rnd:style'/>
|
696
|
-
|
697
|
-
<xsl:when test='@rnd:style = "d:emphasis"'>
|
698
|
-
<xsl:copy>
|
699
|
-
<xsl:call-template name='rnd:attributes'/>
|
700
|
-
<xsl:apply-templates mode='rnd:copy'/>
|
701
|
-
<xsl:apply-templates select='following-sibling::node()[1]'
|
702
|
-
mode='rnd:emphasis'/>
|
703
|
-
</xsl:copy>
|
704
|
-
</xsl:when>
|
705
|
-
<xsl:when test='@rnd:style = "emphasis-bold" or
|
706
|
-
@rnd:style = "emphasis-strong"'>
|
707
|
-
<xsl:copy>
|
708
|
-
<xsl:attribute name='role'>bold</xsl:attribute>
|
709
|
-
<xsl:call-template name='rnd:attributes'/>
|
710
|
-
<xsl:apply-templates mode='rnd:copy'/>
|
711
|
-
<xsl:apply-templates select='following-sibling::node()[1]'
|
712
|
-
mode='rnd:emphasis'/>
|
713
|
-
</xsl:copy>
|
714
|
-
</xsl:when>
|
715
|
-
<xsl:when test='@rnd:style = "emphasis-underline"'>
|
716
|
-
<xsl:copy>
|
717
|
-
<xsl:attribute name='role'>underline</xsl:attribute>
|
718
|
-
<xsl:call-template name='rnd:attributes'/>
|
719
|
-
<xsl:apply-templates mode='rnd:copy'/>
|
720
|
-
<xsl:apply-templates select='following-sibling::node()[1]'
|
721
|
-
mode='rnd:emphasis'/>
|
722
|
-
</xsl:copy>
|
723
|
-
</xsl:when>
|
724
|
-
|
725
|
-
<xsl:when test='@rnd:style = "d:citetitle" or
|
726
|
-
@rnd:style = "d:literal" or
|
727
|
-
@rnd:style = "d:sgmltag"'>
|
728
|
-
<xsl:element name='{@rnd:style}'
|
729
|
-
namespace='http://docbook.org/ns/docbook'>
|
730
|
-
<xsl:call-template name='rnd:attributes'/>
|
731
|
-
<xsl:apply-templates/>
|
732
|
-
<xsl:apply-templates select='following-sibling::node()[1]'
|
733
|
-
mode='rnd:emphasis'/>
|
734
|
-
</xsl:element>
|
735
|
-
</xsl:when>
|
736
|
-
|
737
|
-
<xsl:when test='@rnd:style = "Hyperlink" and
|
738
|
-
parent::dbk:link'>
|
739
|
-
<!-- This occurs in a hyperlink; parent should be dbk:link -->
|
740
|
-
<xsl:apply-templates/>
|
741
|
-
</xsl:when>
|
742
|
-
<xsl:when test='@rnd:style = "Hyperlink"'>
|
743
|
-
<!-- dbk:link is missing -->
|
744
|
-
<dbk:link xlink:href='{.}'>
|
745
|
-
<xsl:apply-templates/>
|
746
|
-
</dbk:link>
|
747
|
-
</xsl:when>
|
748
|
-
|
749
|
-
<!-- In rare circumstances, Word inserts an empty element that appears to be something like a space in the editor -->
|
750
|
-
<xsl:when test='(@rnd:style = "EndnoteReference" or
|
751
|
-
@rnd:style = "FootnoteReference") and
|
752
|
-
. = ""'>
|
753
|
-
<xsl:text> </xsl:text>
|
754
|
-
</xsl:when>
|
755
|
-
|
756
|
-
<xsl:otherwise>
|
757
|
-
<xsl:call-template name='rnd:error'>
|
758
|
-
<xsl:with-param name='code'>unknown-style</xsl:with-param>
|
759
|
-
<xsl:with-param name='message'>unknown character span style "<xsl:value-of select='@rnd:style'/>" encountered</xsl:with-param>
|
760
|
-
</xsl:call-template>
|
761
|
-
</xsl:otherwise>
|
762
|
-
</xsl:choose>
|
763
|
-
</xsl:template>
|
764
|
-
|
765
|
-
<!-- Coalesce emphasis elements into a single element -->
|
766
|
-
<xsl:template match='dbk:emphasis' mode='rnd:emphasis'>
|
767
|
-
<xsl:choose>
|
768
|
-
<xsl:when test='@rnd:style = preceding-sibling::node()[self::dbk:emphasis]/@rnd:style'>
|
769
|
-
<xsl:apply-templates/>
|
770
|
-
<xsl:apply-templates select='following-sibling::node()[1]'
|
771
|
-
mode='rnd:emphasis'/>
|
772
|
-
</xsl:when>
|
773
|
-
</xsl:choose>
|
774
|
-
</xsl:template>
|
775
|
-
<xsl:template match='*|text()' mode='rnd:emphasis'/>
|
776
|
-
|
777
|
-
<xsl:template match='dbk:emphasis' mode='rnd:personname-emphasis'>
|
778
|
-
<xsl:param name='style'/>
|
779
|
-
|
780
|
-
<xsl:choose>
|
781
|
-
<xsl:when test='@rnd:style = $style'>
|
782
|
-
<xsl:apply-templates/>
|
783
|
-
<xsl:apply-templates select='following-sibling::dbk:emphasis[1]'
|
784
|
-
mode='rnd:personname-emphasis'>
|
785
|
-
<xsl:with-param name='style' select='$style'/>
|
786
|
-
</xsl:apply-templates>
|
787
|
-
</xsl:when>
|
788
|
-
</xsl:choose>
|
789
|
-
</xsl:template>
|
790
|
-
<xsl:template match='*|text()' mode='rnd:emphasis'/>
|
791
|
-
|
792
|
-
<xsl:template match='dbk:subscript|dbk:superscript'>
|
793
|
-
<xsl:copy>
|
794
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
795
|
-
<xsl:apply-templates/>
|
796
|
-
</xsl:copy>
|
797
|
-
</xsl:template>
|
798
|
-
|
799
|
-
<!-- Images -->
|
800
|
-
|
801
|
-
<xsl:template match='dbk:inlinemediaobject'>
|
802
|
-
<xsl:choose>
|
803
|
-
<xsl:when test='not(preceding-sibling::*|following-sibling::*) and
|
804
|
-
normalize-space(..) = ""'>
|
805
|
-
|
806
|
-
<xsl:variable name='next.captioned'
|
807
|
-
select='ancestor::dbk:para/following-sibling::*[self::dbk:informaltable or self::dbk:para[dbk:inlinemediaobject and count(*) = 1 and normalize-space() = ""]][1]'/>
|
808
|
-
|
809
|
-
<xsl:variable name='caption'
|
810
|
-
select='ancestor::dbk:para/following-sibling::dbk:para[@rnd:style = "d:caption" or @rnd:style = "Caption"]'/>
|
811
|
-
|
812
|
-
<xsl:variable name='metadata'>
|
813
|
-
<xsl:apply-templates select='ancestor::dbk:para/following-sibling::*[1]'
|
814
|
-
mode='rnd:metadata'/>
|
815
|
-
</xsl:variable>
|
816
|
-
|
817
|
-
<dbk:figure>
|
818
|
-
<xsl:if test='ancestor::dbk:para/preceding-sibling::*[1][self::dbk:para][@rnd:style = "figure-title"] or
|
819
|
-
$metadata'>
|
820
|
-
<dbk:info>
|
821
|
-
<xsl:if test='ancestor::dbk:para/preceding-sibling::*[1][self::dbk:para][@rnd:style = "figure-title"]'>
|
822
|
-
<dbk:title>
|
823
|
-
<xsl:apply-templates select='ancestor::dbk:para/preceding-sibling::*[1]/node()'/>
|
824
|
-
</dbk:title>
|
825
|
-
</xsl:if>
|
826
|
-
<xsl:copy-of select='$metadata'/>
|
827
|
-
</dbk:info>
|
828
|
-
</xsl:if>
|
829
|
-
|
830
|
-
<dbk:mediaobject>
|
831
|
-
<xsl:apply-templates mode='rnd:copy'/>
|
832
|
-
</dbk:mediaobject>
|
833
|
-
|
834
|
-
<xsl:choose>
|
835
|
-
<xsl:when test='not($caption)'/>
|
836
|
-
<xsl:when test='not($next.captioned)'>
|
837
|
-
<xsl:apply-templates select='ancestor::dbk:para/following-sibling::*[following-sibling::*[generate-id() = generate-id($caption)]][not(&metadata-content;)]'
|
838
|
-
mode='rnd:figure'/>
|
839
|
-
<xsl:apply-templates select='$caption'
|
840
|
-
mode='rnd:caption'/>
|
841
|
-
</xsl:when>
|
842
|
-
<!-- Does caption belong to this image or next.captioned?
|
843
|
-
- Only if it belongs to this image do we process it here.
|
844
|
-
-->
|
845
|
-
<xsl:when test='$next.captioned[preceding-sibling::*[generate-id() = generate-id($caption)]]'>
|
846
|
-
<xsl:apply-templates select='ancestor::dbk:para/following-sibling::*[following-sibling::*[generate-id() = generate-id($caption)]][not(&metadata-content;)]'
|
847
|
-
mode='rnd:figure'/>
|
848
|
-
<xsl:apply-templates select='$caption'
|
849
|
-
mode='rnd:caption'/>
|
850
|
-
</xsl:when>
|
851
|
-
<!-- otherwise caption does not belong to this figure -->
|
852
|
-
</xsl:choose>
|
853
|
-
</dbk:figure>
|
854
|
-
</xsl:when>
|
855
|
-
<xsl:otherwise>
|
856
|
-
<xsl:call-template name='rnd:copy'/>
|
857
|
-
</xsl:otherwise>
|
858
|
-
</xsl:choose>
|
859
|
-
</xsl:template>
|
860
|
-
|
861
|
-
<xsl:template match='dbk:para[@rnd:style = "d:caption" or @rnd:style = "Caption"]'
|
862
|
-
mode='rnd:caption'>
|
863
|
-
<dbk:caption>
|
864
|
-
<dbk:para>
|
865
|
-
<xsl:apply-templates/>
|
866
|
-
</dbk:para>
|
867
|
-
</dbk:caption>
|
868
|
-
</xsl:template>
|
869
|
-
<xsl:template match='*' mode='rnd:caption'/>
|
870
|
-
|
871
|
-
<xsl:template match='*' mode='rnd:figure'>
|
872
|
-
<xsl:call-template name='rnd:para'>
|
873
|
-
<xsl:with-param name='suppress' select='false()'/>
|
874
|
-
</xsl:call-template>
|
875
|
-
</xsl:template>
|
876
|
-
|
877
|
-
<!-- Sidebars -->
|
878
|
-
|
879
|
-
<xsl:template match='*' mode='rnd:sidebar'>
|
880
|
-
<xsl:call-template name='rnd:para'>
|
881
|
-
<xsl:with-param name='suppress' select='false()'/>
|
882
|
-
</xsl:call-template>
|
883
|
-
</xsl:template>
|
884
|
-
|
885
|
-
<!-- Lists -->
|
886
|
-
|
887
|
-
<xsl:template match='dbk:para' mode='rnd:listitem'>
|
888
|
-
<dbk:listitem>
|
889
|
-
<dbk:para>
|
890
|
-
<xsl:call-template name='rnd:attributes'/>
|
891
|
-
<xsl:apply-templates/>
|
892
|
-
</dbk:para>
|
893
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
894
|
-
mode='rnd:continue'/>
|
895
|
-
|
896
|
-
<!-- Handle nested lists -->
|
897
|
-
<xsl:variable name='list-type'
|
898
|
-
select='concat(substring-before(@rnd:style, "d:list"), "d:list")'/>
|
899
|
-
<xsl:variable name='list-level'
|
900
|
-
select='substring-after(@rnd:style, $list-type)'/>
|
901
|
-
|
902
|
-
<!-- Assuming only five levels of list nesting.
|
903
|
-
- This is probably better done in a previous stage using grouping.
|
904
|
-
-->
|
905
|
-
<xsl:variable name='stop.node'
|
906
|
-
select='following-sibling::dbk:para[@rnd:style != concat("d:itemizedlist", $list-level + 1) and
|
907
|
-
@rnd:style != concat("d:orderedlist", $list-level + 1) and
|
908
|
-
@rnd:style != concat("d:itemizedlist", $list-level + 2) and
|
909
|
-
@rnd:style != concat("d:orderedlist", $list-level + 2) and
|
910
|
-
@rnd:style != concat("d:itemizedlist", $list-level + 3) and
|
911
|
-
@rnd:style != concat("d:orderedlist", $list-level + 3) and
|
912
|
-
@rnd:style != "para-continue"][1]'/>
|
913
|
-
|
914
|
-
<xsl:variable name='nested'
|
915
|
-
select='following-sibling::dbk:para[@rnd:style = concat("d:itemizedlist", $list-level + 1) or @rnd:style = concat("d:orderedlist", $list-level + 1)][1]'/>
|
916
|
-
|
917
|
-
<xsl:choose>
|
918
|
-
<!-- Is there a nested list at all? -->
|
919
|
-
<xsl:when test='following-sibling::*[self::dbk:para and @rnd:style != "para-continue"][1][@rnd:style != concat("d:itemizedlist", $list-level + 1) and @rnd:style != concat("d:orderedlist", $list-level + 1)]'/>
|
920
|
-
|
921
|
-
<xsl:when test='following-sibling::dbk:para[@rnd:style = concat("d:itemizedlist", $list-level + 1) or @rnd:style = concat("d:orderedlist", $list-level + 1)] and
|
922
|
-
$stop.node'>
|
923
|
-
<xsl:element name='{concat(substring-before($nested/@rnd:style, "list"), "list")}'
|
924
|
-
namespace='http://docbook.org/ns/docbook'>
|
925
|
-
<xsl:apply-templates select='following-sibling::dbk:para[@rnd:style = concat("d:itemizedlist", $list-level + 1) or @rnd:style = concat("d:orderedlist", $list-level + 1)][following-sibling::*[generate-id() = generate-id($stop.node)]]'
|
926
|
-
mode='rnd:listitem'/>
|
927
|
-
</xsl:element>
|
928
|
-
</xsl:when>
|
929
|
-
<xsl:when test='following-sibling::dbk:para[@rnd:style = concat("d:itemizedlist", $list-level + 1) or @rnd:style = concat("d:orderedlist", $list-level + 1)]'>
|
930
|
-
|
931
|
-
<xsl:element name='{concat(substring-before($nested/@rnd:style, "list"), "list")}'
|
932
|
-
namespace='http://docbook.org/ns/docbook'>
|
933
|
-
<xsl:apply-templates select='following-sibling::dbk:para[@rnd:style = concat("d:itemizedlist", $list-level + 1) or @rnd:style = concat("d:orderedlist", $list-level + 1)]'
|
934
|
-
mode='rnd:listitem'/>
|
935
|
-
</xsl:element>
|
936
|
-
</xsl:when>
|
937
|
-
</xsl:choose>
|
938
|
-
</dbk:listitem>
|
939
|
-
</xsl:template>
|
940
|
-
|
941
|
-
<!-- Blockquotes -->
|
942
|
-
|
943
|
-
<xsl:template match='dbk:para' mode='rnd:blockquote'>
|
944
|
-
<xsl:choose>
|
945
|
-
<xsl:when test='@rnd:style ="blockquote-attribution"'/>
|
946
|
-
<xsl:when test='@rnd:style ="blockquote-title"'/>
|
947
|
-
<xsl:otherwise>
|
948
|
-
<dbk:para>
|
949
|
-
<xsl:apply-templates/>
|
950
|
-
</dbk:para>
|
951
|
-
</xsl:otherwise>
|
952
|
-
</xsl:choose>
|
953
|
-
</xsl:template>
|
954
|
-
<xsl:template match='dbk:para' mode='rnd:blockquote-attribution'>
|
955
|
-
<xsl:if test='@rnd:style ="blockquote-attribution"'>
|
956
|
-
<dbk:attribution>
|
957
|
-
<xsl:apply-templates/>
|
958
|
-
</dbk:attribution>
|
959
|
-
</xsl:if>
|
960
|
-
</xsl:template>
|
961
|
-
|
962
|
-
<!-- Metadata -->
|
963
|
-
|
964
|
-
<xsl:template match='dbk:para' mode='rnd:metadata'>
|
965
|
-
<xsl:choose>
|
966
|
-
<xsl:when test='@rnd:style = "biblioentry-title" and
|
967
|
-
parent::dbk:bibliography|parent::dbk:bibliodiv'/>
|
968
|
-
<xsl:when test='@rnd:style = "biblioentry-title"'>
|
969
|
-
<xsl:call-template name='rnd:error'>
|
970
|
-
<xsl:with-param name='code'>bad-metadata</xsl:with-param>
|
971
|
-
<xsl:with-param name='message'>style "<xsl:value-of select='@rnd:style'/>" must not be metadata for parent "<xsl:value-of select='local-name(..)'/>"</xsl:with-param>
|
972
|
-
</xsl:call-template>
|
973
|
-
</xsl:when>
|
974
|
-
|
975
|
-
<xsl:when test='@rnd:style = "abstract-title" or
|
976
|
-
@rnd:style = "d:abstract"'>
|
977
|
-
<xsl:variable name='stop.node'
|
978
|
-
select='following-sibling::dbk:para[@rnd:style != "d:abstract"][1]'/>
|
979
|
-
<xsl:choose>
|
980
|
-
<xsl:when test='$stop.node'>
|
981
|
-
<dbk:abstract>
|
982
|
-
<xsl:apply-templates select='.|following-sibling::dbk:para[@rnd:style = "d:abstract"][following-sibling::*[generate-id() = generate-id($stop.node)]]'
|
983
|
-
mode='rnd:abstract'/>
|
984
|
-
</dbk:abstract>
|
985
|
-
<xsl:apply-templates select='$stop.node'
|
986
|
-
mode='rnd:metadata'/>
|
987
|
-
</xsl:when>
|
988
|
-
<xsl:otherwise>
|
989
|
-
<dbk:abstract>
|
990
|
-
<xsl:apply-templates select='.|following-sibling::dbk:para[@rnd:style = "d:abstract"]' mode='rnd:abstract'/>
|
991
|
-
</dbk:abstract>
|
992
|
-
</xsl:otherwise>
|
993
|
-
</xsl:choose>
|
994
|
-
</xsl:when>
|
995
|
-
|
996
|
-
<xsl:when test='@rnd:style = "d:legalnotice"'>
|
997
|
-
<xsl:variable name='stop.node'
|
998
|
-
select='following-sibling::dbk:para[@rnd:style != "d:legalnotice"][1]'/>
|
999
|
-
|
1000
|
-
<xsl:choose>
|
1001
|
-
<xsl:when test='$stop.node'>
|
1002
|
-
<dbk:legalnotice>
|
1003
|
-
<xsl:apply-templates select='.|following-sibling::dbk:para[@rnd:style = "d:legalnotice"][following-sibling::*[generate-id() = generate-id($stop.node)]]'
|
1004
|
-
mode='rnd:legalnotice'/>
|
1005
|
-
</dbk:legalnotice>
|
1006
|
-
<xsl:apply-templates select='$stop.node'
|
1007
|
-
mode='rnd:metadata'/>
|
1008
|
-
</xsl:when>
|
1009
|
-
<xsl:otherwise>
|
1010
|
-
<xsl:apply-templates select='.|following-sibling::dbk:para[@rnd:style = "d:legalnotice"]'
|
1011
|
-
mode='rnd:legalnotice'/>
|
1012
|
-
</xsl:otherwise>
|
1013
|
-
</xsl:choose>
|
1014
|
-
</xsl:when>
|
1015
|
-
|
1016
|
-
<xsl:when test='@rnd:style = "d:keyword"'>
|
1017
|
-
<xsl:variable name='stop.node'
|
1018
|
-
select='following-sibling::*[not(self::dbk:para) or
|
1019
|
-
(self::dbk:para and @rnd:style != "d:keyword")][1]'/>
|
1020
|
-
|
1021
|
-
<xsl:choose>
|
1022
|
-
<xsl:when test='$stop.node'>
|
1023
|
-
<dbk:keywordset>
|
1024
|
-
<xsl:call-template name='rnd:keyword'>
|
1025
|
-
<xsl:with-param name='nodes'
|
1026
|
-
select='.|following-sibling::dbk:para[@rnd:style = "d:keyword"][following-sibling::*[generate-id() = generate-id($stop.node)]]'/>
|
1027
|
-
</xsl:call-template>
|
1028
|
-
</dbk:keywordset>
|
1029
|
-
<xsl:apply-templates select='$stop.node'
|
1030
|
-
mode='rnd:metadata'/>
|
1031
|
-
</xsl:when>
|
1032
|
-
<xsl:otherwise>
|
1033
|
-
<xsl:call-template name='rnd:keyword'>
|
1034
|
-
<xsl:with-param name='nodes'
|
1035
|
-
select='.|following-sibling::dbk:para[@rnd:style = "d:keyword"]'/>
|
1036
|
-
</xsl:call-template>
|
1037
|
-
</xsl:otherwise>
|
1038
|
-
</xsl:choose>
|
1039
|
-
</xsl:when>
|
1040
|
-
|
1041
|
-
<xsl:when test='@rnd:style = "d:author"'>
|
1042
|
-
<dbk:author>
|
1043
|
-
<xsl:choose>
|
1044
|
-
<xsl:when test='dbk:emphasis[@rnd:style = "d:orgname"]'>
|
1045
|
-
<dbk:orgname>
|
1046
|
-
<xsl:apply-templates
|
1047
|
-
select='dbk:emphasis[@rnd:style = "d:orgname"]'
|
1048
|
-
mode='rnd:orgname'/>
|
1049
|
-
</dbk:orgname>
|
1050
|
-
<xsl:if test='*[not(@rnd:style = "d:orgname")]'>
|
1051
|
-
<xsl:call-template name='rnd:error'>
|
1052
|
-
<xsl:with-param name='code'>bad-author-orgname-combo</xsl:with-param>
|
1053
|
-
<xsl:with-param name='message'>character span "<xsl:value-of select='dbk:emphasis[@rnd:style != "d:orgname"][1]/@rnd:style'/>" not allowed in an author paragraph combined with orgname</xsl:with-param>
|
1054
|
-
</xsl:call-template>
|
1055
|
-
</xsl:if>
|
1056
|
-
</xsl:when>
|
1057
|
-
<xsl:otherwise>
|
1058
|
-
<dbk:personname>
|
1059
|
-
<!-- TODO: check style of author; mixed content or structured -->
|
1060
|
-
<xsl:apply-templates mode='rnd:personname'/>
|
1061
|
-
</dbk:personname>
|
1062
|
-
</xsl:otherwise>
|
1063
|
-
</xsl:choose>
|
1064
|
-
<xsl:apply-templates mode='rnd:author-personblurb'/>
|
1065
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1066
|
-
mode='rnd:author'/>
|
1067
|
-
</dbk:author>
|
1068
|
-
<xsl:call-template name='rnd:resume-metadata'>
|
1069
|
-
<xsl:with-param name='node' select='following-sibling::*[1]'/>
|
1070
|
-
</xsl:call-template>
|
1071
|
-
</xsl:when>
|
1072
|
-
<xsl:when test='@rnd:style = "d:personblurb" or
|
1073
|
-
@rnd:style = "d:address" or
|
1074
|
-
@rnd:style = "d:affiliation" or
|
1075
|
-
@rnd:style = "d:contrib" or
|
1076
|
-
@rnd:style = "d:email"'/>
|
1077
|
-
|
1078
|
-
<xsl:when test='@rnd:style = "d:releaseinfo" or
|
1079
|
-
@rnd:style = "d:date" or
|
1080
|
-
@rnd:style = "d:pubdate" or
|
1081
|
-
@rnd:style = "d:pagenums" or
|
1082
|
-
@rnd:style = "d:issuenum" or
|
1083
|
-
@rnd:style = "d:volumenum" or
|
1084
|
-
@rnd:style = "d:edition" or
|
1085
|
-
@rnd:style = "d:editor" or
|
1086
|
-
@rnd:style = "d:othercredit" or
|
1087
|
-
@rnd:style = "d:biblioid" or
|
1088
|
-
@rnd:style = "d:bibliosource" or
|
1089
|
-
@rnd:style = "d:bibliomisc" or
|
1090
|
-
@rnd:style = "d:revhistory" or
|
1091
|
-
@rnd:style = "d:revision"'>
|
1092
|
-
<xsl:element name='{@rnd:style}'
|
1093
|
-
namespace='http://docbook.org/ns/docbook'>
|
1094
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1095
|
-
</xsl:element>
|
1096
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1097
|
-
mode='rnd:metadata'/>
|
1098
|
-
</xsl:when>
|
1099
|
-
<xsl:when test='contains(@rnd:style, "-titleabbrev")'>
|
1100
|
-
<xsl:variable name='parent'
|
1101
|
-
select='substring-before(@rnd:style, "-titleabbrev")'/>
|
1102
|
-
|
1103
|
-
<xsl:choose>
|
1104
|
-
<xsl:when test='$parent = local-name(..)'>
|
1105
|
-
<dbk:titleabbrev>
|
1106
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1107
|
-
</dbk:titleabbrev>
|
1108
|
-
</xsl:when>
|
1109
|
-
<xsl:when test='(parent::dbk:article or parent::dbk:book-component) and
|
1110
|
-
preceding-sibling::dbk:para[@rnd:style = concat($parent, "-title")]'>
|
1111
|
-
<dbk:titleabbrev>
|
1112
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1113
|
-
</dbk:titleabbrev>
|
1114
|
-
</xsl:when>
|
1115
|
-
<xsl:otherwise>
|
1116
|
-
<xsl:call-template name='rnd:error'>
|
1117
|
-
<xsl:with-param name='code'>bad-titleabbrev</xsl:with-param>
|
1118
|
-
<xsl:with-param name='message'>titleabbrev style "<xsl:value-of select='@rnd:style'/>" mismatches parent "<xsl:value-of select='local-name(..)'/>"</xsl:with-param>
|
1119
|
-
</xsl:call-template>
|
1120
|
-
</xsl:otherwise>
|
1121
|
-
</xsl:choose>
|
1122
|
-
|
1123
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1124
|
-
mode='rnd:metadata'/>
|
1125
|
-
</xsl:when>
|
1126
|
-
<xsl:when test='contains(@rnd:style, "-title")'>
|
1127
|
-
<xsl:variable name='parent'
|
1128
|
-
select='substring-before(@rnd:style, "-title")'/>
|
1129
|
-
|
1130
|
-
<xsl:choose>
|
1131
|
-
<xsl:when test='$parent = "d:table" or
|
1132
|
-
$parent = "d:figure"'>
|
1133
|
-
<dbk:title>
|
1134
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1135
|
-
</dbk:title>
|
1136
|
-
</xsl:when>
|
1137
|
-
<xsl:when test='$parent = local-name(..)'>
|
1138
|
-
<dbk:title>
|
1139
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1140
|
-
</dbk:title>
|
1141
|
-
</xsl:when>
|
1142
|
-
<xsl:when test='parent::dbk:book-component'>
|
1143
|
-
<dbk:title>
|
1144
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1145
|
-
</dbk:title>
|
1146
|
-
</xsl:when>
|
1147
|
-
<xsl:when test='parent::dbk:article and
|
1148
|
-
not(../../..)'>
|
1149
|
-
<dbk:title>
|
1150
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1151
|
-
</dbk:title>
|
1152
|
-
</xsl:when>
|
1153
|
-
<xsl:otherwise>
|
1154
|
-
<xsl:call-template name='rnd:error'>
|
1155
|
-
<xsl:with-param name='code'>bad-title</xsl:with-param>
|
1156
|
-
<xsl:with-param name='message'>title style "<xsl:value-of select='@rnd:style'/>" mismatches parent "<xsl:value-of select='local-name(..)'/>"</xsl:with-param>
|
1157
|
-
</xsl:call-template>
|
1158
|
-
</xsl:otherwise>
|
1159
|
-
</xsl:choose>
|
1160
|
-
|
1161
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1162
|
-
mode='rnd:metadata'/>
|
1163
|
-
</xsl:when>
|
1164
|
-
|
1165
|
-
<!-- Exception to normal subtitle handling is biblioentry-subtitle -->
|
1166
|
-
<xsl:when test='@rnd:style = "biblioentry-subtitle"'>
|
1167
|
-
<!-- TODO: check that this is in a biblioentry -->
|
1168
|
-
<dbk:subtitle>
|
1169
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1170
|
-
</dbk:subtitle>
|
1171
|
-
|
1172
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1173
|
-
mode='rnd:metadata'/>
|
1174
|
-
</xsl:when>
|
1175
|
-
<xsl:when test='contains(@rnd:style, "-subtitle")'>
|
1176
|
-
<xsl:variable name='parent'
|
1177
|
-
select='substring-before(@rnd:style, "-subtitle")'/>
|
1178
|
-
|
1179
|
-
<xsl:choose>
|
1180
|
-
<xsl:when test='$parent = local-name(..)'>
|
1181
|
-
<dbk:subtitle>
|
1182
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1183
|
-
</dbk:subtitle>
|
1184
|
-
</xsl:when>
|
1185
|
-
<xsl:when test='(parent::dbk:article or parent::dbk:book-component) and
|
1186
|
-
preceding-sibling::dbk:para[@rnd:style = concat($parent, "-title")]'>
|
1187
|
-
<dbk:subtitle>
|
1188
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1189
|
-
</dbk:subtitle>
|
1190
|
-
</xsl:when>
|
1191
|
-
<xsl:otherwise>
|
1192
|
-
<xsl:call-template name='rnd:error'>
|
1193
|
-
<xsl:with-param name='code'>bad-subtitle</xsl:with-param>
|
1194
|
-
<xsl:with-param name='message'>subtitle style "<xsl:value-of select='@rnd:style'/>" mismatches parent "<xsl:value-of select='local-name(..)'/>"</xsl:with-param>
|
1195
|
-
</xsl:call-template>
|
1196
|
-
</xsl:otherwise>
|
1197
|
-
</xsl:choose>
|
1198
|
-
|
1199
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1200
|
-
mode='rnd:metadata'/>
|
1201
|
-
</xsl:when>
|
1202
|
-
|
1203
|
-
<xsl:when test='@rnd:style = "publisher-address" and
|
1204
|
-
preceding-sibling::*[1][not(self::dbk:para) or not(@rnd:style = "d:publisher")]'>
|
1205
|
-
<xsl:call-template name='rnd:error'>
|
1206
|
-
<xsl:with-param name='code'>bad-publisher-address</xsl:with-param>
|
1207
|
-
<xsl:with-param name='message'>publisher-address must follow publisher</xsl:with-param>
|
1208
|
-
</xsl:call-template>
|
1209
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1210
|
-
mode='rnd:metadata'/>
|
1211
|
-
</xsl:when>
|
1212
|
-
<xsl:when test='@rnd:style = "publisher-address"'>
|
1213
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1214
|
-
mode='rnd:metadata'/>
|
1215
|
-
</xsl:when>
|
1216
|
-
<xsl:when test='@rnd:style = "d:publisher"'>
|
1217
|
-
<dbk:publisher>
|
1218
|
-
<dbk:publishername>
|
1219
|
-
<xsl:apply-templates/>
|
1220
|
-
</dbk:publishername>
|
1221
|
-
<xsl:if test='following-sibling::*[1][@rnd:style = "publisher-address"]'>
|
1222
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1223
|
-
mode='rnd:publisher'/>
|
1224
|
-
</xsl:if>
|
1225
|
-
</dbk:publisher>
|
1226
|
-
|
1227
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1228
|
-
mode='rnd:metadata'/>
|
1229
|
-
</xsl:when>
|
1230
|
-
</xsl:choose>
|
1231
|
-
</xsl:template>
|
1232
|
-
|
1233
|
-
<xsl:template name='rnd:keyword'>
|
1234
|
-
<xsl:param name='nodes' select='/..'/>
|
1235
|
-
|
1236
|
-
<xsl:choose>
|
1237
|
-
<xsl:when test='not($nodes)'/>
|
1238
|
-
<xsl:otherwise>
|
1239
|
-
<xsl:call-template name='rnd:keyword-phrases'>
|
1240
|
-
<xsl:with-param name='text' select='$nodes[1]'/>
|
1241
|
-
</xsl:call-template>
|
1242
|
-
<xsl:call-template name='rnd:keyword'>
|
1243
|
-
<xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
|
1244
|
-
</xsl:call-template>
|
1245
|
-
</xsl:otherwise>
|
1246
|
-
</xsl:choose>
|
1247
|
-
</xsl:template>
|
1248
|
-
<xsl:template name='rnd:keyword-phrases'>
|
1249
|
-
<xsl:param name='text'/>
|
1250
|
-
|
1251
|
-
<xsl:choose>
|
1252
|
-
<xsl:when test='not($text)'/>
|
1253
|
-
<xsl:when test='contains($text, ",")'>
|
1254
|
-
<dbk:keyword>
|
1255
|
-
<xsl:value-of select='normalize-space(substring-before($text, ","))'/>
|
1256
|
-
</dbk:keyword>
|
1257
|
-
<xsl:call-template name='rnd:keyword-phrases'>
|
1258
|
-
<xsl:with-param name='text' select='substring-after($text, ",")'/>
|
1259
|
-
</xsl:call-template>
|
1260
|
-
</xsl:when>
|
1261
|
-
<xsl:otherwise>
|
1262
|
-
<dbk:keyword>
|
1263
|
-
<xsl:value-of select='normalize-space($text)'/>
|
1264
|
-
</dbk:keyword>
|
1265
|
-
</xsl:otherwise>
|
1266
|
-
</xsl:choose>
|
1267
|
-
</xsl:template>
|
1268
|
-
|
1269
|
-
<xsl:template match='dbk:emphasis' mode='rnd:metadata'>
|
1270
|
-
<xsl:choose>
|
1271
|
-
<xsl:when test='not(@rnd:style)'>
|
1272
|
-
<xsl:copy>
|
1273
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1274
|
-
</xsl:copy>
|
1275
|
-
</xsl:when>
|
1276
|
-
<xsl:when test='@rnd:style = "Hyperlink" and
|
1277
|
-
parent::dbk:link'>
|
1278
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1279
|
-
</xsl:when>
|
1280
|
-
<xsl:when test='@rnd:style = "Hyperlink"'>
|
1281
|
-
<dbk:link xlink:href='{.}'>
|
1282
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1283
|
-
</dbk:link>
|
1284
|
-
</xsl:when>
|
1285
|
-
<xsl:otherwise>
|
1286
|
-
<xsl:element name='{@rnd:style}'
|
1287
|
-
namespace='http://docbook.org/ns/docbook'>
|
1288
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1289
|
-
</xsl:element>
|
1290
|
-
</xsl:otherwise>
|
1291
|
-
</xsl:choose>
|
1292
|
-
</xsl:template>
|
1293
|
-
<xsl:template match='dbk:link' mode='rnd:metadata'>
|
1294
|
-
<xsl:copy>
|
1295
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
1296
|
-
<xsl:apply-templates mode='rnd:metadata'/>
|
1297
|
-
</xsl:copy>
|
1298
|
-
</xsl:template>
|
1299
|
-
<xsl:template match='dbk:inlinemediaobject' mode='rnd:metadata'>
|
1300
|
-
<xsl:call-template name='rnd:copy'/>
|
1301
|
-
</xsl:template>
|
1302
|
-
<xsl:template match='*' mode='rnd:metadata'/>
|
1303
|
-
|
1304
|
-
<xsl:template name='rnd:resume-metadata'>
|
1305
|
-
<xsl:param name='node' select='/..'/>
|
1306
|
-
|
1307
|
-
<xsl:choose>
|
1308
|
-
<xsl:when test='$node[self::dbk:para][&author-content;]'>
|
1309
|
-
<xsl:call-template name='rnd:resume-metadata'>
|
1310
|
-
<xsl:with-param name='node' select='$node/following-sibling::*[1]'/>
|
1311
|
-
</xsl:call-template>
|
1312
|
-
</xsl:when>
|
1313
|
-
<xsl:when test='$node[self::dbk:para][&metadata-content;]'>
|
1314
|
-
<xsl:apply-templates select='$node' mode='rnd:metadata'/>
|
1315
|
-
</xsl:when>
|
1316
|
-
</xsl:choose>
|
1317
|
-
</xsl:template>
|
1318
|
-
|
1319
|
-
<xsl:template match='dbk:para' mode='rnd:abstract'>
|
1320
|
-
<xsl:choose>
|
1321
|
-
<xsl:when test='@rnd:style = "abstract-title"'>
|
1322
|
-
<dbk:title>
|
1323
|
-
<xsl:call-template name='rnd:attributes'/>
|
1324
|
-
<xsl:apply-templates/>
|
1325
|
-
</dbk:title>
|
1326
|
-
</xsl:when>
|
1327
|
-
<xsl:otherwise>
|
1328
|
-
<dbk:para>
|
1329
|
-
<xsl:call-template name='rnd:attributes'/>
|
1330
|
-
<xsl:apply-templates/>
|
1331
|
-
</dbk:para>
|
1332
|
-
</xsl:otherwise>
|
1333
|
-
</xsl:choose>
|
1334
|
-
</xsl:template>
|
1335
|
-
|
1336
|
-
<xsl:template match='dbk:para' mode='rnd:legalnotice'>
|
1337
|
-
<dbk:para>
|
1338
|
-
<xsl:call-template name='rnd:attributes'/>
|
1339
|
-
<xsl:apply-templates/>
|
1340
|
-
</dbk:para>
|
1341
|
-
</xsl:template>
|
1342
|
-
|
1343
|
-
<xsl:template match='dbk:footnote' mode='rnd:personname'/>
|
1344
|
-
<xsl:template match='dbk:emphasis' mode='rnd:personname'>
|
1345
|
-
<!-- Need to check preceding emphasis for same style,
|
1346
|
-
but blocks pretty-prints and all text nodes
|
1347
|
-
are preserved in paragraph content.
|
1348
|
-
-->
|
1349
|
-
<xsl:variable name='previous'
|
1350
|
-
select='preceding-sibling::node()[not(self::text()) or (self::text() and normalize-space() != "")]'/>
|
1351
|
-
<!--
|
1352
|
-
<xsl:comment> this style is <xsl:value-of select='@rnd:style'/>, previous style is <xsl:value-of select='$previous[last()]/@rnd:style'/> # previous <xsl:value-of select='count($previous)'/></xsl:comment>
|
1353
|
-
-->
|
1354
|
-
<xsl:choose>
|
1355
|
-
<!-- inlines are coalesced -->
|
1356
|
-
<xsl:when test='@rnd:style = $previous[last()][self::dbk:emphasis]/@rnd:style'/>
|
1357
|
-
<xsl:when test='@rnd:style = "d:honorific" or
|
1358
|
-
@rnd:style = "d:firstname" or
|
1359
|
-
@rnd:style = "d:lineage" or
|
1360
|
-
@rnd:style = "d:othername" or
|
1361
|
-
@rnd:style = "d:surname"'>
|
1362
|
-
<xsl:element name='{@rnd:style}'
|
1363
|
-
namespace='http://docbook.org/ns/docbook'>
|
1364
|
-
<xsl:apply-templates/>
|
1365
|
-
<xsl:apply-templates select='following-sibling::dbk:emphasis[1]'
|
1366
|
-
mode='rnd:personname-emphasis'>
|
1367
|
-
<xsl:with-param name='style' select='@rnd:style'/>
|
1368
|
-
</xsl:apply-templates>
|
1369
|
-
</xsl:element>
|
1370
|
-
</xsl:when>
|
1371
|
-
<xsl:otherwise>
|
1372
|
-
<xsl:call-template name='rnd:error'>
|
1373
|
-
<xsl:with-param name='code'>bad-author-inline</xsl:with-param>
|
1374
|
-
<xsl:with-param name='message'>character span "<xsl:value-of select='@rnd:style'/>" not allowed in an author paragraph</xsl:with-param>
|
1375
|
-
</xsl:call-template>
|
1376
|
-
</xsl:otherwise>
|
1377
|
-
</xsl:choose>
|
1378
|
-
</xsl:template>
|
1379
|
-
|
1380
|
-
<xsl:template match='text()' mode='rnd:author-personblurb'/>
|
1381
|
-
<xsl:template match='dbk:emphasis' mode='rnd:author-personblurb'/>
|
1382
|
-
<xsl:template match='dbk:footnote' mode='rnd:author-personblurb'>
|
1383
|
-
<dbk:personblurb>
|
1384
|
-
<dbk:para>
|
1385
|
-
<xsl:copy>
|
1386
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
1387
|
-
<xsl:apply-templates/>
|
1388
|
-
</xsl:copy>
|
1389
|
-
</dbk:para>
|
1390
|
-
</dbk:personblurb>
|
1391
|
-
</xsl:template>
|
1392
|
-
|
1393
|
-
<xsl:template match='dbk:para' mode='rnd:author'>
|
1394
|
-
<xsl:choose>
|
1395
|
-
<xsl:when test='@rnd:style = "d:personblurb" and
|
1396
|
-
preceding-sibling::*[1][self::dbk:para and @rnd:style != "d:personblurb"]'>
|
1397
|
-
<dbk:personblurb>
|
1398
|
-
<xsl:apply-templates select='.'
|
1399
|
-
mode='rnd:personblurb'/>
|
1400
|
-
</dbk:personblurb>
|
1401
|
-
</xsl:when>
|
1402
|
-
<xsl:when test='@rnd:style = "d:personblurb"'>
|
1403
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1404
|
-
mode='rnd:author'/>
|
1405
|
-
</xsl:when>
|
1406
|
-
|
1407
|
-
<!-- Web and mail addresses may appear in a simplified form -->
|
1408
|
-
<xsl:when test='@rnd:style = "d:address"'>
|
1409
|
-
<xsl:choose>
|
1410
|
-
<xsl:when test='dbk:link and
|
1411
|
-
count(dbk:link) = count(*)'>
|
1412
|
-
<!-- simplified form -->
|
1413
|
-
<dbk:otheraddr>
|
1414
|
-
<xsl:apply-templates select='dbk:link'
|
1415
|
-
mode='rnd:otheraddr'/>
|
1416
|
-
</dbk:otheraddr>
|
1417
|
-
</xsl:when>
|
1418
|
-
<xsl:otherwise>
|
1419
|
-
<dbk:address>
|
1420
|
-
<xsl:apply-templates mode='rnd:author'/>
|
1421
|
-
</dbk:address>
|
1422
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1423
|
-
mode='rnd:author'/>
|
1424
|
-
</xsl:otherwise>
|
1425
|
-
</xsl:choose>
|
1426
|
-
</xsl:when>
|
1427
|
-
|
1428
|
-
<xsl:when test='@rnd:style = "d:affiliation"'>
|
1429
|
-
<dbk:affiliation>
|
1430
|
-
<xsl:choose>
|
1431
|
-
<xsl:when test='not(*)'>
|
1432
|
-
<dbk:jobtitle>
|
1433
|
-
<xsl:apply-templates mode='rnd:author'/>
|
1434
|
-
</dbk:jobtitle>
|
1435
|
-
</xsl:when>
|
1436
|
-
<xsl:otherwise>
|
1437
|
-
<xsl:apply-templates mode='rnd:author'/>
|
1438
|
-
</xsl:otherwise>
|
1439
|
-
</xsl:choose>
|
1440
|
-
</dbk:affiliation>
|
1441
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1442
|
-
mode='rnd:author'/>
|
1443
|
-
</xsl:when>
|
1444
|
-
<xsl:when test='@rnd:style = "d:contrib" or
|
1445
|
-
@rnd:style = "d:email"'>
|
1446
|
-
<xsl:element name='{@rnd:style}'
|
1447
|
-
namespace='http://docbook.org/ns/docbook'>
|
1448
|
-
<xsl:apply-templates mode='rnd:author'/>
|
1449
|
-
</xsl:element>
|
1450
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1451
|
-
mode='rnd:author'/>
|
1452
|
-
</xsl:when>
|
1453
|
-
</xsl:choose>
|
1454
|
-
</xsl:template>
|
1455
|
-
|
1456
|
-
<xsl:template match='dbk:link' mode='rnd:otheraddr'>
|
1457
|
-
<xsl:copy>
|
1458
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
1459
|
-
<xsl:apply-templates mode='rnd:otheraddr'/>
|
1460
|
-
</xsl:copy>
|
1461
|
-
</xsl:template>
|
1462
|
-
|
1463
|
-
<!-- TODO: not all of these inlines are allowed in all elements that are children of author.
|
1464
|
-
Need to further refine validation of inlines.
|
1465
|
-
-->
|
1466
|
-
<xsl:template match='dbk:emphasis' mode='rnd:author'>
|
1467
|
-
<xsl:choose>
|
1468
|
-
<xsl:when test='@rnd:style = "d:city" or
|
1469
|
-
@rnd:style = "d:country" or
|
1470
|
-
@rnd:style = "d:email" or
|
1471
|
-
@rnd:style = "d:fax" or
|
1472
|
-
@rnd:style = "d:jobtitle" or
|
1473
|
-
@rnd:style = "d:orgdiv" or
|
1474
|
-
@rnd:style = "d:orgname" or
|
1475
|
-
@rnd:style = "d:otheraddr" or
|
1476
|
-
@rnd:style = "d:phone" or
|
1477
|
-
@rnd:style = "d:pob" or
|
1478
|
-
@rnd:style = "d:postcode" or
|
1479
|
-
@rnd:style = "d:shortaffil" or
|
1480
|
-
@rnd:style = "d:state" or
|
1481
|
-
@rnd:style = "d:street"'>
|
1482
|
-
<xsl:element name='{@rnd:style}'
|
1483
|
-
namespace='http://docbook.org/ns/docbook'>
|
1484
|
-
<xsl:apply-templates/>
|
1485
|
-
</xsl:element>
|
1486
|
-
</xsl:when>
|
1487
|
-
<xsl:otherwise>
|
1488
|
-
<xsl:call-template name='rnd:error'>
|
1489
|
-
<xsl:with-param name='code'>metadata-bad-inline</xsl:with-param>
|
1490
|
-
<xsl:with-param name='message'>character span "<xsl:value-of select='@rnd:style'/>" not allowed in author metadata</xsl:with-param>
|
1491
|
-
</xsl:call-template>
|
1492
|
-
</xsl:otherwise>
|
1493
|
-
</xsl:choose>
|
1494
|
-
</xsl:template>
|
1495
|
-
|
1496
|
-
<xsl:template match='dbk:para' mode='rnd:personblurb'>
|
1497
|
-
<xsl:if test='@rnd:style = "d:personblurb"'>
|
1498
|
-
<dbk:para>
|
1499
|
-
<xsl:apply-templates/>
|
1500
|
-
</dbk:para>
|
1501
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1502
|
-
mode='rnd:personblurb'/>
|
1503
|
-
</xsl:if>
|
1504
|
-
</xsl:template>
|
1505
|
-
|
1506
|
-
<xsl:template match='dbk:para' mode='rnd:publisher'>
|
1507
|
-
<xsl:if test='@rnd:style = "publisher-address"'>
|
1508
|
-
<dbk:address>
|
1509
|
-
<xsl:apply-templates/>
|
1510
|
-
</dbk:address>
|
1511
|
-
</xsl:if>
|
1512
|
-
</xsl:template>
|
1513
|
-
|
1514
|
-
<xsl:template match='dbk:para' mode='rnd:programlisting'>
|
1515
|
-
<xsl:text>
</xsl:text>
|
1516
|
-
<xsl:apply-templates/>
|
1517
|
-
</xsl:template>
|
1518
|
-
|
1519
|
-
<!-- Continuing paragraphs -->
|
1520
|
-
|
1521
|
-
<xsl:template match='*' mode='rnd:continue'/>
|
1522
|
-
<xsl:template match='dbk:para' mode='rnd:continue'>
|
1523
|
-
<xsl:if test='@rnd:style = "para-continue"'>
|
1524
|
-
<dbk:para>
|
1525
|
-
<xsl:call-template name='rnd:attributes'/>
|
1526
|
-
<xsl:apply-templates/>
|
1527
|
-
</dbk:para>
|
1528
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1529
|
-
mode='rnd:continue'/>
|
1530
|
-
</xsl:if>
|
1531
|
-
</xsl:template>
|
1532
|
-
<xsl:template match='dbk:informaltable' mode='rnd:continue'>
|
1533
|
-
<xsl:apply-templates select='.'>
|
1534
|
-
<xsl:with-param name='in-list' select='true()'/>
|
1535
|
-
</xsl:apply-templates>
|
1536
|
-
<xsl:apply-templates select='following-sibling::*[1]'
|
1537
|
-
mode='rnd:continue'/>
|
1538
|
-
</xsl:template>
|
1539
|
-
|
1540
|
-
<!-- Tables -->
|
1541
|
-
|
1542
|
-
<xsl:template match='dbk:informaltable'>
|
1543
|
-
<xsl:param name='in-list' select='false()'/>
|
1544
|
-
|
1545
|
-
<xsl:choose>
|
1546
|
-
<xsl:when test='not($in-list) and
|
1547
|
-
preceding-sibling::dbk:para[1][starts-with(@rnd:style, "d:itemizedlist") or starts-with(@rnd:style, "d:orderedlist") or @rnd:style = "para-continue"]'/>
|
1548
|
-
<xsl:when test='preceding-sibling::*[1][self::dbk:para][@rnd:style ="table-title"]'>
|
1549
|
-
<dbk:table>
|
1550
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
1551
|
-
|
1552
|
-
<dbk:info>
|
1553
|
-
<xsl:apply-templates select='preceding-sibling::dbk:para[1]'
|
1554
|
-
mode='rnd:table-title'/>
|
1555
|
-
</dbk:info>
|
1556
|
-
|
1557
|
-
<xsl:call-template name='rnd:table-textobject'/>
|
1558
|
-
|
1559
|
-
<xsl:apply-templates/>
|
1560
|
-
|
1561
|
-
<xsl:call-template name='rnd:table-caption'/>
|
1562
|
-
</dbk:table>
|
1563
|
-
</xsl:when>
|
1564
|
-
<xsl:otherwise>
|
1565
|
-
<xsl:copy>
|
1566
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
1567
|
-
|
1568
|
-
<xsl:call-template name='rnd:table-textobject'/>
|
1569
|
-
|
1570
|
-
<xsl:apply-templates/>
|
1571
|
-
|
1572
|
-
<xsl:call-template name='rnd:table-caption'/>
|
1573
|
-
</xsl:copy>
|
1574
|
-
</xsl:otherwise>
|
1575
|
-
</xsl:choose>
|
1576
|
-
</xsl:template>
|
1577
|
-
<xsl:template match='dbk:tgroup'>
|
1578
|
-
<xsl:copy>
|
1579
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
1580
|
-
<xsl:if test='not(@cols)'>
|
1581
|
-
<xsl:attribute name='cols'>
|
1582
|
-
<xsl:call-template name='dbk:max-columns'>
|
1583
|
-
<xsl:with-param name='rows' select='*/dbk:row'/>
|
1584
|
-
</xsl:call-template>
|
1585
|
-
</xsl:attribute>
|
1586
|
-
</xsl:if>
|
1587
|
-
<xsl:apply-templates/>
|
1588
|
-
</xsl:copy>
|
1589
|
-
</xsl:template>
|
1590
|
-
<xsl:template name='dbk:max-columns'>
|
1591
|
-
<xsl:param name='rows' select='/..'/>
|
1592
|
-
<xsl:param name='max' select='0'/>
|
1593
|
-
|
1594
|
-
<!-- This is a tail-recursive algorithm.
|
1595
|
-
Could improve this with other algorithm(s),
|
1596
|
-
eg. divide-and-conquer.
|
1597
|
-
-->
|
1598
|
-
|
1599
|
-
<xsl:choose>
|
1600
|
-
<xsl:when test='not($rows)'>
|
1601
|
-
<xsl:value-of select='$max'/>
|
1602
|
-
</xsl:when>
|
1603
|
-
<xsl:when test='count($rows[1]/dbk:entry) > $max'>
|
1604
|
-
<xsl:call-template name='dbk:max-columns'>
|
1605
|
-
<xsl:with-param name='rows' select='$rows[position() != 1]'/>
|
1606
|
-
<xsl:with-param name='max' select='count($rows[1]/dbk:entry)'/>
|
1607
|
-
</xsl:call-template>
|
1608
|
-
</xsl:when>
|
1609
|
-
<xsl:otherwise>
|
1610
|
-
<xsl:call-template name='dbk:max-columns'>
|
1611
|
-
<xsl:with-param name='rows' select='$rows[position() != 1]'/>
|
1612
|
-
<xsl:with-param name='max' select='$max'/>
|
1613
|
-
</xsl:call-template>
|
1614
|
-
</xsl:otherwise>
|
1615
|
-
</xsl:choose>
|
1616
|
-
</xsl:template>
|
1617
|
-
<xsl:template match='dbk:tbody|dbk:thead|dbk:tfoot|dbk:row|dbk:colspec'>
|
1618
|
-
<xsl:copy>
|
1619
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
1620
|
-
<xsl:apply-templates/>
|
1621
|
-
</xsl:copy>
|
1622
|
-
</xsl:template>
|
1623
|
-
<xsl:template match='dbk:entry'>
|
1624
|
-
<dbk:entry>
|
1625
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
1626
|
-
<xsl:apply-templates/>
|
1627
|
-
</dbk:entry>
|
1628
|
-
</xsl:template>
|
1629
|
-
|
1630
|
-
<xsl:template match='dbk:para' mode='rnd:table-title'>
|
1631
|
-
<dbk:title>
|
1632
|
-
<xsl:apply-templates/>
|
1633
|
-
</dbk:title>
|
1634
|
-
</xsl:template>
|
1635
|
-
|
1636
|
-
<!-- Find the caption associated with this table -->
|
1637
|
-
<xsl:template name='rnd:table-caption'>
|
1638
|
-
<xsl:variable name='candidate'
|
1639
|
-
select='following-sibling::dbk:para[@rnd:style = "d:caption" or @rnd:style = "Caption"][1]'/>
|
1640
|
-
|
1641
|
-
<xsl:if test='$candidate != "" and
|
1642
|
-
generate-id($candidate/preceding-sibling::dbk:informaltable[1]) = generate-id(.)'>
|
1643
|
-
<dbk:caption>
|
1644
|
-
<dbk:para>
|
1645
|
-
<xsl:apply-templates select='$candidate/node()'/>
|
1646
|
-
</dbk:para>
|
1647
|
-
</dbk:caption>
|
1648
|
-
</xsl:if>
|
1649
|
-
</xsl:template>
|
1650
|
-
|
1651
|
-
<!-- Find table associated text -->
|
1652
|
-
<xsl:template name='rnd:table-textobject'>
|
1653
|
-
<xsl:variable name='caption'
|
1654
|
-
select='following-sibling::dbk:para[@rnd:style = "d:caption" or @rnd:style = "Caption"][1]'/>
|
1655
|
-
|
1656
|
-
<xsl:if test='generate-id($caption/preceding-sibling::dbk:informaltable[1]) = generate-id(.)'>
|
1657
|
-
<xsl:variable name='content'
|
1658
|
-
select='following-sibling::*[following-sibling::*[generate-id($caption) = generate-id()]]'/>
|
1659
|
-
<xsl:if test='$content'>
|
1660
|
-
<dbk:textobject>
|
1661
|
-
<xsl:apply-templates select='$content' mode='rnd:textobject'/>
|
1662
|
-
</dbk:textobject>
|
1663
|
-
</xsl:if>
|
1664
|
-
</xsl:if>
|
1665
|
-
</xsl:template>
|
1666
|
-
<xsl:template match='dbk:para' mode='rnd:textobject'>
|
1667
|
-
<xsl:call-template name='rnd:para'>
|
1668
|
-
<xsl:with-param name='suppress' select='false()'/>
|
1669
|
-
</xsl:call-template>
|
1670
|
-
</xsl:template>
|
1671
|
-
|
1672
|
-
<!-- Footnotes -->
|
1673
|
-
<xsl:template match='dbk:footnote'>
|
1674
|
-
<xsl:copy>
|
1675
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
1676
|
-
<xsl:apply-templates/>
|
1677
|
-
</xsl:copy>
|
1678
|
-
</xsl:template>
|
1679
|
-
|
1680
|
-
<!-- utilities -->
|
1681
|
-
|
1682
|
-
<!-- rnd:attributes reconstitutes an element's attributes -->
|
1683
|
-
<xsl:template name='rnd:attributes'>
|
1684
|
-
<xsl:param name='node' select='.'/>
|
1685
|
-
|
1686
|
-
<xsl:apply-templates select='$node/@*[namespace-uri() != "http://docbook.org/d:ns/d:docbook/d:roundtrip"]' mode='rnd:copy'/>
|
1687
|
-
</xsl:template>
|
1688
|
-
|
1689
|
-
<xsl:template match='*' name='rnd:copy' mode='rnd:copy'>
|
1690
|
-
<xsl:copy>
|
1691
|
-
<xsl:apply-templates select='@*' mode='rnd:copy'/>
|
1692
|
-
<xsl:apply-templates mode='rnd:copy'/>
|
1693
|
-
</xsl:copy>
|
1694
|
-
</xsl:template>
|
1695
|
-
<xsl:template match='@*' mode='rnd:copy'>
|
1696
|
-
<xsl:copy/>
|
1697
|
-
</xsl:template>
|
1698
|
-
|
1699
|
-
<!-- These templates are invoked whenever an error condition is detected in the conversion of a document.
|
1700
|
-
-->
|
1701
|
-
<xsl:template name='rnd:error'>
|
1702
|
-
<xsl:param name='node' select='.'/>
|
1703
|
-
<xsl:param name='code'/>
|
1704
|
-
<xsl:param name='message'/>
|
1705
|
-
|
1706
|
-
<xsl:comment><xsl:value-of select='$message'/></xsl:comment>
|
1707
|
-
<xsl:message>ERROR "<xsl:value-of select='$code'/>": <xsl:value-of select='$message'/></xsl:message>
|
1708
|
-
<rnd:error>
|
1709
|
-
<rnd:code>
|
1710
|
-
<xsl:value-of select='$code'/>
|
1711
|
-
</rnd:code>
|
1712
|
-
<rnd:message>
|
1713
|
-
<xsl:value-of select='$message'/>
|
1714
|
-
</rnd:message>
|
1715
|
-
</rnd:error>
|
1716
|
-
</xsl:template>
|
1717
|
-
<xsl:template name='rnd:warning'>
|
1718
|
-
<xsl:param name='node' select='.'/>
|
1719
|
-
<xsl:param name='code'/>
|
1720
|
-
<xsl:param name='message'/>
|
1721
|
-
|
1722
|
-
<xsl:comment><xsl:value-of select='$message'/></xsl:comment>
|
1723
|
-
<xsl:message>WARNING "<xsl:value-of select='$code'/>": <xsl:value-of select='$message'/></xsl:message>
|
1724
|
-
<rnd:warning>
|
1725
|
-
<rnd:code>
|
1726
|
-
<xsl:value-of select='$code'/>
|
1727
|
-
</rnd:code>
|
1728
|
-
<rnd:message>
|
1729
|
-
<xsl:value-of select='$message'/>
|
1730
|
-
</rnd:message>
|
1731
|
-
</rnd:warning>
|
1732
|
-
</xsl:template>
|
1733
|
-
|
1734
|
-
</xsl:stylesheet>
|