booky 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/README.textile +18 -0
- data/Rakefile +2 -0
- data/bin/booky +6 -0
- data/booky.gemspec +24 -0
- data/lib/booky/docbook.rb +13 -0
- data/lib/booky/fo.rb +15 -0
- data/lib/booky/fonts.rb +104 -0
- data/lib/booky/pdf.rb +19 -0
- data/lib/booky/version.rb +3 -0
- data/lib/booky.rb +101 -0
- data/lib/custom_fonts.xml +91 -0
- data/lib/fonts/Ubuntu-B.ttf +0 -0
- data/lib/fonts/Ubuntu-BI.ttf +0 -0
- data/lib/fonts/Ubuntu-L.ttf +0 -0
- data/lib/fonts/Ubuntu-LI.ttf +0 -0
- data/lib/fonts/Ubuntu-M.ttf +0 -0
- data/lib/fonts/Ubuntu-MI.ttf +0 -0
- data/lib/fonts/Ubuntu-R.ttf +0 -0
- data/lib/fonts/Ubuntu-RI.ttf +0 -0
- data/lib/fop/KEYS +248 -0
- data/lib/fop/LICENSE +202 -0
- data/lib/fop/NOTICE +10 -0
- data/lib/fop/README +286 -0
- data/lib/fop/build/fop.jar +0 -0
- data/lib/fop/conf/fop.xconf +464 -0
- data/lib/fop/fop +254 -0
- data/lib/fop/fop.bat +85 -0
- data/lib/fop/fop.cmd +75 -0
- data/lib/fop/fop.js +341 -0
- data/lib/fop/lib/README.txt +243 -0
- data/lib/fop/lib/avalon-framework-4.2.0.jar +0 -0
- data/lib/fop/lib/avalon-framework.LICENSE.txt +175 -0
- data/lib/fop/lib/avalon-framework.NOTICE.TXT +11 -0
- data/lib/fop/lib/batik-all-1.7.jar +0 -0
- data/lib/fop/lib/batik.LICENSE.txt +201 -0
- data/lib/fop/lib/batik.NOTICE.txt +18 -0
- data/lib/fop/lib/commons-io-1.3.1.jar +0 -0
- data/lib/fop/lib/commons-io.LICENSE.txt +203 -0
- data/lib/fop/lib/commons-io.NOTICE.txt +6 -0
- data/lib/fop/lib/commons-logging-1.0.4.jar +0 -0
- data/lib/fop/lib/commons-logging.LICENSE.txt +202 -0
- data/lib/fop/lib/commons-logging.NOTICE.txt +3 -0
- 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 +201 -0
- data/lib/fop/lib/serializer.NOTICE.txt +15 -0
- data/lib/fop/lib/xalan-2.7.0.jar +0 -0
- data/lib/fop/lib/xalan.BCEL.LICENSE.txt +52 -0
- data/lib/fop/lib/xalan.LICENSE.txt +202 -0
- data/lib/fop/lib/xalan.NOTICE.txt +44 -0
- data/lib/fop/lib/xalan.regexp.LICENSE.txt +52 -0
- data/lib/fop/lib/xalan.runtime.LICENSE.txt +20 -0
- data/lib/fop/lib/xerces.LICENSE.txt +56 -0
- data/lib/fop/lib/xercesImpl-2.7.1.jar +0 -0
- data/lib/fop/lib/xercesImpl.LICENSE.txt +201 -0
- data/lib/fop/lib/xercesImpl.NOTICE.txt +14 -0
- 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 +73 -0
- data/lib/fop/lib/xml-apis-ext.LICENSE.dom-software.txt +61 -0
- data/lib/fop/lib/xml-apis-ext.LICENSE.sac.html +75 -0
- data/lib/fop/lib/xml-apis-ext.LICENSE.txt +202 -0
- data/lib/fop/lib/xml-apis-ext.NOTICE.txt +16 -0
- data/lib/fop/lib/xml-apis-ext.README.dom.txt +56 -0
- data/lib/fop/lib/xml-apis.LICENSE-SAX.html +17 -0
- data/lib/fop/lib/xml-apis.LICENSE.DOM-documentation.html +74 -0
- data/lib/fop/lib/xml-apis.LICENSE.DOM-software.html +66 -0
- data/lib/fop/lib/xml-apis.LICENSE.txt +201 -0
- data/lib/fop/lib/xml-apis.NOTICE.txt +13 -0
- data/lib/fop/lib/xmlgraphics-commons-1.4.jar +0 -0
- data/lib/fop/lib/xmlgraphics-commons.LICENSE.txt +202 -0
- data/lib/fop/lib/xmlgraphics-commons.NOTICE.txt +5 -0
- data/lib/fop/status.xml +1809 -0
- data/lib/params.pdf +0 -0
- data/lib/stylesheets/.CatalogManager.properties.example +61 -0
- data/lib/stylesheets/.urilist +1 -0
- data/lib/stylesheets/AUTHORS +4 -0
- data/lib/stylesheets/BUGS +21 -0
- data/lib/stylesheets/COPYING +47 -0
- data/lib/stylesheets/INSTALL +88 -0
- data/lib/stylesheets/Makefile +89 -0
- data/lib/stylesheets/NEWS +139 -0
- data/lib/stylesheets/NEWS.html +25 -0
- data/lib/stylesheets/NEWS.xml +145 -0
- data/lib/stylesheets/README +166 -0
- data/lib/stylesheets/RELEASE-NOTES.html +8353 -0
- data/lib/stylesheets/RELEASE-NOTES.pdf +24340 -11
- data/lib/stylesheets/RELEASE-NOTES.txt +8575 -0
- data/lib/stylesheets/RELEASE-NOTES.xml +10327 -0
- data/lib/stylesheets/TODO +23 -0
- data/lib/stylesheets/VERSION +115 -0
- data/lib/stylesheets/catalog.xml +8 -0
- data/lib/stylesheets/common/addns.xsl +118 -0
- data/lib/stylesheets/common/af.xml +1229 -0
- data/lib/stylesheets/common/am.xml +1229 -0
- data/lib/stylesheets/common/ar.xml +1229 -0
- data/lib/stylesheets/common/as.xml +660 -0
- data/lib/stylesheets/common/ast.xml +660 -0
- data/lib/stylesheets/common/autoidx-kimber.xsl +45 -0
- data/lib/stylesheets/common/autoidx-kosek.xsl +155 -0
- data/lib/stylesheets/common/az.xml +672 -0
- data/lib/stylesheets/common/bg.xml +724 -0
- data/lib/stylesheets/common/bn.xml +1229 -0
- data/lib/stylesheets/common/bn_in.xml +660 -0
- data/lib/stylesheets/common/bs.xml +662 -0
- data/lib/stylesheets/common/ca.xml +660 -0
- data/lib/stylesheets/common/charmap.xml +185 -0
- data/lib/stylesheets/common/charmap.xsl +222 -0
- data/lib/stylesheets/common/common.xml +622 -0
- data/lib/stylesheets/common/common.xsl +2040 -0
- data/lib/stylesheets/common/cs.xml +700 -0
- data/lib/stylesheets/common/cy.xml +1245 -0
- data/lib/stylesheets/common/da.xml +664 -0
- data/lib/stylesheets/common/de.xml +666 -0
- data/lib/stylesheets/common/el.xml +729 -0
- data/lib/stylesheets/common/en.xml +1230 -0
- data/lib/stylesheets/common/entities.ent +67 -0
- data/lib/stylesheets/common/eo.xml +1229 -0
- data/lib/stylesheets/common/es.xml +676 -0
- data/lib/stylesheets/common/et.xml +1229 -0
- data/lib/stylesheets/common/eu.xml +1229 -0
- data/lib/stylesheets/common/fa.xml +660 -0
- data/lib/stylesheets/common/fi.xml +670 -0
- data/lib/stylesheets/common/fr.xml +690 -0
- data/lib/stylesheets/common/ga.xml +1229 -0
- data/lib/stylesheets/common/gentext.xsl +840 -0
- data/lib/stylesheets/common/gl.xml +1229 -0
- data/lib/stylesheets/common/gu.xml +660 -0
- data/lib/stylesheets/common/he.xml +1229 -0
- data/lib/stylesheets/common/hi.xml +660 -0
- data/lib/stylesheets/common/hr.xml +662 -0
- data/lib/stylesheets/common/hu.xml +678 -0
- data/lib/stylesheets/common/id.xml +1229 -0
- data/lib/stylesheets/common/insertfile.xsl +113 -0
- data/lib/stylesheets/common/is.xml +672 -0
- data/lib/stylesheets/common/it.xml +1229 -0
- data/lib/stylesheets/common/ja.xml +660 -0
- data/lib/stylesheets/common/ka.xml +700 -0
- data/lib/stylesheets/common/kn.xml +1229 -0
- data/lib/stylesheets/common/ko.xml +1229 -0
- data/lib/stylesheets/common/ky.xml +732 -0
- data/lib/stylesheets/common/l10n.dtd +64 -0
- data/lib/stylesheets/common/l10n.xml +77 -0
- data/lib/stylesheets/common/l10n.xsl +594 -0
- data/lib/stylesheets/common/la.xml +1229 -0
- data/lib/stylesheets/common/labels.xsl +888 -0
- data/lib/stylesheets/common/lt.xml +678 -0
- data/lib/stylesheets/common/lv.xml +1229 -0
- data/lib/stylesheets/common/ml.xml +660 -0
- data/lib/stylesheets/common/mn.xml +730 -0
- data/lib/stylesheets/common/mr.xml +660 -0
- data/lib/stylesheets/common/nb.xml +1229 -0
- data/lib/stylesheets/common/nds.xml +666 -0
- data/lib/stylesheets/common/nl.xml +660 -0
- data/lib/stylesheets/common/nn.xml +1229 -0
- data/lib/stylesheets/common/olink.xsl +1227 -0
- data/lib/stylesheets/common/or.xml +1229 -0
- data/lib/stylesheets/common/pa.xml +660 -0
- data/lib/stylesheets/common/pi.xml +168 -0
- data/lib/stylesheets/common/pi.xsl +347 -0
- data/lib/stylesheets/common/pl.xml +678 -0
- data/lib/stylesheets/common/pt.xml +1229 -0
- data/lib/stylesheets/common/pt_br.xml +1229 -0
- data/lib/stylesheets/common/refentry.xml +781 -0
- data/lib/stylesheets/common/refentry.xsl +1353 -0
- data/lib/stylesheets/common/ro.xml +1229 -0
- data/lib/stylesheets/common/ru.xml +726 -0
- data/lib/stylesheets/common/sk.xml +1229 -0
- data/lib/stylesheets/common/sl.xml +1229 -0
- data/lib/stylesheets/common/sq.xml +1229 -0
- data/lib/stylesheets/common/sr.xml +720 -0
- data/lib/stylesheets/common/sr_Latn.xml +679 -0
- data/lib/stylesheets/common/subtitles.xsl +156 -0
- data/lib/stylesheets/common/sv.xml +664 -0
- data/lib/stylesheets/common/ta.xml +660 -0
- data/lib/stylesheets/common/table.xsl +515 -0
- data/lib/stylesheets/common/targetdatabase.dtd +49 -0
- data/lib/stylesheets/common/targets.xsl +334 -0
- data/lib/stylesheets/common/te.xml +660 -0
- data/lib/stylesheets/common/th.xml +1229 -0
- data/lib/stylesheets/common/titles.xsl +806 -0
- data/lib/stylesheets/common/tl.xml +1229 -0
- data/lib/stylesheets/common/tr.xml +666 -0
- data/lib/stylesheets/common/uk.xml +726 -0
- data/lib/stylesheets/common/utility.xml +259 -0
- data/lib/stylesheets/common/utility.xsl +291 -0
- data/lib/stylesheets/common/vi.xml +1229 -0
- data/lib/stylesheets/common/xh.xml +1229 -0
- data/lib/stylesheets/common/zh.xml +660 -0
- data/lib/stylesheets/common/zh_cn.xml +660 -0
- data/lib/stylesheets/common/zh_tw.xml +660 -0
- data/lib/stylesheets/docsrc/authors.xml +10 -0
- data/lib/stylesheets/docsrc/copyright.xml +18 -0
- data/lib/stylesheets/docsrc/license.xml +23 -0
- data/lib/stylesheets/docsrc/page.png +0 -0
- data/lib/stylesheets/docsrc/reference.css +79 -0
- data/lib/stylesheets/docsrc/reference.xml +229 -0
- data/lib/stylesheets/docsrc/reference.xml.included +33905 -0
- data/lib/stylesheets/docsrc/warranty.xml +11 -0
- data/lib/stylesheets/eclipse/eclipse.xsl +294 -0
- data/lib/stylesheets/eclipse/eclipse3.xsl +112 -0
- data/lib/stylesheets/eclipse/profile-eclipse.xsl +268 -0
- data/lib/stylesheets/epub/README +88 -0
- data/lib/stylesheets/epub/bin/dbtoepub +76 -0
- data/lib/stylesheets/epub/bin/lib/docbook.rb +227 -0
- data/lib/stylesheets/epub/bin/xslt/obfuscate.xsl +14 -0
- data/lib/stylesheets/epub/docbook.xsl +1678 -0
- data/lib/stylesheets/extensions/LICENSE.txt +264 -0
- data/lib/stylesheets/extensions/NOTICE.txt +12 -0
- data/lib/stylesheets/extensions/README.LIBXSLT +52 -0
- data/lib/stylesheets/extensions/README.txt +4 -0
- data/lib/stylesheets/extensions/docbook.py +239 -0
- 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 +84 -0
- data/lib/stylesheets/fo/admon.xsl +132 -0
- data/lib/stylesheets/fo/annotations.xsl +20 -0
- data/lib/stylesheets/fo/autoidx-kimber.xsl +173 -0
- data/lib/stylesheets/fo/autoidx-kosek.xsl +140 -0
- data/lib/stylesheets/fo/autoidx-ng.xsl +22 -0
- data/lib/stylesheets/fo/autoidx.xsl +1331 -0
- data/lib/stylesheets/fo/autotoc.xsl +917 -0
- data/lib/stylesheets/fo/axf.xsl +112 -0
- data/lib/stylesheets/fo/biblio-iso690.xsl +1302 -0
- data/lib/stylesheets/fo/biblio.xsl +1171 -0
- data/lib/stylesheets/fo/block.xsl +656 -0
- data/lib/stylesheets/fo/callout.xsl +232 -0
- data/lib/stylesheets/fo/component.xsl +900 -0
- data/lib/stylesheets/fo/division.xsl +614 -0
- data/lib/stylesheets/fo/docbook.xsl +333 -0
- data/lib/stylesheets/fo/ebnf.xsl +326 -0
- data/lib/stylesheets/fo/fo-rtf.xsl +155 -0
- data/lib/stylesheets/fo/fo.xsl +119 -0
- data/lib/stylesheets/fo/footnote.xsl +221 -0
- data/lib/stylesheets/fo/fop.xsl +95 -0
- data/lib/stylesheets/fo/fop1.xsl +225 -0
- data/lib/stylesheets/fo/formal.xsl +644 -0
- data/lib/stylesheets/fo/glossary.xsl +1170 -0
- data/lib/stylesheets/fo/graphics.xsl +649 -0
- data/lib/stylesheets/fo/highlight.xsl +78 -0
- data/lib/stylesheets/fo/htmltbl.xsl +427 -0
- data/lib/stylesheets/fo/index.xsl +486 -0
- data/lib/stylesheets/fo/info.xsl +36 -0
- data/lib/stylesheets/fo/inline.xsl +1289 -0
- data/lib/stylesheets/fo/keywords.xsl +23 -0
- data/lib/stylesheets/fo/lists.xsl +1395 -0
- data/lib/stylesheets/fo/math.xsl +141 -0
- data/lib/stylesheets/fo/pagesetup.xsl +2571 -0
- data/lib/stylesheets/fo/param.xml +12445 -0
- data/lib/stylesheets/fo/param.xsl +969 -0
- data/lib/stylesheets/fo/passivetex.xsl +38 -0
- data/lib/stylesheets/fo/pdf2index +140 -0
- data/lib/stylesheets/fo/pi.xml +1002 -0
- data/lib/stylesheets/fo/pi.xsl +1093 -0
- data/lib/stylesheets/fo/profile-docbook.xsl +288 -0
- data/lib/stylesheets/fo/ptc.xsl +79 -0
- data/lib/stylesheets/fo/qandaset.xsl +397 -0
- data/lib/stylesheets/fo/refentry.xsl +640 -0
- data/lib/stylesheets/fo/sections.xsl +766 -0
- data/lib/stylesheets/fo/spaces.xsl +276 -0
- data/lib/stylesheets/fo/synop.xsl +1009 -0
- data/lib/stylesheets/fo/table.xml +135 -0
- data/lib/stylesheets/fo/table.xsl +1682 -0
- data/lib/stylesheets/fo/task.xsl +93 -0
- data/lib/stylesheets/fo/titlepage.templates.xml +1354 -0
- data/lib/stylesheets/fo/titlepage.templates.xsl +5186 -0
- data/lib/stylesheets/fo/titlepage.xsl +769 -0
- data/lib/stylesheets/fo/toc.xsl +334 -0
- data/lib/stylesheets/fo/verbatim.xsl +466 -0
- data/lib/stylesheets/fo/xep.xsl +182 -0
- data/lib/stylesheets/fo/xref.xsl +1539 -0
- data/lib/stylesheets/highlighting/README +16 -0
- data/lib/stylesheets/highlighting/c-hl.xml +101 -0
- data/lib/stylesheets/highlighting/common.xsl +121 -0
- data/lib/stylesheets/highlighting/cpp-hl.xml +150 -0
- data/lib/stylesheets/highlighting/csharp-hl.xml +187 -0
- data/lib/stylesheets/highlighting/delphi-hl.xml +200 -0
- data/lib/stylesheets/highlighting/ini-hl.xml +45 -0
- data/lib/stylesheets/highlighting/java-hl.xml +117 -0
- data/lib/stylesheets/highlighting/javascript-hl.xml +147 -0
- data/lib/stylesheets/highlighting/m2-hl.xml +90 -0
- data/lib/stylesheets/highlighting/myxml-hl.xml +116 -0
- data/lib/stylesheets/highlighting/perl-hl.xml +120 -0
- data/lib/stylesheets/highlighting/php-hl.xml +149 -0
- data/lib/stylesheets/highlighting/python-hl.xml +100 -0
- data/lib/stylesheets/highlighting/ruby-hl.xml +109 -0
- data/lib/stylesheets/highlighting/tcl-hl.xml +180 -0
- data/lib/stylesheets/highlighting/xslthl-config.xml +46 -0
- data/lib/stylesheets/html/admon.xsl +136 -0
- data/lib/stylesheets/html/annotations.xsl +171 -0
- data/lib/stylesheets/html/autoidx-kimber.xsl +166 -0
- data/lib/stylesheets/html/autoidx-kosek.xsl +121 -0
- data/lib/stylesheets/html/autoidx-ng.xsl +22 -0
- data/lib/stylesheets/html/autoidx.xsl +740 -0
- data/lib/stylesheets/html/autotoc.xsl +709 -0
- data/lib/stylesheets/html/biblio-iso690.xsl +1302 -0
- data/lib/stylesheets/html/biblio.xsl +1255 -0
- data/lib/stylesheets/html/block.xsl +540 -0
- data/lib/stylesheets/html/callout.xsl +202 -0
- data/lib/stylesheets/html/changebars.xsl +123 -0
- data/lib/stylesheets/html/chunk-changebars.xsl +100 -0
- data/lib/stylesheets/html/chunk-code.xsl +672 -0
- data/lib/stylesheets/html/chunk-common.xsl +1921 -0
- data/lib/stylesheets/html/chunk.xsl +53 -0
- data/lib/stylesheets/html/chunker.xsl +440 -0
- data/lib/stylesheets/html/chunkfast.xsl +73 -0
- data/lib/stylesheets/html/chunktoc.xsl +541 -0
- data/lib/stylesheets/html/component.xsl +427 -0
- data/lib/stylesheets/html/division.xsl +219 -0
- data/lib/stylesheets/html/docbook.css.xml +109 -0
- data/lib/stylesheets/html/docbook.xsl +468 -0
- data/lib/stylesheets/html/ebnf.xsl +330 -0
- data/lib/stylesheets/html/footnote.xsl +314 -0
- data/lib/stylesheets/html/formal.xsl +427 -0
- data/lib/stylesheets/html/glossary.xsl +493 -0
- data/lib/stylesheets/html/graphics.xsl +1516 -0
- data/lib/stylesheets/html/highlight.xsl +87 -0
- data/lib/stylesheets/html/html-rtf.xsl +336 -0
- data/lib/stylesheets/html/html.xsl +614 -0
- data/lib/stylesheets/html/htmltbl.xsl +137 -0
- data/lib/stylesheets/html/index.xsl +290 -0
- data/lib/stylesheets/html/info.xsl +45 -0
- data/lib/stylesheets/html/inline.xsl +1491 -0
- data/lib/stylesheets/html/keywords.xsl +37 -0
- data/lib/stylesheets/html/lists.xsl +1185 -0
- data/lib/stylesheets/html/maketoc.xsl +87 -0
- data/lib/stylesheets/html/manifest.xsl +23 -0
- data/lib/stylesheets/html/math.xsl +271 -0
- data/lib/stylesheets/html/oldchunker.xsl +203 -0
- data/lib/stylesheets/html/onechunk.xsl +38 -0
- data/lib/stylesheets/html/param.xml +10905 -0
- data/lib/stylesheets/html/param.xsl +436 -0
- data/lib/stylesheets/html/pi.xml +1113 -0
- data/lib/stylesheets/html/pi.xsl +1264 -0
- data/lib/stylesheets/html/profile-chunk-code.xsl +614 -0
- data/lib/stylesheets/html/profile-chunk.xsl +53 -0
- data/lib/stylesheets/html/profile-docbook.xsl +412 -0
- data/lib/stylesheets/html/profile-onechunk.xsl +38 -0
- data/lib/stylesheets/html/qandaset.xsl +438 -0
- data/lib/stylesheets/html/refentry.xsl +301 -0
- data/lib/stylesheets/html/sections.xsl +617 -0
- data/lib/stylesheets/html/synop.xsl +1556 -0
- data/lib/stylesheets/html/table.xsl +1201 -0
- data/lib/stylesheets/html/task.xsl +78 -0
- data/lib/stylesheets/html/titlepage.templates.xml +708 -0
- data/lib/stylesheets/html/titlepage.templates.xsl +3818 -0
- data/lib/stylesheets/html/titlepage.xsl +1049 -0
- data/lib/stylesheets/html/toc.xsl +352 -0
- data/lib/stylesheets/html/verbatim.xsl +411 -0
- data/lib/stylesheets/html/xref.xsl +1378 -0
- data/lib/stylesheets/htmlhelp/htmlhelp-common.xsl +1108 -0
- data/lib/stylesheets/htmlhelp/htmlhelp.xsl +23 -0
- data/lib/stylesheets/htmlhelp/profile-htmlhelp-common.xsl +1082 -0
- data/lib/stylesheets/htmlhelp/profile-htmlhelp.xsl +23 -0
- 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 +15 -0
- 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 +18 -0
- 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 +16 -0
- 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 +18 -0
- 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 +20 -0
- 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 +17 -0
- 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 +19 -0
- data/lib/stylesheets/images/callouts/16.svg +20 -0
- data/lib/stylesheets/images/callouts/17.svg +17 -0
- data/lib/stylesheets/images/callouts/18.svg +21 -0
- data/lib/stylesheets/images/callouts/19.svg +20 -0
- 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 +17 -0
- data/lib/stylesheets/images/callouts/20.svg +20 -0
- data/lib/stylesheets/images/callouts/21.svg +18 -0
- data/lib/stylesheets/images/callouts/22.svg +20 -0
- data/lib/stylesheets/images/callouts/23.svg +22 -0
- data/lib/stylesheets/images/callouts/24.svg +19 -0
- data/lib/stylesheets/images/callouts/25.svg +21 -0
- data/lib/stylesheets/images/callouts/26.svg +22 -0
- data/lib/stylesheets/images/callouts/27.svg +19 -0
- data/lib/stylesheets/images/callouts/28.svg +23 -0
- data/lib/stylesheets/images/callouts/29.svg +22 -0
- 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 +19 -0
- data/lib/stylesheets/images/callouts/30.svg +22 -0
- 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 +16 -0
- 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 +18 -0
- 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 +19 -0
- 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 +16 -0
- 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 +20 -0
- 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 +19 -0
- data/lib/stylesheets/images/caution.gif +0 -0
- data/lib/stylesheets/images/caution.png +0 -0
- data/lib/stylesheets/images/caution.svg +25 -0
- data/lib/stylesheets/images/caution.tif +0 -0
- data/lib/stylesheets/images/colorsvg/caution.svg +141 -0
- data/lib/stylesheets/images/colorsvg/home.svg +498 -0
- data/lib/stylesheets/images/colorsvg/important.svg +239 -0
- data/lib/stylesheets/images/colorsvg/next.svg +338 -0
- data/lib/stylesheets/images/colorsvg/note.svg +200 -0
- data/lib/stylesheets/images/colorsvg/prev.svg +338 -0
- data/lib/stylesheets/images/colorsvg/tip.svg +367 -0
- data/lib/stylesheets/images/colorsvg/up.svg +338 -0
- data/lib/stylesheets/images/colorsvg/warning.svg +232 -0
- 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 +26 -0
- data/lib/stylesheets/images/important.gif +0 -0
- data/lib/stylesheets/images/important.png +0 -0
- data/lib/stylesheets/images/important.svg +25 -0
- 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 +19 -0
- data/lib/stylesheets/images/note.gif +0 -0
- data/lib/stylesheets/images/note.png +0 -0
- data/lib/stylesheets/images/note.svg +33 -0
- 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 +19 -0
- data/lib/stylesheets/images/tip.gif +0 -0
- data/lib/stylesheets/images/tip.png +0 -0
- data/lib/stylesheets/images/tip.svg +31 -0
- 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 +19 -0
- data/lib/stylesheets/images/warning.gif +0 -0
- data/lib/stylesheets/images/warning.png +0 -0
- data/lib/stylesheets/images/warning.svg +23 -0
- data/lib/stylesheets/images/warning.tif +0 -0
- data/lib/stylesheets/install.sh +977 -0
- data/lib/stylesheets/javahelp/javahelp.xsl +613 -0
- data/lib/stylesheets/javahelp/profile-javahelp.xsl +548 -0
- data/lib/stylesheets/lib/lib.xsl +482 -0
- data/lib/stylesheets/manpages/ChangeLog.20020917 +195 -0
- data/lib/stylesheets/manpages/block.xsl +412 -0
- data/lib/stylesheets/manpages/charmap.groff.xsl +6014 -0
- data/lib/stylesheets/manpages/docbook.xsl +302 -0
- data/lib/stylesheets/manpages/endnotes.xsl +587 -0
- data/lib/stylesheets/manpages/html-synop.xsl +1569 -0
- data/lib/stylesheets/manpages/info.xsl +801 -0
- data/lib/stylesheets/manpages/inline.xsl +221 -0
- data/lib/stylesheets/manpages/lists.xsl +606 -0
- data/lib/stylesheets/manpages/other.xsl +889 -0
- data/lib/stylesheets/manpages/param.xml +3220 -0
- data/lib/stylesheets/manpages/param.xsl +195 -0
- data/lib/stylesheets/manpages/pi.xml +70 -0
- data/lib/stylesheets/manpages/pi.xsl +80 -0
- data/lib/stylesheets/manpages/profile-docbook.xsl +282 -0
- data/lib/stylesheets/manpages/refentry.xsl +321 -0
- data/lib/stylesheets/manpages/synop.xsl +433 -0
- data/lib/stylesheets/manpages/table.xsl +633 -0
- data/lib/stylesheets/manpages/utility.xsl +556 -0
- data/lib/stylesheets/params/abstract.notitle.enabled.xml +22 -0
- data/lib/stylesheets/params/abstract.properties.xml +32 -0
- data/lib/stylesheets/params/abstract.title.properties.xml +39 -0
- data/lib/stylesheets/params/active.toc.xml +29 -0
- data/lib/stylesheets/params/ade.extensions.xml +32 -0
- data/lib/stylesheets/params/admon.graphics.extension.xml +27 -0
- data/lib/stylesheets/params/admon.graphics.path.xml +27 -0
- data/lib/stylesheets/params/admon.graphics.xml +29 -0
- data/lib/stylesheets/params/admon.style.xml +31 -0
- data/lib/stylesheets/params/admon.textlabel.xml +32 -0
- data/lib/stylesheets/params/admonition.properties.xml +25 -0
- data/lib/stylesheets/params/admonition.title.properties.xml +32 -0
- data/lib/stylesheets/params/alignment.xml +41 -0
- data/lib/stylesheets/params/annotate.toc.xml +28 -0
- data/lib/stylesheets/params/annotation.css.xml +71 -0
- data/lib/stylesheets/params/annotation.graphic.close.xml +31 -0
- data/lib/stylesheets/params/annotation.graphic.open.xml +28 -0
- data/lib/stylesheets/params/annotation.js.xml +33 -0
- data/lib/stylesheets/params/annotation.support.xml +29 -0
- data/lib/stylesheets/params/appendix.autolabel.xml +73 -0
- data/lib/stylesheets/params/arbortext.extensions.xml +30 -0
- data/lib/stylesheets/params/article.appendix.title.properties.xml +33 -0
- data/lib/stylesheets/params/author.othername.in.middle.xml +31 -0
- data/lib/stylesheets/params/autolayout-file.xml +29 -0
- data/lib/stylesheets/params/autotoc.label.in.hyperlink.xml +29 -0
- data/lib/stylesheets/params/autotoc.label.separator.xml +27 -0
- data/lib/stylesheets/params/axf.extensions.xml +33 -0
- data/lib/stylesheets/params/banner.before.navigation.xml +25 -0
- data/lib/stylesheets/params/base.dir.xml +29 -0
- data/lib/stylesheets/params/biblioentry.item.separator.xml +26 -0
- data/lib/stylesheets/params/biblioentry.properties.xml +28 -0
- data/lib/stylesheets/params/bibliography.collection.xml +104 -0
- data/lib/stylesheets/params/bibliography.numbered.xml +27 -0
- data/lib/stylesheets/params/bibliography.style.xml +35 -0
- data/lib/stylesheets/params/blockquote.properties.xml +34 -0
- data/lib/stylesheets/params/blurb.on.titlepage.enabled.xml +31 -0
- data/lib/stylesheets/params/body.attributes.xml +31 -0
- data/lib/stylesheets/params/body.bg.color.xml +28 -0
- data/lib/stylesheets/params/body.end.indent.xml +37 -0
- data/lib/stylesheets/params/body.font.family.xml +32 -0
- data/lib/stylesheets/params/body.font.master.xml +30 -0
- data/lib/stylesheets/params/body.font.size.xml +31 -0
- data/lib/stylesheets/params/body.margin.bottom.xml +29 -0
- data/lib/stylesheets/params/body.margin.top.xml +28 -0
- data/lib/stylesheets/params/body.start.indent.xml +64 -0
- data/lib/stylesheets/params/bookmarks.collapse.xml +31 -0
- data/lib/stylesheets/params/bridgehead.in.toc.xml +28 -0
- data/lib/stylesheets/params/bullet.image.xml +28 -0
- data/lib/stylesheets/params/callout.defaultcolumn.xml +30 -0
- data/lib/stylesheets/params/callout.graphics.extension.xml +33 -0
- data/lib/stylesheets/params/callout.graphics.number.limit.xml +34 -0
- data/lib/stylesheets/params/callout.graphics.path.xml +31 -0
- data/lib/stylesheets/params/callout.graphics.xml +30 -0
- data/lib/stylesheets/params/callout.icon.size.xml +28 -0
- data/lib/stylesheets/params/callout.list.table.xml +32 -0
- data/lib/stylesheets/params/callout.unicode.font.xml +29 -0
- data/lib/stylesheets/params/callout.unicode.number.limit.xml +35 -0
- data/lib/stylesheets/params/callout.unicode.start.character.xml +33 -0
- data/lib/stylesheets/params/callout.unicode.xml +26 -0
- data/lib/stylesheets/params/callouts.extension.xml +30 -0
- data/lib/stylesheets/params/chapter.autolabel.xml +71 -0
- data/lib/stylesheets/params/chunk.append.xml +30 -0
- data/lib/stylesheets/params/chunk.first.sections.xml +31 -0
- data/lib/stylesheets/params/chunk.quietly.xml +30 -0
- data/lib/stylesheets/params/chunk.section.depth.xml +27 -0
- data/lib/stylesheets/params/chunk.sections.xml +30 -0
- data/lib/stylesheets/params/chunk.separate.lots.xml +36 -0
- data/lib/stylesheets/params/chunk.toc.xml +30 -0
- data/lib/stylesheets/params/chunk.tocs.and.lots.has.title.xml +28 -0
- data/lib/stylesheets/params/chunk.tocs.and.lots.xml +32 -0
- data/lib/stylesheets/params/chunker.output.cdata-section-elements.xml +30 -0
- data/lib/stylesheets/params/chunker.output.doctype-public.xml +31 -0
- data/lib/stylesheets/params/chunker.output.doctype-system.xml +31 -0
- data/lib/stylesheets/params/chunker.output.encoding.xml +31 -0
- data/lib/stylesheets/params/chunker.output.indent.xml +30 -0
- data/lib/stylesheets/params/chunker.output.media-type.xml +35 -0
- data/lib/stylesheets/params/chunker.output.method.xml +32 -0
- data/lib/stylesheets/params/chunker.output.omit-xml-declaration.xml +30 -0
- data/lib/stylesheets/params/chunker.output.standalone.xml +31 -0
- data/lib/stylesheets/params/citerefentry.link.xml +29 -0
- data/lib/stylesheets/params/collect.xref.targets.xml +33 -0
- data/lib/stylesheets/params/column.count.back.xml +27 -0
- data/lib/stylesheets/params/column.count.body.xml +27 -0
- data/lib/stylesheets/params/column.count.front.xml +27 -0
- data/lib/stylesheets/params/column.count.index.xml +27 -0
- data/lib/stylesheets/params/column.count.lot.xml +28 -0
- data/lib/stylesheets/params/column.count.titlepage.xml +27 -0
- data/lib/stylesheets/params/column.gap.back.xml +28 -0
- data/lib/stylesheets/params/column.gap.body.xml +28 -0
- data/lib/stylesheets/params/column.gap.front.xml +28 -0
- data/lib/stylesheets/params/column.gap.index.xml +28 -0
- data/lib/stylesheets/params/column.gap.lot.xml +28 -0
- data/lib/stylesheets/params/column.gap.titlepage.xml +29 -0
- data/lib/stylesheets/params/compact.list.item.spacing.xml +28 -0
- data/lib/stylesheets/params/component.label.includes.part.label.xml +39 -0
- data/lib/stylesheets/params/component.title.properties.xml +40 -0
- data/lib/stylesheets/params/component.titlepage.properties.xml +33 -0
- data/lib/stylesheets/params/contrib.inline.enabled.xml +26 -0
- data/lib/stylesheets/params/crop.mark.bleed.xml +28 -0
- data/lib/stylesheets/params/crop.mark.offset.xml +28 -0
- data/lib/stylesheets/params/crop.mark.width.xml +28 -0
- data/lib/stylesheets/params/crop.marks.xml +28 -0
- data/lib/stylesheets/params/css.decoration.xml +33 -0
- data/lib/stylesheets/params/css.stylesheet.dir.xml +33 -0
- data/lib/stylesheets/params/css.stylesheet.xml +29 -0
- data/lib/stylesheets/params/current.docid.xml +27 -0
- data/lib/stylesheets/params/currentpage.marker.xml +25 -0
- data/lib/stylesheets/params/custom.css.source.xml +119 -0
- data/lib/stylesheets/params/default.float.class.xml +34 -0
- data/lib/stylesheets/params/default.image.width.xml +30 -0
- data/lib/stylesheets/params/default.table.frame.xml +28 -0
- data/lib/stylesheets/params/default.table.rules.xml +76 -0
- data/lib/stylesheets/params/default.table.width.xml +26 -0
- data/lib/stylesheets/params/default.units.xml +37 -0
- data/lib/stylesheets/params/dingbat.font.family.xml +33 -0
- data/lib/stylesheets/params/docbook.css.link.xml +42 -0
- data/lib/stylesheets/params/docbook.css.source.xml +83 -0
- data/lib/stylesheets/params/double.sided.xml +31 -0
- data/lib/stylesheets/params/draft.mode.xml +36 -0
- data/lib/stylesheets/params/draft.watermark.image.xml +27 -0
- data/lib/stylesheets/params/dry-run.xml +27 -0
- data/lib/stylesheets/params/dynamic.toc.xml +29 -0
- data/lib/stylesheets/params/ebnf.assignment.xml +39 -0
- data/lib/stylesheets/params/ebnf.statement.terminator.xml +32 -0
- data/lib/stylesheets/params/ebnf.table.bgcolor.xml +30 -0
- data/lib/stylesheets/params/ebnf.table.border.xml +26 -0
- data/lib/stylesheets/params/eclipse.autolabel.xml +28 -0
- data/lib/stylesheets/params/eclipse.plugin.id.xml +28 -0
- data/lib/stylesheets/params/eclipse.plugin.name.xml +27 -0
- data/lib/stylesheets/params/eclipse.plugin.provider.xml +27 -0
- data/lib/stylesheets/params/editedby.enabled.xml +27 -0
- data/lib/stylesheets/params/email.delimiters.enabled.xml +34 -0
- data/lib/stylesheets/params/email.mailto.enabled.xml +29 -0
- data/lib/stylesheets/params/emphasis.propagates.style.xml +26 -0
- data/lib/stylesheets/params/entry.propagates.style.xml +30 -0
- data/lib/stylesheets/params/epub.autolabel.xml +28 -0
- data/lib/stylesheets/params/equation.number.properties.xml +28 -0
- data/lib/stylesheets/params/equation.properties.xml +27 -0
- data/lib/stylesheets/params/example.properties.xml +27 -0
- data/lib/stylesheets/params/exsl.node.set.available.xml +44 -0
- data/lib/stylesheets/params/feedback.href.xml +28 -0
- data/lib/stylesheets/params/feedback.link.text.xml +28 -0
- data/lib/stylesheets/params/feedback.with.ids.xml +27 -0
- data/lib/stylesheets/params/figure.properties.xml +27 -0
- data/lib/stylesheets/params/filename-prefix.xml +28 -0
- data/lib/stylesheets/params/firstterm.only.link.xml +29 -0
- data/lib/stylesheets/params/foil.properties.xml +37 -0
- data/lib/stylesheets/params/foil.subtitle.properties.xml +36 -0
- data/lib/stylesheets/params/foil.title.master.xml +29 -0
- data/lib/stylesheets/params/foil.title.size.xml +32 -0
- data/lib/stylesheets/params/foilgroup.properties.xml +31 -0
- data/lib/stylesheets/params/foilgroup.toc.xml +29 -0
- data/lib/stylesheets/params/footer.column.widths.xml +80 -0
- data/lib/stylesheets/params/footer.content.properties.xml +34 -0
- data/lib/stylesheets/params/footer.hr.xml +26 -0
- data/lib/stylesheets/params/footer.rule.xml +27 -0
- data/lib/stylesheets/params/footer.table.height.xml +32 -0
- data/lib/stylesheets/params/footer.table.properties.xml +30 -0
- data/lib/stylesheets/params/footers.on.blank.pages.xml +27 -0
- data/lib/stylesheets/params/footnote.font.size.xml +28 -0
- data/lib/stylesheets/params/footnote.mark.properties.xml +41 -0
- data/lib/stylesheets/params/footnote.number.format.xml +33 -0
- data/lib/stylesheets/params/footnote.number.symbols.xml +39 -0
- data/lib/stylesheets/params/footnote.properties.xml +43 -0
- data/lib/stylesheets/params/footnote.sep.leader.properties.xml +39 -0
- data/lib/stylesheets/params/fop.extensions.xml +36 -0
- data/lib/stylesheets/params/fop1.extensions.xml +34 -0
- data/lib/stylesheets/params/formal.object.properties.xml +36 -0
- data/lib/stylesheets/params/formal.procedures.xml +28 -0
- data/lib/stylesheets/params/formal.title.placement.xml +41 -0
- data/lib/stylesheets/params/formal.title.properties.xml +34 -0
- data/lib/stylesheets/params/funcsynopsis.decoration.xml +30 -0
- data/lib/stylesheets/params/funcsynopsis.style.xml +31 -0
- data/lib/stylesheets/params/function.parens.xml +29 -0
- data/lib/stylesheets/params/generate.css.header.xml +40 -0
- data/lib/stylesheets/params/generate.id.attributes.xml +59 -0
- data/lib/stylesheets/params/generate.index.xml +25 -0
- data/lib/stylesheets/params/generate.legalnotice.link.xml +72 -0
- data/lib/stylesheets/params/generate.manifest.xml +27 -0
- data/lib/stylesheets/params/generate.meta.abstract.xml +29 -0
- data/lib/stylesheets/params/generate.revhistory.link.xml +50 -0
- data/lib/stylesheets/params/generate.section.toc.level.xml +35 -0
- data/lib/stylesheets/params/generate.toc.xml +108 -0
- data/lib/stylesheets/params/glossary.as.blocks.xml +38 -0
- data/lib/stylesheets/params/glossary.collection.xml +252 -0
- data/lib/stylesheets/params/glossary.sort.xml +32 -0
- data/lib/stylesheets/params/glossdef.block.properties.xml +32 -0
- data/lib/stylesheets/params/glossdef.list.properties.xml +30 -0
- data/lib/stylesheets/params/glossentry.list.item.properties.xml +32 -0
- data/lib/stylesheets/params/glossentry.show.acronym.xml +37 -0
- data/lib/stylesheets/params/glosslist.as.blocks.xml +27 -0
- data/lib/stylesheets/params/glossterm.auto.link.xml +33 -0
- data/lib/stylesheets/params/glossterm.block.properties.xml +35 -0
- data/lib/stylesheets/params/glossterm.list.properties.xml +30 -0
- data/lib/stylesheets/params/glossterm.separation.xml +31 -0
- data/lib/stylesheets/params/glossterm.width.xml +28 -0
- data/lib/stylesheets/params/graphic.default.extension.xml +29 -0
- data/lib/stylesheets/params/graphical.admonition.properties.xml +42 -0
- data/lib/stylesheets/params/graphics.dir.xml +33 -0
- data/lib/stylesheets/params/graphicsize.extension.xml +30 -0
- data/lib/stylesheets/params/graphicsize.use.img.src.path.xml +30 -0
- data/lib/stylesheets/params/header.column.widths.xml +80 -0
- data/lib/stylesheets/params/header.content.properties.xml +34 -0
- data/lib/stylesheets/params/header.hr.xml +26 -0
- data/lib/stylesheets/params/header.rule.xml +27 -0
- data/lib/stylesheets/params/header.table.height.xml +32 -0
- data/lib/stylesheets/params/header.table.properties.xml +30 -0
- data/lib/stylesheets/params/headers.on.blank.pages.xml +27 -0
- data/lib/stylesheets/params/hidetoc.image.xml +29 -0
- data/lib/stylesheets/params/highlight.default.language.xml +27 -0
- data/lib/stylesheets/params/highlight.source.xml +82 -0
- data/lib/stylesheets/params/highlight.xslthl.config.xml +33 -0
- data/lib/stylesheets/params/home.image.xml +27 -0
- data/lib/stylesheets/params/html.append.xml +30 -0
- data/lib/stylesheets/params/html.base.xml +30 -0
- data/lib/stylesheets/params/html.cellpadding.xml +29 -0
- data/lib/stylesheets/params/html.cellspacing.xml +29 -0
- data/lib/stylesheets/params/html.cleanup.xml +34 -0
- data/lib/stylesheets/params/html.ext.xml +29 -0
- data/lib/stylesheets/params/html.extra.head.links.xml +31 -0
- data/lib/stylesheets/params/html.head.legalnotice.link.multiple.xml +44 -0
- data/lib/stylesheets/params/html.head.legalnotice.link.types.xml +75 -0
- data/lib/stylesheets/params/html.longdesc.link.xml +39 -0
- data/lib/stylesheets/params/html.longdesc.xml +28 -0
- data/lib/stylesheets/params/html.stylesheet.type.xml +26 -0
- data/lib/stylesheets/params/html.stylesheet.xml +36 -0
- data/lib/stylesheets/params/htmlhelp.alias.file.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.autolabel.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.button.back.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.forward.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.hideshow.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.home.url.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.home.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.jump1.title.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.jump1.url.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.jump1.xml +23 -0
- data/lib/stylesheets/params/htmlhelp.button.jump2.title.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.jump2.url.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.jump2.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.locate.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.button.next.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.options.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.button.prev.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.button.print.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.button.refresh.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.button.stop.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.button.zoom.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.chm.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.default.topic.xml +37 -0
- data/lib/stylesheets/params/htmlhelp.display.progress.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.encoding.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.enhanced.decompilation.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.enumerate.images.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.force.map.and.alias.xml +26 -0
- data/lib/stylesheets/params/htmlhelp.hhc.binary.xml +29 -0
- data/lib/stylesheets/params/htmlhelp.hhc.folders.instead.books.xml +31 -0
- data/lib/stylesheets/params/htmlhelp.hhc.section.depth.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.hhc.show.root.xml +29 -0
- data/lib/stylesheets/params/htmlhelp.hhc.width.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.hhc.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.hhk.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.hhp.tail.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.hhp.window.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.hhp.windows.xml +29 -0
- data/lib/stylesheets/params/htmlhelp.hhp.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.map.file.xml +25 -0
- data/lib/stylesheets/params/htmlhelp.only.xml +32 -0
- data/lib/stylesheets/params/htmlhelp.remember.window.position.xml +27 -0
- data/lib/stylesheets/params/htmlhelp.show.advanced.search.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.show.favorities.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.show.menu.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.show.toolbar.text.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.title.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.use.hhk.xml +28 -0
- data/lib/stylesheets/params/htmlhelp.window.geometry.xml +30 -0
- data/lib/stylesheets/params/hyphenate.verbatim.characters.xml +30 -0
- data/lib/stylesheets/params/hyphenate.verbatim.xml +45 -0
- data/lib/stylesheets/params/hyphenate.xml +29 -0
- data/lib/stylesheets/params/id.warnings.xml +25 -0
- data/lib/stylesheets/params/ignore.image.scaling.xml +28 -0
- data/lib/stylesheets/params/img.src.path.xml +40 -0
- data/lib/stylesheets/params/index.div.title.properties.xml +39 -0
- data/lib/stylesheets/params/index.entry.properties.xml +33 -0
- data/lib/stylesheets/params/index.links.to.section.xml +76 -0
- data/lib/stylesheets/params/index.method.xml +162 -0
- data/lib/stylesheets/params/index.number.separator.xml +54 -0
- data/lib/stylesheets/params/index.on.role.xml +48 -0
- data/lib/stylesheets/params/index.on.type.xml +52 -0
- data/lib/stylesheets/params/index.page.number.properties.xml +31 -0
- data/lib/stylesheets/params/index.prefer.titleabbrev.xml +29 -0
- data/lib/stylesheets/params/index.preferred.page.properties.xml +32 -0
- data/lib/stylesheets/params/index.range.separator.xml +57 -0
- data/lib/stylesheets/params/index.term.separator.xml +54 -0
- data/lib/stylesheets/params/informal.object.properties.xml +29 -0
- data/lib/stylesheets/params/informalequation.properties.xml +27 -0
- data/lib/stylesheets/params/informalexample.properties.xml +27 -0
- data/lib/stylesheets/params/informalfigure.properties.xml +27 -0
- data/lib/stylesheets/params/informaltable.properties.xml +32 -0
- data/lib/stylesheets/params/inherit.keywords.xml +31 -0
- data/lib/stylesheets/params/insert.link.page.number.xml +69 -0
- data/lib/stylesheets/params/insert.olink.page.number.xml +83 -0
- data/lib/stylesheets/params/insert.olink.pdf.frag.xml +68 -0
- data/lib/stylesheets/params/insert.xref.page.number.xml +60 -0
- data/lib/stylesheets/params/itemizedlist.label.properties.xml +26 -0
- data/lib/stylesheets/params/itemizedlist.label.width.xml +28 -0
- data/lib/stylesheets/params/itemizedlist.properties.xml +23 -0
- data/lib/stylesheets/params/javahelp.encoding.xml +31 -0
- data/lib/stylesheets/params/keep.relative.image.uris.xml +34 -0
- data/lib/stylesheets/params/keyboard.nav.xml +29 -0
- data/lib/stylesheets/params/l10n.gentext.default.language.xml +30 -0
- data/lib/stylesheets/params/l10n.gentext.language.xml +33 -0
- data/lib/stylesheets/params/l10n.gentext.use.xref.language.xml +53 -0
- data/lib/stylesheets/params/l10n.lang.value.rfc.compliant.xml +57 -0
- data/lib/stylesheets/params/label.from.part.xml +38 -0
- data/lib/stylesheets/params/line-height.xml +27 -0
- data/lib/stylesheets/params/linenumbering.everyNth.xml +29 -0
- data/lib/stylesheets/params/linenumbering.extension.xml +30 -0
- data/lib/stylesheets/params/linenumbering.separator.xml +30 -0
- data/lib/stylesheets/params/linenumbering.width.xml +29 -0
- data/lib/stylesheets/params/link.mailto.url.xml +29 -0
- data/lib/stylesheets/params/list.block.properties.xml +25 -0
- data/lib/stylesheets/params/list.block.spacing.xml +29 -0
- data/lib/stylesheets/params/list.item.spacing.xml +26 -0
- data/lib/stylesheets/params/make.clean.html.xml +51 -0
- data/lib/stylesheets/params/make.graphic.viewport.xml +35 -0
- data/lib/stylesheets/params/make.index.markup.xml +73 -0
- data/lib/stylesheets/params/make.single.year.ranges.xml +28 -0
- data/lib/stylesheets/params/make.valid.html.xml +35 -0
- data/lib/stylesheets/params/make.year.ranges.xml +32 -0
- data/lib/stylesheets/params/man.authors.section.enabled.xml +46 -0
- data/lib/stylesheets/params/man.base.url.for.relative.links.xml +76 -0
- data/lib/stylesheets/params/man.break.after.slash.xml +46 -0
- data/lib/stylesheets/params/man.charmap.enabled.xml +55 -0
- data/lib/stylesheets/params/man.charmap.subset.profile.english.xml +80 -0
- data/lib/stylesheets/params/man.charmap.subset.profile.xml +297 -0
- data/lib/stylesheets/params/man.charmap.uri.xml +42 -0
- data/lib/stylesheets/params/man.charmap.use.subset.xml +80 -0
- data/lib/stylesheets/params/man.copyright.section.enabled.xml +46 -0
- data/lib/stylesheets/params/man.endnotes.are.numbered.xml +106 -0
- data/lib/stylesheets/params/man.endnotes.list.enabled.xml +105 -0
- data/lib/stylesheets/params/man.endnotes.list.heading.xml +36 -0
- data/lib/stylesheets/params/man.font.funcprototype.xml +30 -0
- data/lib/stylesheets/params/man.font.funcsynopsisinfo.xml +30 -0
- data/lib/stylesheets/params/man.font.links.xml +64 -0
- data/lib/stylesheets/params/man.font.table.headings.xml +30 -0
- data/lib/stylesheets/params/man.font.table.title.xml +30 -0
- data/lib/stylesheets/params/man.funcsynopsis.style.xml +26 -0
- data/lib/stylesheets/params/man.hyphenate.computer.inlines.xml +53 -0
- data/lib/stylesheets/params/man.hyphenate.filenames.xml +47 -0
- data/lib/stylesheets/params/man.hyphenate.urls.xml +46 -0
- data/lib/stylesheets/params/man.hyphenate.xml +59 -0
- data/lib/stylesheets/params/man.indent.blurbs.xml +33 -0
- data/lib/stylesheets/params/man.indent.lists.xml +35 -0
- data/lib/stylesheets/params/man.indent.refsect.xml +70 -0
- data/lib/stylesheets/params/man.indent.verbatims.xml +33 -0
- data/lib/stylesheets/params/man.indent.width.xml +39 -0
- data/lib/stylesheets/params/man.justify.xml +52 -0
- data/lib/stylesheets/params/man.output.base.dir.xml +39 -0
- data/lib/stylesheets/params/man.output.better.ps.enabled.xml +61 -0
- data/lib/stylesheets/params/man.output.encoding.xml +53 -0
- data/lib/stylesheets/params/man.output.in.separate.dir.xml +32 -0
- data/lib/stylesheets/params/man.output.lang.in.name.enabled.xml +50 -0
- data/lib/stylesheets/params/man.output.manifest.enabled.xml +27 -0
- data/lib/stylesheets/params/man.output.manifest.filename.xml +29 -0
- data/lib/stylesheets/params/man.output.quietly.xml +37 -0
- data/lib/stylesheets/params/man.output.subdirs.enabled.xml +40 -0
- data/lib/stylesheets/params/man.segtitle.suppress.xml +28 -0
- data/lib/stylesheets/params/man.string.subst.map.local.post.xml +34 -0
- data/lib/stylesheets/params/man.string.subst.map.local.pre.xml +34 -0
- data/lib/stylesheets/params/man.string.subst.map.xml +162 -0
- data/lib/stylesheets/params/man.subheading.divider.enabled.xml +37 -0
- data/lib/stylesheets/params/man.subheading.divider.xml +37 -0
- data/lib/stylesheets/params/man.table.footnotes.divider.xml +29 -0
- data/lib/stylesheets/params/man.th.extra1.suppress.xml +32 -0
- data/lib/stylesheets/params/man.th.extra2.max.length.xml +43 -0
- data/lib/stylesheets/params/man.th.extra2.suppress.xml +44 -0
- data/lib/stylesheets/params/man.th.extra3.max.length.xml +42 -0
- data/lib/stylesheets/params/man.th.extra3.suppress.xml +34 -0
- data/lib/stylesheets/params/man.th.title.max.length.xml +63 -0
- data/lib/stylesheets/params/manifest.in.base.dir.xml +29 -0
- data/lib/stylesheets/params/manifest.xml +29 -0
- data/lib/stylesheets/params/manual.toc.xml +29 -0
- data/lib/stylesheets/params/margin.note.float.type.xml +77 -0
- data/lib/stylesheets/params/margin.note.properties.xml +54 -0
- data/lib/stylesheets/params/margin.note.title.properties.xml +32 -0
- data/lib/stylesheets/params/margin.note.width.xml +35 -0
- data/lib/stylesheets/params/marker.section.level.xml +50 -0
- data/lib/stylesheets/params/menuchoice.menu.separator.xml +42 -0
- data/lib/stylesheets/params/menuchoice.separator.xml +32 -0
- data/lib/stylesheets/params/minus.image.xml +29 -0
- data/lib/stylesheets/params/monospace.font.family.xml +29 -0
- data/lib/stylesheets/params/monospace.properties.xml +38 -0
- data/lib/stylesheets/params/monospace.verbatim.font.width.xml +40 -0
- data/lib/stylesheets/params/monospace.verbatim.properties.xml +27 -0
- data/lib/stylesheets/params/multiframe.bottom.bgcolor.xml +28 -0
- data/lib/stylesheets/params/multiframe.navigation.height.xml +28 -0
- data/lib/stylesheets/params/multiframe.top.bgcolor.xml +28 -0
- data/lib/stylesheets/params/multiframe.xml +31 -0
- data/lib/stylesheets/params/nav.separator.xml +28 -0
- data/lib/stylesheets/params/nav.table.summary.xml +27 -0
- data/lib/stylesheets/params/navbgcolor.xml +26 -0
- data/lib/stylesheets/params/navbodywidth.xml +26 -0
- data/lib/stylesheets/params/navig.graphics.extension.xml +28 -0
- data/lib/stylesheets/params/navig.graphics.path.xml +30 -0
- data/lib/stylesheets/params/navig.graphics.xml +31 -0
- data/lib/stylesheets/params/navig.showtitles.xml +32 -0
- data/lib/stylesheets/params/navtocwidth.xml +26 -0
- data/lib/stylesheets/params/next.image.xml +27 -0
- data/lib/stylesheets/params/no.home.image.xml +27 -0
- data/lib/stylesheets/params/no.next.image.xml +27 -0
- data/lib/stylesheets/params/no.prev.image.xml +27 -0
- data/lib/stylesheets/params/no.toc.image.xml +27 -0
- data/lib/stylesheets/params/no.up.image.xml +27 -0
- data/lib/stylesheets/params/nominal.image.depth.xml +27 -0
- data/lib/stylesheets/params/nominal.image.width.xml +43 -0
- data/lib/stylesheets/params/nominal.table.width.xml +30 -0
- data/lib/stylesheets/params/nongraphical.admonition.properties.xml +41 -0
- data/lib/stylesheets/params/normal.para.spacing.xml +26 -0
- data/lib/stylesheets/params/olink.base.uri.xml +35 -0
- data/lib/stylesheets/params/olink.debug.xml +36 -0
- data/lib/stylesheets/params/olink.doctitle.xml +146 -0
- data/lib/stylesheets/params/olink.fragid.xml +23 -0
- data/lib/stylesheets/params/olink.lang.fallback.sequence.xml +83 -0
- data/lib/stylesheets/params/olink.outline.ext.xml +28 -0
- data/lib/stylesheets/params/olink.properties.xml +33 -0
- data/lib/stylesheets/params/olink.pubid.xml +27 -0
- data/lib/stylesheets/params/olink.resolver.xml +23 -0
- data/lib/stylesheets/params/olink.sysid.xml +27 -0
- data/lib/stylesheets/params/orderedlist.label.properties.xml +26 -0
- data/lib/stylesheets/params/orderedlist.label.width.xml +28 -0
- data/lib/stylesheets/params/orderedlist.properties.xml +24 -0
- data/lib/stylesheets/params/othercredit.like.author.enabled.xml +31 -0
- data/lib/stylesheets/params/output-root.xml +28 -0
- data/lib/stylesheets/params/output.indent.xml +32 -0
- data/lib/stylesheets/params/overlay.js.xml +28 -0
- data/lib/stylesheets/params/overlay.logo.xml +28 -0
- data/lib/stylesheets/params/overlay.xml +32 -0
- data/lib/stylesheets/params/page.height.portrait.xml +69 -0
- data/lib/stylesheets/params/page.height.xml +37 -0
- data/lib/stylesheets/params/page.margin.bottom.xml +29 -0
- data/lib/stylesheets/params/page.margin.inner.xml +56 -0
- data/lib/stylesheets/params/page.margin.outer.xml +53 -0
- data/lib/stylesheets/params/page.margin.top.xml +28 -0
- data/lib/stylesheets/params/page.orientation.xml +32 -0
- data/lib/stylesheets/params/page.width.portrait.xml +67 -0
- data/lib/stylesheets/params/page.width.xml +36 -0
- data/lib/stylesheets/params/pages.template.xml +29 -0
- data/lib/stylesheets/params/paper.type.xml +73 -0
- data/lib/stylesheets/params/para.propagates.style.xml +29 -0
- data/lib/stylesheets/params/part.autolabel.xml +73 -0
- data/lib/stylesheets/params/passivetex.extensions.xml +37 -0
- data/lib/stylesheets/params/pgwide.properties.xml +52 -0
- data/lib/stylesheets/params/phrase.propagates.style.xml +29 -0
- data/lib/stylesheets/params/pixels.per.inch.xml +31 -0
- data/lib/stylesheets/params/plus.image.xml +29 -0
- data/lib/stylesheets/params/points.per.em.xml +29 -0
- data/lib/stylesheets/params/preface.autolabel.xml +71 -0
- data/lib/stylesheets/params/prefer.internal.olink.xml +78 -0
- data/lib/stylesheets/params/preferred.mediaobject.role.xml +40 -0
- data/lib/stylesheets/params/prev.image.xml +27 -0
- data/lib/stylesheets/params/procedure.properties.xml +29 -0
- data/lib/stylesheets/params/process.empty.source.toc.xml +39 -0
- data/lib/stylesheets/params/process.source.toc.xml +39 -0
- data/lib/stylesheets/params/profile.arch.xml +39 -0
- data/lib/stylesheets/params/profile.attribute.xml +34 -0
- data/lib/stylesheets/params/profile.audience.xml +38 -0
- data/lib/stylesheets/params/profile.condition.xml +38 -0
- data/lib/stylesheets/params/profile.conformance.xml +38 -0
- data/lib/stylesheets/params/profile.lang.xml +38 -0
- data/lib/stylesheets/params/profile.os.xml +38 -0
- data/lib/stylesheets/params/profile.revision.xml +38 -0
- data/lib/stylesheets/params/profile.revisionflag.xml +38 -0
- data/lib/stylesheets/params/profile.role.xml +54 -0
- data/lib/stylesheets/params/profile.security.xml +38 -0
- data/lib/stylesheets/params/profile.separator.xml +27 -0
- data/lib/stylesheets/params/profile.status.xml +38 -0
- data/lib/stylesheets/params/profile.userlevel.xml +38 -0
- data/lib/stylesheets/params/profile.value.xml +41 -0
- data/lib/stylesheets/params/profile.vendor.xml +38 -0
- data/lib/stylesheets/params/profile.wordsize.xml +38 -0
- data/lib/stylesheets/params/punct.honorific.xml +28 -0
- data/lib/stylesheets/params/qanda.defaultlabel.xml +86 -0
- data/lib/stylesheets/params/qanda.in.toc.xml +34 -0
- data/lib/stylesheets/params/qanda.inherit.numeration.xml +30 -0
- data/lib/stylesheets/params/qanda.nested.in.toc.xml +29 -0
- data/lib/stylesheets/params/qanda.title.level1.properties.xml +32 -0
- data/lib/stylesheets/params/qanda.title.level2.properties.xml +32 -0
- data/lib/stylesheets/params/qanda.title.level3.properties.xml +32 -0
- data/lib/stylesheets/params/qanda.title.level4.properties.xml +32 -0
- data/lib/stylesheets/params/qanda.title.level5.properties.xml +32 -0
- data/lib/stylesheets/params/qanda.title.level6.properties.xml +34 -0
- data/lib/stylesheets/params/qanda.title.properties.xml +37 -0
- data/lib/stylesheets/params/qandadiv.autolabel.xml +26 -0
- data/lib/stylesheets/params/rebuild-all.xml +33 -0
- data/lib/stylesheets/params/refclass.suppress.xml +28 -0
- data/lib/stylesheets/params/refentry.date.profile.enabled.xml +46 -0
- data/lib/stylesheets/params/refentry.date.profile.xml +38 -0
- data/lib/stylesheets/params/refentry.generate.name.xml +33 -0
- data/lib/stylesheets/params/refentry.generate.title.xml +33 -0
- data/lib/stylesheets/params/refentry.manual.fallback.profile.xml +48 -0
- data/lib/stylesheets/params/refentry.manual.profile.enabled.xml +47 -0
- data/lib/stylesheets/params/refentry.manual.profile.xml +72 -0
- data/lib/stylesheets/params/refentry.meta.get.quietly.xml +37 -0
- data/lib/stylesheets/params/refentry.pagebreak.xml +33 -0
- data/lib/stylesheets/params/refentry.separator.xml +29 -0
- data/lib/stylesheets/params/refentry.source.fallback.profile.xml +49 -0
- data/lib/stylesheets/params/refentry.source.name.profile.enabled.xml +48 -0
- data/lib/stylesheets/params/refentry.source.name.profile.xml +89 -0
- data/lib/stylesheets/params/refentry.source.name.suppress.xml +42 -0
- data/lib/stylesheets/params/refentry.title.properties.xml +59 -0
- data/lib/stylesheets/params/refentry.version.profile.enabled.xml +47 -0
- data/lib/stylesheets/params/refentry.version.profile.xml +41 -0
- data/lib/stylesheets/params/refentry.version.suppress.xml +43 -0
- data/lib/stylesheets/params/refentry.xref.manvolnum.xml +31 -0
- data/lib/stylesheets/params/reference.autolabel.xml +67 -0
- data/lib/stylesheets/params/region.after.extent.xml +29 -0
- data/lib/stylesheets/params/region.before.extent.xml +29 -0
- data/lib/stylesheets/params/revhistory.table.cell.properties.xml +28 -0
- data/lib/stylesheets/params/revhistory.table.properties.xml +28 -0
- data/lib/stylesheets/params/revhistory.title.properties.xml +28 -0
- data/lib/stylesheets/params/root.filename.xml +29 -0
- data/lib/stylesheets/params/root.properties.xml +46 -0
- data/lib/stylesheets/params/rootid.xml +33 -0
- data/lib/stylesheets/params/runinhead.default.title.end.punct.xml +27 -0
- data/lib/stylesheets/params/runinhead.title.end.punct.xml +32 -0
- data/lib/stylesheets/params/running.foot.properties.xml +34 -0
- data/lib/stylesheets/params/sans.font.family.xml +29 -0
- data/lib/stylesheets/params/saxon.callouts.xml +30 -0
- data/lib/stylesheets/params/saxon.character.representation.xml +38 -0
- data/lib/stylesheets/params/saxon.linenumbering.xml +32 -0
- data/lib/stylesheets/params/saxon.tablecolumns.xml +30 -0
- data/lib/stylesheets/params/script.dir.xml +33 -0
- data/lib/stylesheets/params/section.autolabel.max.depth.xml +32 -0
- data/lib/stylesheets/params/section.autolabel.xml +26 -0
- data/lib/stylesheets/params/section.container.element.xml +62 -0
- data/lib/stylesheets/params/section.label.includes.component.label.xml +27 -0
- data/lib/stylesheets/params/section.level1.properties.xml +43 -0
- data/lib/stylesheets/params/section.level2.properties.xml +43 -0
- data/lib/stylesheets/params/section.level3.properties.xml +43 -0
- data/lib/stylesheets/params/section.level4.properties.xml +43 -0
- data/lib/stylesheets/params/section.level5.properties.xml +43 -0
- data/lib/stylesheets/params/section.level6.properties.xml +43 -0
- data/lib/stylesheets/params/section.properties.xml +35 -0
- data/lib/stylesheets/params/section.title.level1.properties.xml +32 -0
- data/lib/stylesheets/params/section.title.level2.properties.xml +33 -0
- data/lib/stylesheets/params/section.title.level3.properties.xml +32 -0
- data/lib/stylesheets/params/section.title.level4.properties.xml +32 -0
- data/lib/stylesheets/params/section.title.level5.properties.xml +32 -0
- data/lib/stylesheets/params/section.title.level6.properties.xml +33 -0
- data/lib/stylesheets/params/section.title.properties.xml +39 -0
- data/lib/stylesheets/params/segmentedlist.as.table.xml +28 -0
- data/lib/stylesheets/params/sequential.links.xml +25 -0
- data/lib/stylesheets/params/shade.verbatim.style.xml +36 -0
- data/lib/stylesheets/params/shade.verbatim.xml +30 -0
- data/lib/stylesheets/params/show.comments.xml +32 -0
- data/lib/stylesheets/params/show.foil.number.xml +28 -0
- data/lib/stylesheets/params/show.revisionflag.xml +42 -0
- data/lib/stylesheets/params/showtoc.image.xml +29 -0
- data/lib/stylesheets/params/side.float.properties.xml +50 -0
- data/lib/stylesheets/params/sidebar.float.type.xml +90 -0
- data/lib/stylesheets/params/sidebar.float.width.xml +35 -0
- data/lib/stylesheets/params/sidebar.properties.xml +42 -0
- data/lib/stylesheets/params/sidebar.title.properties.xml +32 -0
- data/lib/stylesheets/params/simplesect.in.toc.xml +26 -0
- data/lib/stylesheets/params/slide.font.family.xml +31 -0
- data/lib/stylesheets/params/slide.title.font.family.xml +31 -0
- data/lib/stylesheets/params/slides.js.xml +28 -0
- data/lib/stylesheets/params/slides.properties.xml +31 -0
- data/lib/stylesheets/params/spacing.paras.xml +30 -0
- data/lib/stylesheets/params/speakernote.properties.xml +32 -0
- data/lib/stylesheets/params/subscript.properties.xml +29 -0
- data/lib/stylesheets/params/superscript.properties.xml +29 -0
- data/lib/stylesheets/params/suppress.footer.navigation.xml +26 -0
- data/lib/stylesheets/params/suppress.header.navigation.xml +27 -0
- data/lib/stylesheets/params/suppress.homepage.title.xml +25 -0
- data/lib/stylesheets/params/suppress.navigation.xml +28 -0
- data/lib/stylesheets/params/symbol.font.family.xml +45 -0
- data/lib/stylesheets/params/table.borders.with.css.xml +28 -0
- data/lib/stylesheets/params/table.cell.border.color.xml +39 -0
- data/lib/stylesheets/params/table.cell.border.style.xml +42 -0
- data/lib/stylesheets/params/table.cell.border.thickness.xml +35 -0
- data/lib/stylesheets/params/table.cell.padding.xml +32 -0
- data/lib/stylesheets/params/table.entry.padding.xml +27 -0
- data/lib/stylesheets/params/table.footnote.number.format.xml +33 -0
- data/lib/stylesheets/params/table.footnote.number.symbols.xml +39 -0
- data/lib/stylesheets/params/table.footnote.properties.xml +39 -0
- data/lib/stylesheets/params/table.frame.border.color.xml +28 -0
- data/lib/stylesheets/params/table.frame.border.style.xml +37 -0
- data/lib/stylesheets/params/table.frame.border.thickness.xml +27 -0
- data/lib/stylesheets/params/table.properties.xml +34 -0
- data/lib/stylesheets/params/table.spacer.image.xml +26 -0
- data/lib/stylesheets/params/table.table.properties.xml +36 -0
- data/lib/stylesheets/params/tablecolumns.extension.xml +30 -0
- data/lib/stylesheets/params/target.database.document.xml +37 -0
- data/lib/stylesheets/params/targets.filename.xml +32 -0
- data/lib/stylesheets/params/template.xml +27 -0
- data/lib/stylesheets/params/tex.math.delims.xml +47 -0
- data/lib/stylesheets/params/tex.math.file.xml +42 -0
- data/lib/stylesheets/params/tex.math.in.alt.xml +76 -0
- data/lib/stylesheets/params/text.home.xml +27 -0
- data/lib/stylesheets/params/text.next.xml +27 -0
- data/lib/stylesheets/params/text.prev.xml +27 -0
- data/lib/stylesheets/params/text.toc.xml +27 -0
- data/lib/stylesheets/params/text.up.xml +27 -0
- data/lib/stylesheets/params/textbgcolor.xml +26 -0
- data/lib/stylesheets/params/textdata.default.encoding.xml +32 -0
- data/lib/stylesheets/params/textinsert.extension.xml +62 -0
- data/lib/stylesheets/params/title.font.family.xml +33 -0
- data/lib/stylesheets/params/title.margin.left.xml +65 -0
- data/lib/stylesheets/params/titlefoil.html.xml +27 -0
- data/lib/stylesheets/params/toc.bg.color.xml +27 -0
- data/lib/stylesheets/params/toc.blank.graphic.xml +28 -0
- data/lib/stylesheets/params/toc.blank.image.xml +27 -0
- data/lib/stylesheets/params/toc.blank.text.xml +27 -0
- data/lib/stylesheets/params/toc.hide.show.xml +33 -0
- data/lib/stylesheets/params/toc.html.xml +27 -0
- data/lib/stylesheets/params/toc.image.xml +27 -0
- data/lib/stylesheets/params/toc.indent.width.xml +34 -0
- data/lib/stylesheets/params/toc.line.properties.xml +44 -0
- data/lib/stylesheets/params/toc.list.type.xml +30 -0
- data/lib/stylesheets/params/toc.margin.properties.xml +33 -0
- data/lib/stylesheets/params/toc.max.depth.xml +25 -0
- data/lib/stylesheets/params/toc.pointer.graphic.xml +28 -0
- data/lib/stylesheets/params/toc.pointer.image.xml +27 -0
- data/lib/stylesheets/params/toc.pointer.text.xml +27 -0
- data/lib/stylesheets/params/toc.row.height.xml +33 -0
- data/lib/stylesheets/params/toc.section.depth.xml +28 -0
- data/lib/stylesheets/params/toc.spacer.graphic.xml +28 -0
- data/lib/stylesheets/params/toc.spacer.image.xml +27 -0
- data/lib/stylesheets/params/toc.spacer.text.xml +27 -0
- data/lib/stylesheets/params/toc.width.xml +28 -0
- data/lib/stylesheets/params/ua.js.xml +28 -0
- data/lib/stylesheets/params/ulink.footnotes.xml +34 -0
- data/lib/stylesheets/params/ulink.hyphenate.chars.xml +37 -0
- data/lib/stylesheets/params/ulink.hyphenate.xml +35 -0
- data/lib/stylesheets/params/ulink.show.xml +37 -0
- data/lib/stylesheets/params/ulink.target.xml +29 -0
- data/lib/stylesheets/params/up.image.xml +27 -0
- data/lib/stylesheets/params/use.embed.for.svg.xml +33 -0
- data/lib/stylesheets/params/use.extensions.xml +31 -0
- data/lib/stylesheets/params/use.id.as.filename.xml +30 -0
- data/lib/stylesheets/params/use.id.function.xml +32 -0
- data/lib/stylesheets/params/use.local.olink.style.xml +28 -0
- data/lib/stylesheets/params/use.role.as.xrefstyle.xml +93 -0
- data/lib/stylesheets/params/use.role.for.mediaobject.xml +56 -0
- data/lib/stylesheets/params/use.svg.xml +30 -0
- data/lib/stylesheets/params/variablelist.as.blocks.xml +62 -0
- data/lib/stylesheets/params/variablelist.as.table.xml +54 -0
- data/lib/stylesheets/params/variablelist.max.termlength.xml +46 -0
- data/lib/stylesheets/params/variablelist.term.break.after.xml +39 -0
- data/lib/stylesheets/params/variablelist.term.properties.xml +29 -0
- data/lib/stylesheets/params/variablelist.term.separator.xml +40 -0
- data/lib/stylesheets/params/verbatim.properties.xml +38 -0
- data/lib/stylesheets/params/wordml.template.xml +29 -0
- data/lib/stylesheets/params/writing.mode.xml +83 -0
- data/lib/stylesheets/params/xbCollapsibleLists.js.xml +28 -0
- data/lib/stylesheets/params/xbDOM.js.xml +28 -0
- data/lib/stylesheets/params/xbLibrary.js.xml +28 -0
- data/lib/stylesheets/params/xbStyle.js.xml +28 -0
- data/lib/stylesheets/params/xep.extensions.xml +31 -0
- data/lib/stylesheets/params/xep.index.item.properties.xml +36 -0
- data/lib/stylesheets/params/xref.label-page.separator.xml +38 -0
- data/lib/stylesheets/params/xref.label-title.separator.xml +36 -0
- data/lib/stylesheets/params/xref.properties.xml +29 -0
- data/lib/stylesheets/params/xref.title-page.separator.xml +36 -0
- data/lib/stylesheets/params/xref.with.number.and.title.xml +30 -0
- data/lib/stylesheets/profiling/profile-mode.xsl +239 -0
- data/lib/stylesheets/profiling/profile.xsl +58 -0
- data/lib/stylesheets/profiling/strip-attributes.xsl +27 -0
- data/lib/stylesheets/profiling/xsl2profile.xsl +159 -0
- data/lib/stylesheets/roundtrip/blocks-spec.xml +11 -0
- data/lib/stylesheets/roundtrip/blocks2dbk.dtd +76 -0
- data/lib/stylesheets/roundtrip/blocks2dbk.xsl +1734 -0
- data/lib/stylesheets/roundtrip/dbk2ooo.xsl +178 -0
- data/lib/stylesheets/roundtrip/dbk2pages.xsl +442 -0
- data/lib/stylesheets/roundtrip/dbk2wordml.xsl +402 -0
- data/lib/stylesheets/roundtrip/dbk2wp.xsl +1376 -0
- data/lib/stylesheets/roundtrip/normalise-common.xsl +39 -0
- data/lib/stylesheets/roundtrip/normalise2sections.xsl +1270 -0
- data/lib/stylesheets/roundtrip/pages2normalise.xsl +352 -0
- data/lib/stylesheets/roundtrip/param.xml +105 -0
- data/lib/stylesheets/roundtrip/param.xsl +20 -0
- data/lib/stylesheets/roundtrip/sections-spec.xml +38 -0
- data/lib/stylesheets/roundtrip/sections2blocks.xsl +263 -0
- data/lib/stylesheets/roundtrip/specifications.xml +1420 -0
- data/lib/stylesheets/roundtrip/template-pages.xml +2 -0
- data/lib/stylesheets/roundtrip/template.dot +0 -0
- data/lib/stylesheets/roundtrip/template.xml +3 -0
- data/lib/stylesheets/roundtrip/wordml2normalise.xsl +446 -0
- data/lib/stylesheets/slides/browser/CTOCWidget.js +169 -0
- data/lib/stylesheets/slides/browser/overlay.js +142 -0
- data/lib/stylesheets/slides/browser/slides-default.css +9 -0
- data/lib/stylesheets/slides/browser/slides-frames.css +73 -0
- data/lib/stylesheets/slides/browser/slides-plain.css +1 -0
- data/lib/stylesheets/slides/browser/slides-table.css +41 -0
- data/lib/stylesheets/slides/browser/slides-w3c.css +1 -0
- data/lib/stylesheets/slides/browser/slides.css +119 -0
- data/lib/stylesheets/slides/browser/slides.js +120 -0
- data/lib/stylesheets/slides/browser/ua.js +135 -0
- data/lib/stylesheets/slides/browser/xbCollapsibleLists.js +537 -0
- data/lib/stylesheets/slides/browser/xbDOM.js +374 -0
- data/lib/stylesheets/slides/browser/xbDebug.js +311 -0
- data/lib/stylesheets/slides/browser/xbLibrary.js +80 -0
- data/lib/stylesheets/slides/browser/xbStyle-css.js +791 -0
- data/lib/stylesheets/slides/browser/xbStyle-nn4.js +485 -0
- data/lib/stylesheets/slides/browser/xbStyle-not-supported.js +77 -0
- data/lib/stylesheets/slides/browser/xbStyle.js +295 -0
- data/lib/stylesheets/slides/fo/param.xml +356 -0
- data/lib/stylesheets/slides/fo/param.xsl +74 -0
- data/lib/stylesheets/slides/fo/plain-titlepage.xml +79 -0
- data/lib/stylesheets/slides/fo/plain-titlepage.xsl +187 -0
- data/lib/stylesheets/slides/fo/plain.xsl +528 -0
- 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 +46 -0
- data/lib/stylesheets/slides/html/default.xsl +261 -0
- data/lib/stylesheets/slides/html/flat.xsl +70 -0
- data/lib/stylesheets/slides/html/frames.xsl +2016 -0
- data/lib/stylesheets/slides/html/graphics.xsl +151 -0
- data/lib/stylesheets/slides/html/jscript.xsl +127 -0
- data/lib/stylesheets/slides/html/param.xml +1376 -0
- data/lib/stylesheets/slides/html/param.xsl +68 -0
- data/lib/stylesheets/slides/html/plain.xsl +472 -0
- data/lib/stylesheets/slides/html/slides-common.xsl +1541 -0
- data/lib/stylesheets/slides/html/tables.xsl +336 -0
- data/lib/stylesheets/slides/html/vslides.xsl +667 -0
- data/lib/stylesheets/slides/html/w3c.xsl +376 -0
- data/lib/stylesheets/slides/htmlhelp/htmlhelp.xsl +89 -0
- data/lib/stylesheets/slides/keynote/default.xsl +600 -0
- data/lib/stylesheets/slides/keynote/xsltsl/cmp.xsl +348 -0
- data/lib/stylesheets/slides/keynote/xsltsl/date-time.xsl +1524 -0
- data/lib/stylesheets/slides/keynote/xsltsl/example.xsl +90 -0
- data/lib/stylesheets/slides/keynote/xsltsl/markup.xsl +789 -0
- data/lib/stylesheets/slides/keynote/xsltsl/math.xsl +704 -0
- data/lib/stylesheets/slides/keynote/xsltsl/node.xsl +229 -0
- data/lib/stylesheets/slides/keynote/xsltsl/stdlib.xsl +340 -0
- data/lib/stylesheets/slides/keynote/xsltsl/string.xsl +1233 -0
- data/lib/stylesheets/slides/keynote/xsltsl/svg.xsl +177 -0
- data/lib/stylesheets/slides/keynote/xsltsl/uri.xsl +580 -0
- data/lib/stylesheets/slides/svg/default.xsl +686 -0
- data/lib/stylesheets/slides/xhtml/css.xsl +47 -0
- data/lib/stylesheets/slides/xhtml/default.xsl +246 -0
- data/lib/stylesheets/slides/xhtml/flat.xsl +71 -0
- data/lib/stylesheets/slides/xhtml/frames.xsl +1982 -0
- data/lib/stylesheets/slides/xhtml/graphics.xsl +152 -0
- data/lib/stylesheets/slides/xhtml/jscript.xsl +128 -0
- data/lib/stylesheets/slides/xhtml/param.xsl +70 -0
- data/lib/stylesheets/slides/xhtml/plain.xsl +470 -0
- data/lib/stylesheets/slides/xhtml/slides-common.xsl +1534 -0
- data/lib/stylesheets/slides/xhtml/tables.xsl +334 -0
- data/lib/stylesheets/slides/xhtml/vslides.xsl +652 -0
- data/lib/stylesheets/slides/xhtml/w3c.xsl +358 -0
- data/lib/stylesheets/template/titlepage.xml +478 -0
- data/lib/stylesheets/template/titlepage.xsl +1355 -0
- data/lib/stylesheets/tests/refentry.007.ns.xml +325 -0
- data/lib/stylesheets/tests/refentry.007.xml +340 -0
- data/lib/stylesheets/tools/bin/docbook-xsl-update +53 -0
- data/lib/stylesheets/tools/make/Makefile.DocBook +698 -0
- data/lib/stylesheets/tools/make/Makefile.combine +182 -0
- data/lib/stylesheets/tools/make/Makefile.docParam +59 -0
- data/lib/stylesheets/webhelp/LICENSE +1 -0
- data/lib/stylesheets/webhelp/build.properties +43 -0
- data/lib/stylesheets/webhelp/build.xml +112 -0
- data/lib/stylesheets/webhelp/docs/common/css/positioning.css +109 -0
- 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 +154 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/jquery-ui-1.8.2.custom.min.js +321 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/jquery.cookie.js +93 -0
- 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 +398 -0
- 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 +72 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.css +85 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.js +255 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.min.js +16 -0
- data/lib/stylesheets/webhelp/docs/common/jquery/treeview/jquery.treeview.pack.js +16 -0
- data/lib/stylesheets/webhelp/docs/common/main.js +161 -0
- data/lib/stylesheets/webhelp/docs/content/ch01.html +61 -0
- data/lib/stylesheets/webhelp/docs/content/ch02.html +32 -0
- data/lib/stylesheets/webhelp/docs/content/ch02s01.html +117 -0
- data/lib/stylesheets/webhelp/docs/content/ch02s02.html +102 -0
- data/lib/stylesheets/webhelp/docs/content/ch02s03.html +36 -0
- data/lib/stylesheets/webhelp/docs/content/ch02s04.html +42 -0
- data/lib/stylesheets/webhelp/docs/content/ch03.html +37 -0
- data/lib/stylesheets/webhelp/docs/content/ch03s01.html +62 -0
- data/lib/stylesheets/webhelp/docs/content/ch03s02.html +124 -0
- data/lib/stylesheets/webhelp/docs/content/index.html +71 -0
- data/lib/stylesheets/webhelp/docs/content/search/htmlFileInfoList.js +10 -0
- data/lib/stylesheets/webhelp/docs/content/search/htmlFileList.js +11 -0
- data/lib/stylesheets/webhelp/docs/content/search/index-1.js +224 -0
- data/lib/stylesheets/webhelp/docs/content/search/index-2.js +223 -0
- data/lib/stylesheets/webhelp/docs/content/search/index-3.js +221 -0
- data/lib/stylesheets/webhelp/docs/content/search/nwSearchFnt.js +513 -0
- data/lib/stylesheets/webhelp/docs/content/search/stemmers/en_stemmer.js +187 -0
- data/lib/stylesheets/webhelp/docs/favicon.ico +0 -0
- data/lib/stylesheets/webhelp/docs/index.html +13 -0
- data/lib/stylesheets/webhelp/docsrc/readme.xml +891 -0
- data/lib/stylesheets/webhelp/template/common/css/positioning.css +109 -0
- 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 +154 -0
- data/lib/stylesheets/webhelp/template/common/jquery/jquery-ui-1.8.2.custom.min.js +321 -0
- data/lib/stylesheets/webhelp/template/common/jquery/jquery.cookie.js +93 -0
- 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 +398 -0
- 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 +72 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.css +85 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.js +255 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.min.js +16 -0
- data/lib/stylesheets/webhelp/template/common/jquery/treeview/jquery.treeview.pack.js +16 -0
- data/lib/stylesheets/webhelp/template/common/main.js +161 -0
- data/lib/stylesheets/webhelp/template/content/search/default.props +1 -0
- data/lib/stylesheets/webhelp/template/content/search/en-us.props +45 -0
- data/lib/stylesheets/webhelp/template/content/search/es-es.props +179 -0
- data/lib/stylesheets/webhelp/template/content/search/ja-jp.props +1 -0
- data/lib/stylesheets/webhelp/template/content/search/nwSearchFnt.js +513 -0
- data/lib/stylesheets/webhelp/template/content/search/punctuation.props +31 -0
- data/lib/stylesheets/webhelp/template/content/search/stemmers/de_stemmer.js +247 -0
- data/lib/stylesheets/webhelp/template/content/search/stemmers/en_stemmer.js +187 -0
- data/lib/stylesheets/webhelp/template/content/search/stemmers/fr_stemmer.js +299 -0
- data/lib/stylesheets/webhelp/template/favicon.ico +0 -0
- data/lib/stylesheets/webhelp/xsl/webhelp.xsl +772 -0
- data/lib/stylesheets/website/autolayout.xsl +258 -0
- data/lib/stylesheets/website/chunk-common.xsl +227 -0
- data/lib/stylesheets/website/chunk-tabular.xsl +12 -0
- data/lib/stylesheets/website/chunk-website.xsl +12 -0
- data/lib/stylesheets/website/head.xsl +316 -0
- data/lib/stylesheets/website/makefile-dep.xsl +143 -0
- data/lib/stylesheets/website/olink.xsl +297 -0
- data/lib/stylesheets/website/param.xml +788 -0
- data/lib/stylesheets/website/param.xsl +53 -0
- data/lib/stylesheets/website/rss.xsl +143 -0
- data/lib/stylesheets/website/tabular.xsl +213 -0
- data/lib/stylesheets/website/toc-tabular.xsl +480 -0
- data/lib/stylesheets/website/toc.xsl +286 -0
- data/lib/stylesheets/website/website-common.xsl +821 -0
- data/lib/stylesheets/website/website-targets.xsl +27 -0
- data/lib/stylesheets/website/website.xsl +132 -0
- data/lib/stylesheets/website/xbel.xsl +114 -0
- data/lib/stylesheets/xhtml/admon.xsl +137 -0
- data/lib/stylesheets/xhtml/annotations.xsl +160 -0
- data/lib/stylesheets/xhtml/autoidx-kimber.xsl +140 -0
- data/lib/stylesheets/xhtml/autoidx-kosek.xsl +110 -0
- data/lib/stylesheets/xhtml/autoidx-ng.xsl +23 -0
- data/lib/stylesheets/xhtml/autoidx.xsl +682 -0
- data/lib/stylesheets/xhtml/autotoc.xsl +665 -0
- data/lib/stylesheets/xhtml/biblio-iso690.xsl +1302 -0
- data/lib/stylesheets/xhtml/biblio.xsl +1242 -0
- data/lib/stylesheets/xhtml/block.xsl +537 -0
- data/lib/stylesheets/xhtml/callout.xsl +189 -0
- data/lib/stylesheets/xhtml/changebars.xsl +80 -0
- data/lib/stylesheets/xhtml/chunk-changebars.xsl +97 -0
- data/lib/stylesheets/xhtml/chunk-code.xsl +644 -0
- data/lib/stylesheets/xhtml/chunk-common.xsl +1562 -0
- data/lib/stylesheets/xhtml/chunk.xsl +53 -0
- data/lib/stylesheets/xhtml/chunker.xsl +303 -0
- data/lib/stylesheets/xhtml/chunkfast.xsl +70 -0
- data/lib/stylesheets/xhtml/chunktoc.xsl +527 -0
- data/lib/stylesheets/xhtml/component.xsl +397 -0
- data/lib/stylesheets/xhtml/division.xsl +219 -0
- data/lib/stylesheets/xhtml/docbook.css.xml +109 -0
- data/lib/stylesheets/xhtml/docbook.xsl +435 -0
- data/lib/stylesheets/xhtml/ebnf.xsl +329 -0
- data/lib/stylesheets/xhtml/footnote.xsl +306 -0
- data/lib/stylesheets/xhtml/formal.xsl +413 -0
- data/lib/stylesheets/xhtml/glossary.xsl +565 -0
- data/lib/stylesheets/xhtml/graphics.xsl +1437 -0
- data/lib/stylesheets/xhtml/highlight.xsl +89 -0
- data/lib/stylesheets/xhtml/html-rtf.xsl +321 -0
- data/lib/stylesheets/xhtml/html.xsl +600 -0
- data/lib/stylesheets/xhtml/htmltbl.xsl +104 -0
- data/lib/stylesheets/xhtml/index.xsl +266 -0
- data/lib/stylesheets/xhtml/info.xsl +46 -0
- data/lib/stylesheets/xhtml/inline.xsl +1452 -0
- data/lib/stylesheets/xhtml/keywords.xsl +38 -0
- data/lib/stylesheets/xhtml/lists.xsl +1123 -0
- data/lib/stylesheets/xhtml/maketoc.xsl +92 -0
- data/lib/stylesheets/xhtml/manifest.xsl +23 -0
- data/lib/stylesheets/xhtml/math.xsl +285 -0
- data/lib/stylesheets/xhtml/oldchunker.xsl +177 -0
- data/lib/stylesheets/xhtml/onechunk.xsl +37 -0
- data/lib/stylesheets/xhtml/param.xsl +438 -0
- data/lib/stylesheets/xhtml/pi.xsl +1204 -0
- data/lib/stylesheets/xhtml/profile-chunk-code.xsl +616 -0
- data/lib/stylesheets/xhtml/profile-chunk.xsl +53 -0
- data/lib/stylesheets/xhtml/profile-docbook.xsl +407 -0
- data/lib/stylesheets/xhtml/profile-onechunk.xsl +37 -0
- data/lib/stylesheets/xhtml/qandaset.xsl +421 -0
- data/lib/stylesheets/xhtml/refentry.xsl +301 -0
- data/lib/stylesheets/xhtml/sections.xsl +543 -0
- data/lib/stylesheets/xhtml/synop.xsl +1515 -0
- data/lib/stylesheets/xhtml/table.xsl +1169 -0
- data/lib/stylesheets/xhtml/task.xsl +75 -0
- data/lib/stylesheets/xhtml/titlepage.templates.xsl +3818 -0
- data/lib/stylesheets/xhtml/titlepage.xsl +1032 -0
- data/lib/stylesheets/xhtml/toc.xsl +332 -0
- data/lib/stylesheets/xhtml/verbatim.xsl +389 -0
- data/lib/stylesheets/xhtml/xref.xsl +1317 -0
- data/lib/stylesheets/xhtml-1_1/admon.xsl +135 -0
- data/lib/stylesheets/xhtml-1_1/annotations.xsl +160 -0
- data/lib/stylesheets/xhtml-1_1/autoidx-kimber.xsl +140 -0
- data/lib/stylesheets/xhtml-1_1/autoidx-kosek.xsl +110 -0
- data/lib/stylesheets/xhtml-1_1/autoidx-ng.xsl +23 -0
- data/lib/stylesheets/xhtml-1_1/autoidx.xsl +682 -0
- data/lib/stylesheets/xhtml-1_1/autotoc.xsl +665 -0
- data/lib/stylesheets/xhtml-1_1/biblio-iso690.xsl +1302 -0
- data/lib/stylesheets/xhtml-1_1/biblio.xsl +1242 -0
- data/lib/stylesheets/xhtml-1_1/block.xsl +537 -0
- data/lib/stylesheets/xhtml-1_1/callout.xsl +189 -0
- data/lib/stylesheets/xhtml-1_1/changebars.xsl +80 -0
- data/lib/stylesheets/xhtml-1_1/chunk-changebars.xsl +97 -0
- data/lib/stylesheets/xhtml-1_1/chunk-code.xsl +644 -0
- data/lib/stylesheets/xhtml-1_1/chunk-common.xsl +1562 -0
- data/lib/stylesheets/xhtml-1_1/chunk.xsl +53 -0
- data/lib/stylesheets/xhtml-1_1/chunker.xsl +303 -0
- data/lib/stylesheets/xhtml-1_1/chunkfast.xsl +70 -0
- data/lib/stylesheets/xhtml-1_1/chunktoc.xsl +527 -0
- data/lib/stylesheets/xhtml-1_1/component.xsl +397 -0
- data/lib/stylesheets/xhtml-1_1/division.xsl +219 -0
- data/lib/stylesheets/xhtml-1_1/docbook.css.xml +109 -0
- data/lib/stylesheets/xhtml-1_1/docbook.xsl +435 -0
- data/lib/stylesheets/xhtml-1_1/ebnf.xsl +329 -0
- data/lib/stylesheets/xhtml-1_1/footnote.xsl +306 -0
- data/lib/stylesheets/xhtml-1_1/formal.xsl +413 -0
- data/lib/stylesheets/xhtml-1_1/glossary.xsl +565 -0
- data/lib/stylesheets/xhtml-1_1/graphics.xsl +1437 -0
- data/lib/stylesheets/xhtml-1_1/highlight.xsl +89 -0
- data/lib/stylesheets/xhtml-1_1/html-rtf.xsl +321 -0
- data/lib/stylesheets/xhtml-1_1/html.xsl +600 -0
- data/lib/stylesheets/xhtml-1_1/htmltbl.xsl +104 -0
- data/lib/stylesheets/xhtml-1_1/index.xsl +266 -0
- data/lib/stylesheets/xhtml-1_1/info.xsl +46 -0
- data/lib/stylesheets/xhtml-1_1/inline.xsl +1452 -0
- data/lib/stylesheets/xhtml-1_1/keywords.xsl +38 -0
- data/lib/stylesheets/xhtml-1_1/lists.xsl +1090 -0
- data/lib/stylesheets/xhtml-1_1/maketoc.xsl +92 -0
- data/lib/stylesheets/xhtml-1_1/manifest.xsl +23 -0
- data/lib/stylesheets/xhtml-1_1/math.xsl +285 -0
- data/lib/stylesheets/xhtml-1_1/oldchunker.xsl +177 -0
- data/lib/stylesheets/xhtml-1_1/onechunk.xsl +37 -0
- data/lib/stylesheets/xhtml-1_1/param.xsl +438 -0
- data/lib/stylesheets/xhtml-1_1/pi.xsl +1204 -0
- data/lib/stylesheets/xhtml-1_1/profile-chunk-code.xsl +616 -0
- data/lib/stylesheets/xhtml-1_1/profile-chunk.xsl +53 -0
- data/lib/stylesheets/xhtml-1_1/profile-docbook.xsl +407 -0
- data/lib/stylesheets/xhtml-1_1/profile-onechunk.xsl +37 -0
- data/lib/stylesheets/xhtml-1_1/qandaset.xsl +421 -0
- data/lib/stylesheets/xhtml-1_1/refentry.xsl +301 -0
- data/lib/stylesheets/xhtml-1_1/sections.xsl +543 -0
- data/lib/stylesheets/xhtml-1_1/synop.xsl +1515 -0
- data/lib/stylesheets/xhtml-1_1/table.xsl +1169 -0
- data/lib/stylesheets/xhtml-1_1/task.xsl +75 -0
- data/lib/stylesheets/xhtml-1_1/titlepage.templates.xsl +3818 -0
- data/lib/stylesheets/xhtml-1_1/titlepage.xsl +1032 -0
- data/lib/stylesheets/xhtml-1_1/toc.xsl +332 -0
- data/lib/stylesheets/xhtml-1_1/verbatim.xsl +389 -0
- data/lib/stylesheets/xhtml-1_1/xref.xsl +1317 -0
- metadata +1654 -0
@@ -0,0 +1,2040 @@
|
|
1
|
+
<?xml version='1.0'?>
|
2
|
+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
3
|
+
xmlns:d="http://docbook.org/ns/docbook"
|
4
|
+
xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
|
5
|
+
xmlns:dyn="http://exslt.org/dynamic"
|
6
|
+
xmlns:saxon="http://icl.com/saxon"
|
7
|
+
exclude-result-prefixes="doc dyn saxon d"
|
8
|
+
version='1.0'>
|
9
|
+
|
10
|
+
<!-- ********************************************************************
|
11
|
+
$Id: common.xsl 8784 2010-07-28 12:32:54Z mzjn $
|
12
|
+
********************************************************************
|
13
|
+
|
14
|
+
This file is part of the XSL DocBook Stylesheet distribution.
|
15
|
+
See ../README or http://docbook.sf.net/release/xsl/current/ for
|
16
|
+
copyright and other information.
|
17
|
+
|
18
|
+
******************************************************************** -->
|
19
|
+
|
20
|
+
<doc:reference xmlns="" xml:id="base">
|
21
|
+
<info>
|
22
|
+
<title>Common » Base Template Reference</title>
|
23
|
+
<releaseinfo role="meta">
|
24
|
+
$Id: common.xsl 8784 2010-07-28 12:32:54Z mzjn $
|
25
|
+
</releaseinfo>
|
26
|
+
</info>
|
27
|
+
<!-- * yes, partintro is a valid child of a reference... -->
|
28
|
+
<partintro xml:id="partintro">
|
29
|
+
<title>Introduction</title>
|
30
|
+
<para>This is technical reference documentation for the “base”
|
31
|
+
set of common templates in the DocBook XSL Stylesheets.</para>
|
32
|
+
<para>This is not intended to be user documentation. It is
|
33
|
+
provided for developers writing customization layers for the
|
34
|
+
stylesheets.</para>
|
35
|
+
</partintro>
|
36
|
+
</doc:reference>
|
37
|
+
|
38
|
+
<!-- ==================================================================== -->
|
39
|
+
<!-- Establish strip/preserve whitespace rules -->
|
40
|
+
|
41
|
+
<xsl:preserve-space elements="*"/>
|
42
|
+
|
43
|
+
<xsl:strip-space elements="
|
44
|
+
d:abstract d:affiliation d:anchor d:answer d:appendix d:area d:areaset d:areaspec
|
45
|
+
d:artheader d:article d:audiodata d:audioobject d:author d:authorblurb d:authorgroup
|
46
|
+
d:beginpage d:bibliodiv d:biblioentry d:bibliography d:biblioset d:blockquote d:book
|
47
|
+
d:bookbiblio d:bookinfo d:callout d:calloutlist d:caption d:caution d:chapter
|
48
|
+
d:citerefentry d:cmdsynopsis d:co d:collab d:colophon d:colspec d:confgroup
|
49
|
+
d:copyright d:dedication d:docinfo d:editor d:entrytbl d:epigraph d:equation
|
50
|
+
d:example d:figure d:footnote d:footnoteref d:formalpara d:funcprototype
|
51
|
+
d:funcsynopsis d:glossary d:glossdef d:glossdiv d:glossentry d:glosslist d:graphicco
|
52
|
+
d:group d:highlights d:imagedata d:imageobject d:imageobjectco d:important d:index
|
53
|
+
d:indexdiv d:indexentry d:indexterm d:info d:informalequation d:informalexample
|
54
|
+
d:informalfigure d:informaltable d:inlineequation d:inlinemediaobject
|
55
|
+
d:itemizedlist d:itermset d:keycombo d:keywordset d:legalnotice d:listitem d:lot
|
56
|
+
d:mediaobject d:mediaobjectco d:menuchoice d:msg d:msgentry d:msgexplan d:msginfo
|
57
|
+
d:msgmain d:msgrel d:msgset d:msgsub d:msgtext d:note d:objectinfo
|
58
|
+
d:orderedlist d:othercredit d:part d:partintro d:preface d:printhistory d:procedure
|
59
|
+
d:programlistingco d:publisher d:qandadiv d:qandaentry d:qandaset d:question
|
60
|
+
d:refentry d:reference d:refmeta d:refnamediv d:refsection d:refsect1 d:refsect1info d:refsect2
|
61
|
+
d:refsect2info d:refsect3 d:refsect3info d:refsynopsisdiv d:refsynopsisdivinfo
|
62
|
+
d:revhistory d:revision d:row d:sbr d:screenco d:screenshot d:sect1 d:sect1info d:sect2
|
63
|
+
d:sect2info d:sect3 d:sect3info d:sect4 d:sect4info d:sect5 d:sect5info d:section
|
64
|
+
d:sectioninfo d:seglistitem d:segmentedlist d:seriesinfo d:set d:setindex d:setinfo
|
65
|
+
d:shortcut d:sidebar d:simplelist d:simplesect d:spanspec d:step d:subject
|
66
|
+
d:subjectset d:substeps d:synopfragment d:table d:tbody d:textobject d:tfoot d:tgroup
|
67
|
+
d:thead d:tip d:toc d:tocchap d:toclevel1 d:toclevel2 d:toclevel3 d:toclevel4
|
68
|
+
d:toclevel5 d:tocpart d:varargs d:variablelist d:varlistentry d:videodata
|
69
|
+
d:videoobject d:void d:warning d:subjectset
|
70
|
+
|
71
|
+
d:classsynopsis
|
72
|
+
d:constructorsynopsis
|
73
|
+
d:destructorsynopsis
|
74
|
+
d:fieldsynopsis
|
75
|
+
d:methodparam
|
76
|
+
d:methodsynopsis
|
77
|
+
d:ooclass
|
78
|
+
d:ooexception
|
79
|
+
d:oointerface
|
80
|
+
d:simplemsgentry
|
81
|
+
d:manvolnum
|
82
|
+
"/>
|
83
|
+
<!-- ====================================================================== -->
|
84
|
+
|
85
|
+
<doc:template name="is.component" xmlns="">
|
86
|
+
<refpurpose>Tests if a given node is a component-level element</refpurpose>
|
87
|
+
|
88
|
+
<refdescription id="is.component-desc">
|
89
|
+
<para>This template returns '1' if the specified node is a component
|
90
|
+
(Chapter, Appendix, etc.), and '0' otherwise.</para>
|
91
|
+
</refdescription>
|
92
|
+
|
93
|
+
<refparameter id="is.component-params">
|
94
|
+
<variablelist>
|
95
|
+
<varlistentry><term>node</term>
|
96
|
+
<listitem>
|
97
|
+
<para>The node which is to be tested.</para>
|
98
|
+
</listitem>
|
99
|
+
</varlistentry>
|
100
|
+
</variablelist>
|
101
|
+
</refparameter>
|
102
|
+
|
103
|
+
<refreturn id="is.component-returns">
|
104
|
+
<para>This template returns '1' if the specified node is a component
|
105
|
+
(Chapter, Appendix, etc.), and '0' otherwise.</para>
|
106
|
+
</refreturn>
|
107
|
+
</doc:template>
|
108
|
+
|
109
|
+
<xsl:template name="is.component">
|
110
|
+
<xsl:param name="node" select="."/>
|
111
|
+
<xsl:choose>
|
112
|
+
<xsl:when test="local-name($node) = 'appendix'
|
113
|
+
or local-name($node) = 'article'
|
114
|
+
or local-name($node) = 'chapter'
|
115
|
+
or local-name($node) = 'preface'
|
116
|
+
or local-name($node) = 'bibliography'
|
117
|
+
or local-name($node) = 'glossary'
|
118
|
+
or local-name($node) = 'index'">1</xsl:when>
|
119
|
+
<xsl:otherwise>0</xsl:otherwise>
|
120
|
+
</xsl:choose>
|
121
|
+
</xsl:template>
|
122
|
+
|
123
|
+
<!-- ====================================================================== -->
|
124
|
+
|
125
|
+
<doc:template name="is.section" xmlns="">
|
126
|
+
<refpurpose>Tests if a given node is a section-level element</refpurpose>
|
127
|
+
|
128
|
+
<refdescription id="is.section-desc">
|
129
|
+
<para>This template returns '1' if the specified node is a section
|
130
|
+
(Section, Sect1, Sect2, etc.), and '0' otherwise.</para>
|
131
|
+
</refdescription>
|
132
|
+
|
133
|
+
<refparameter id="is.section-params">
|
134
|
+
<variablelist>
|
135
|
+
<varlistentry><term>node</term>
|
136
|
+
<listitem>
|
137
|
+
<para>The node which is to be tested.</para>
|
138
|
+
</listitem>
|
139
|
+
</varlistentry>
|
140
|
+
</variablelist>
|
141
|
+
</refparameter>
|
142
|
+
|
143
|
+
<refreturn id="is.section-returns">
|
144
|
+
<para>This template returns '1' if the specified node is a section
|
145
|
+
(Section, Sect1, Sect2, etc.), and '0' otherwise.</para>
|
146
|
+
</refreturn>
|
147
|
+
</doc:template>
|
148
|
+
|
149
|
+
<xsl:template name="is.section">
|
150
|
+
<xsl:param name="node" select="."/>
|
151
|
+
<xsl:choose>
|
152
|
+
<xsl:when test="local-name($node) = 'section'
|
153
|
+
or local-name($node) = 'sect1'
|
154
|
+
or local-name($node) = 'sect2'
|
155
|
+
or local-name($node) = 'sect3'
|
156
|
+
or local-name($node) = 'sect4'
|
157
|
+
or local-name($node) = 'sect5'
|
158
|
+
or local-name($node) = 'refsect1'
|
159
|
+
or local-name($node) = 'refsect2'
|
160
|
+
or local-name($node) = 'refsect3'
|
161
|
+
or local-name($node) = 'simplesect'">1</xsl:when>
|
162
|
+
<xsl:otherwise>0</xsl:otherwise>
|
163
|
+
</xsl:choose>
|
164
|
+
</xsl:template>
|
165
|
+
|
166
|
+
<!-- ====================================================================== -->
|
167
|
+
|
168
|
+
<doc:template name="section.level" xmlns="">
|
169
|
+
<refpurpose>Returns the hierarchical level of a section</refpurpose>
|
170
|
+
|
171
|
+
<refdescription id="section.level-desc">
|
172
|
+
<para>This template calculates the hierarchical level of a section.
|
173
|
+
The element <tag>sect1</tag> is at level 1, <tag>sect2</tag> is
|
174
|
+
at level 2, etc.</para>
|
175
|
+
|
176
|
+
<para>Recursive sections are calculated down to the fifth level.</para>
|
177
|
+
</refdescription>
|
178
|
+
|
179
|
+
<refparameter id="section.level-params">
|
180
|
+
<variablelist>
|
181
|
+
<varlistentry><term>node</term>
|
182
|
+
<listitem>
|
183
|
+
<para>The section node for which the level should be calculated.
|
184
|
+
Defaults to the context node.</para>
|
185
|
+
</listitem>
|
186
|
+
</varlistentry>
|
187
|
+
</variablelist>
|
188
|
+
</refparameter>
|
189
|
+
|
190
|
+
<refreturn id="section.level-returns">
|
191
|
+
<para>The section level, <quote>1</quote>, <quote>2</quote>, etc.
|
192
|
+
</para>
|
193
|
+
</refreturn>
|
194
|
+
</doc:template>
|
195
|
+
|
196
|
+
<xsl:template name="section.level">
|
197
|
+
<xsl:param name="node" select="."/>
|
198
|
+
<xsl:choose>
|
199
|
+
<xsl:when test="local-name($node)='sect1'">1</xsl:when>
|
200
|
+
<xsl:when test="local-name($node)='sect2'">2</xsl:when>
|
201
|
+
<xsl:when test="local-name($node)='sect3'">3</xsl:when>
|
202
|
+
<xsl:when test="local-name($node)='sect4'">4</xsl:when>
|
203
|
+
<xsl:when test="local-name($node)='sect5'">5</xsl:when>
|
204
|
+
<xsl:when test="local-name($node)='section'">
|
205
|
+
<xsl:choose>
|
206
|
+
<xsl:when test="$node/../../../../../../d:section">6</xsl:when>
|
207
|
+
<xsl:when test="$node/../../../../../d:section">5</xsl:when>
|
208
|
+
<xsl:when test="$node/../../../../d:section">4</xsl:when>
|
209
|
+
<xsl:when test="$node/../../../d:section">3</xsl:when>
|
210
|
+
<xsl:when test="$node/../../d:section">2</xsl:when>
|
211
|
+
<xsl:otherwise>1</xsl:otherwise>
|
212
|
+
</xsl:choose>
|
213
|
+
</xsl:when>
|
214
|
+
<xsl:when test="local-name($node)='refsect1' or
|
215
|
+
local-name($node)='refsect2' or
|
216
|
+
local-name($node)='refsect3' or
|
217
|
+
local-name($node)='refsection' or
|
218
|
+
local-name($node)='refsynopsisdiv'">
|
219
|
+
<xsl:call-template name="refentry.section.level">
|
220
|
+
<xsl:with-param name="node" select="$node"/>
|
221
|
+
</xsl:call-template>
|
222
|
+
</xsl:when>
|
223
|
+
<xsl:when test="local-name($node)='simplesect'">
|
224
|
+
<xsl:choose>
|
225
|
+
<xsl:when test="$node/../../d:sect1">2</xsl:when>
|
226
|
+
<xsl:when test="$node/../../d:sect2">3</xsl:when>
|
227
|
+
<xsl:when test="$node/../../d:sect3">4</xsl:when>
|
228
|
+
<xsl:when test="$node/../../d:sect4">5</xsl:when>
|
229
|
+
<xsl:when test="$node/../../d:sect5">5</xsl:when>
|
230
|
+
<xsl:when test="$node/../../d:section">
|
231
|
+
<xsl:choose>
|
232
|
+
<xsl:when test="$node/../../../../../d:section">5</xsl:when>
|
233
|
+
<xsl:when test="$node/../../../../d:section">4</xsl:when>
|
234
|
+
<xsl:when test="$node/../../../d:section">3</xsl:when>
|
235
|
+
<xsl:otherwise>2</xsl:otherwise>
|
236
|
+
</xsl:choose>
|
237
|
+
</xsl:when>
|
238
|
+
<xsl:otherwise>1</xsl:otherwise>
|
239
|
+
</xsl:choose>
|
240
|
+
</xsl:when>
|
241
|
+
<xsl:otherwise>1</xsl:otherwise>
|
242
|
+
</xsl:choose>
|
243
|
+
</xsl:template><!-- section.level -->
|
244
|
+
|
245
|
+
<doc:template name="qanda.section.level" xmlns="">
|
246
|
+
<refpurpose>Returns the hierarchical level of a QandASet</refpurpose>
|
247
|
+
|
248
|
+
<refdescription id="qanda.section.level-desc">
|
249
|
+
<para>This template calculates the hierarchical level of a QandASet.
|
250
|
+
</para>
|
251
|
+
</refdescription>
|
252
|
+
|
253
|
+
<refreturn id="qanda.section.level-returns">
|
254
|
+
<para>The level, <quote>1</quote>, <quote>2</quote>, etc.
|
255
|
+
</para>
|
256
|
+
</refreturn>
|
257
|
+
</doc:template>
|
258
|
+
|
259
|
+
<xsl:template name="qanda.section.level">
|
260
|
+
<xsl:variable name="section"
|
261
|
+
select="(ancestor::d:section
|
262
|
+
|ancestor::d:simplesect
|
263
|
+
|ancestor::d:sect5
|
264
|
+
|ancestor::d:sect4
|
265
|
+
|ancestor::d:sect3
|
266
|
+
|ancestor::d:sect2
|
267
|
+
|ancestor::d:sect1
|
268
|
+
|ancestor::d:refsect3
|
269
|
+
|ancestor::d:refsect2
|
270
|
+
|ancestor::d:refsect1)[last()]"/>
|
271
|
+
|
272
|
+
<xsl:choose>
|
273
|
+
<xsl:when test="count($section) = '0'">1</xsl:when>
|
274
|
+
<xsl:otherwise>
|
275
|
+
<xsl:variable name="slevel">
|
276
|
+
<xsl:call-template name="section.level">
|
277
|
+
<xsl:with-param name="node" select="$section"/>
|
278
|
+
</xsl:call-template>
|
279
|
+
</xsl:variable>
|
280
|
+
<xsl:value-of select="$slevel + 1"/>
|
281
|
+
</xsl:otherwise>
|
282
|
+
</xsl:choose>
|
283
|
+
</xsl:template>
|
284
|
+
|
285
|
+
<!-- Finds the total section depth of a section in a refentry -->
|
286
|
+
<xsl:template name="refentry.section.level">
|
287
|
+
<xsl:param name="node" select="."/>
|
288
|
+
|
289
|
+
<xsl:variable name="RElevel">
|
290
|
+
<xsl:call-template name="refentry.level">
|
291
|
+
<xsl:with-param name="node" select="$node/ancestor::d:refentry[1]"/>
|
292
|
+
</xsl:call-template>
|
293
|
+
</xsl:variable>
|
294
|
+
|
295
|
+
<xsl:variable name="levelinRE">
|
296
|
+
<xsl:choose>
|
297
|
+
<xsl:when test="local-name($node)='refsynopsisdiv'">1</xsl:when>
|
298
|
+
<xsl:when test="local-name($node)='refsect1'">1</xsl:when>
|
299
|
+
<xsl:when test="local-name($node)='refsect2'">2</xsl:when>
|
300
|
+
<xsl:when test="local-name($node)='refsect3'">3</xsl:when>
|
301
|
+
<xsl:when test="local-name($node)='refsection'">
|
302
|
+
<xsl:choose>
|
303
|
+
<xsl:when test="$node/../../../../../d:refsection">5</xsl:when>
|
304
|
+
<xsl:when test="$node/../../../../d:refsection">4</xsl:when>
|
305
|
+
<xsl:when test="$node/../../../d:refsection">3</xsl:when>
|
306
|
+
<xsl:when test="$node/../../d:refsection">2</xsl:when>
|
307
|
+
<xsl:otherwise>1</xsl:otherwise>
|
308
|
+
</xsl:choose>
|
309
|
+
</xsl:when>
|
310
|
+
</xsl:choose>
|
311
|
+
</xsl:variable>
|
312
|
+
|
313
|
+
<xsl:value-of select="$levelinRE + $RElevel"/>
|
314
|
+
</xsl:template>
|
315
|
+
|
316
|
+
<!-- Finds the section depth of a refentry -->
|
317
|
+
<xsl:template name="refentry.level">
|
318
|
+
<xsl:param name="node" select="."/>
|
319
|
+
<xsl:variable name="container"
|
320
|
+
select="($node/ancestor::d:section |
|
321
|
+
$node/ancestor::d:sect1 |
|
322
|
+
$node/ancestor::d:sect2 |
|
323
|
+
$node/ancestor::d:sect3 |
|
324
|
+
$node/ancestor::d:sect4 |
|
325
|
+
$node/ancestor::d:sect5)[last()]"/>
|
326
|
+
|
327
|
+
<xsl:choose>
|
328
|
+
<xsl:when test="$container">
|
329
|
+
<xsl:variable name="slevel">
|
330
|
+
<xsl:call-template name="section.level">
|
331
|
+
<xsl:with-param name="node" select="$container"/>
|
332
|
+
</xsl:call-template>
|
333
|
+
</xsl:variable>
|
334
|
+
<xsl:value-of select="$slevel + 1"/>
|
335
|
+
</xsl:when>
|
336
|
+
<xsl:otherwise>1</xsl:otherwise>
|
337
|
+
</xsl:choose>
|
338
|
+
</xsl:template>
|
339
|
+
|
340
|
+
<xsl:template name="qandadiv.section.level">
|
341
|
+
<xsl:variable name="section.level">
|
342
|
+
<xsl:call-template name="qanda.section.level"/>
|
343
|
+
</xsl:variable>
|
344
|
+
<xsl:variable name="anc.divs" select="ancestor::d:qandadiv"/>
|
345
|
+
|
346
|
+
<xsl:value-of select="count($anc.divs) + number($section.level)"/>
|
347
|
+
</xsl:template>
|
348
|
+
|
349
|
+
<xsl:template name="question.answer.label">
|
350
|
+
<xsl:variable name="deflabel">
|
351
|
+
<xsl:choose>
|
352
|
+
<xsl:when test="ancestor-or-self::*[@defaultlabel]">
|
353
|
+
<xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]
|
354
|
+
/@defaultlabel"/>
|
355
|
+
</xsl:when>
|
356
|
+
<xsl:otherwise>
|
357
|
+
<xsl:value-of select="$qanda.defaultlabel"/>
|
358
|
+
</xsl:otherwise>
|
359
|
+
</xsl:choose>
|
360
|
+
</xsl:variable>
|
361
|
+
|
362
|
+
<xsl:variable name="label" select="@label"/>
|
363
|
+
|
364
|
+
<!--
|
365
|
+
(hnr (hierarchical-number-recursive (normalize "qandadiv") node))
|
366
|
+
|
367
|
+
(parsect (ancestor-member node (section-element-list)))
|
368
|
+
|
369
|
+
(defnum (if (and %qanda-inherit-numeration%
|
370
|
+
%section-autolabel%)
|
371
|
+
(if (node-list-empty? parsect)
|
372
|
+
(section-autolabel-prefix node)
|
373
|
+
(section-autolabel parsect))
|
374
|
+
""))
|
375
|
+
|
376
|
+
(hnumber (let loop ((numlist hnr) (number defnum)
|
377
|
+
(sep (if (equal? defnum "") "" ".")))
|
378
|
+
(if (null? numlist)
|
379
|
+
number
|
380
|
+
(loop (cdr numlist)
|
381
|
+
(string-append number
|
382
|
+
sep
|
383
|
+
(number->string (car numlist)))
|
384
|
+
"."))))
|
385
|
+
(cnumber (child-number (parent node)))
|
386
|
+
(number (string-append hnumber
|
387
|
+
(if (equal? hnumber "")
|
388
|
+
""
|
389
|
+
".")
|
390
|
+
(number->string cnumber))))
|
391
|
+
-->
|
392
|
+
|
393
|
+
<xsl:choose>
|
394
|
+
<xsl:when test="$deflabel = 'qanda'">
|
395
|
+
<xsl:call-template name="gentext">
|
396
|
+
<xsl:with-param name="key">
|
397
|
+
<xsl:choose>
|
398
|
+
<xsl:when test="local-name(.) = 'question'">question</xsl:when>
|
399
|
+
<xsl:when test="local-name(.) = 'answer'">answer</xsl:when>
|
400
|
+
<xsl:when test="local-name(.) = 'qandadiv'">qandadiv</xsl:when>
|
401
|
+
<xsl:otherwise>qandaset</xsl:otherwise>
|
402
|
+
</xsl:choose>
|
403
|
+
</xsl:with-param>
|
404
|
+
</xsl:call-template>
|
405
|
+
</xsl:when>
|
406
|
+
<xsl:when test="$deflabel = 'label'">
|
407
|
+
<xsl:value-of select="$label"/>
|
408
|
+
</xsl:when>
|
409
|
+
<xsl:when test="$deflabel = 'number'
|
410
|
+
and local-name(.) = 'question'">
|
411
|
+
<xsl:apply-templates select="ancestor::d:qandaset[1]"
|
412
|
+
mode="number"/>
|
413
|
+
<xsl:choose>
|
414
|
+
<xsl:when test="ancestor::d:qandadiv">
|
415
|
+
<xsl:apply-templates select="ancestor::d:qandadiv[1]"
|
416
|
+
mode="number"/>
|
417
|
+
<xsl:apply-templates select="ancestor::d:qandaentry"
|
418
|
+
mode="number"/>
|
419
|
+
</xsl:when>
|
420
|
+
<xsl:otherwise>
|
421
|
+
<xsl:apply-templates select="ancestor::d:qandaentry"
|
422
|
+
mode="number"/>
|
423
|
+
</xsl:otherwise>
|
424
|
+
</xsl:choose>
|
425
|
+
</xsl:when>
|
426
|
+
<xsl:otherwise>
|
427
|
+
<!-- nothing -->
|
428
|
+
</xsl:otherwise>
|
429
|
+
</xsl:choose>
|
430
|
+
</xsl:template>
|
431
|
+
|
432
|
+
<xsl:template match="d:qandaset" mode="number">
|
433
|
+
<!-- FIXME: -->
|
434
|
+
</xsl:template>
|
435
|
+
|
436
|
+
<xsl:template match="d:qandadiv" mode="number">
|
437
|
+
<xsl:number level="multiple" from="d:qandaset" format="1."/>
|
438
|
+
</xsl:template>
|
439
|
+
|
440
|
+
<xsl:template match="d:qandaentry" mode="number">
|
441
|
+
<xsl:choose>
|
442
|
+
<xsl:when test="ancestor::d:qandadiv">
|
443
|
+
<xsl:number level="single" from="d:qandadiv" format="1."/>
|
444
|
+
</xsl:when>
|
445
|
+
<xsl:otherwise>
|
446
|
+
<xsl:number level="single" from="d:qandaset" format="1."/>
|
447
|
+
</xsl:otherwise>
|
448
|
+
</xsl:choose>
|
449
|
+
</xsl:template>
|
450
|
+
|
451
|
+
<!-- ====================================================================== -->
|
452
|
+
|
453
|
+
<xsl:template name="object.id">
|
454
|
+
<xsl:param name="object" select="."/>
|
455
|
+
<xsl:choose>
|
456
|
+
<xsl:when test="$object/@id">
|
457
|
+
<xsl:value-of select="$object/@id"/>
|
458
|
+
</xsl:when>
|
459
|
+
<xsl:when test="$object/@xml:id">
|
460
|
+
<xsl:value-of select="$object/@xml:id"/>
|
461
|
+
</xsl:when>
|
462
|
+
<xsl:otherwise>
|
463
|
+
<xsl:value-of select="generate-id($object)"/>
|
464
|
+
</xsl:otherwise>
|
465
|
+
</xsl:choose>
|
466
|
+
</xsl:template>
|
467
|
+
|
468
|
+
<xsl:template name="person.name">
|
469
|
+
<!-- Formats a personal name. Handles corpauthor as a special case. -->
|
470
|
+
<xsl:param name="node" select="."/>
|
471
|
+
|
472
|
+
<xsl:variable name="style">
|
473
|
+
<xsl:choose>
|
474
|
+
<xsl:when test="$node/@role">
|
475
|
+
<xsl:value-of select="$node/@role"/>
|
476
|
+
</xsl:when>
|
477
|
+
<xsl:otherwise>
|
478
|
+
<xsl:call-template name="gentext.template">
|
479
|
+
<xsl:with-param name="context" select="'styles'"/>
|
480
|
+
<xsl:with-param name="name" select="'person-name'"/>
|
481
|
+
</xsl:call-template>
|
482
|
+
</xsl:otherwise>
|
483
|
+
</xsl:choose>
|
484
|
+
</xsl:variable>
|
485
|
+
|
486
|
+
<xsl:choose>
|
487
|
+
<!-- the personname element is a specialcase -->
|
488
|
+
<xsl:when test="$node/d:personname">
|
489
|
+
<xsl:call-template name="person.name">
|
490
|
+
<xsl:with-param name="node" select="$node/d:personname"/>
|
491
|
+
</xsl:call-template>
|
492
|
+
</xsl:when>
|
493
|
+
|
494
|
+
<!-- handle corpauthor as a special case...-->
|
495
|
+
<!-- * MikeSmith 2007-06: I'm wondering if the person.name template -->
|
496
|
+
<!-- * actually ever gets called to handle corpauthor.. maybe -->
|
497
|
+
<!-- * we don't actually need to check for corpauthor here. -->
|
498
|
+
<xsl:when test="local-name($node)='corpauthor'">
|
499
|
+
<xsl:apply-templates select="$node"/>
|
500
|
+
</xsl:when>
|
501
|
+
|
502
|
+
<xsl:otherwise>
|
503
|
+
<xsl:choose>
|
504
|
+
<!-- Handle case when personname contains only general markup (DocBook 5.0) -->
|
505
|
+
<xsl:when test="$node/self::d:personname and not($node/d:firstname or $node/d:honorific or $node/d:lineage or $node/d:othername or $node/d:surname)">
|
506
|
+
<xsl:apply-templates select="$node/node()"/>
|
507
|
+
</xsl:when>
|
508
|
+
<xsl:when test="$style = 'family-given'">
|
509
|
+
<xsl:call-template name="person.name.family-given">
|
510
|
+
<xsl:with-param name="node" select="$node"/>
|
511
|
+
</xsl:call-template>
|
512
|
+
</xsl:when>
|
513
|
+
<xsl:when test="$style = 'last-first'">
|
514
|
+
<xsl:call-template name="person.name.last-first">
|
515
|
+
<xsl:with-param name="node" select="$node"/>
|
516
|
+
</xsl:call-template>
|
517
|
+
</xsl:when>
|
518
|
+
<xsl:otherwise>
|
519
|
+
<xsl:call-template name="person.name.first-last">
|
520
|
+
<xsl:with-param name="node" select="$node"/>
|
521
|
+
</xsl:call-template>
|
522
|
+
</xsl:otherwise>
|
523
|
+
</xsl:choose>
|
524
|
+
</xsl:otherwise>
|
525
|
+
</xsl:choose>
|
526
|
+
</xsl:template>
|
527
|
+
|
528
|
+
<xsl:template name="person.name.family-given">
|
529
|
+
<xsl:param name="node" select="."/>
|
530
|
+
|
531
|
+
<!-- The family-given style applies a convention for identifying given -->
|
532
|
+
<!-- and family names in locales where it may be ambiguous -->
|
533
|
+
<xsl:apply-templates select="$node//d:surname[1]"/>
|
534
|
+
|
535
|
+
<xsl:if test="$node//d:surname and $node//d:firstname">
|
536
|
+
<xsl:text> </xsl:text>
|
537
|
+
</xsl:if>
|
538
|
+
|
539
|
+
<xsl:apply-templates select="$node//d:firstname[1]"/>
|
540
|
+
|
541
|
+
<xsl:text> [FAMILY Given]</xsl:text>
|
542
|
+
</xsl:template>
|
543
|
+
|
544
|
+
<xsl:template name="person.name.last-first">
|
545
|
+
<xsl:param name="node" select="."/>
|
546
|
+
|
547
|
+
<xsl:apply-templates select="$node//d:surname[1]"/>
|
548
|
+
|
549
|
+
<xsl:if test="$node//d:surname and $node//d:firstname">
|
550
|
+
<xsl:text>, </xsl:text>
|
551
|
+
</xsl:if>
|
552
|
+
|
553
|
+
<xsl:apply-templates select="$node//d:firstname[1]"/>
|
554
|
+
</xsl:template>
|
555
|
+
|
556
|
+
<xsl:template name="person.name.first-last">
|
557
|
+
<xsl:param name="node" select="."/>
|
558
|
+
|
559
|
+
<xsl:if test="$node//d:honorific">
|
560
|
+
<xsl:apply-templates select="$node//d:honorific[1]"/>
|
561
|
+
<xsl:value-of select="$punct.honorific"/>
|
562
|
+
</xsl:if>
|
563
|
+
|
564
|
+
<xsl:if test="$node//d:firstname">
|
565
|
+
<xsl:if test="$node//d:honorific">
|
566
|
+
<xsl:text> </xsl:text>
|
567
|
+
</xsl:if>
|
568
|
+
<xsl:apply-templates select="$node//d:firstname[1]"/>
|
569
|
+
</xsl:if>
|
570
|
+
|
571
|
+
<xsl:if test="$node//d:othername and $author.othername.in.middle != 0">
|
572
|
+
<xsl:if test="$node//d:honorific or $node//d:firstname">
|
573
|
+
<xsl:text> </xsl:text>
|
574
|
+
</xsl:if>
|
575
|
+
<xsl:apply-templates select="$node//d:othername[1]"/>
|
576
|
+
</xsl:if>
|
577
|
+
|
578
|
+
<xsl:if test="$node//d:surname">
|
579
|
+
<xsl:if test="$node//d:honorific or $node//d:firstname
|
580
|
+
or ($node//d:othername and $author.othername.in.middle != 0)">
|
581
|
+
<xsl:text> </xsl:text>
|
582
|
+
</xsl:if>
|
583
|
+
<xsl:apply-templates select="$node//d:surname[1]"/>
|
584
|
+
</xsl:if>
|
585
|
+
|
586
|
+
<xsl:if test="$node//d:lineage">
|
587
|
+
<xsl:text>, </xsl:text>
|
588
|
+
<xsl:apply-templates select="$node//d:lineage[1]"/>
|
589
|
+
</xsl:if>
|
590
|
+
</xsl:template>
|
591
|
+
|
592
|
+
<xsl:template name="person.name.list">
|
593
|
+
<!-- Return a formatted string representation of the contents of
|
594
|
+
the current element. The current element must contain one or
|
595
|
+
more AUTHORs, CORPAUTHORs, OTHERCREDITs, and/or EDITORs.
|
596
|
+
|
597
|
+
John Doe
|
598
|
+
or
|
599
|
+
John Doe and Jane Doe
|
600
|
+
or
|
601
|
+
John Doe, Jane Doe, and A. Nonymous
|
602
|
+
-->
|
603
|
+
<xsl:param name="person.list"
|
604
|
+
select="d:author|d:corpauthor|d:othercredit|d:editor"/>
|
605
|
+
<xsl:param name="person.count" select="count($person.list)"/>
|
606
|
+
<xsl:param name="count" select="1"/>
|
607
|
+
|
608
|
+
<xsl:choose>
|
609
|
+
<xsl:when test="$count > $person.count"></xsl:when>
|
610
|
+
<xsl:otherwise>
|
611
|
+
<xsl:call-template name="person.name">
|
612
|
+
<xsl:with-param name="node" select="$person.list[position()=$count]"/>
|
613
|
+
</xsl:call-template>
|
614
|
+
|
615
|
+
<xsl:choose>
|
616
|
+
<xsl:when test="$person.count = 2 and $count = 1">
|
617
|
+
<xsl:call-template name="gentext.template">
|
618
|
+
<xsl:with-param name="context" select="'authorgroup'"/>
|
619
|
+
<xsl:with-param name="name" select="'sep2'"/>
|
620
|
+
</xsl:call-template>
|
621
|
+
</xsl:when>
|
622
|
+
<xsl:when test="$person.count > 2 and $count+1 = $person.count">
|
623
|
+
<xsl:call-template name="gentext.template">
|
624
|
+
<xsl:with-param name="context" select="'authorgroup'"/>
|
625
|
+
<xsl:with-param name="name" select="'seplast'"/>
|
626
|
+
</xsl:call-template>
|
627
|
+
</xsl:when>
|
628
|
+
<xsl:when test="$count < $person.count">
|
629
|
+
<xsl:call-template name="gentext.template">
|
630
|
+
<xsl:with-param name="context" select="'authorgroup'"/>
|
631
|
+
<xsl:with-param name="name" select="'sep'"/>
|
632
|
+
</xsl:call-template>
|
633
|
+
</xsl:when>
|
634
|
+
</xsl:choose>
|
635
|
+
|
636
|
+
<xsl:call-template name="person.name.list">
|
637
|
+
<xsl:with-param name="person.list" select="$person.list"/>
|
638
|
+
<xsl:with-param name="person.count" select="$person.count"/>
|
639
|
+
<xsl:with-param name="count" select="$count+1"/>
|
640
|
+
</xsl:call-template>
|
641
|
+
</xsl:otherwise>
|
642
|
+
</xsl:choose>
|
643
|
+
</xsl:template><!-- person.name.list -->
|
644
|
+
|
645
|
+
<!-- === synopsis ======================================================= -->
|
646
|
+
<!-- The following definitions match those given in the reference
|
647
|
+
documentation for DocBook V3.0
|
648
|
+
-->
|
649
|
+
|
650
|
+
<xsl:variable name="arg.choice.opt.open.str">[</xsl:variable>
|
651
|
+
<xsl:variable name="arg.choice.opt.close.str">]</xsl:variable>
|
652
|
+
<xsl:variable name="arg.choice.req.open.str">{</xsl:variable>
|
653
|
+
<xsl:variable name="arg.choice.req.close.str">}</xsl:variable>
|
654
|
+
<xsl:variable name="arg.choice.plain.open.str"><xsl:text> </xsl:text></xsl:variable>
|
655
|
+
<xsl:variable name="arg.choice.plain.close.str"><xsl:text> </xsl:text></xsl:variable>
|
656
|
+
<xsl:variable name="arg.choice.def.open.str">[</xsl:variable>
|
657
|
+
<xsl:variable name="arg.choice.def.close.str">]</xsl:variable>
|
658
|
+
<xsl:variable name="arg.rep.repeat.str">...</xsl:variable>
|
659
|
+
<xsl:variable name="arg.rep.norepeat.str"></xsl:variable>
|
660
|
+
<xsl:variable name="arg.rep.def.str"></xsl:variable>
|
661
|
+
<xsl:variable name="arg.or.sep"> | </xsl:variable>
|
662
|
+
<xsl:variable name="cmdsynopsis.hanging.indent">4pi</xsl:variable>
|
663
|
+
|
664
|
+
<!-- ====================================================================== -->
|
665
|
+
|
666
|
+
<!--
|
667
|
+
<xsl:template name="xref.g.subst">
|
668
|
+
<xsl:param name="string"></xsl:param>
|
669
|
+
<xsl:param name="target" select="."/>
|
670
|
+
<xsl:variable name="subst">%g</xsl:variable>
|
671
|
+
|
672
|
+
<xsl:choose>
|
673
|
+
<xsl:when test="contains($string, $subst)">
|
674
|
+
<xsl:value-of select="substring-before($string, $subst)"/>
|
675
|
+
<xsl:call-template name="gentext.element.name">
|
676
|
+
<xsl:with-param name="element.name" select="local-name($target)"/>
|
677
|
+
</xsl:call-template>
|
678
|
+
<xsl:call-template name="xref.g.subst">
|
679
|
+
<xsl:with-param name="string"
|
680
|
+
select="substring-after($string, $subst)"/>
|
681
|
+
<xsl:with-param name="target" select="$target"/>
|
682
|
+
</xsl:call-template>
|
683
|
+
</xsl:when>
|
684
|
+
<xsl:otherwise>
|
685
|
+
<xsl:value-of select="$string"/>
|
686
|
+
</xsl:otherwise>
|
687
|
+
</xsl:choose>
|
688
|
+
</xsl:template>
|
689
|
+
|
690
|
+
<xsl:template name="xref.t.subst">
|
691
|
+
<xsl:param name="string"></xsl:param>
|
692
|
+
<xsl:param name="target" select="."/>
|
693
|
+
<xsl:variable name="subst">%t</xsl:variable>
|
694
|
+
|
695
|
+
<xsl:choose>
|
696
|
+
<xsl:when test="contains($string, $subst)">
|
697
|
+
<xsl:call-template name="xref.g.subst">
|
698
|
+
<xsl:with-param name="string"
|
699
|
+
select="substring-before($string, $subst)"/>
|
700
|
+
<xsl:with-param name="target" select="$target"/>
|
701
|
+
</xsl:call-template>
|
702
|
+
<xsl:call-template name="title.xref">
|
703
|
+
<xsl:with-param name="target" select="$target"/>
|
704
|
+
</xsl:call-template>
|
705
|
+
<xsl:call-template name="xref.t.subst">
|
706
|
+
<xsl:with-param name="string"
|
707
|
+
select="substring-after($string, $subst)"/>
|
708
|
+
<xsl:with-param name="target" select="$target"/>
|
709
|
+
</xsl:call-template>
|
710
|
+
</xsl:when>
|
711
|
+
<xsl:otherwise>
|
712
|
+
<xsl:call-template name="xref.g.subst">
|
713
|
+
<xsl:with-param name="string" select="$string"/>
|
714
|
+
<xsl:with-param name="target" select="$target"/>
|
715
|
+
</xsl:call-template>
|
716
|
+
</xsl:otherwise>
|
717
|
+
</xsl:choose>
|
718
|
+
</xsl:template>
|
719
|
+
|
720
|
+
<xsl:template name="xref.n.subst">
|
721
|
+
<xsl:param name="string"></xsl:param>
|
722
|
+
<xsl:param name="target" select="."/>
|
723
|
+
<xsl:variable name="subst">%n</xsl:variable>
|
724
|
+
|
725
|
+
<xsl:choose>
|
726
|
+
<xsl:when test="contains($string, $subst)">
|
727
|
+
<xsl:call-template name="xref.t.subst">
|
728
|
+
<xsl:with-param name="string"
|
729
|
+
select="substring-before($string, $subst)"/>
|
730
|
+
<xsl:with-param name="target" select="$target"/>
|
731
|
+
</xsl:call-template>
|
732
|
+
<xsl:call-template name="number.xref">
|
733
|
+
<xsl:with-param name="target" select="$target"/>
|
734
|
+
</xsl:call-template>
|
735
|
+
<xsl:call-template name="xref.t.subst">
|
736
|
+
<xsl:with-param name="string"
|
737
|
+
select="substring-after($string, $subst)"/>
|
738
|
+
<xsl:with-param name="target" select="$target"/>
|
739
|
+
</xsl:call-template>
|
740
|
+
</xsl:when>
|
741
|
+
<xsl:otherwise>
|
742
|
+
<xsl:call-template name="xref.t.subst">
|
743
|
+
<xsl:with-param name="string" select="$string"/>
|
744
|
+
<xsl:with-param name="target" select="$target"/>
|
745
|
+
</xsl:call-template>
|
746
|
+
</xsl:otherwise>
|
747
|
+
</xsl:choose>
|
748
|
+
</xsl:template>
|
749
|
+
|
750
|
+
<xsl:template name="subst.xref.text">
|
751
|
+
<xsl:param name="xref.text"></xsl:param>
|
752
|
+
<xsl:param name="target" select="."/>
|
753
|
+
|
754
|
+
<xsl:call-template name="xref.n.subst">
|
755
|
+
<xsl:with-param name="string" select="$xref.text"/>
|
756
|
+
<xsl:with-param name="target" select="$target"/>
|
757
|
+
</xsl:call-template>
|
758
|
+
</xsl:template>
|
759
|
+
-->
|
760
|
+
|
761
|
+
<!-- ====================================================================== -->
|
762
|
+
|
763
|
+
<xsl:template name="filename-basename">
|
764
|
+
<!-- We assume all filenames are really URIs and use "/" -->
|
765
|
+
<xsl:param name="filename"></xsl:param>
|
766
|
+
<xsl:param name="recurse" select="false()"/>
|
767
|
+
|
768
|
+
<xsl:choose>
|
769
|
+
<xsl:when test="substring-after($filename, '/') != ''">
|
770
|
+
<xsl:call-template name="filename-basename">
|
771
|
+
<xsl:with-param name="filename"
|
772
|
+
select="substring-after($filename, '/')"/>
|
773
|
+
<xsl:with-param name="recurse" select="true()"/>
|
774
|
+
</xsl:call-template>
|
775
|
+
</xsl:when>
|
776
|
+
<xsl:otherwise>
|
777
|
+
<xsl:value-of select="$filename"/>
|
778
|
+
</xsl:otherwise>
|
779
|
+
</xsl:choose>
|
780
|
+
</xsl:template>
|
781
|
+
|
782
|
+
<xsl:template name="filename-extension">
|
783
|
+
<xsl:param name="filename"></xsl:param>
|
784
|
+
<xsl:param name="recurse" select="false()"/>
|
785
|
+
|
786
|
+
<!-- Make sure we only look at the base name... -->
|
787
|
+
<xsl:variable name="basefn">
|
788
|
+
<xsl:choose>
|
789
|
+
<xsl:when test="$recurse">
|
790
|
+
<xsl:value-of select="$filename"/>
|
791
|
+
</xsl:when>
|
792
|
+
<xsl:otherwise>
|
793
|
+
<xsl:call-template name="filename-basename">
|
794
|
+
<xsl:with-param name="filename" select="$filename"/>
|
795
|
+
</xsl:call-template>
|
796
|
+
</xsl:otherwise>
|
797
|
+
</xsl:choose>
|
798
|
+
</xsl:variable>
|
799
|
+
|
800
|
+
<xsl:choose>
|
801
|
+
<xsl:when test="substring-after($basefn, '.') != ''">
|
802
|
+
<xsl:call-template name="filename-extension">
|
803
|
+
<xsl:with-param name="filename"
|
804
|
+
select="substring-after($basefn, '.')"/>
|
805
|
+
<xsl:with-param name="recurse" select="true()"/>
|
806
|
+
</xsl:call-template>
|
807
|
+
</xsl:when>
|
808
|
+
<xsl:when test="$recurse">
|
809
|
+
<xsl:value-of select="$basefn"/>
|
810
|
+
</xsl:when>
|
811
|
+
<xsl:otherwise></xsl:otherwise>
|
812
|
+
</xsl:choose>
|
813
|
+
</xsl:template>
|
814
|
+
|
815
|
+
<!-- ====================================================================== -->
|
816
|
+
|
817
|
+
<doc:template name="select.mediaobject" xmlns="">
|
818
|
+
<refpurpose>Selects and processes an appropriate media object from a list</refpurpose>
|
819
|
+
|
820
|
+
<refdescription id="select.mediaobject-desc">
|
821
|
+
<para>This template takes a list of media objects (usually the
|
822
|
+
children of a mediaobject or inlinemediaobject) and processes
|
823
|
+
the "right" object.</para>
|
824
|
+
|
825
|
+
<para>This template relies on a template named
|
826
|
+
"select.mediaobject.index" to determine which object
|
827
|
+
in the list is appropriate.</para>
|
828
|
+
|
829
|
+
<para>If no acceptable object is located, nothing happens.</para>
|
830
|
+
</refdescription>
|
831
|
+
|
832
|
+
<refparameter id="select.mediaobject-params">
|
833
|
+
<variablelist>
|
834
|
+
<varlistentry><term>olist</term>
|
835
|
+
<listitem>
|
836
|
+
<para>The node list of potential objects to examine.</para>
|
837
|
+
</listitem>
|
838
|
+
</varlistentry>
|
839
|
+
</variablelist>
|
840
|
+
</refparameter>
|
841
|
+
|
842
|
+
<refreturn id="select.mediaobject-returns">
|
843
|
+
<para>Calls <xsl:apply-templates> on the selected object.</para>
|
844
|
+
</refreturn>
|
845
|
+
</doc:template>
|
846
|
+
|
847
|
+
<xsl:template name="select.mediaobject">
|
848
|
+
<xsl:param name="olist"
|
849
|
+
select="d:imageobject|d:imageobjectco
|
850
|
+
|d:videoobject|d:audioobject|d:textobject"/>
|
851
|
+
|
852
|
+
<xsl:variable name="mediaobject.index">
|
853
|
+
<xsl:call-template name="select.mediaobject.index">
|
854
|
+
<xsl:with-param name="olist" select="$olist"/>
|
855
|
+
<xsl:with-param name="count" select="1"/>
|
856
|
+
</xsl:call-template>
|
857
|
+
</xsl:variable>
|
858
|
+
|
859
|
+
<xsl:if test="$mediaobject.index != ''">
|
860
|
+
<xsl:apply-templates select="$olist[position() = $mediaobject.index]"/>
|
861
|
+
</xsl:if>
|
862
|
+
</xsl:template>
|
863
|
+
|
864
|
+
<!-- ====================================================================== -->
|
865
|
+
|
866
|
+
<doc:template name="select.mediaobject.index" xmlns="">
|
867
|
+
<refpurpose>Selects the position of the appropriate media object from a list</refpurpose>
|
868
|
+
|
869
|
+
<refdescription id="select.mediaobject.index-desc">
|
870
|
+
<para>This template takes a list of media objects (usually the
|
871
|
+
children of a mediaobject or inlinemediaobject) and determines
|
872
|
+
the "right" object. It returns the position of that object
|
873
|
+
to be used by the calling template.</para>
|
874
|
+
|
875
|
+
<para>If the parameter <parameter>use.role.for.mediaobject</parameter>
|
876
|
+
is nonzero, then it first checks for an object with
|
877
|
+
a role attribute of the appropriate value. It takes the first
|
878
|
+
of those. Otherwise, it takes the first acceptable object
|
879
|
+
through a recursive pass through the list.</para>
|
880
|
+
|
881
|
+
<para>This template relies on a template named "is.acceptable.mediaobject"
|
882
|
+
to determine if a given object is an acceptable graphic. The semantics
|
883
|
+
of media objects is that the first acceptable graphic should be used.
|
884
|
+
</para>
|
885
|
+
|
886
|
+
<para>If no acceptable object is located, no index is returned.</para>
|
887
|
+
</refdescription>
|
888
|
+
|
889
|
+
<refparameter id="select.mediaobject.index-params">
|
890
|
+
<variablelist>
|
891
|
+
<varlistentry><term>olist</term>
|
892
|
+
<listitem>
|
893
|
+
<para>The node list of potential objects to examine.</para>
|
894
|
+
</listitem>
|
895
|
+
</varlistentry>
|
896
|
+
<varlistentry><term>count</term>
|
897
|
+
<listitem>
|
898
|
+
<para>The position in the list currently being considered by the
|
899
|
+
recursive process.</para>
|
900
|
+
</listitem>
|
901
|
+
</varlistentry>
|
902
|
+
</variablelist>
|
903
|
+
</refparameter>
|
904
|
+
|
905
|
+
<refreturn id="select.mediaobject.index-returns">
|
906
|
+
<para>Returns the position in the original list of the selected object.</para>
|
907
|
+
</refreturn>
|
908
|
+
</doc:template>
|
909
|
+
|
910
|
+
<xsl:template name="select.mediaobject.index">
|
911
|
+
<xsl:param name="olist"
|
912
|
+
select="d:imageobject|d:imageobjectco
|
913
|
+
|d:videoobject|d:audioobject|d:textobject"/>
|
914
|
+
<xsl:param name="count">1</xsl:param>
|
915
|
+
|
916
|
+
<xsl:choose>
|
917
|
+
<!-- Test for objects preferred by role -->
|
918
|
+
<xsl:when test="$use.role.for.mediaobject != 0
|
919
|
+
and $preferred.mediaobject.role != ''
|
920
|
+
and $olist[@role = $preferred.mediaobject.role]">
|
921
|
+
|
922
|
+
<!-- Get the first hit's position index -->
|
923
|
+
<xsl:for-each select="$olist">
|
924
|
+
<xsl:if test="@role = $preferred.mediaobject.role and
|
925
|
+
not(preceding-sibling::*[@role = $preferred.mediaobject.role])">
|
926
|
+
<xsl:value-of select="position()"/>
|
927
|
+
</xsl:if>
|
928
|
+
</xsl:for-each>
|
929
|
+
</xsl:when>
|
930
|
+
|
931
|
+
<xsl:when test="$use.role.for.mediaobject != 0
|
932
|
+
and $olist[@role = $stylesheet.result.type]">
|
933
|
+
<!-- Get the first hit's position index -->
|
934
|
+
<xsl:for-each select="$olist">
|
935
|
+
<xsl:if test="@role = $stylesheet.result.type and
|
936
|
+
not(preceding-sibling::*[@role = $stylesheet.result.type])">
|
937
|
+
<xsl:value-of select="position()"/>
|
938
|
+
</xsl:if>
|
939
|
+
</xsl:for-each>
|
940
|
+
</xsl:when>
|
941
|
+
<!-- Accept 'html' for $stylesheet.result.type = 'xhtml' -->
|
942
|
+
<xsl:when test="$use.role.for.mediaobject != 0
|
943
|
+
and $stylesheet.result.type = 'xhtml'
|
944
|
+
and $olist[@role = 'html']">
|
945
|
+
<!-- Get the first hit's position index -->
|
946
|
+
<xsl:for-each select="$olist">
|
947
|
+
<xsl:if test="@role = 'html' and
|
948
|
+
not(preceding-sibling::*[@role = 'html'])">
|
949
|
+
<xsl:value-of select="position()"/>
|
950
|
+
</xsl:if>
|
951
|
+
</xsl:for-each>
|
952
|
+
</xsl:when>
|
953
|
+
|
954
|
+
<!-- If no selection by role, and there is only one object, use it -->
|
955
|
+
<xsl:when test="count($olist) = 1 and $count = 1">
|
956
|
+
<xsl:value-of select="$count"/>
|
957
|
+
</xsl:when>
|
958
|
+
|
959
|
+
<xsl:otherwise>
|
960
|
+
<!-- Otherwise select first acceptable object -->
|
961
|
+
<xsl:if test="$count <= count($olist)">
|
962
|
+
<xsl:variable name="object" select="$olist[position()=$count]"/>
|
963
|
+
|
964
|
+
<xsl:variable name="useobject">
|
965
|
+
<xsl:choose>
|
966
|
+
<!-- The phrase is used only when contains TeX Math and output is FO -->
|
967
|
+
<xsl:when test="local-name($object)='textobject' and $object/d:phrase
|
968
|
+
and $object/@role='tex' and $stylesheet.result.type = 'fo'
|
969
|
+
and $tex.math.in.alt != ''">
|
970
|
+
<xsl:text>1</xsl:text>
|
971
|
+
</xsl:when>
|
972
|
+
<!-- The phrase is never used -->
|
973
|
+
<xsl:when test="local-name($object)='textobject' and $object/d:phrase">
|
974
|
+
<xsl:text>0</xsl:text>
|
975
|
+
</xsl:when>
|
976
|
+
<xsl:when test="local-name($object)='textobject'
|
977
|
+
and $object/ancestor::d:equation ">
|
978
|
+
<!-- The first textobject is not a reasonable fallback
|
979
|
+
for equation image -->
|
980
|
+
<xsl:text>0</xsl:text>
|
981
|
+
</xsl:when>
|
982
|
+
<!-- The first textobject is a reasonable fallback -->
|
983
|
+
<xsl:when test="local-name($object)='textobject'
|
984
|
+
and $object[not(@role) or @role!='tex']">
|
985
|
+
<xsl:text>1</xsl:text>
|
986
|
+
</xsl:when>
|
987
|
+
<!-- don't use graphic when output is FO, TeX Math is used
|
988
|
+
and there is math in alt element -->
|
989
|
+
<xsl:when test="$object/ancestor::d:equation and
|
990
|
+
$object/ancestor::d:equation/d:alt[@role='tex']
|
991
|
+
and $stylesheet.result.type = 'fo'
|
992
|
+
and $tex.math.in.alt != ''">
|
993
|
+
<xsl:text>0</xsl:text>
|
994
|
+
</xsl:when>
|
995
|
+
<!-- If there's only one object, use it -->
|
996
|
+
<xsl:when test="$count = 1 and count($olist) = 1">
|
997
|
+
<xsl:text>1</xsl:text>
|
998
|
+
</xsl:when>
|
999
|
+
<!-- Otherwise, see if this one is a useable graphic -->
|
1000
|
+
<xsl:otherwise>
|
1001
|
+
<xsl:choose>
|
1002
|
+
<!-- peek inside imageobjectco to simplify the test -->
|
1003
|
+
<xsl:when test="local-name($object) = 'imageobjectco'">
|
1004
|
+
<xsl:call-template name="is.acceptable.mediaobject">
|
1005
|
+
<xsl:with-param name="object" select="$object/d:imageobject"/>
|
1006
|
+
</xsl:call-template>
|
1007
|
+
</xsl:when>
|
1008
|
+
<xsl:otherwise>
|
1009
|
+
<xsl:call-template name="is.acceptable.mediaobject">
|
1010
|
+
<xsl:with-param name="object" select="$object"/>
|
1011
|
+
</xsl:call-template>
|
1012
|
+
</xsl:otherwise>
|
1013
|
+
</xsl:choose>
|
1014
|
+
</xsl:otherwise>
|
1015
|
+
</xsl:choose>
|
1016
|
+
</xsl:variable>
|
1017
|
+
|
1018
|
+
<xsl:choose>
|
1019
|
+
<xsl:when test="$useobject='1'">
|
1020
|
+
<xsl:value-of select="$count"/>
|
1021
|
+
</xsl:when>
|
1022
|
+
<xsl:otherwise>
|
1023
|
+
<xsl:call-template name="select.mediaobject.index">
|
1024
|
+
<xsl:with-param name="olist" select="$olist"/>
|
1025
|
+
<xsl:with-param name="count" select="$count + 1"/>
|
1026
|
+
</xsl:call-template>
|
1027
|
+
</xsl:otherwise>
|
1028
|
+
</xsl:choose>
|
1029
|
+
</xsl:if>
|
1030
|
+
</xsl:otherwise>
|
1031
|
+
</xsl:choose>
|
1032
|
+
</xsl:template>
|
1033
|
+
|
1034
|
+
<doc:template name="is.acceptable.mediaobject" xmlns="">
|
1035
|
+
<refpurpose>Returns '1' if the specified media object is recognized</refpurpose>
|
1036
|
+
|
1037
|
+
<refdescription id="is.acceptable.mediaobject-desc">
|
1038
|
+
<para>This template examines a media object and returns '1' if the
|
1039
|
+
object is recognized as a graphic.</para>
|
1040
|
+
</refdescription>
|
1041
|
+
|
1042
|
+
<refparameter id="is.acceptable.mediaobject-params">
|
1043
|
+
<variablelist>
|
1044
|
+
<varlistentry><term>object</term>
|
1045
|
+
<listitem>
|
1046
|
+
<para>The media object to consider.</para>
|
1047
|
+
</listitem>
|
1048
|
+
</varlistentry>
|
1049
|
+
</variablelist>
|
1050
|
+
</refparameter>
|
1051
|
+
|
1052
|
+
<refreturn id="is.acceptable.mediaobject-returns">
|
1053
|
+
<para>0 or 1</para>
|
1054
|
+
</refreturn>
|
1055
|
+
</doc:template>
|
1056
|
+
|
1057
|
+
<xsl:template name="is.acceptable.mediaobject">
|
1058
|
+
<xsl:param name="object"></xsl:param>
|
1059
|
+
|
1060
|
+
<xsl:variable name="filename">
|
1061
|
+
<xsl:call-template name="mediaobject.filename">
|
1062
|
+
<xsl:with-param name="object" select="$object"/>
|
1063
|
+
</xsl:call-template>
|
1064
|
+
</xsl:variable>
|
1065
|
+
|
1066
|
+
<xsl:variable name="ext">
|
1067
|
+
<xsl:call-template name="filename-extension">
|
1068
|
+
<xsl:with-param name="filename" select="$filename"/>
|
1069
|
+
</xsl:call-template>
|
1070
|
+
</xsl:variable>
|
1071
|
+
|
1072
|
+
<!-- there will only be one -->
|
1073
|
+
<xsl:variable name="data" select="$object/d:videodata
|
1074
|
+
|$object/d:imagedata
|
1075
|
+
|$object/d:audiodata"/>
|
1076
|
+
|
1077
|
+
<xsl:variable name="format" select="$data/@format"/>
|
1078
|
+
|
1079
|
+
<xsl:variable name="graphic.format">
|
1080
|
+
<xsl:if test="$format">
|
1081
|
+
<xsl:call-template name="is.graphic.format">
|
1082
|
+
<xsl:with-param name="format" select="$format"/>
|
1083
|
+
</xsl:call-template>
|
1084
|
+
</xsl:if>
|
1085
|
+
</xsl:variable>
|
1086
|
+
|
1087
|
+
<xsl:variable name="graphic.ext">
|
1088
|
+
<xsl:if test="$ext">
|
1089
|
+
<xsl:call-template name="is.graphic.extension">
|
1090
|
+
<xsl:with-param name="ext" select="$ext"/>
|
1091
|
+
</xsl:call-template>
|
1092
|
+
</xsl:if>
|
1093
|
+
</xsl:variable>
|
1094
|
+
|
1095
|
+
<xsl:choose>
|
1096
|
+
<xsl:when test="$use.svg = 0 and $format = 'SVG'">0</xsl:when>
|
1097
|
+
<xsl:when xmlns:svg="http://www.w3.org/2000/svg"
|
1098
|
+
test="$use.svg != 0 and $object/svg:*">1</xsl:when>
|
1099
|
+
<xsl:when test="$graphic.format = '1'">1</xsl:when>
|
1100
|
+
<xsl:when test="$graphic.ext = '1'">1</xsl:when>
|
1101
|
+
<xsl:otherwise>0</xsl:otherwise>
|
1102
|
+
</xsl:choose>
|
1103
|
+
</xsl:template>
|
1104
|
+
|
1105
|
+
<xsl:template name="mediaobject.filename">
|
1106
|
+
<xsl:param name="object"></xsl:param>
|
1107
|
+
|
1108
|
+
<xsl:variable name="data" select="$object/d:videodata
|
1109
|
+
|$object/d:imagedata
|
1110
|
+
|$object/d:audiodata
|
1111
|
+
|$object"/>
|
1112
|
+
|
1113
|
+
<xsl:variable name="filename">
|
1114
|
+
<xsl:choose>
|
1115
|
+
<xsl:when test="$data[@fileref]">
|
1116
|
+
<xsl:apply-templates select="$data/@fileref"/>
|
1117
|
+
</xsl:when>
|
1118
|
+
<xsl:when test="$data[@entityref]">
|
1119
|
+
<xsl:value-of select="unparsed-entity-uri($data/@entityref)"/>
|
1120
|
+
</xsl:when>
|
1121
|
+
<xsl:otherwise></xsl:otherwise>
|
1122
|
+
</xsl:choose>
|
1123
|
+
</xsl:variable>
|
1124
|
+
|
1125
|
+
<xsl:variable name="real.ext">
|
1126
|
+
<xsl:call-template name="filename-extension">
|
1127
|
+
<xsl:with-param name="filename" select="$filename"/>
|
1128
|
+
</xsl:call-template>
|
1129
|
+
</xsl:variable>
|
1130
|
+
|
1131
|
+
<xsl:variable name="ext">
|
1132
|
+
<xsl:choose>
|
1133
|
+
<xsl:when test="$real.ext != ''">
|
1134
|
+
<xsl:value-of select="$real.ext"/>
|
1135
|
+
</xsl:when>
|
1136
|
+
<xsl:otherwise>
|
1137
|
+
<xsl:value-of select="$graphic.default.extension"/>
|
1138
|
+
</xsl:otherwise>
|
1139
|
+
</xsl:choose>
|
1140
|
+
</xsl:variable>
|
1141
|
+
|
1142
|
+
<xsl:variable name="graphic.ext">
|
1143
|
+
<xsl:call-template name="is.graphic.extension">
|
1144
|
+
<xsl:with-param name="ext" select="$ext"/>
|
1145
|
+
</xsl:call-template>
|
1146
|
+
</xsl:variable>
|
1147
|
+
|
1148
|
+
<xsl:choose>
|
1149
|
+
<xsl:when test="$real.ext = ''">
|
1150
|
+
<xsl:choose>
|
1151
|
+
<xsl:when test="$ext != ''">
|
1152
|
+
<xsl:value-of select="$filename"/>
|
1153
|
+
<xsl:text>.</xsl:text>
|
1154
|
+
<xsl:value-of select="$ext"/>
|
1155
|
+
</xsl:when>
|
1156
|
+
<xsl:otherwise>
|
1157
|
+
<xsl:value-of select="$filename"/>
|
1158
|
+
</xsl:otherwise>
|
1159
|
+
</xsl:choose>
|
1160
|
+
</xsl:when>
|
1161
|
+
<xsl:when test="not($graphic.ext)">
|
1162
|
+
<xsl:choose>
|
1163
|
+
<xsl:when test="$graphic.default.extension != ''">
|
1164
|
+
<xsl:value-of select="$filename"/>
|
1165
|
+
<xsl:text>.</xsl:text>
|
1166
|
+
<xsl:value-of select="$graphic.default.extension"/>
|
1167
|
+
</xsl:when>
|
1168
|
+
<xsl:otherwise>
|
1169
|
+
<xsl:value-of select="$filename"/>
|
1170
|
+
</xsl:otherwise>
|
1171
|
+
</xsl:choose>
|
1172
|
+
</xsl:when>
|
1173
|
+
<xsl:otherwise>
|
1174
|
+
<xsl:value-of select="$filename"/>
|
1175
|
+
</xsl:otherwise>
|
1176
|
+
</xsl:choose>
|
1177
|
+
</xsl:template>
|
1178
|
+
|
1179
|
+
<!-- ====================================================================== -->
|
1180
|
+
|
1181
|
+
<doc:template name="check.id.unique" xmlns="">
|
1182
|
+
<refpurpose>Warn users about references to non-unique IDs</refpurpose>
|
1183
|
+
<refdescription id="check.id.unique-desc">
|
1184
|
+
<para>If passed an ID in <varname>linkend</varname>,
|
1185
|
+
<function>check.id.unique</function> prints
|
1186
|
+
a warning message to the user if either the ID does not exist or
|
1187
|
+
the ID is not unique.</para>
|
1188
|
+
</refdescription>
|
1189
|
+
</doc:template>
|
1190
|
+
|
1191
|
+
<xsl:template name="check.id.unique">
|
1192
|
+
<xsl:param name="linkend"></xsl:param>
|
1193
|
+
<xsl:if test="$linkend != ''">
|
1194
|
+
<xsl:variable name="targets" select="key('id',$linkend)"/>
|
1195
|
+
<xsl:variable name="target" select="$targets[1]"/>
|
1196
|
+
|
1197
|
+
<xsl:if test="count($targets)=0">
|
1198
|
+
<xsl:message>
|
1199
|
+
<xsl:text>Error: no ID for constraint linkend: </xsl:text>
|
1200
|
+
<xsl:value-of select="$linkend"/>
|
1201
|
+
<xsl:text>.</xsl:text>
|
1202
|
+
</xsl:message>
|
1203
|
+
<!--
|
1204
|
+
<xsl:message>
|
1205
|
+
<xsl:text>If the ID exists in your document, did your </xsl:text>
|
1206
|
+
<xsl:text>XSLT Processor load the DTD?</xsl:text>
|
1207
|
+
</xsl:message>
|
1208
|
+
-->
|
1209
|
+
</xsl:if>
|
1210
|
+
|
1211
|
+
<xsl:if test="count($targets)>1">
|
1212
|
+
<xsl:message>
|
1213
|
+
<xsl:text>Warning: multiple "IDs" for constraint linkend: </xsl:text>
|
1214
|
+
<xsl:value-of select="$linkend"/>
|
1215
|
+
<xsl:text>.</xsl:text>
|
1216
|
+
</xsl:message>
|
1217
|
+
</xsl:if>
|
1218
|
+
</xsl:if>
|
1219
|
+
</xsl:template>
|
1220
|
+
|
1221
|
+
<doc:template name="check.idref.targets" xmlns="">
|
1222
|
+
<refpurpose>Warn users about incorrectly typed references</refpurpose>
|
1223
|
+
<refdescription id="check.idref.targets-desc">
|
1224
|
+
<para>If passed an ID in <varname>linkend</varname>,
|
1225
|
+
<function>check.idref.targets</function> makes sure that the element
|
1226
|
+
pointed to by the link is one of the elements listed in
|
1227
|
+
<varname>element-list</varname> and warns the user otherwise.</para>
|
1228
|
+
</refdescription>
|
1229
|
+
</doc:template>
|
1230
|
+
|
1231
|
+
<xsl:template name="check.idref.targets">
|
1232
|
+
<xsl:param name="linkend"></xsl:param>
|
1233
|
+
<xsl:param name="element-list"></xsl:param>
|
1234
|
+
<xsl:if test="$linkend != ''">
|
1235
|
+
<xsl:variable name="targets" select="key('id',$linkend)"/>
|
1236
|
+
<xsl:variable name="target" select="$targets[1]"/>
|
1237
|
+
|
1238
|
+
<xsl:if test="count($target) > 0">
|
1239
|
+
<xsl:if test="not(contains(concat(' ', $element-list, ' '), local-name($target)))">
|
1240
|
+
<xsl:message>
|
1241
|
+
<xsl:text>Error: linkend (</xsl:text>
|
1242
|
+
<xsl:value-of select="$linkend"/>
|
1243
|
+
<xsl:text>) points to "</xsl:text>
|
1244
|
+
<xsl:value-of select="local-name($target)"/>
|
1245
|
+
<xsl:text>" not (one of): </xsl:text>
|
1246
|
+
<xsl:value-of select="$element-list"/>
|
1247
|
+
</xsl:message>
|
1248
|
+
</xsl:if>
|
1249
|
+
</xsl:if>
|
1250
|
+
</xsl:if>
|
1251
|
+
</xsl:template>
|
1252
|
+
|
1253
|
+
<!-- ====================================================================== -->
|
1254
|
+
<!-- Procedure Step Numeration -->
|
1255
|
+
|
1256
|
+
<xsl:param name="procedure.step.numeration.formats" select="'1aiAI'"/>
|
1257
|
+
|
1258
|
+
<xsl:template name="procedure.step.numeration">
|
1259
|
+
<xsl:param name="context" select="."/>
|
1260
|
+
<xsl:variable name="format.length"
|
1261
|
+
select="string-length($procedure.step.numeration.formats)"/>
|
1262
|
+
<xsl:choose>
|
1263
|
+
<xsl:when test="local-name($context) = 'substeps'">
|
1264
|
+
<xsl:variable name="ssdepth"
|
1265
|
+
select="count($context/ancestor::d:substeps)"/>
|
1266
|
+
<xsl:variable name="sstype" select="($ssdepth mod $format.length)+2"/>
|
1267
|
+
<xsl:choose>
|
1268
|
+
<xsl:when test="$sstype > $format.length">
|
1269
|
+
<xsl:value-of select="substring($procedure.step.numeration.formats,1,1)"/>
|
1270
|
+
</xsl:when>
|
1271
|
+
<xsl:otherwise>
|
1272
|
+
<xsl:value-of select="substring($procedure.step.numeration.formats,$sstype,1)"/>
|
1273
|
+
</xsl:otherwise>
|
1274
|
+
</xsl:choose>
|
1275
|
+
</xsl:when>
|
1276
|
+
<xsl:when test="local-name($context) = 'step'">
|
1277
|
+
<xsl:variable name="sdepth"
|
1278
|
+
select="count($context/ancestor::d:substeps)"/>
|
1279
|
+
<xsl:variable name="stype" select="($sdepth mod $format.length)+1"/>
|
1280
|
+
<xsl:value-of select="substring($procedure.step.numeration.formats,$stype,1)"/>
|
1281
|
+
</xsl:when>
|
1282
|
+
<xsl:otherwise>
|
1283
|
+
<xsl:message>
|
1284
|
+
<xsl:text>Unexpected context in procedure.step.numeration: </xsl:text>
|
1285
|
+
<xsl:value-of select="local-name($context)"/>
|
1286
|
+
</xsl:message>
|
1287
|
+
</xsl:otherwise>
|
1288
|
+
</xsl:choose>
|
1289
|
+
</xsl:template>
|
1290
|
+
|
1291
|
+
<xsl:template match="d:step" mode="number">
|
1292
|
+
<xsl:param name="rest" select="''"/>
|
1293
|
+
<xsl:param name="recursive" select="1"/>
|
1294
|
+
<xsl:variable name="format">
|
1295
|
+
<xsl:call-template name="procedure.step.numeration"/>
|
1296
|
+
</xsl:variable>
|
1297
|
+
<xsl:variable name="num">
|
1298
|
+
<xsl:number count="d:step" format="{$format}"/>
|
1299
|
+
</xsl:variable>
|
1300
|
+
<xsl:choose>
|
1301
|
+
<xsl:when test="$recursive != 0 and ancestor::d:step">
|
1302
|
+
<xsl:apply-templates select="ancestor::d:step[1]" mode="number">
|
1303
|
+
<xsl:with-param name="rest" select="concat('.', $num, $rest)"/>
|
1304
|
+
</xsl:apply-templates>
|
1305
|
+
</xsl:when>
|
1306
|
+
<xsl:otherwise>
|
1307
|
+
<xsl:value-of select="concat($num, $rest)"/>
|
1308
|
+
</xsl:otherwise>
|
1309
|
+
</xsl:choose>
|
1310
|
+
</xsl:template>
|
1311
|
+
|
1312
|
+
<!-- ====================================================================== -->
|
1313
|
+
<!-- OrderedList Numeration -->
|
1314
|
+
<xsl:template name="output-orderedlist-starting-number">
|
1315
|
+
<xsl:param name="list"/>
|
1316
|
+
<xsl:param name="pi-start"/>
|
1317
|
+
<xsl:choose>
|
1318
|
+
<xsl:when test="not($list/@continuation = 'continues')">
|
1319
|
+
<xsl:choose>
|
1320
|
+
<xsl:when test="$list/@startingnumber">
|
1321
|
+
<xsl:value-of select="$list/@startingnumber"/>
|
1322
|
+
</xsl:when>
|
1323
|
+
<xsl:when test="$pi-start != ''">
|
1324
|
+
<xsl:value-of select="$pi-start"/>
|
1325
|
+
</xsl:when>
|
1326
|
+
<xsl:otherwise>1</xsl:otherwise>
|
1327
|
+
</xsl:choose>
|
1328
|
+
</xsl:when>
|
1329
|
+
<xsl:otherwise>
|
1330
|
+
<xsl:variable name="prevlist"
|
1331
|
+
select="$list/preceding::d:orderedlist[1]"/>
|
1332
|
+
<xsl:choose>
|
1333
|
+
<xsl:when test="count($prevlist) = 0">2</xsl:when>
|
1334
|
+
<xsl:otherwise>
|
1335
|
+
<xsl:variable name="prevlength" select="count($prevlist/d:listitem)"/>
|
1336
|
+
<xsl:variable name="prevstart">
|
1337
|
+
<xsl:call-template name="orderedlist-starting-number">
|
1338
|
+
<xsl:with-param name="list" select="$prevlist"/>
|
1339
|
+
</xsl:call-template>
|
1340
|
+
</xsl:variable>
|
1341
|
+
<xsl:value-of select="$prevstart + $prevlength"/>
|
1342
|
+
</xsl:otherwise>
|
1343
|
+
</xsl:choose>
|
1344
|
+
</xsl:otherwise>
|
1345
|
+
</xsl:choose>
|
1346
|
+
</xsl:template>
|
1347
|
+
|
1348
|
+
<xsl:template name="orderedlist-item-number">
|
1349
|
+
<!-- context node must be a listitem in an orderedlist -->
|
1350
|
+
<xsl:param name="node" select="."/>
|
1351
|
+
<xsl:choose>
|
1352
|
+
<xsl:when test="$node/@override">
|
1353
|
+
<xsl:value-of select="$node/@override"/>
|
1354
|
+
</xsl:when>
|
1355
|
+
<xsl:when test="$node/preceding-sibling::d:listitem">
|
1356
|
+
<xsl:variable name="pnum">
|
1357
|
+
<xsl:call-template name="orderedlist-item-number">
|
1358
|
+
<xsl:with-param name="node" select="$node/preceding-sibling::d:listitem[1]"/>
|
1359
|
+
</xsl:call-template>
|
1360
|
+
</xsl:variable>
|
1361
|
+
<xsl:value-of select="$pnum + 1"/>
|
1362
|
+
</xsl:when>
|
1363
|
+
<xsl:otherwise>
|
1364
|
+
<xsl:call-template name="orderedlist-starting-number">
|
1365
|
+
<xsl:with-param name="list" select="parent::*"/>
|
1366
|
+
</xsl:call-template>
|
1367
|
+
</xsl:otherwise>
|
1368
|
+
</xsl:choose>
|
1369
|
+
</xsl:template>
|
1370
|
+
|
1371
|
+
<xsl:template name="next.numeration">
|
1372
|
+
<xsl:param name="numeration" select="'default'"/>
|
1373
|
+
<xsl:choose>
|
1374
|
+
<!-- Change this list if you want to change the order of numerations -->
|
1375
|
+
<xsl:when test="$numeration = 'arabic'">loweralpha</xsl:when>
|
1376
|
+
<xsl:when test="$numeration = 'loweralpha'">lowerroman</xsl:when>
|
1377
|
+
<xsl:when test="$numeration = 'lowerroman'">upperalpha</xsl:when>
|
1378
|
+
<xsl:when test="$numeration = 'upperalpha'">upperroman</xsl:when>
|
1379
|
+
<xsl:when test="$numeration = 'upperroman'">arabic</xsl:when>
|
1380
|
+
<xsl:otherwise>arabic</xsl:otherwise>
|
1381
|
+
</xsl:choose>
|
1382
|
+
</xsl:template>
|
1383
|
+
|
1384
|
+
<xsl:template name="list.numeration">
|
1385
|
+
<xsl:param name="node" select="."/>
|
1386
|
+
|
1387
|
+
<xsl:choose>
|
1388
|
+
<xsl:when test="$node/@numeration">
|
1389
|
+
<xsl:value-of select="$node/@numeration"/>
|
1390
|
+
</xsl:when>
|
1391
|
+
<xsl:otherwise>
|
1392
|
+
<xsl:choose>
|
1393
|
+
<xsl:when test="$node/ancestor::d:orderedlist">
|
1394
|
+
<xsl:call-template name="next.numeration">
|
1395
|
+
<xsl:with-param name="numeration">
|
1396
|
+
<xsl:call-template name="list.numeration">
|
1397
|
+
<xsl:with-param name="node" select="$node/ancestor::d:orderedlist[1]"/>
|
1398
|
+
</xsl:call-template>
|
1399
|
+
</xsl:with-param>
|
1400
|
+
</xsl:call-template>
|
1401
|
+
</xsl:when>
|
1402
|
+
<xsl:otherwise>
|
1403
|
+
<xsl:call-template name="next.numeration"/>
|
1404
|
+
</xsl:otherwise>
|
1405
|
+
</xsl:choose>
|
1406
|
+
</xsl:otherwise>
|
1407
|
+
</xsl:choose>
|
1408
|
+
</xsl:template>
|
1409
|
+
|
1410
|
+
<xsl:template match="d:orderedlist/d:listitem" mode="item-number">
|
1411
|
+
<xsl:variable name="numeration">
|
1412
|
+
<xsl:call-template name="list.numeration">
|
1413
|
+
<xsl:with-param name="node" select="parent::d:orderedlist"/>
|
1414
|
+
</xsl:call-template>
|
1415
|
+
</xsl:variable>
|
1416
|
+
|
1417
|
+
<xsl:variable name="type">
|
1418
|
+
<xsl:choose>
|
1419
|
+
<xsl:when test="$numeration='arabic'">1.</xsl:when>
|
1420
|
+
<xsl:when test="$numeration='loweralpha'">a.</xsl:when>
|
1421
|
+
<xsl:when test="$numeration='lowerroman'">i.</xsl:when>
|
1422
|
+
<xsl:when test="$numeration='upperalpha'">A.</xsl:when>
|
1423
|
+
<xsl:when test="$numeration='upperroman'">I.</xsl:when>
|
1424
|
+
<!-- What!? This should never happen -->
|
1425
|
+
<xsl:otherwise>
|
1426
|
+
<xsl:message>
|
1427
|
+
<xsl:text>Unexpected numeration: </xsl:text>
|
1428
|
+
<xsl:value-of select="$numeration"/>
|
1429
|
+
</xsl:message>
|
1430
|
+
<xsl:value-of select="1."/>
|
1431
|
+
</xsl:otherwise>
|
1432
|
+
</xsl:choose>
|
1433
|
+
</xsl:variable>
|
1434
|
+
|
1435
|
+
<xsl:variable name="item-number">
|
1436
|
+
<xsl:call-template name="orderedlist-item-number"/>
|
1437
|
+
</xsl:variable>
|
1438
|
+
|
1439
|
+
<xsl:if test="parent::d:orderedlist/@inheritnum='inherit'
|
1440
|
+
and ancestor::d:listitem[parent::d:orderedlist]">
|
1441
|
+
<xsl:apply-templates select="ancestor::d:listitem[parent::d:orderedlist][1]"
|
1442
|
+
mode="item-number"/>
|
1443
|
+
</xsl:if>
|
1444
|
+
|
1445
|
+
<xsl:number value="$item-number" format="{$type}"/>
|
1446
|
+
</xsl:template>
|
1447
|
+
|
1448
|
+
<!-- ====================================================================== -->
|
1449
|
+
<!-- ItemizedList "Numeration" -->
|
1450
|
+
|
1451
|
+
<xsl:template name="next.itemsymbol">
|
1452
|
+
<xsl:param name="itemsymbol" select="'default'"/>
|
1453
|
+
<xsl:choose>
|
1454
|
+
<!-- Change this list if you want to change the order of symbols -->
|
1455
|
+
<xsl:when test="$itemsymbol = 'disc'">circle</xsl:when>
|
1456
|
+
<xsl:when test="$itemsymbol = 'circle'">square</xsl:when>
|
1457
|
+
<xsl:otherwise>disc</xsl:otherwise>
|
1458
|
+
</xsl:choose>
|
1459
|
+
</xsl:template>
|
1460
|
+
|
1461
|
+
<xsl:template name="list.itemsymbol">
|
1462
|
+
<xsl:param name="node" select="."/>
|
1463
|
+
|
1464
|
+
<xsl:choose>
|
1465
|
+
<xsl:when test="@override">
|
1466
|
+
<xsl:value-of select="@override"/>
|
1467
|
+
</xsl:when>
|
1468
|
+
<xsl:when test="$node/@mark">
|
1469
|
+
<xsl:value-of select="$node/@mark"/>
|
1470
|
+
</xsl:when>
|
1471
|
+
<xsl:otherwise>
|
1472
|
+
<xsl:choose>
|
1473
|
+
<xsl:when test="$node/ancestor::d:itemizedlist">
|
1474
|
+
<xsl:call-template name="next.itemsymbol">
|
1475
|
+
<xsl:with-param name="itemsymbol">
|
1476
|
+
<xsl:call-template name="list.itemsymbol">
|
1477
|
+
<xsl:with-param name="node" select="$node/ancestor::d:itemizedlist[1]"/>
|
1478
|
+
</xsl:call-template>
|
1479
|
+
</xsl:with-param>
|
1480
|
+
</xsl:call-template>
|
1481
|
+
</xsl:when>
|
1482
|
+
<xsl:otherwise>
|
1483
|
+
<xsl:call-template name="next.itemsymbol"/>
|
1484
|
+
</xsl:otherwise>
|
1485
|
+
</xsl:choose>
|
1486
|
+
</xsl:otherwise>
|
1487
|
+
</xsl:choose>
|
1488
|
+
</xsl:template>
|
1489
|
+
|
1490
|
+
<!-- ====================================================================== -->
|
1491
|
+
|
1492
|
+
<doc:template name="copyright.years" xmlns="">
|
1493
|
+
<refpurpose>Print a set of years with collapsed ranges</refpurpose>
|
1494
|
+
|
1495
|
+
<refdescription id="copyright.years-desc">
|
1496
|
+
<para>This template prints a list of year elements with consecutive
|
1497
|
+
years printed as a range. In other words:</para>
|
1498
|
+
|
1499
|
+
<screen><![CDATA[<year>1992</year>
|
1500
|
+
<year>1993</year>
|
1501
|
+
<year>1994</year>]]></screen>
|
1502
|
+
|
1503
|
+
<para>is printed <quote>1992-1994</quote>, whereas:</para>
|
1504
|
+
|
1505
|
+
<screen><![CDATA[<year>1992</year>
|
1506
|
+
<year>1994</year>]]></screen>
|
1507
|
+
|
1508
|
+
<para>is printed <quote>1992, 1994</quote>.</para>
|
1509
|
+
|
1510
|
+
<para>This template assumes that all the year elements contain only
|
1511
|
+
decimal year numbers, that the elements are sorted in increasing
|
1512
|
+
numerical order, that there are no duplicates, and that all the years
|
1513
|
+
are expressed in full <quote>century+year</quote>
|
1514
|
+
(<quote>1999</quote> not <quote>99</quote>) notation.</para>
|
1515
|
+
</refdescription>
|
1516
|
+
|
1517
|
+
<refparameter id="copyright.years-params">
|
1518
|
+
<variablelist>
|
1519
|
+
<varlistentry><term>years</term>
|
1520
|
+
<listitem>
|
1521
|
+
<para>The initial set of year elements.</para>
|
1522
|
+
</listitem>
|
1523
|
+
</varlistentry>
|
1524
|
+
<varlistentry><term>print.ranges</term>
|
1525
|
+
<listitem>
|
1526
|
+
<para>If non-zero, multi-year ranges are collapsed. If zero, all years
|
1527
|
+
are printed discretely.</para>
|
1528
|
+
</listitem>
|
1529
|
+
</varlistentry>
|
1530
|
+
<varlistentry><term>single.year.ranges</term>
|
1531
|
+
<listitem>
|
1532
|
+
<para>If non-zero, two consecutive years will be printed as a range,
|
1533
|
+
otherwise, they will be printed discretely. In other words, a single
|
1534
|
+
year range is <quote>1991-1992</quote> but discretely it's
|
1535
|
+
<quote>1991, 1992</quote>.</para>
|
1536
|
+
</listitem>
|
1537
|
+
</varlistentry>
|
1538
|
+
</variablelist>
|
1539
|
+
</refparameter>
|
1540
|
+
|
1541
|
+
<refreturn id="copyright.years-returns">
|
1542
|
+
<para>This template returns the formatted list of years.</para>
|
1543
|
+
</refreturn>
|
1544
|
+
</doc:template>
|
1545
|
+
|
1546
|
+
<xsl:template name="copyright.years">
|
1547
|
+
<xsl:param name="years"/>
|
1548
|
+
<xsl:param name="print.ranges" select="1"/>
|
1549
|
+
<xsl:param name="single.year.ranges" select="0"/>
|
1550
|
+
<xsl:param name="firstyear" select="0"/>
|
1551
|
+
<xsl:param name="nextyear" select="0"/>
|
1552
|
+
|
1553
|
+
<!--
|
1554
|
+
<xsl:message terminate="no">
|
1555
|
+
<xsl:text>CY: </xsl:text>
|
1556
|
+
<xsl:value-of select="count($years)"/>
|
1557
|
+
<xsl:text>, </xsl:text>
|
1558
|
+
<xsl:value-of select="$firstyear"/>
|
1559
|
+
<xsl:text>, </xsl:text>
|
1560
|
+
<xsl:value-of select="$nextyear"/>
|
1561
|
+
<xsl:text>, </xsl:text>
|
1562
|
+
<xsl:value-of select="$print.ranges"/>
|
1563
|
+
<xsl:text>, </xsl:text>
|
1564
|
+
<xsl:value-of select="$single.year.ranges"/>
|
1565
|
+
<xsl:text> (</xsl:text>
|
1566
|
+
<xsl:value-of select="$years[1]"/>
|
1567
|
+
<xsl:text>)</xsl:text>
|
1568
|
+
</xsl:message>
|
1569
|
+
-->
|
1570
|
+
|
1571
|
+
<xsl:choose>
|
1572
|
+
<xsl:when test="$print.ranges = 0 and count($years) > 0">
|
1573
|
+
<xsl:choose>
|
1574
|
+
<xsl:when test="count($years) = 1">
|
1575
|
+
<xsl:apply-templates select="$years[1]" mode="titlepage.mode"/>
|
1576
|
+
</xsl:when>
|
1577
|
+
<xsl:otherwise>
|
1578
|
+
<xsl:apply-templates select="$years[1]" mode="titlepage.mode"/>
|
1579
|
+
<xsl:text>, </xsl:text>
|
1580
|
+
<xsl:call-template name="copyright.years">
|
1581
|
+
<xsl:with-param name="years"
|
1582
|
+
select="$years[position() > 1]"/>
|
1583
|
+
<xsl:with-param name="print.ranges" select="$print.ranges"/>
|
1584
|
+
<xsl:with-param name="single.year.ranges"
|
1585
|
+
select="$single.year.ranges"/>
|
1586
|
+
</xsl:call-template>
|
1587
|
+
</xsl:otherwise>
|
1588
|
+
</xsl:choose>
|
1589
|
+
</xsl:when>
|
1590
|
+
<xsl:when test="count($years) = 0">
|
1591
|
+
<xsl:variable name="lastyear" select="$nextyear - 1"/>
|
1592
|
+
<xsl:choose>
|
1593
|
+
<xsl:when test="$firstyear = 0">
|
1594
|
+
<!-- there weren't any years at all -->
|
1595
|
+
</xsl:when>
|
1596
|
+
<!-- Just output a year with range in its text -->
|
1597
|
+
<xsl:when test="contains($firstyear, '-') or contains($firstyear, ',')">
|
1598
|
+
<xsl:value-of select="$firstyear"/>
|
1599
|
+
</xsl:when>
|
1600
|
+
<xsl:when test="$firstyear = $lastyear">
|
1601
|
+
<xsl:value-of select="$firstyear"/>
|
1602
|
+
</xsl:when>
|
1603
|
+
<xsl:when test="$single.year.ranges = 0
|
1604
|
+
and $lastyear = $firstyear + 1">
|
1605
|
+
<xsl:value-of select="$firstyear"/>
|
1606
|
+
<xsl:text>, </xsl:text>
|
1607
|
+
<xsl:value-of select="$lastyear"/>
|
1608
|
+
</xsl:when>
|
1609
|
+
<xsl:otherwise>
|
1610
|
+
<xsl:value-of select="$firstyear"/>
|
1611
|
+
<xsl:text>-</xsl:text>
|
1612
|
+
<xsl:value-of select="$lastyear"/>
|
1613
|
+
</xsl:otherwise>
|
1614
|
+
</xsl:choose>
|
1615
|
+
</xsl:when>
|
1616
|
+
<xsl:when test="contains($firstyear, '-') or contains($firstyear, ',')">
|
1617
|
+
<!-- Just output a year with range in its text -->
|
1618
|
+
<xsl:value-of select="$firstyear"/>
|
1619
|
+
<xsl:if test="count($years) != 0">
|
1620
|
+
<xsl:text>, </xsl:text>
|
1621
|
+
</xsl:if>
|
1622
|
+
<xsl:call-template name="copyright.years">
|
1623
|
+
<xsl:with-param name="years"
|
1624
|
+
select="$years[position() > 1]"/>
|
1625
|
+
<xsl:with-param name="firstyear" select="$years[1]"/>
|
1626
|
+
<xsl:with-param name="nextyear" select="$years[1] + 1"/>
|
1627
|
+
<xsl:with-param name="print.ranges" select="$print.ranges"/>
|
1628
|
+
<xsl:with-param name="single.year.ranges"
|
1629
|
+
select="$single.year.ranges"/>
|
1630
|
+
</xsl:call-template>
|
1631
|
+
</xsl:when>
|
1632
|
+
<xsl:when test="$firstyear = 0">
|
1633
|
+
<xsl:call-template name="copyright.years">
|
1634
|
+
<xsl:with-param name="years"
|
1635
|
+
select="$years[position() > 1]"/>
|
1636
|
+
<xsl:with-param name="firstyear" select="$years[1]"/>
|
1637
|
+
<xsl:with-param name="nextyear" select="$years[1] + 1"/>
|
1638
|
+
<xsl:with-param name="print.ranges" select="$print.ranges"/>
|
1639
|
+
<xsl:with-param name="single.year.ranges"
|
1640
|
+
select="$single.year.ranges"/>
|
1641
|
+
</xsl:call-template>
|
1642
|
+
</xsl:when>
|
1643
|
+
<xsl:when test="$nextyear = $years[1]">
|
1644
|
+
<xsl:call-template name="copyright.years">
|
1645
|
+
<xsl:with-param name="years"
|
1646
|
+
select="$years[position() > 1]"/>
|
1647
|
+
<xsl:with-param name="firstyear" select="$firstyear"/>
|
1648
|
+
<xsl:with-param name="nextyear" select="$nextyear + 1"/>
|
1649
|
+
<xsl:with-param name="print.ranges" select="$print.ranges"/>
|
1650
|
+
<xsl:with-param name="single.year.ranges"
|
1651
|
+
select="$single.year.ranges"/>
|
1652
|
+
</xsl:call-template>
|
1653
|
+
</xsl:when>
|
1654
|
+
<xsl:otherwise>
|
1655
|
+
<!-- we have years left, but they aren't in the current range -->
|
1656
|
+
<xsl:choose>
|
1657
|
+
<xsl:when test="$nextyear = $firstyear + 1">
|
1658
|
+
<xsl:value-of select="$firstyear"/>
|
1659
|
+
<xsl:text>, </xsl:text>
|
1660
|
+
</xsl:when>
|
1661
|
+
<xsl:when test="$single.year.ranges = 0
|
1662
|
+
and $nextyear = $firstyear + 2">
|
1663
|
+
<xsl:value-of select="$firstyear"/>
|
1664
|
+
<xsl:text>, </xsl:text>
|
1665
|
+
<xsl:value-of select="$nextyear - 1"/>
|
1666
|
+
<xsl:text>, </xsl:text>
|
1667
|
+
</xsl:when>
|
1668
|
+
<xsl:otherwise>
|
1669
|
+
<xsl:value-of select="$firstyear"/>
|
1670
|
+
<xsl:text>-</xsl:text>
|
1671
|
+
<xsl:value-of select="$nextyear - 1"/>
|
1672
|
+
<xsl:text>, </xsl:text>
|
1673
|
+
</xsl:otherwise>
|
1674
|
+
</xsl:choose>
|
1675
|
+
<xsl:call-template name="copyright.years">
|
1676
|
+
<xsl:with-param name="years"
|
1677
|
+
select="$years[position() > 1]"/>
|
1678
|
+
<xsl:with-param name="firstyear" select="$years[1]"/>
|
1679
|
+
<xsl:with-param name="nextyear" select="$years[1] + 1"/>
|
1680
|
+
<xsl:with-param name="print.ranges" select="$print.ranges"/>
|
1681
|
+
<xsl:with-param name="single.year.ranges"
|
1682
|
+
select="$single.year.ranges"/>
|
1683
|
+
</xsl:call-template>
|
1684
|
+
</xsl:otherwise>
|
1685
|
+
</xsl:choose>
|
1686
|
+
</xsl:template>
|
1687
|
+
|
1688
|
+
<!-- ====================================================================== -->
|
1689
|
+
|
1690
|
+
<doc:template name="find.path.params" xmlns="">
|
1691
|
+
<refpurpose>Search in a table for the "best" match for the node</refpurpose>
|
1692
|
+
|
1693
|
+
<refdescription id="find.path.params-desc">
|
1694
|
+
<para>This template searches in a table for the value that most-closely
|
1695
|
+
(in the typical best-match sense of XSLT) matches the current (element)
|
1696
|
+
node location.</para>
|
1697
|
+
</refdescription>
|
1698
|
+
</doc:template>
|
1699
|
+
|
1700
|
+
<xsl:template name="find.path.params">
|
1701
|
+
<xsl:param name="node" select="."/>
|
1702
|
+
<xsl:param name="table" select="''"/>
|
1703
|
+
<xsl:param name="location">
|
1704
|
+
<xsl:call-template name="xpath.location">
|
1705
|
+
<xsl:with-param name="node" select="$node"/>
|
1706
|
+
</xsl:call-template>
|
1707
|
+
</xsl:param>
|
1708
|
+
|
1709
|
+
<xsl:variable name="value">
|
1710
|
+
<xsl:call-template name="lookup.key">
|
1711
|
+
<xsl:with-param name="key" select="$location"/>
|
1712
|
+
<xsl:with-param name="table" select="$table"/>
|
1713
|
+
</xsl:call-template>
|
1714
|
+
</xsl:variable>
|
1715
|
+
|
1716
|
+
<xsl:choose>
|
1717
|
+
<xsl:when test="$value != ''">
|
1718
|
+
<xsl:value-of select="$value"/>
|
1719
|
+
</xsl:when>
|
1720
|
+
<xsl:when test="contains($location, '/')">
|
1721
|
+
<xsl:call-template name="find.path.params">
|
1722
|
+
<xsl:with-param name="node" select="$node"/>
|
1723
|
+
<xsl:with-param name="table" select="$table"/>
|
1724
|
+
<xsl:with-param name="location" select="substring-after($location, '/')"/>
|
1725
|
+
</xsl:call-template>
|
1726
|
+
</xsl:when>
|
1727
|
+
</xsl:choose>
|
1728
|
+
</xsl:template>
|
1729
|
+
|
1730
|
+
<xsl:template name="relative-uri">
|
1731
|
+
<xsl:param name="filename" select="."/>
|
1732
|
+
<xsl:param name="destdir" select="''"/>
|
1733
|
+
|
1734
|
+
<xsl:variable name="srcurl">
|
1735
|
+
<xsl:call-template name="strippath">
|
1736
|
+
<xsl:with-param name="filename">
|
1737
|
+
<xsl:call-template name="xml.base.dirs">
|
1738
|
+
<xsl:with-param name="base.elem"
|
1739
|
+
select="$filename/ancestor-or-self::*
|
1740
|
+
[@xml:base != ''][1]"/>
|
1741
|
+
</xsl:call-template>
|
1742
|
+
<xsl:value-of select="$filename"/>
|
1743
|
+
</xsl:with-param>
|
1744
|
+
</xsl:call-template>
|
1745
|
+
</xsl:variable>
|
1746
|
+
|
1747
|
+
<xsl:variable name="srcurl.trimmed">
|
1748
|
+
<xsl:call-template name="trim.common.uri.paths">
|
1749
|
+
<xsl:with-param name="uriA" select="$srcurl"/>
|
1750
|
+
<xsl:with-param name="uriB" select="$destdir"/>
|
1751
|
+
<xsl:with-param name="return" select="'A'"/>
|
1752
|
+
</xsl:call-template>
|
1753
|
+
</xsl:variable>
|
1754
|
+
|
1755
|
+
<xsl:variable name="destdir.trimmed">
|
1756
|
+
<xsl:call-template name="trim.common.uri.paths">
|
1757
|
+
<xsl:with-param name="uriA" select="$srcurl"/>
|
1758
|
+
<xsl:with-param name="uriB" select="$destdir"/>
|
1759
|
+
<xsl:with-param name="return" select="'B'"/>
|
1760
|
+
</xsl:call-template>
|
1761
|
+
</xsl:variable>
|
1762
|
+
|
1763
|
+
<xsl:variable name="depth">
|
1764
|
+
<xsl:call-template name="count.uri.path.depth">
|
1765
|
+
<xsl:with-param name="filename" select="$destdir.trimmed"/>
|
1766
|
+
</xsl:call-template>
|
1767
|
+
</xsl:variable>
|
1768
|
+
|
1769
|
+
<xsl:call-template name="copy-string">
|
1770
|
+
<xsl:with-param name="string" select="'../'"/>
|
1771
|
+
<xsl:with-param name="count" select="$depth"/>
|
1772
|
+
</xsl:call-template>
|
1773
|
+
<xsl:value-of select="$srcurl.trimmed"/>
|
1774
|
+
|
1775
|
+
</xsl:template>
|
1776
|
+
|
1777
|
+
<!-- ===================================== -->
|
1778
|
+
|
1779
|
+
<xsl:template name="xml.base.dirs">
|
1780
|
+
<xsl:param name="base.elem" select="NONODE"/>
|
1781
|
+
|
1782
|
+
<!-- Recursively resolve xml:base attributes, up to a
|
1783
|
+
full path with : in uri -->
|
1784
|
+
<xsl:if test="$base.elem/ancestor::*[@xml:base != ''] and
|
1785
|
+
not(contains($base.elem/@xml:base, ':'))">
|
1786
|
+
<xsl:call-template name="xml.base.dirs">
|
1787
|
+
<xsl:with-param name="base.elem"
|
1788
|
+
select="$base.elem/ancestor::*[@xml:base != ''][1]"/>
|
1789
|
+
</xsl:call-template>
|
1790
|
+
</xsl:if>
|
1791
|
+
<xsl:call-template name="getdir">
|
1792
|
+
<xsl:with-param name="filename" select="$base.elem/@xml:base"/>
|
1793
|
+
</xsl:call-template>
|
1794
|
+
|
1795
|
+
</xsl:template>
|
1796
|
+
|
1797
|
+
<!-- ===================================== -->
|
1798
|
+
|
1799
|
+
<xsl:template name="strippath">
|
1800
|
+
<xsl:param name="filename" select="''"/>
|
1801
|
+
<xsl:choose>
|
1802
|
+
<!-- Leading .. are not eliminated -->
|
1803
|
+
<xsl:when test="starts-with($filename, '../')">
|
1804
|
+
<xsl:value-of select="'../'"/>
|
1805
|
+
<xsl:call-template name="strippath">
|
1806
|
+
<xsl:with-param name="filename" select="substring-after($filename, '../')"/>
|
1807
|
+
</xsl:call-template>
|
1808
|
+
</xsl:when>
|
1809
|
+
<xsl:when test="contains($filename, '/../')">
|
1810
|
+
<xsl:call-template name="strippath">
|
1811
|
+
<xsl:with-param name="filename">
|
1812
|
+
<xsl:call-template name="getdir">
|
1813
|
+
<xsl:with-param name="filename" select="substring-before($filename, '/../')"/>
|
1814
|
+
</xsl:call-template>
|
1815
|
+
<xsl:value-of select="substring-after($filename, '/../')"/>
|
1816
|
+
</xsl:with-param>
|
1817
|
+
</xsl:call-template>
|
1818
|
+
</xsl:when>
|
1819
|
+
<xsl:otherwise>
|
1820
|
+
<xsl:value-of select="$filename"/>
|
1821
|
+
</xsl:otherwise>
|
1822
|
+
</xsl:choose>
|
1823
|
+
</xsl:template>
|
1824
|
+
|
1825
|
+
<!-- ===================================== -->
|
1826
|
+
|
1827
|
+
<xsl:template name="getdir">
|
1828
|
+
<xsl:param name="filename" select="''"/>
|
1829
|
+
<xsl:if test="contains($filename, '/')">
|
1830
|
+
<xsl:value-of select="substring-before($filename, '/')"/>
|
1831
|
+
<xsl:text>/</xsl:text>
|
1832
|
+
<xsl:call-template name="getdir">
|
1833
|
+
<xsl:with-param name="filename" select="substring-after($filename, '/')"/>
|
1834
|
+
</xsl:call-template>
|
1835
|
+
</xsl:if>
|
1836
|
+
</xsl:template>
|
1837
|
+
|
1838
|
+
<!-- ===================================== -->
|
1839
|
+
|
1840
|
+
<doc:template name="string.upper" xmlns="">
|
1841
|
+
<refpurpose>Converts a string to all uppercase letters</refpurpose>
|
1842
|
+
|
1843
|
+
<refdescription id="string.upper-desc">
|
1844
|
+
<para>Given a string, this template does a language-aware conversion
|
1845
|
+
of that string to all uppercase letters, based on the values of the
|
1846
|
+
<literal>lowercase.alpha</literal> and
|
1847
|
+
<literal>uppercase.alpha</literal> gentext keys for the current
|
1848
|
+
locale. It affects only those characters found in the values of
|
1849
|
+
<literal>lowercase.alpha</literal> and
|
1850
|
+
<literal>uppercase.alpha</literal>. All other characters are left
|
1851
|
+
unchanged.</para>
|
1852
|
+
</refdescription>
|
1853
|
+
|
1854
|
+
<refparameter id="string.upper-params">
|
1855
|
+
<variablelist>
|
1856
|
+
<varlistentry><term>string</term>
|
1857
|
+
<listitem>
|
1858
|
+
<para>The string to convert to uppercase.</para>
|
1859
|
+
</listitem>
|
1860
|
+
</varlistentry>
|
1861
|
+
</variablelist>
|
1862
|
+
</refparameter>
|
1863
|
+
</doc:template>
|
1864
|
+
<xsl:template name="string.upper">
|
1865
|
+
<xsl:param name="string" select="''"/>
|
1866
|
+
<xsl:variable name="lowercase.alpha">
|
1867
|
+
<xsl:call-template name="gentext">
|
1868
|
+
<xsl:with-param name="key" select="'lowercase.alpha'"/>
|
1869
|
+
</xsl:call-template>
|
1870
|
+
</xsl:variable>
|
1871
|
+
<xsl:variable name="uppercase.alpha">
|
1872
|
+
<xsl:call-template name="gentext">
|
1873
|
+
<xsl:with-param name="key" select="'uppercase.alpha'"/>
|
1874
|
+
</xsl:call-template>
|
1875
|
+
</xsl:variable>
|
1876
|
+
<xsl:value-of select="translate($string,$lowercase.alpha,$uppercase.alpha)"/>
|
1877
|
+
</xsl:template>
|
1878
|
+
|
1879
|
+
<!-- ===================================== -->
|
1880
|
+
|
1881
|
+
<doc:template name="string.lower" xmlns="">
|
1882
|
+
<refpurpose>Converts a string to all lowercase letters</refpurpose>
|
1883
|
+
|
1884
|
+
<refdescription id="string.lower-desc">
|
1885
|
+
<para>Given a string, this template does a language-aware conversion
|
1886
|
+
of that string to all lowercase letters, based on the values of the
|
1887
|
+
<literal>uppercase.alpha</literal> and
|
1888
|
+
<literal>lowercase.alpha</literal> gentext keys for the current
|
1889
|
+
locale. It affects only those characters found in the values of
|
1890
|
+
<literal>uppercase.alpha</literal> and
|
1891
|
+
<literal>lowercase.alpha</literal>. All other characters are left
|
1892
|
+
unchanged.</para>
|
1893
|
+
</refdescription>
|
1894
|
+
|
1895
|
+
<refparameter id="string.lower-params">
|
1896
|
+
<variablelist>
|
1897
|
+
<varlistentry><term>string</term>
|
1898
|
+
<listitem>
|
1899
|
+
<para>The string to convert to lowercase.</para>
|
1900
|
+
</listitem>
|
1901
|
+
</varlistentry>
|
1902
|
+
</variablelist>
|
1903
|
+
</refparameter>
|
1904
|
+
</doc:template>
|
1905
|
+
<xsl:template name="string.lower">
|
1906
|
+
<xsl:param name="string" select="''"/>
|
1907
|
+
<xsl:variable name="uppercase.alpha">
|
1908
|
+
<xsl:call-template name="gentext">
|
1909
|
+
<xsl:with-param name="key" select="'uppercase.alpha'"/>
|
1910
|
+
</xsl:call-template>
|
1911
|
+
</xsl:variable>
|
1912
|
+
<xsl:variable name="lowercase.alpha">
|
1913
|
+
<xsl:call-template name="gentext">
|
1914
|
+
<xsl:with-param name="key" select="'lowercase.alpha'"/>
|
1915
|
+
</xsl:call-template>
|
1916
|
+
</xsl:variable>
|
1917
|
+
<xsl:value-of select="translate($string,$uppercase.alpha,$lowercase.alpha)"/>
|
1918
|
+
</xsl:template>
|
1919
|
+
|
1920
|
+
<!-- ===================================== -->
|
1921
|
+
|
1922
|
+
<doc:template name="select.choice.separator" xmlns="">
|
1923
|
+
<refpurpose>Returns localized choice separator</refpurpose>
|
1924
|
+
<refdescription id="select.choice.separator-desc">
|
1925
|
+
<para>This template enables auto-generation of an appropriate
|
1926
|
+
localized "choice" separator (for example, "and" or "or") before
|
1927
|
+
the final item in an inline list (though it could also be useful
|
1928
|
+
for generating choice separators for non-inline lists).</para>
|
1929
|
+
<para>It currently works by evaluating a processing instruction
|
1930
|
+
(PI) of the form <?dbchoice choice="foo"?> :
|
1931
|
+
<itemizedlist>
|
1932
|
+
<listitem>
|
1933
|
+
<simpara>if the value of the <tag>choice</tag>
|
1934
|
+
pseudo-attribute is "and" or "or", returns a localized "and"
|
1935
|
+
or "or"</simpara>
|
1936
|
+
</listitem>
|
1937
|
+
<listitem>
|
1938
|
+
<simpara>otherwise returns the literal value of the
|
1939
|
+
<tag>choice</tag> pseudo-attribute</simpara>
|
1940
|
+
</listitem>
|
1941
|
+
</itemizedlist>
|
1942
|
+
The latter is provided only as a temporary workaround because the
|
1943
|
+
locale files do not currently have translations for the word
|
1944
|
+
<wordasword>or</wordasword>. So if you want to generate a a
|
1945
|
+
logical "or" separator in French (for example), you currently need
|
1946
|
+
to do this:
|
1947
|
+
<literallayout><?dbchoice choice="ou"?></literallayout>
|
1948
|
+
</para>
|
1949
|
+
<warning>
|
1950
|
+
<para>The <tag>dbchoice</tag> processing instruction is
|
1951
|
+
an unfortunate hack; support for it may disappear in the future
|
1952
|
+
(particularly if and when a more appropriate means for marking
|
1953
|
+
up "choice" lists becomes available in DocBook).</para>
|
1954
|
+
</warning>
|
1955
|
+
</refdescription>
|
1956
|
+
</doc:template>
|
1957
|
+
<xsl:template name="select.choice.separator">
|
1958
|
+
<xsl:variable name="choice">
|
1959
|
+
<xsl:call-template name="pi.dbchoice_choice"/>
|
1960
|
+
</xsl:variable>
|
1961
|
+
<xsl:choose>
|
1962
|
+
<!-- if value of $choice is "and" or "or", translate to equivalent in -->
|
1963
|
+
<!-- current locale -->
|
1964
|
+
<xsl:when test="$choice = 'and' or $choice = 'or'">
|
1965
|
+
<xsl:call-template name="gentext">
|
1966
|
+
<xsl:with-param name="key" select="$choice"/>
|
1967
|
+
</xsl:call-template>
|
1968
|
+
</xsl:when>
|
1969
|
+
<!-- otherwise, just output value of $choice, whatever it is -->
|
1970
|
+
<xsl:otherwise>
|
1971
|
+
<xsl:value-of select="$choice"/>
|
1972
|
+
</xsl:otherwise>
|
1973
|
+
</xsl:choose>
|
1974
|
+
</xsl:template>
|
1975
|
+
|
1976
|
+
<!-- ===================================== -->
|
1977
|
+
|
1978
|
+
<doc:template name="evaluate.info.profile" xmlns="">
|
1979
|
+
<refpurpose>Evaluates an info profile</refpurpose>
|
1980
|
+
<refdescription id="evaluate.info.profile-desc">
|
1981
|
+
<para>This template evaluates an "info profile" matching the XPath
|
1982
|
+
expression given by the <parameter>profile</parameter>
|
1983
|
+
parameter. It relies on the XSLT <function>evaluate()</function>
|
1984
|
+
extension function.</para>
|
1985
|
+
|
1986
|
+
<para>The value of the <parameter>profile</parameter> parameter
|
1987
|
+
can include the literal string <literal>$info</literal>. If found
|
1988
|
+
in the value of the <parameter>profile</parameter> parameter, the
|
1989
|
+
literal string <literal>$info</literal> string is replaced with
|
1990
|
+
the value of the <parameter>info</parameter> parameter, which
|
1991
|
+
should be a set of <replaceable>*info</replaceable> nodes; the
|
1992
|
+
expression is then evaluated using the XSLT
|
1993
|
+
<function>evaluate()</function> extension function.</para>
|
1994
|
+
</refdescription>
|
1995
|
+
<refparameter id="evaluate.info.profile-params">
|
1996
|
+
<variablelist>
|
1997
|
+
<varlistentry>
|
1998
|
+
<term>profile</term>
|
1999
|
+
<listitem>
|
2000
|
+
<para>A string representing an XPath expression </para>
|
2001
|
+
</listitem>
|
2002
|
+
</varlistentry>
|
2003
|
+
<varlistentry>
|
2004
|
+
<term>info</term>
|
2005
|
+
<listitem>
|
2006
|
+
<para>A set of *info nodes</para>
|
2007
|
+
</listitem>
|
2008
|
+
</varlistentry>
|
2009
|
+
</variablelist>
|
2010
|
+
</refparameter>
|
2011
|
+
|
2012
|
+
<refreturn id="evaluate.info.profile-returns">
|
2013
|
+
<para>Returns a node (the result of evaluating the
|
2014
|
+
<parameter>profile</parameter> parameter)</para>
|
2015
|
+
</refreturn>
|
2016
|
+
</doc:template>
|
2017
|
+
<xsl:template name="evaluate.info.profile">
|
2018
|
+
<xsl:param name="profile"/>
|
2019
|
+
<xsl:param name="info"/>
|
2020
|
+
<xsl:choose>
|
2021
|
+
<!-- * xsltproc and Xalan both support dyn:evaluate() -->
|
2022
|
+
<xsl:when test="function-available('dyn:evaluate')">
|
2023
|
+
<xsl:apply-templates
|
2024
|
+
select="dyn:evaluate($profile)" mode="get.refentry.metadata"/>
|
2025
|
+
</xsl:when>
|
2026
|
+
<!-- * Saxon has its own evaluate() & doesn't support dyn:evaluate() -->
|
2027
|
+
<xsl:when test="function-available('saxon:evaluate')">
|
2028
|
+
<xsl:apply-templates
|
2029
|
+
select="saxon:evaluate($profile)" mode="get.refentry.metadata"/>
|
2030
|
+
</xsl:when>
|
2031
|
+
<xsl:otherwise>
|
2032
|
+
<xsl:message terminate="yes">
|
2033
|
+
Error: The "info profiling" mechanism currently requires an XSLT
|
2034
|
+
engine that supports the evaluate() XSLT extension function. Your XSLT
|
2035
|
+
engine does not support it.
|
2036
|
+
</xsl:message>
|
2037
|
+
</xsl:otherwise>
|
2038
|
+
</xsl:choose>
|
2039
|
+
</xsl:template>
|
2040
|
+
</xsl:stylesheet>
|