git-scribe 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/docbook-xsl/COPYING +47 -0
- data/docbook-xsl/VERSION +115 -0
- data/docbook-xsl/catalog.xml +8 -0
- data/docbook-xsl/common.xsl +87 -0
- data/docbook-xsl/common/af.xml +1229 -0
- data/docbook-xsl/common/am.xml +1229 -0
- data/docbook-xsl/common/ar.xml +1229 -0
- data/docbook-xsl/common/autoidx-kimber.xsl +43 -0
- data/docbook-xsl/common/autoidx-kosek.xsl +150 -0
- data/docbook-xsl/common/az.xml +672 -0
- data/docbook-xsl/common/bg.xml +724 -0
- data/docbook-xsl/common/bn.xml +1229 -0
- data/docbook-xsl/common/bs.xml +662 -0
- data/docbook-xsl/common/ca.xml +1229 -0
- data/docbook-xsl/common/charmap.xml +185 -0
- data/docbook-xsl/common/charmap.xsl +221 -0
- data/docbook-xsl/common/common.xml +622 -0
- data/docbook-xsl/common/common.xsl +2019 -0
- data/docbook-xsl/common/cs.xml +700 -0
- data/docbook-xsl/common/cy.xml +1245 -0
- data/docbook-xsl/common/da.xml +664 -0
- data/docbook-xsl/common/de.xml +666 -0
- data/docbook-xsl/common/el.xml +1229 -0
- data/docbook-xsl/common/en.xml +1229 -0
- data/docbook-xsl/common/entities.ent +60 -0
- data/docbook-xsl/common/eo.xml +1229 -0
- data/docbook-xsl/common/es.xml +676 -0
- data/docbook-xsl/common/et.xml +1229 -0
- data/docbook-xsl/common/eu.xml +1229 -0
- data/docbook-xsl/common/fa.xml +1229 -0
- data/docbook-xsl/common/fi.xml +670 -0
- data/docbook-xsl/common/fr.xml +690 -0
- data/docbook-xsl/common/ga.xml +1229 -0
- data/docbook-xsl/common/gentext.xsl +836 -0
- data/docbook-xsl/common/gl.xml +1229 -0
- data/docbook-xsl/common/gu.xml +1229 -0
- data/docbook-xsl/common/he.xml +1229 -0
- data/docbook-xsl/common/hi.xml +1229 -0
- data/docbook-xsl/common/hr.xml +1229 -0
- data/docbook-xsl/common/hu.xml +1229 -0
- data/docbook-xsl/common/id.xml +1229 -0
- data/docbook-xsl/common/insertfile.xsl +111 -0
- data/docbook-xsl/common/it.xml +1229 -0
- data/docbook-xsl/common/ja.xml +1229 -0
- data/docbook-xsl/common/kn.xml +1229 -0
- data/docbook-xsl/common/ko.xml +1229 -0
- data/docbook-xsl/common/l10n.dtd +63 -0
- data/docbook-xsl/common/l10n.xml +129 -0
- data/docbook-xsl/common/l10n.xsl +497 -0
- data/docbook-xsl/common/la.xml +1229 -0
- data/docbook-xsl/common/labels.xsl +869 -0
- data/docbook-xsl/common/lt.xml +678 -0
- data/docbook-xsl/common/lv.xml +1229 -0
- data/docbook-xsl/common/mn.xml +730 -0
- data/docbook-xsl/common/nb.xml +1229 -0
- data/docbook-xsl/common/nl.xml +1229 -0
- data/docbook-xsl/common/nn.xml +1229 -0
- data/docbook-xsl/common/olink.xsl +1149 -0
- data/docbook-xsl/common/or.xml +1229 -0
- data/docbook-xsl/common/pa.xml +1229 -0
- data/docbook-xsl/common/pi.xml +165 -0
- data/docbook-xsl/common/pi.xsl +346 -0
- data/docbook-xsl/common/pl.xml +1229 -0
- data/docbook-xsl/common/pt.xml +1229 -0
- data/docbook-xsl/common/pt_br.xml +1229 -0
- data/docbook-xsl/common/refentry.xml +781 -0
- data/docbook-xsl/common/refentry.xsl +1352 -0
- data/docbook-xsl/common/ro.xml +1229 -0
- data/docbook-xsl/common/ru.xml +726 -0
- data/docbook-xsl/common/sk.xml +1229 -0
- data/docbook-xsl/common/sl.xml +1229 -0
- data/docbook-xsl/common/sq.xml +1229 -0
- data/docbook-xsl/common/sr.xml +720 -0
- data/docbook-xsl/common/sr_Latn.xml +679 -0
- data/docbook-xsl/common/stripns.xsl +289 -0
- data/docbook-xsl/common/subtitles.xsl +155 -0
- data/docbook-xsl/common/sv.xml +664 -0
- data/docbook-xsl/common/ta.xml +1229 -0
- data/docbook-xsl/common/table.xsl +514 -0
- data/docbook-xsl/common/targetdatabase.dtd +49 -0
- data/docbook-xsl/common/targets.xsl +272 -0
- data/docbook-xsl/common/th.xml +1229 -0
- data/docbook-xsl/common/titles.xsl +752 -0
- data/docbook-xsl/common/tl.xml +1229 -0
- data/docbook-xsl/common/tr.xml +666 -0
- data/docbook-xsl/common/uk.xml +1229 -0
- data/docbook-xsl/common/utility.xml +259 -0
- data/docbook-xsl/common/utility.xsl +290 -0
- data/docbook-xsl/common/vi.xml +1229 -0
- data/docbook-xsl/common/xh.xml +1229 -0
- data/docbook-xsl/common/zh_cn.xml +660 -0
- data/docbook-xsl/common/zh_tw.xml +1229 -0
- data/docbook-xsl/docsrc/authors.xml +10 -0
- data/docbook-xsl/docsrc/copyright.xml +18 -0
- data/docbook-xsl/docsrc/license.xml +23 -0
- data/docbook-xsl/docsrc/page.png +0 -0
- data/docbook-xsl/docsrc/reference.css +60 -0
- data/docbook-xsl/docsrc/reference.xml +229 -0
- data/docbook-xsl/docsrc/reference.xml.included +32701 -0
- data/docbook-xsl/docsrc/warranty.xml +11 -0
- data/docbook-xsl/epub/README +88 -0
- data/docbook-xsl/epub/bin/dbtoepub +65 -0
- data/docbook-xsl/epub/bin/lib/docbook.rb +206 -0
- data/docbook-xsl/epub/docbook.xsl +1638 -0
- data/docbook-xsl/extensions/README.LIBXSLT +52 -0
- data/docbook-xsl/extensions/docbook.py +240 -0
- data/docbook-xsl/extensions/saxon65.jar +0 -0
- data/docbook-xsl/extensions/xalan27.jar +0 -0
- data/docbook-xsl/extensions/xslt.py +83 -0
- data/docbook-xsl/fo.xsl +152 -0
- data/docbook-xsl/fo/admon.xsl +130 -0
- data/docbook-xsl/fo/annotations.xsl +18 -0
- data/docbook-xsl/fo/autoidx-kimber.xsl +178 -0
- data/docbook-xsl/fo/autoidx-kosek.xsl +150 -0
- data/docbook-xsl/fo/autoidx-ng.xsl +20 -0
- data/docbook-xsl/fo/autoidx.xsl +1310 -0
- data/docbook-xsl/fo/autotoc.xsl +892 -0
- data/docbook-xsl/fo/axf.xsl +110 -0
- data/docbook-xsl/fo/biblio-iso690.xsl +1300 -0
- data/docbook-xsl/fo/biblio.xsl +1169 -0
- data/docbook-xsl/fo/block.xsl +600 -0
- data/docbook-xsl/fo/callout.xsl +231 -0
- data/docbook-xsl/fo/component.xsl +811 -0
- data/docbook-xsl/fo/division.xsl +611 -0
- data/docbook-xsl/fo/docbook.xsl +336 -0
- data/docbook-xsl/fo/ebnf.xsl +325 -0
- data/docbook-xsl/fo/fo-rtf.xsl +154 -0
- data/docbook-xsl/fo/fo.xsl +71 -0
- data/docbook-xsl/fo/footnote.xsl +220 -0
- data/docbook-xsl/fo/fop.xsl +93 -0
- data/docbook-xsl/fo/fop1.xsl +174 -0
- data/docbook-xsl/fo/formal.xsl +615 -0
- data/docbook-xsl/fo/glossary.xsl +1112 -0
- data/docbook-xsl/fo/graphics.xsl +642 -0
- data/docbook-xsl/fo/highlight.xsl +75 -0
- data/docbook-xsl/fo/htmltbl.xsl +217 -0
- data/docbook-xsl/fo/index.xsl +481 -0
- data/docbook-xsl/fo/info.xsl +34 -0
- data/docbook-xsl/fo/inline.xsl +1275 -0
- data/docbook-xsl/fo/keywords.xsl +21 -0
- data/docbook-xsl/fo/lists.xsl +1260 -0
- data/docbook-xsl/fo/math.xsl +140 -0
- data/docbook-xsl/fo/pagesetup.xsl +2314 -0
- data/docbook-xsl/fo/param.xml +11823 -0
- data/docbook-xsl/fo/param.xsl +899 -0
- data/docbook-xsl/fo/passivetex.xsl +36 -0
- data/docbook-xsl/fo/pdf2index +140 -0
- data/docbook-xsl/fo/pi.xml +969 -0
- data/docbook-xsl/fo/pi.xsl +1052 -0
- data/docbook-xsl/fo/profile-docbook.xsl +289 -0
- data/docbook-xsl/fo/ptc.xsl +77 -0
- data/docbook-xsl/fo/qandaset.xsl +393 -0
- data/docbook-xsl/fo/refentry.xsl +637 -0
- data/docbook-xsl/fo/sections.xsl +764 -0
- data/docbook-xsl/fo/spaces.xsl +274 -0
- data/docbook-xsl/fo/synop.xsl +1002 -0
- data/docbook-xsl/fo/table.xml +135 -0
- data/docbook-xsl/fo/table.xsl +1552 -0
- data/docbook-xsl/fo/task.xsl +91 -0
- data/docbook-xsl/fo/titlepage.templates.xml +1311 -0
- data/docbook-xsl/fo/titlepage.templates.xsl +5094 -0
- data/docbook-xsl/fo/titlepage.xsl +750 -0
- data/docbook-xsl/fo/toc.xsl +274 -0
- data/docbook-xsl/fo/verbatim.xsl +417 -0
- data/docbook-xsl/fo/xep.xsl +180 -0
- data/docbook-xsl/fo/xref.xsl +1486 -0
- data/docbook-xsl/highlighting/c-hl.xml +101 -0
- data/docbook-xsl/highlighting/common.xsl +120 -0
- data/docbook-xsl/highlighting/cpp-hl.xml +150 -0
- data/docbook-xsl/highlighting/csharp-hl.xml +187 -0
- data/docbook-xsl/highlighting/delphi-hl.xml +200 -0
- data/docbook-xsl/highlighting/ini-hl.xml +45 -0
- data/docbook-xsl/highlighting/java-hl.xml +117 -0
- data/docbook-xsl/highlighting/javascript-hl.xml +147 -0
- data/docbook-xsl/highlighting/m2-hl.xml +90 -0
- data/docbook-xsl/highlighting/myxml-hl.xml +116 -0
- data/docbook-xsl/highlighting/perl-hl.xml +120 -0
- data/docbook-xsl/highlighting/php-hl.xml +149 -0
- data/docbook-xsl/highlighting/python-hl.xml +100 -0
- data/docbook-xsl/highlighting/ruby-hl.xml +109 -0
- data/docbook-xsl/highlighting/tcl-hl.xml +180 -0
- data/docbook-xsl/highlighting/xslthl-config.xml +46 -0
- data/docbook-xsl/html/admon.xsl +132 -0
- data/docbook-xsl/html/annotations.xsl +169 -0
- data/docbook-xsl/html/autoidx-kimber.xsl +168 -0
- data/docbook-xsl/html/autoidx-kosek.xsl +125 -0
- data/docbook-xsl/html/autoidx-ng.xsl +20 -0
- data/docbook-xsl/html/autoidx.xsl +645 -0
- data/docbook-xsl/html/autotoc.xsl +675 -0
- data/docbook-xsl/html/biblio-iso690.xsl +1300 -0
- data/docbook-xsl/html/biblio.xsl +1247 -0
- data/docbook-xsl/html/block.xsl +434 -0
- data/docbook-xsl/html/callout.xsl +201 -0
- data/docbook-xsl/html/changebars.xsl +121 -0
- data/docbook-xsl/html/chunk-changebars.xsl +99 -0
- data/docbook-xsl/html/chunk-code.xsl +670 -0
- data/docbook-xsl/html/chunk-common.xsl +1911 -0
- data/docbook-xsl/html/chunk.xsl +52 -0
- data/docbook-xsl/html/chunker.xsl +439 -0
- data/docbook-xsl/html/chunkfast.xsl +72 -0
- data/docbook-xsl/html/chunktoc.xsl +468 -0
- data/docbook-xsl/html/component.xsl +403 -0
- data/docbook-xsl/html/division.xsl +228 -0
- data/docbook-xsl/html/docbook.xsl +483 -0
- data/docbook-xsl/html/ebnf.xsl +329 -0
- data/docbook-xsl/html/footnote.xsl +308 -0
- data/docbook-xsl/html/formal.xsl +401 -0
- data/docbook-xsl/html/glossary.xsl +474 -0
- data/docbook-xsl/html/graphics.xsl +1515 -0
- data/docbook-xsl/html/highlight.xsl +71 -0
- data/docbook-xsl/html/html-rtf.xsl +336 -0
- data/docbook-xsl/html/html.xsl +268 -0
- data/docbook-xsl/html/htmltbl.xsl +56 -0
- data/docbook-xsl/html/index.xsl +229 -0
- data/docbook-xsl/html/info.xsl +43 -0
- data/docbook-xsl/html/inline.xsl +1497 -0
- data/docbook-xsl/html/keywords.xsl +35 -0
- data/docbook-xsl/html/lists.xsl +1143 -0
- data/docbook-xsl/html/maketoc.xsl +86 -0
- data/docbook-xsl/html/manifest.xsl +22 -0
- data/docbook-xsl/html/math.xsl +270 -0
- data/docbook-xsl/html/oldchunker.xsl +202 -0
- data/docbook-xsl/html/onechunk.xsl +37 -0
- data/docbook-xsl/html/param.xml +10397 -0
- data/docbook-xsl/html/param.xsl +422 -0
- data/docbook-xsl/html/pi.xml +1113 -0
- data/docbook-xsl/html/pi.xsl +1263 -0
- data/docbook-xsl/html/profile-chunk-code.xsl +609 -0
- data/docbook-xsl/html/profile-chunk.xsl +52 -0
- data/docbook-xsl/html/profile-docbook.xsl +414 -0
- data/docbook-xsl/html/profile-onechunk.xsl +37 -0
- data/docbook-xsl/html/qandaset.xsl +389 -0
- data/docbook-xsl/html/refentry.xsl +309 -0
- data/docbook-xsl/html/sections.xsl +628 -0
- data/docbook-xsl/html/synop.xsl +1549 -0
- data/docbook-xsl/html/table.xsl +1130 -0
- data/docbook-xsl/html/task.xsl +76 -0
- data/docbook-xsl/html/titlepage.templates.xml +662 -0
- data/docbook-xsl/html/titlepage.templates.xsl +3622 -0
- data/docbook-xsl/html/titlepage.xsl +1031 -0
- data/docbook-xsl/html/toc.xsl +169 -0
- data/docbook-xsl/html/verbatim.xsl +376 -0
- data/docbook-xsl/html/xref.xsl +1348 -0
- data/docbook-xsl/htmlhelp/htmlhelp-common.xsl +1113 -0
- data/docbook-xsl/htmlhelp/htmlhelp.xsl +22 -0
- data/docbook-xsl/htmlhelp/profile-htmlhelp-common.xsl +1076 -0
- data/docbook-xsl/htmlhelp/profile-htmlhelp.xsl +22 -0
- data/docbook-xsl/images/annot-close.png +0 -0
- data/docbook-xsl/images/annot-open.png +0 -0
- data/docbook-xsl/images/blank.png +0 -0
- data/docbook-xsl/images/callouts/1.gif +0 -0
- data/docbook-xsl/images/callouts/1.png +0 -0
- data/docbook-xsl/images/callouts/1.svg +15 -0
- data/docbook-xsl/images/callouts/10.gif +0 -0
- data/docbook-xsl/images/callouts/10.png +0 -0
- data/docbook-xsl/images/callouts/10.svg +18 -0
- data/docbook-xsl/images/callouts/11.gif +0 -0
- data/docbook-xsl/images/callouts/11.png +0 -0
- data/docbook-xsl/images/callouts/11.svg +16 -0
- data/docbook-xsl/images/callouts/12.gif +0 -0
- data/docbook-xsl/images/callouts/12.png +0 -0
- data/docbook-xsl/images/callouts/12.svg +18 -0
- data/docbook-xsl/images/callouts/13.gif +0 -0
- data/docbook-xsl/images/callouts/13.png +0 -0
- data/docbook-xsl/images/callouts/13.svg +20 -0
- data/docbook-xsl/images/callouts/14.gif +0 -0
- data/docbook-xsl/images/callouts/14.png +0 -0
- data/docbook-xsl/images/callouts/14.svg +17 -0
- data/docbook-xsl/images/callouts/15.gif +0 -0
- data/docbook-xsl/images/callouts/15.png +0 -0
- data/docbook-xsl/images/callouts/15.svg +19 -0
- data/docbook-xsl/images/callouts/16.svg +20 -0
- data/docbook-xsl/images/callouts/17.svg +17 -0
- data/docbook-xsl/images/callouts/18.svg +21 -0
- data/docbook-xsl/images/callouts/19.svg +20 -0
- data/docbook-xsl/images/callouts/2.gif +0 -0
- data/docbook-xsl/images/callouts/2.png +0 -0
- data/docbook-xsl/images/callouts/2.svg +17 -0
- data/docbook-xsl/images/callouts/20.svg +20 -0
- data/docbook-xsl/images/callouts/21.svg +18 -0
- data/docbook-xsl/images/callouts/22.svg +20 -0
- data/docbook-xsl/images/callouts/23.svg +22 -0
- data/docbook-xsl/images/callouts/24.svg +19 -0
- data/docbook-xsl/images/callouts/25.svg +21 -0
- data/docbook-xsl/images/callouts/26.svg +22 -0
- data/docbook-xsl/images/callouts/27.svg +19 -0
- data/docbook-xsl/images/callouts/28.svg +23 -0
- data/docbook-xsl/images/callouts/29.svg +22 -0
- data/docbook-xsl/images/callouts/3.gif +0 -0
- data/docbook-xsl/images/callouts/3.png +0 -0
- data/docbook-xsl/images/callouts/3.svg +19 -0
- data/docbook-xsl/images/callouts/30.svg +22 -0
- data/docbook-xsl/images/callouts/4.gif +0 -0
- data/docbook-xsl/images/callouts/4.png +0 -0
- data/docbook-xsl/images/callouts/4.svg +16 -0
- data/docbook-xsl/images/callouts/5.gif +0 -0
- data/docbook-xsl/images/callouts/5.png +0 -0
- data/docbook-xsl/images/callouts/5.svg +18 -0
- data/docbook-xsl/images/callouts/6.gif +0 -0
- data/docbook-xsl/images/callouts/6.png +0 -0
- data/docbook-xsl/images/callouts/6.svg +19 -0
- data/docbook-xsl/images/callouts/7.gif +0 -0
- data/docbook-xsl/images/callouts/7.png +0 -0
- data/docbook-xsl/images/callouts/7.svg +16 -0
- data/docbook-xsl/images/callouts/8.gif +0 -0
- data/docbook-xsl/images/callouts/8.png +0 -0
- data/docbook-xsl/images/callouts/8.svg +20 -0
- data/docbook-xsl/images/callouts/9.gif +0 -0
- data/docbook-xsl/images/callouts/9.png +0 -0
- data/docbook-xsl/images/callouts/9.svg +19 -0
- data/docbook-xsl/images/caution.gif +0 -0
- data/docbook-xsl/images/caution.png +0 -0
- data/docbook-xsl/images/caution.svg +25 -0
- data/docbook-xsl/images/caution.tif +0 -0
- data/docbook-xsl/images/draft.png +0 -0
- data/docbook-xsl/images/home.gif +0 -0
- data/docbook-xsl/images/home.png +0 -0
- data/docbook-xsl/images/home.svg +26 -0
- data/docbook-xsl/images/important.gif +0 -0
- data/docbook-xsl/images/important.png +0 -0
- data/docbook-xsl/images/important.svg +25 -0
- data/docbook-xsl/images/important.tif +0 -0
- data/docbook-xsl/images/next.gif +0 -0
- data/docbook-xsl/images/next.png +0 -0
- data/docbook-xsl/images/next.svg +19 -0
- data/docbook-xsl/images/note.gif +0 -0
- data/docbook-xsl/images/note.png +0 -0
- data/docbook-xsl/images/note.svg +33 -0
- data/docbook-xsl/images/note.tif +0 -0
- data/docbook-xsl/images/prev.gif +0 -0
- data/docbook-xsl/images/prev.png +0 -0
- data/docbook-xsl/images/prev.svg +19 -0
- data/docbook-xsl/images/tip.gif +0 -0
- data/docbook-xsl/images/tip.png +0 -0
- data/docbook-xsl/images/tip.svg +31 -0
- data/docbook-xsl/images/tip.tif +0 -0
- data/docbook-xsl/images/toc-blank.png +0 -0
- data/docbook-xsl/images/toc-minus.png +0 -0
- data/docbook-xsl/images/toc-plus.png +0 -0
- data/docbook-xsl/images/up.gif +0 -0
- data/docbook-xsl/images/up.png +0 -0
- data/docbook-xsl/images/up.svg +19 -0
- data/docbook-xsl/images/warning.gif +0 -0
- data/docbook-xsl/images/warning.png +0 -0
- data/docbook-xsl/images/warning.svg +23 -0
- data/docbook-xsl/images/warning.tif +0 -0
- data/docbook-xsl/javahelp/javahelp.xsl +628 -0
- data/docbook-xsl/javahelp/profile-javahelp.xsl +550 -0
- data/docbook-xsl/lib/lib.xsl +480 -0
- data/docbook-xsl/manpages/ChangeLog.20020917 +195 -0
- data/docbook-xsl/manpages/block.xsl +393 -0
- data/docbook-xsl/manpages/charmap.groff.xsl +6013 -0
- data/docbook-xsl/manpages/docbook.xsl +302 -0
- data/docbook-xsl/manpages/endnotes.xsl +584 -0
- data/docbook-xsl/manpages/html-synop.xsl +1562 -0
- data/docbook-xsl/manpages/info.xsl +800 -0
- data/docbook-xsl/manpages/inline.xsl +219 -0
- data/docbook-xsl/manpages/lists.xsl +603 -0
- data/docbook-xsl/manpages/other.xsl +869 -0
- data/docbook-xsl/manpages/param.xml +3162 -0
- data/docbook-xsl/manpages/param.xsl +192 -0
- data/docbook-xsl/manpages/pi.xml +70 -0
- data/docbook-xsl/manpages/pi.xsl +79 -0
- data/docbook-xsl/manpages/profile-docbook.xsl +271 -0
- data/docbook-xsl/manpages/refentry.xsl +310 -0
- data/docbook-xsl/manpages/synop.xsl +432 -0
- data/docbook-xsl/manpages/table.xsl +633 -0
- data/docbook-xsl/manpages/utility.xsl +534 -0
- data/docbook-xsl/params/abstract.notitle.enabled.xml +22 -0
- data/docbook-xsl/params/abstract.properties.xml +32 -0
- data/docbook-xsl/params/abstract.title.properties.xml +39 -0
- data/docbook-xsl/params/active.toc.xml +29 -0
- data/docbook-xsl/params/ade.extensions.xml +32 -0
- data/docbook-xsl/params/admon.graphics.extension.xml +27 -0
- data/docbook-xsl/params/admon.graphics.path.xml +27 -0
- data/docbook-xsl/params/admon.graphics.xml +29 -0
- data/docbook-xsl/params/admon.style.xml +30 -0
- data/docbook-xsl/params/admon.textlabel.xml +32 -0
- data/docbook-xsl/params/admonition.properties.xml +25 -0
- data/docbook-xsl/params/admonition.title.properties.xml +32 -0
- data/docbook-xsl/params/alignment.xml +31 -0
- data/docbook-xsl/params/annotate.toc.xml +28 -0
- data/docbook-xsl/params/annotation.css.xml +71 -0
- data/docbook-xsl/params/annotation.graphic.close.xml +31 -0
- data/docbook-xsl/params/annotation.graphic.open.xml +28 -0
- data/docbook-xsl/params/annotation.js.xml +33 -0
- data/docbook-xsl/params/annotation.support.xml +29 -0
- data/docbook-xsl/params/appendix.autolabel.xml +73 -0
- data/docbook-xsl/params/arbortext.extensions.xml +30 -0
- data/docbook-xsl/params/article.appendix.title.properties.xml +33 -0
- data/docbook-xsl/params/author.othername.in.middle.xml +31 -0
- data/docbook-xsl/params/autolayout-file.xml +29 -0
- data/docbook-xsl/params/autotoc.label.in.hyperlink.xml +29 -0
- data/docbook-xsl/params/autotoc.label.separator.xml +27 -0
- data/docbook-xsl/params/axf.extensions.xml +33 -0
- data/docbook-xsl/params/banner.before.navigation.xml +25 -0
- data/docbook-xsl/params/base.dir.xml +29 -0
- data/docbook-xsl/params/biblioentry.item.separator.xml +26 -0
- data/docbook-xsl/params/biblioentry.properties.xml +28 -0
- data/docbook-xsl/params/bibliography.collection.xml +104 -0
- data/docbook-xsl/params/bibliography.numbered.xml +27 -0
- data/docbook-xsl/params/bibliography.style.xml +35 -0
- data/docbook-xsl/params/blockquote.properties.xml +34 -0
- data/docbook-xsl/params/blurb.on.titlepage.enabled.xml +31 -0
- data/docbook-xsl/params/body.attributes.xml +31 -0
- data/docbook-xsl/params/body.bg.color.xml +28 -0
- data/docbook-xsl/params/body.end.indent.xml +37 -0
- data/docbook-xsl/params/body.font.family.xml +32 -0
- data/docbook-xsl/params/body.font.master.xml +30 -0
- data/docbook-xsl/params/body.font.size.xml +31 -0
- data/docbook-xsl/params/body.margin.bottom.xml +29 -0
- data/docbook-xsl/params/body.margin.top.xml +28 -0
- data/docbook-xsl/params/body.start.indent.xml +62 -0
- data/docbook-xsl/params/bridgehead.in.toc.xml +28 -0
- data/docbook-xsl/params/bullet.image.xml +28 -0
- data/docbook-xsl/params/callout.defaultcolumn.xml +30 -0
- data/docbook-xsl/params/callout.graphics.extension.xml +33 -0
- data/docbook-xsl/params/callout.graphics.number.limit.xml +34 -0
- data/docbook-xsl/params/callout.graphics.path.xml +31 -0
- data/docbook-xsl/params/callout.graphics.xml +30 -0
- data/docbook-xsl/params/callout.icon.size.xml +28 -0
- data/docbook-xsl/params/callout.list.table.xml +32 -0
- data/docbook-xsl/params/callout.unicode.font.xml +29 -0
- data/docbook-xsl/params/callout.unicode.number.limit.xml +35 -0
- data/docbook-xsl/params/callout.unicode.start.character.xml +33 -0
- data/docbook-xsl/params/callout.unicode.xml +26 -0
- data/docbook-xsl/params/callouts.extension.xml +30 -0
- data/docbook-xsl/params/chapter.autolabel.xml +71 -0
- data/docbook-xsl/params/chunk.append.xml +30 -0
- data/docbook-xsl/params/chunk.first.sections.xml +31 -0
- data/docbook-xsl/params/chunk.quietly.xml +30 -0
- data/docbook-xsl/params/chunk.section.depth.xml +27 -0
- data/docbook-xsl/params/chunk.sections.xml +30 -0
- data/docbook-xsl/params/chunk.separate.lots.xml +36 -0
- data/docbook-xsl/params/chunk.toc.xml +30 -0
- data/docbook-xsl/params/chunk.tocs.and.lots.has.title.xml +28 -0
- data/docbook-xsl/params/chunk.tocs.and.lots.xml +32 -0
- data/docbook-xsl/params/chunker.output.cdata-section-elements.xml +30 -0
- data/docbook-xsl/params/chunker.output.doctype-public.xml +31 -0
- data/docbook-xsl/params/chunker.output.doctype-system.xml +31 -0
- data/docbook-xsl/params/chunker.output.encoding.xml +31 -0
- data/docbook-xsl/params/chunker.output.indent.xml +30 -0
- data/docbook-xsl/params/chunker.output.media-type.xml +35 -0
- data/docbook-xsl/params/chunker.output.method.xml +32 -0
- data/docbook-xsl/params/chunker.output.omit-xml-declaration.xml +30 -0
- data/docbook-xsl/params/chunker.output.standalone.xml +31 -0
- data/docbook-xsl/params/citerefentry.link.xml +29 -0
- data/docbook-xsl/params/collect.xref.targets.xml +33 -0
- data/docbook-xsl/params/column.count.back.xml +27 -0
- data/docbook-xsl/params/column.count.body.xml +27 -0
- data/docbook-xsl/params/column.count.front.xml +27 -0
- data/docbook-xsl/params/column.count.index.xml +27 -0
- data/docbook-xsl/params/column.count.lot.xml +28 -0
- data/docbook-xsl/params/column.count.titlepage.xml +27 -0
- data/docbook-xsl/params/column.gap.back.xml +28 -0
- data/docbook-xsl/params/column.gap.body.xml +28 -0
- data/docbook-xsl/params/column.gap.front.xml +28 -0
- data/docbook-xsl/params/column.gap.index.xml +28 -0
- data/docbook-xsl/params/column.gap.lot.xml +28 -0
- data/docbook-xsl/params/column.gap.titlepage.xml +29 -0
- data/docbook-xsl/params/compact.list.item.spacing.xml +28 -0
- data/docbook-xsl/params/component.label.includes.part.label.xml +39 -0
- data/docbook-xsl/params/component.title.properties.xml +40 -0
- data/docbook-xsl/params/component.titlepage.properties.xml +33 -0
- data/docbook-xsl/params/contrib.inline.enabled.xml +26 -0
- data/docbook-xsl/params/crop.mark.bleed.xml +28 -0
- data/docbook-xsl/params/crop.mark.offset.xml +28 -0
- data/docbook-xsl/params/crop.mark.width.xml +28 -0
- data/docbook-xsl/params/crop.marks.xml +28 -0
- data/docbook-xsl/params/css.decoration.xml +33 -0
- data/docbook-xsl/params/css.stylesheet.dir.xml +33 -0
- data/docbook-xsl/params/css.stylesheet.xml +29 -0
- data/docbook-xsl/params/current.docid.xml +27 -0
- data/docbook-xsl/params/currentpage.marker.xml +25 -0
- data/docbook-xsl/params/default.float.class.xml +34 -0
- data/docbook-xsl/params/default.image.width.xml +31 -0
- data/docbook-xsl/params/default.table.frame.xml +28 -0
- data/docbook-xsl/params/default.table.width.xml +26 -0
- data/docbook-xsl/params/default.units.xml +37 -0
- data/docbook-xsl/params/dingbat.font.family.xml +33 -0
- data/docbook-xsl/params/double.sided.xml +31 -0
- data/docbook-xsl/params/draft.mode.xml +36 -0
- data/docbook-xsl/params/draft.watermark.image.xml +27 -0
- data/docbook-xsl/params/dry-run.xml +27 -0
- data/docbook-xsl/params/dynamic.toc.xml +29 -0
- data/docbook-xsl/params/ebnf.assignment.xml +39 -0
- data/docbook-xsl/params/ebnf.statement.terminator.xml +32 -0
- data/docbook-xsl/params/ebnf.table.bgcolor.xml +30 -0
- data/docbook-xsl/params/ebnf.table.border.xml +26 -0
- data/docbook-xsl/params/eclipse.autolabel.xml +28 -0
- data/docbook-xsl/params/eclipse.plugin.id.xml +28 -0
- data/docbook-xsl/params/eclipse.plugin.name.xml +27 -0
- data/docbook-xsl/params/eclipse.plugin.provider.xml +27 -0
- data/docbook-xsl/params/editedby.enabled.xml +27 -0
- data/docbook-xsl/params/email.delimiters.enabled.xml +34 -0
- data/docbook-xsl/params/email.mailto.enabled.xml +29 -0
- data/docbook-xsl/params/emphasis.propagates.style.xml +26 -0
- data/docbook-xsl/params/entry.propagates.style.xml +30 -0
- data/docbook-xsl/params/epub.autolabel.xml +28 -0
- data/docbook-xsl/params/equation.properties.xml +27 -0
- data/docbook-xsl/params/example.properties.xml +27 -0
- data/docbook-xsl/params/feedback.href.xml +28 -0
- data/docbook-xsl/params/feedback.link.text.xml +28 -0
- data/docbook-xsl/params/feedback.with.ids.xml +27 -0
- data/docbook-xsl/params/figure.properties.xml +27 -0
- data/docbook-xsl/params/filename-prefix.xml +28 -0
- data/docbook-xsl/params/firstterm.only.link.xml +29 -0
- data/docbook-xsl/params/foil.properties.xml +37 -0
- data/docbook-xsl/params/foil.subtitle.properties.xml +36 -0
- data/docbook-xsl/params/foil.title.master.xml +29 -0
- data/docbook-xsl/params/foil.title.size.xml +32 -0
- data/docbook-xsl/params/foilgroup.properties.xml +31 -0
- data/docbook-xsl/params/foilgroup.toc.xml +29 -0
- data/docbook-xsl/params/footer.column.widths.xml +74 -0
- data/docbook-xsl/params/footer.content.properties.xml +34 -0
- data/docbook-xsl/params/footer.hr.xml +26 -0
- data/docbook-xsl/params/footer.rule.xml +27 -0
- data/docbook-xsl/params/footer.table.height.xml +32 -0
- data/docbook-xsl/params/footer.table.properties.xml +30 -0
- data/docbook-xsl/params/footers.on.blank.pages.xml +27 -0
- data/docbook-xsl/params/footnote.font.size.xml +28 -0
- data/docbook-xsl/params/footnote.mark.properties.xml +41 -0
- data/docbook-xsl/params/footnote.number.format.xml +33 -0
- data/docbook-xsl/params/footnote.number.symbols.xml +39 -0
- data/docbook-xsl/params/footnote.properties.xml +43 -0
- data/docbook-xsl/params/footnote.sep.leader.properties.xml +39 -0
- data/docbook-xsl/params/fop.extensions.xml +36 -0
- data/docbook-xsl/params/fop1.extensions.xml +34 -0
- data/docbook-xsl/params/formal.object.properties.xml +36 -0
- data/docbook-xsl/params/formal.procedures.xml +28 -0
- data/docbook-xsl/params/formal.title.placement.xml +41 -0
- data/docbook-xsl/params/formal.title.properties.xml +34 -0
- data/docbook-xsl/params/funcsynopsis.decoration.xml +30 -0
- data/docbook-xsl/params/funcsynopsis.style.xml +31 -0
- data/docbook-xsl/params/function.parens.xml +29 -0
- data/docbook-xsl/params/generate.id.attributes.xml +59 -0
- data/docbook-xsl/params/generate.index.xml +25 -0
- data/docbook-xsl/params/generate.legalnotice.link.xml +72 -0
- data/docbook-xsl/params/generate.manifest.xml +27 -0
- data/docbook-xsl/params/generate.meta.abstract.xml +29 -0
- data/docbook-xsl/params/generate.revhistory.link.xml +50 -0
- data/docbook-xsl/params/generate.section.toc.level.xml +35 -0
- data/docbook-xsl/params/generate.toc.xml +108 -0
- data/docbook-xsl/params/glossary.as.blocks.xml +38 -0
- data/docbook-xsl/params/glossary.collection.xml +252 -0
- data/docbook-xsl/params/glossary.sort.xml +32 -0
- data/docbook-xsl/params/glossentry.show.acronym.xml +37 -0
- data/docbook-xsl/params/glosslist.as.blocks.xml +27 -0
- data/docbook-xsl/params/glossterm.auto.link.xml +33 -0
- data/docbook-xsl/params/glossterm.separation.xml +28 -0
- data/docbook-xsl/params/glossterm.width.xml +28 -0
- data/docbook-xsl/params/graphic.default.extension.xml +29 -0
- data/docbook-xsl/params/graphical.admonition.properties.xml +42 -0
- data/docbook-xsl/params/graphics.dir.xml +33 -0
- data/docbook-xsl/params/graphicsize.extension.xml +30 -0
- data/docbook-xsl/params/graphicsize.use.img.src.path.xml +30 -0
- data/docbook-xsl/params/header.column.widths.xml +74 -0
- data/docbook-xsl/params/header.content.properties.xml +34 -0
- data/docbook-xsl/params/header.hr.xml +26 -0
- data/docbook-xsl/params/header.rule.xml +27 -0
- data/docbook-xsl/params/header.table.height.xml +32 -0
- data/docbook-xsl/params/header.table.properties.xml +30 -0
- data/docbook-xsl/params/headers.on.blank.pages.xml +27 -0
- data/docbook-xsl/params/hidetoc.image.xml +29 -0
- data/docbook-xsl/params/highlight.default.language.xml +27 -0
- data/docbook-xsl/params/highlight.source.xml +47 -0
- data/docbook-xsl/params/highlight.xslthl.config.xml +27 -0
- data/docbook-xsl/params/home.image.xml +27 -0
- data/docbook-xsl/params/html.append.xml +30 -0
- data/docbook-xsl/params/html.base.xml +30 -0
- data/docbook-xsl/params/html.cellpadding.xml +29 -0
- data/docbook-xsl/params/html.cellspacing.xml +29 -0
- data/docbook-xsl/params/html.cleanup.xml +34 -0
- data/docbook-xsl/params/html.ext.xml +29 -0
- data/docbook-xsl/params/html.extra.head.links.xml +31 -0
- data/docbook-xsl/params/html.head.legalnotice.link.multiple.xml +44 -0
- data/docbook-xsl/params/html.head.legalnotice.link.types.xml +75 -0
- data/docbook-xsl/params/html.longdesc.link.xml +39 -0
- data/docbook-xsl/params/html.longdesc.xml +28 -0
- data/docbook-xsl/params/html.stylesheet.type.xml +26 -0
- data/docbook-xsl/params/html.stylesheet.xml +36 -0
- data/docbook-xsl/params/htmlhelp.alias.file.xml +27 -0
- data/docbook-xsl/params/htmlhelp.autolabel.xml +28 -0
- data/docbook-xsl/params/htmlhelp.button.back.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.forward.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.hideshow.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.home.url.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.home.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.jump1.title.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.jump1.url.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.jump1.xml +23 -0
- data/docbook-xsl/params/htmlhelp.button.jump2.title.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.jump2.url.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.jump2.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.locate.xml +28 -0
- data/docbook-xsl/params/htmlhelp.button.next.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.options.xml +28 -0
- data/docbook-xsl/params/htmlhelp.button.prev.xml +28 -0
- data/docbook-xsl/params/htmlhelp.button.print.xml +28 -0
- data/docbook-xsl/params/htmlhelp.button.refresh.xml +27 -0
- data/docbook-xsl/params/htmlhelp.button.stop.xml +28 -0
- data/docbook-xsl/params/htmlhelp.button.zoom.xml +28 -0
- data/docbook-xsl/params/htmlhelp.chm.xml +27 -0
- data/docbook-xsl/params/htmlhelp.default.topic.xml +37 -0
- data/docbook-xsl/params/htmlhelp.display.progress.xml +28 -0
- data/docbook-xsl/params/htmlhelp.encoding.xml +28 -0
- data/docbook-xsl/params/htmlhelp.enhanced.decompilation.xml +27 -0
- data/docbook-xsl/params/htmlhelp.enumerate.images.xml +28 -0
- data/docbook-xsl/params/htmlhelp.force.map.and.alias.xml +26 -0
- data/docbook-xsl/params/htmlhelp.hhc.binary.xml +29 -0
- data/docbook-xsl/params/htmlhelp.hhc.folders.instead.books.xml +33 -0
- data/docbook-xsl/params/htmlhelp.hhc.section.depth.xml +27 -0
- data/docbook-xsl/params/htmlhelp.hhc.show.root.xml +29 -0
- data/docbook-xsl/params/htmlhelp.hhc.width.xml +28 -0
- data/docbook-xsl/params/htmlhelp.hhc.xml +27 -0
- data/docbook-xsl/params/htmlhelp.hhk.xml +27 -0
- data/docbook-xsl/params/htmlhelp.hhp.tail.xml +28 -0
- data/docbook-xsl/params/htmlhelp.hhp.window.xml +28 -0
- data/docbook-xsl/params/htmlhelp.hhp.windows.xml +29 -0
- data/docbook-xsl/params/htmlhelp.hhp.xml +28 -0
- data/docbook-xsl/params/htmlhelp.map.file.xml +25 -0
- data/docbook-xsl/params/htmlhelp.only.xml +32 -0
- data/docbook-xsl/params/htmlhelp.remember.window.position.xml +27 -0
- data/docbook-xsl/params/htmlhelp.show.advanced.search.xml +28 -0
- data/docbook-xsl/params/htmlhelp.show.favorities.xml +28 -0
- data/docbook-xsl/params/htmlhelp.show.menu.xml +28 -0
- data/docbook-xsl/params/htmlhelp.show.toolbar.text.xml +28 -0
- data/docbook-xsl/params/htmlhelp.title.xml +28 -0
- data/docbook-xsl/params/htmlhelp.use.hhk.xml +28 -0
- data/docbook-xsl/params/htmlhelp.window.geometry.xml +30 -0
- data/docbook-xsl/params/hyphenate.verbatim.characters.xml +30 -0
- data/docbook-xsl/params/hyphenate.verbatim.xml +45 -0
- data/docbook-xsl/params/hyphenate.xml +29 -0
- data/docbook-xsl/params/id.warnings.xml +25 -0
- data/docbook-xsl/params/ignore.image.scaling.xml +28 -0
- data/docbook-xsl/params/img.src.path.xml +40 -0
- data/docbook-xsl/params/index.div.title.properties.xml +39 -0
- data/docbook-xsl/params/index.entry.properties.xml +33 -0
- data/docbook-xsl/params/index.method.xml +162 -0
- data/docbook-xsl/params/index.number.separator.xml +54 -0
- data/docbook-xsl/params/index.on.role.xml +48 -0
- data/docbook-xsl/params/index.on.type.xml +52 -0
- data/docbook-xsl/params/index.page.number.properties.xml +31 -0
- data/docbook-xsl/params/index.prefer.titleabbrev.xml +29 -0
- data/docbook-xsl/params/index.preferred.page.properties.xml +32 -0
- data/docbook-xsl/params/index.range.separator.xml +57 -0
- data/docbook-xsl/params/index.term.separator.xml +54 -0
- data/docbook-xsl/params/informal.object.properties.xml +29 -0
- data/docbook-xsl/params/informalequation.properties.xml +27 -0
- data/docbook-xsl/params/informalexample.properties.xml +27 -0
- data/docbook-xsl/params/informalfigure.properties.xml +27 -0
- data/docbook-xsl/params/informaltable.properties.xml +32 -0
- data/docbook-xsl/params/inherit.keywords.xml +31 -0
- data/docbook-xsl/params/insert.link.page.number.xml +69 -0
- data/docbook-xsl/params/insert.olink.page.number.xml +83 -0
- data/docbook-xsl/params/insert.olink.pdf.frag.xml +68 -0
- data/docbook-xsl/params/insert.xref.page.number.xml +60 -0
- data/docbook-xsl/params/itemizedlist.label.properties.xml +26 -0
- data/docbook-xsl/params/itemizedlist.label.width.xml +28 -0
- data/docbook-xsl/params/itemizedlist.properties.xml +23 -0
- data/docbook-xsl/params/javahelp.encoding.xml +31 -0
- data/docbook-xsl/params/keep.relative.image.uris.xml +34 -0
- data/docbook-xsl/params/keyboard.nav.xml +29 -0
- data/docbook-xsl/params/l10n.gentext.default.language.xml +30 -0
- data/docbook-xsl/params/l10n.gentext.language.xml +33 -0
- data/docbook-xsl/params/l10n.gentext.use.xref.language.xml +53 -0
- data/docbook-xsl/params/l10n.lang.value.rfc.compliant.xml +57 -0
- data/docbook-xsl/params/label.from.part.xml +38 -0
- data/docbook-xsl/params/line-height.xml +27 -0
- data/docbook-xsl/params/linenumbering.everyNth.xml +29 -0
- data/docbook-xsl/params/linenumbering.extension.xml +30 -0
- data/docbook-xsl/params/linenumbering.separator.xml +30 -0
- data/docbook-xsl/params/linenumbering.width.xml +29 -0
- data/docbook-xsl/params/link.mailto.url.xml +29 -0
- data/docbook-xsl/params/list.block.properties.xml +25 -0
- data/docbook-xsl/params/list.block.spacing.xml +29 -0
- data/docbook-xsl/params/list.item.spacing.xml +26 -0
- data/docbook-xsl/params/make.graphic.viewport.xml +35 -0
- data/docbook-xsl/params/make.index.markup.xml +73 -0
- data/docbook-xsl/params/make.single.year.ranges.xml +28 -0
- data/docbook-xsl/params/make.valid.html.xml +35 -0
- data/docbook-xsl/params/make.year.ranges.xml +31 -0
- data/docbook-xsl/params/man.authors.section.enabled.xml +46 -0
- data/docbook-xsl/params/man.base.url.for.relative.links.xml +76 -0
- data/docbook-xsl/params/man.break.after.slash.xml +46 -0
- data/docbook-xsl/params/man.charmap.enabled.xml +55 -0
- data/docbook-xsl/params/man.charmap.subset.profile.english.xml +80 -0
- data/docbook-xsl/params/man.charmap.subset.profile.xml +297 -0
- data/docbook-xsl/params/man.charmap.uri.xml +42 -0
- data/docbook-xsl/params/man.charmap.use.subset.xml +80 -0
- data/docbook-xsl/params/man.copyright.section.enabled.xml +46 -0
- data/docbook-xsl/params/man.endnotes.are.numbered.xml +106 -0
- data/docbook-xsl/params/man.endnotes.list.enabled.xml +105 -0
- data/docbook-xsl/params/man.endnotes.list.heading.xml +36 -0
- data/docbook-xsl/params/man.font.funcprototype.xml +30 -0
- data/docbook-xsl/params/man.font.funcsynopsisinfo.xml +30 -0
- data/docbook-xsl/params/man.font.links.xml +64 -0
- data/docbook-xsl/params/man.font.table.headings.xml +30 -0
- data/docbook-xsl/params/man.font.table.title.xml +30 -0
- data/docbook-xsl/params/man.funcsynopsis.style.xml +26 -0
- data/docbook-xsl/params/man.hyphenate.computer.inlines.xml +53 -0
- data/docbook-xsl/params/man.hyphenate.filenames.xml +47 -0
- data/docbook-xsl/params/man.hyphenate.urls.xml +46 -0
- data/docbook-xsl/params/man.hyphenate.xml +59 -0
- data/docbook-xsl/params/man.indent.blurbs.xml +33 -0
- data/docbook-xsl/params/man.indent.lists.xml +35 -0
- data/docbook-xsl/params/man.indent.refsect.xml +70 -0
- data/docbook-xsl/params/man.indent.verbatims.xml +33 -0
- data/docbook-xsl/params/man.indent.width.xml +39 -0
- data/docbook-xsl/params/man.justify.xml +52 -0
- data/docbook-xsl/params/man.output.base.dir.xml +39 -0
- data/docbook-xsl/params/man.output.encoding.xml +53 -0
- data/docbook-xsl/params/man.output.in.separate.dir.xml +32 -0
- data/docbook-xsl/params/man.output.lang.in.name.enabled.xml +50 -0
- data/docbook-xsl/params/man.output.manifest.enabled.xml +27 -0
- data/docbook-xsl/params/man.output.manifest.filename.xml +29 -0
- data/docbook-xsl/params/man.output.quietly.xml +37 -0
- data/docbook-xsl/params/man.output.subdirs.enabled.xml +40 -0
- data/docbook-xsl/params/man.segtitle.suppress.xml +28 -0
- data/docbook-xsl/params/man.string.subst.map.local.post.xml +34 -0
- data/docbook-xsl/params/man.string.subst.map.local.pre.xml +34 -0
- data/docbook-xsl/params/man.string.subst.map.xml +162 -0
- data/docbook-xsl/params/man.subheading.divider.enabled.xml +37 -0
- data/docbook-xsl/params/man.subheading.divider.xml +37 -0
- data/docbook-xsl/params/man.table.footnotes.divider.xml +29 -0
- data/docbook-xsl/params/man.th.extra1.suppress.xml +32 -0
- data/docbook-xsl/params/man.th.extra2.max.length.xml +43 -0
- data/docbook-xsl/params/man.th.extra2.suppress.xml +44 -0
- data/docbook-xsl/params/man.th.extra3.max.length.xml +42 -0
- data/docbook-xsl/params/man.th.extra3.suppress.xml +34 -0
- data/docbook-xsl/params/man.th.title.max.length.xml +63 -0
- data/docbook-xsl/params/manifest.in.base.dir.xml +29 -0
- data/docbook-xsl/params/manifest.xml +29 -0
- data/docbook-xsl/params/manual.toc.xml +29 -0
- data/docbook-xsl/params/margin.note.float.type.xml +77 -0
- data/docbook-xsl/params/margin.note.properties.xml +54 -0
- data/docbook-xsl/params/margin.note.title.properties.xml +32 -0
- data/docbook-xsl/params/margin.note.width.xml +35 -0
- data/docbook-xsl/params/marker.section.level.xml +50 -0
- data/docbook-xsl/params/menuchoice.menu.separator.xml +42 -0
- data/docbook-xsl/params/menuchoice.separator.xml +32 -0
- data/docbook-xsl/params/minus.image.xml +29 -0
- data/docbook-xsl/params/monospace.font.family.xml +29 -0
- data/docbook-xsl/params/monospace.properties.xml +38 -0
- data/docbook-xsl/params/monospace.verbatim.properties.xml +27 -0
- data/docbook-xsl/params/multiframe.bottom.bgcolor.xml +28 -0
- data/docbook-xsl/params/multiframe.navigation.height.xml +28 -0
- data/docbook-xsl/params/multiframe.top.bgcolor.xml +28 -0
- data/docbook-xsl/params/multiframe.xml +31 -0
- data/docbook-xsl/params/nav.separator.xml +28 -0
- data/docbook-xsl/params/nav.table.summary.xml +27 -0
- data/docbook-xsl/params/navbgcolor.xml +26 -0
- data/docbook-xsl/params/navbodywidth.xml +26 -0
- data/docbook-xsl/params/navig.graphics.extension.xml +28 -0
- data/docbook-xsl/params/navig.graphics.path.xml +30 -0
- data/docbook-xsl/params/navig.graphics.xml +31 -0
- data/docbook-xsl/params/navig.showtitles.xml +32 -0
- data/docbook-xsl/params/navtocwidth.xml +26 -0
- data/docbook-xsl/params/next.image.xml +27 -0
- data/docbook-xsl/params/no.home.image.xml +27 -0
- data/docbook-xsl/params/no.next.image.xml +27 -0
- data/docbook-xsl/params/no.prev.image.xml +27 -0
- data/docbook-xsl/params/no.toc.image.xml +27 -0
- data/docbook-xsl/params/no.up.image.xml +27 -0
- data/docbook-xsl/params/nominal.image.depth.xml +27 -0
- data/docbook-xsl/params/nominal.image.width.xml +43 -0
- data/docbook-xsl/params/nominal.table.width.xml +30 -0
- data/docbook-xsl/params/nongraphical.admonition.properties.xml +41 -0
- data/docbook-xsl/params/normal.para.spacing.xml +26 -0
- data/docbook-xsl/params/olink.base.uri.xml +35 -0
- data/docbook-xsl/params/olink.debug.xml +36 -0
- data/docbook-xsl/params/olink.doctitle.xml +146 -0
- data/docbook-xsl/params/olink.fragid.xml +23 -0
- data/docbook-xsl/params/olink.lang.fallback.sequence.xml +83 -0
- data/docbook-xsl/params/olink.outline.ext.xml +28 -0
- data/docbook-xsl/params/olink.properties.xml +33 -0
- data/docbook-xsl/params/olink.pubid.xml +27 -0
- data/docbook-xsl/params/olink.resolver.xml +23 -0
- data/docbook-xsl/params/olink.sysid.xml +27 -0
- data/docbook-xsl/params/orderedlist.label.properties.xml +26 -0
- data/docbook-xsl/params/orderedlist.label.width.xml +28 -0
- data/docbook-xsl/params/orderedlist.properties.xml +24 -0
- data/docbook-xsl/params/othercredit.like.author.enabled.xml +31 -0
- data/docbook-xsl/params/output-root.xml +28 -0
- data/docbook-xsl/params/output.indent.xml +32 -0
- data/docbook-xsl/params/overlay.js.xml +28 -0
- data/docbook-xsl/params/overlay.logo.xml +28 -0
- data/docbook-xsl/params/overlay.xml +32 -0
- data/docbook-xsl/params/page.height.portrait.xml +69 -0
- data/docbook-xsl/params/page.height.xml +37 -0
- data/docbook-xsl/params/page.margin.bottom.xml +29 -0
- data/docbook-xsl/params/page.margin.inner.xml +35 -0
- data/docbook-xsl/params/page.margin.outer.xml +35 -0
- data/docbook-xsl/params/page.margin.top.xml +28 -0
- data/docbook-xsl/params/page.orientation.xml +32 -0
- data/docbook-xsl/params/page.width.portrait.xml +67 -0
- data/docbook-xsl/params/page.width.xml +36 -0
- data/docbook-xsl/params/pages.template.xml +29 -0
- data/docbook-xsl/params/paper.type.xml +71 -0
- data/docbook-xsl/params/para.propagates.style.xml +29 -0
- data/docbook-xsl/params/part.autolabel.xml +73 -0
- data/docbook-xsl/params/passivetex.extensions.xml +37 -0
- data/docbook-xsl/params/pgwide.properties.xml +52 -0
- data/docbook-xsl/params/phrase.propagates.style.xml +29 -0
- data/docbook-xsl/params/pixels.per.inch.xml +31 -0
- data/docbook-xsl/params/plus.image.xml +29 -0
- data/docbook-xsl/params/points.per.em.xml +29 -0
- data/docbook-xsl/params/preface.autolabel.xml +71 -0
- data/docbook-xsl/params/prefer.internal.olink.xml +78 -0
- data/docbook-xsl/params/preferred.mediaobject.role.xml +40 -0
- data/docbook-xsl/params/prev.image.xml +27 -0
- data/docbook-xsl/params/procedure.properties.xml +29 -0
- data/docbook-xsl/params/process.empty.source.toc.xml +39 -0
- data/docbook-xsl/params/process.source.toc.xml +39 -0
- data/docbook-xsl/params/profile.arch.xml +39 -0
- data/docbook-xsl/params/profile.attribute.xml +34 -0
- data/docbook-xsl/params/profile.audience.xml +38 -0
- data/docbook-xsl/params/profile.condition.xml +38 -0
- data/docbook-xsl/params/profile.conformance.xml +38 -0
- data/docbook-xsl/params/profile.lang.xml +38 -0
- data/docbook-xsl/params/profile.os.xml +38 -0
- data/docbook-xsl/params/profile.revision.xml +38 -0
- data/docbook-xsl/params/profile.revisionflag.xml +38 -0
- data/docbook-xsl/params/profile.role.xml +54 -0
- data/docbook-xsl/params/profile.security.xml +38 -0
- data/docbook-xsl/params/profile.separator.xml +27 -0
- data/docbook-xsl/params/profile.status.xml +38 -0
- data/docbook-xsl/params/profile.userlevel.xml +38 -0
- data/docbook-xsl/params/profile.value.xml +41 -0
- data/docbook-xsl/params/profile.vendor.xml +38 -0
- data/docbook-xsl/params/profile.wordsize.xml +38 -0
- data/docbook-xsl/params/punct.honorific.xml +28 -0
- data/docbook-xsl/params/qanda.defaultlabel.xml +44 -0
- data/docbook-xsl/params/qanda.in.toc.xml +34 -0
- data/docbook-xsl/params/qanda.inherit.numeration.xml +30 -0
- data/docbook-xsl/params/qanda.nested.in.toc.xml +29 -0
- data/docbook-xsl/params/qanda.title.level1.properties.xml +32 -0
- data/docbook-xsl/params/qanda.title.level2.properties.xml +32 -0
- data/docbook-xsl/params/qanda.title.level3.properties.xml +32 -0
- data/docbook-xsl/params/qanda.title.level4.properties.xml +32 -0
- data/docbook-xsl/params/qanda.title.level5.properties.xml +32 -0
- data/docbook-xsl/params/qanda.title.level6.properties.xml +34 -0
- data/docbook-xsl/params/qanda.title.properties.xml +37 -0
- data/docbook-xsl/params/qandadiv.autolabel.xml +26 -0
- data/docbook-xsl/params/rebuild-all.xml +33 -0
- data/docbook-xsl/params/refclass.suppress.xml +28 -0
- data/docbook-xsl/params/refentry.date.profile.enabled.xml +46 -0
- data/docbook-xsl/params/refentry.date.profile.xml +38 -0
- data/docbook-xsl/params/refentry.generate.name.xml +33 -0
- data/docbook-xsl/params/refentry.generate.title.xml +33 -0
- data/docbook-xsl/params/refentry.manual.fallback.profile.xml +48 -0
- data/docbook-xsl/params/refentry.manual.profile.enabled.xml +47 -0
- data/docbook-xsl/params/refentry.manual.profile.xml +72 -0
- data/docbook-xsl/params/refentry.meta.get.quietly.xml +37 -0
- data/docbook-xsl/params/refentry.pagebreak.xml +33 -0
- data/docbook-xsl/params/refentry.separator.xml +29 -0
- data/docbook-xsl/params/refentry.source.fallback.profile.xml +49 -0
- data/docbook-xsl/params/refentry.source.name.profile.enabled.xml +48 -0
- data/docbook-xsl/params/refentry.source.name.profile.xml +89 -0
- data/docbook-xsl/params/refentry.source.name.suppress.xml +42 -0
- data/docbook-xsl/params/refentry.title.properties.xml +59 -0
- data/docbook-xsl/params/refentry.version.profile.enabled.xml +47 -0
- data/docbook-xsl/params/refentry.version.profile.xml +41 -0
- data/docbook-xsl/params/refentry.version.suppress.xml +43 -0
- data/docbook-xsl/params/refentry.xref.manvolnum.xml +31 -0
- data/docbook-xsl/params/reference.autolabel.xml +67 -0
- data/docbook-xsl/params/region.after.extent.xml +29 -0
- data/docbook-xsl/params/region.before.extent.xml +29 -0
- data/docbook-xsl/params/revhistory.table.cell.properties.xml +28 -0
- data/docbook-xsl/params/revhistory.table.properties.xml +28 -0
- data/docbook-xsl/params/revhistory.title.properties.xml +28 -0
- data/docbook-xsl/params/root.filename.xml +29 -0
- data/docbook-xsl/params/root.properties.xml +43 -0
- data/docbook-xsl/params/rootid.xml +33 -0
- data/docbook-xsl/params/runinhead.default.title.end.punct.xml +27 -0
- data/docbook-xsl/params/runinhead.title.end.punct.xml +32 -0
- data/docbook-xsl/params/running.foot.properties.xml +34 -0
- data/docbook-xsl/params/sans.font.family.xml +29 -0
- data/docbook-xsl/params/saxon.callouts.xml +30 -0
- data/docbook-xsl/params/saxon.character.representation.xml +38 -0
- data/docbook-xsl/params/saxon.linenumbering.xml +32 -0
- data/docbook-xsl/params/saxon.tablecolumns.xml +30 -0
- data/docbook-xsl/params/script.dir.xml +33 -0
- data/docbook-xsl/params/section.autolabel.max.depth.xml +32 -0
- data/docbook-xsl/params/section.autolabel.xml +26 -0
- data/docbook-xsl/params/section.container.element.xml +62 -0
- data/docbook-xsl/params/section.label.includes.component.label.xml +27 -0
- data/docbook-xsl/params/section.level1.properties.xml +43 -0
- data/docbook-xsl/params/section.level2.properties.xml +43 -0
- data/docbook-xsl/params/section.level3.properties.xml +43 -0
- data/docbook-xsl/params/section.level4.properties.xml +43 -0
- data/docbook-xsl/params/section.level5.properties.xml +43 -0
- data/docbook-xsl/params/section.level6.properties.xml +43 -0
- data/docbook-xsl/params/section.properties.xml +35 -0
- data/docbook-xsl/params/section.title.level1.properties.xml +32 -0
- data/docbook-xsl/params/section.title.level2.properties.xml +33 -0
- data/docbook-xsl/params/section.title.level3.properties.xml +32 -0
- data/docbook-xsl/params/section.title.level4.properties.xml +32 -0
- data/docbook-xsl/params/section.title.level5.properties.xml +32 -0
- data/docbook-xsl/params/section.title.level6.properties.xml +33 -0
- data/docbook-xsl/params/section.title.properties.xml +39 -0
- data/docbook-xsl/params/segmentedlist.as.table.xml +28 -0
- data/docbook-xsl/params/sequential.links.xml +25 -0
- data/docbook-xsl/params/shade.verbatim.style.xml +36 -0
- data/docbook-xsl/params/shade.verbatim.xml +30 -0
- data/docbook-xsl/params/show.comments.xml +32 -0
- data/docbook-xsl/params/show.foil.number.xml +28 -0
- data/docbook-xsl/params/show.revisionflag.xml +42 -0
- data/docbook-xsl/params/showtoc.image.xml +29 -0
- data/docbook-xsl/params/side.float.properties.xml +50 -0
- data/docbook-xsl/params/sidebar.float.type.xml +73 -0
- data/docbook-xsl/params/sidebar.float.width.xml +35 -0
- data/docbook-xsl/params/sidebar.properties.xml +42 -0
- data/docbook-xsl/params/sidebar.title.properties.xml +32 -0
- data/docbook-xsl/params/simplesect.in.toc.xml +26 -0
- data/docbook-xsl/params/slide.font.family.xml +31 -0
- data/docbook-xsl/params/slide.title.font.family.xml +31 -0
- data/docbook-xsl/params/slides.js.xml +28 -0
- data/docbook-xsl/params/slides.properties.xml +31 -0
- data/docbook-xsl/params/spacing.paras.xml +30 -0
- data/docbook-xsl/params/speakernote.properties.xml +32 -0
- data/docbook-xsl/params/subscript.properties.xml +29 -0
- data/docbook-xsl/params/superscript.properties.xml +29 -0
- data/docbook-xsl/params/suppress.footer.navigation.xml +26 -0
- data/docbook-xsl/params/suppress.header.navigation.xml +27 -0
- data/docbook-xsl/params/suppress.homepage.title.xml +25 -0
- data/docbook-xsl/params/suppress.navigation.xml +28 -0
- data/docbook-xsl/params/symbol.font.family.xml +45 -0
- data/docbook-xsl/params/table.borders.with.css.xml +28 -0
- data/docbook-xsl/params/table.cell.border.color.xml +39 -0
- data/docbook-xsl/params/table.cell.border.style.xml +42 -0
- data/docbook-xsl/params/table.cell.border.thickness.xml +35 -0
- data/docbook-xsl/params/table.cell.padding.xml +32 -0
- data/docbook-xsl/params/table.entry.padding.xml +27 -0
- data/docbook-xsl/params/table.footnote.number.format.xml +33 -0
- data/docbook-xsl/params/table.footnote.number.symbols.xml +39 -0
- data/docbook-xsl/params/table.footnote.properties.xml +39 -0
- data/docbook-xsl/params/table.frame.border.color.xml +28 -0
- data/docbook-xsl/params/table.frame.border.style.xml +37 -0
- data/docbook-xsl/params/table.frame.border.thickness.xml +27 -0
- data/docbook-xsl/params/table.properties.xml +34 -0
- data/docbook-xsl/params/table.spacer.image.xml +26 -0
- data/docbook-xsl/params/table.table.properties.xml +36 -0
- data/docbook-xsl/params/tablecolumns.extension.xml +30 -0
- data/docbook-xsl/params/target.database.document.xml +37 -0
- data/docbook-xsl/params/targets.filename.xml +32 -0
- data/docbook-xsl/params/template.xml +27 -0
- data/docbook-xsl/params/tex.math.delims.xml +47 -0
- data/docbook-xsl/params/tex.math.file.xml +42 -0
- data/docbook-xsl/params/tex.math.in.alt.xml +83 -0
- data/docbook-xsl/params/text.home.xml +27 -0
- data/docbook-xsl/params/text.next.xml +27 -0
- data/docbook-xsl/params/text.prev.xml +27 -0
- data/docbook-xsl/params/text.toc.xml +27 -0
- data/docbook-xsl/params/text.up.xml +27 -0
- data/docbook-xsl/params/textbgcolor.xml +26 -0
- data/docbook-xsl/params/textdata.default.encoding.xml +32 -0
- data/docbook-xsl/params/textinsert.extension.xml +62 -0
- data/docbook-xsl/params/title.font.family.xml +33 -0
- data/docbook-xsl/params/title.margin.left.xml +64 -0
- data/docbook-xsl/params/titlefoil.html.xml +27 -0
- data/docbook-xsl/params/toc.bg.color.xml +27 -0
- data/docbook-xsl/params/toc.blank.graphic.xml +28 -0
- data/docbook-xsl/params/toc.blank.image.xml +27 -0
- data/docbook-xsl/params/toc.blank.text.xml +27 -0
- data/docbook-xsl/params/toc.hide.show.xml +33 -0
- data/docbook-xsl/params/toc.html.xml +27 -0
- data/docbook-xsl/params/toc.image.xml +27 -0
- data/docbook-xsl/params/toc.indent.width.xml +34 -0
- data/docbook-xsl/params/toc.line.properties.xml +42 -0
- data/docbook-xsl/params/toc.list.type.xml +30 -0
- data/docbook-xsl/params/toc.margin.properties.xml +33 -0
- data/docbook-xsl/params/toc.max.depth.xml +25 -0
- data/docbook-xsl/params/toc.pointer.graphic.xml +28 -0
- data/docbook-xsl/params/toc.pointer.image.xml +27 -0
- data/docbook-xsl/params/toc.pointer.text.xml +27 -0
- data/docbook-xsl/params/toc.row.height.xml +33 -0
- data/docbook-xsl/params/toc.section.depth.xml +28 -0
- data/docbook-xsl/params/toc.spacer.graphic.xml +28 -0
- data/docbook-xsl/params/toc.spacer.image.xml +27 -0
- data/docbook-xsl/params/toc.spacer.text.xml +27 -0
- data/docbook-xsl/params/toc.width.xml +28 -0
- data/docbook-xsl/params/ua.js.xml +28 -0
- data/docbook-xsl/params/ulink.footnotes.xml +34 -0
- data/docbook-xsl/params/ulink.hyphenate.chars.xml +37 -0
- data/docbook-xsl/params/ulink.hyphenate.xml +35 -0
- data/docbook-xsl/params/ulink.show.xml +37 -0
- data/docbook-xsl/params/ulink.target.xml +29 -0
- data/docbook-xsl/params/up.image.xml +27 -0
- data/docbook-xsl/params/use.embed.for.svg.xml +33 -0
- data/docbook-xsl/params/use.extensions.xml +31 -0
- data/docbook-xsl/params/use.id.as.filename.xml +30 -0
- data/docbook-xsl/params/use.id.function.xml +32 -0
- data/docbook-xsl/params/use.local.olink.style.xml +28 -0
- data/docbook-xsl/params/use.role.as.xrefstyle.xml +93 -0
- data/docbook-xsl/params/use.role.for.mediaobject.xml +56 -0
- data/docbook-xsl/params/use.svg.xml +30 -0
- data/docbook-xsl/params/variablelist.as.blocks.xml +62 -0
- data/docbook-xsl/params/variablelist.as.table.xml +54 -0
- data/docbook-xsl/params/variablelist.max.termlength.xml +46 -0
- data/docbook-xsl/params/variablelist.term.break.after.xml +39 -0
- data/docbook-xsl/params/variablelist.term.separator.xml +40 -0
- data/docbook-xsl/params/verbatim.properties.xml +38 -0
- data/docbook-xsl/params/wordml.template.xml +29 -0
- data/docbook-xsl/params/writing.mode.xml +84 -0
- data/docbook-xsl/params/xbCollapsibleLists.js.xml +28 -0
- data/docbook-xsl/params/xbDOM.js.xml +28 -0
- data/docbook-xsl/params/xbLibrary.js.xml +28 -0
- data/docbook-xsl/params/xbStyle.js.xml +28 -0
- data/docbook-xsl/params/xep.extensions.xml +31 -0
- data/docbook-xsl/params/xep.index.item.properties.xml +36 -0
- data/docbook-xsl/params/xref.label-page.separator.xml +38 -0
- data/docbook-xsl/params/xref.label-title.separator.xml +36 -0
- data/docbook-xsl/params/xref.properties.xml +29 -0
- data/docbook-xsl/params/xref.title-page.separator.xml +36 -0
- data/docbook-xsl/params/xref.with.number.and.title.xml +30 -0
- data/docbook-xsl/profiling/profile-mode.xsl +239 -0
- data/docbook-xsl/profiling/profile.xsl +49 -0
- data/docbook-xsl/profiling/strip-attributes.xsl +27 -0
- data/docbook-xsl/profiling/xsl2profile.xsl +159 -0
- data/docbook-xsl/roundtrip/blocks-spec.xml +11 -0
- data/docbook-xsl/roundtrip/blocks2dbk.dtd +76 -0
- data/docbook-xsl/roundtrip/blocks2dbk.xsl +1732 -0
- data/docbook-xsl/roundtrip/dbk2ooo.xsl +178 -0
- data/docbook-xsl/roundtrip/dbk2pages.xsl +441 -0
- data/docbook-xsl/roundtrip/dbk2wordml.xsl +401 -0
- data/docbook-xsl/roundtrip/dbk2wp.xsl +1375 -0
- data/docbook-xsl/roundtrip/normalise-common.xsl +39 -0
- data/docbook-xsl/roundtrip/normalise2sections.xsl +1270 -0
- data/docbook-xsl/roundtrip/pages2normalise.xsl +351 -0
- data/docbook-xsl/roundtrip/param.xml +105 -0
- data/docbook-xsl/roundtrip/param.xsl +18 -0
- data/docbook-xsl/roundtrip/sections-spec.xml +38 -0
- data/docbook-xsl/roundtrip/sections2blocks.xsl +263 -0
- data/docbook-xsl/roundtrip/specifications.xml +1420 -0
- data/docbook-xsl/roundtrip/template-pages.xml +2 -0
- data/docbook-xsl/roundtrip/template.dot +0 -0
- data/docbook-xsl/roundtrip/template.xml +3 -0
- data/docbook-xsl/roundtrip/wordml2normalise.xsl +445 -0
- data/docbook-xsl/template/titlepage.xml +478 -0
- data/docbook-xsl/template/titlepage.xsl +1280 -0
- data/docbook-xsl/tests/refentry.007.ns.xml +325 -0
- data/docbook-xsl/tests/refentry.007.xml +340 -0
- data/docbook-xsl/tools/bin/docbook-xsl-update +53 -0
- data/docbook-xsl/tools/make/Makefile.DocBook +698 -0
- data/docbook-xsl/tools/make/Makefile.combine +182 -0
- data/docbook-xsl/tools/make/Makefile.docParam +59 -0
- data/docbook-xsl/xhtml/admon.xsl +133 -0
- data/docbook-xsl/xhtml/annotations.xsl +158 -0
- data/docbook-xsl/xhtml/autoidx-kimber.xsl +139 -0
- data/docbook-xsl/xhtml/autoidx-kosek.xsl +109 -0
- data/docbook-xsl/xhtml/autoidx-ng.xsl +21 -0
- data/docbook-xsl/xhtml/autoidx.xsl +588 -0
- data/docbook-xsl/xhtml/autotoc.xsl +632 -0
- data/docbook-xsl/xhtml/biblio-iso690.xsl +1300 -0
- data/docbook-xsl/xhtml/biblio.xsl +1234 -0
- data/docbook-xsl/xhtml/block.xsl +432 -0
- data/docbook-xsl/xhtml/callout.xsl +188 -0
- data/docbook-xsl/xhtml/changebars.xsl +78 -0
- data/docbook-xsl/xhtml/chunk-changebars.xsl +96 -0
- data/docbook-xsl/xhtml/chunk-code.xsl +639 -0
- data/docbook-xsl/xhtml/chunk-common.xsl +1552 -0
- data/docbook-xsl/xhtml/chunk.xsl +52 -0
- data/docbook-xsl/xhtml/chunker.xsl +302 -0
- data/docbook-xsl/xhtml/chunkfast.xsl +69 -0
- data/docbook-xsl/xhtml/chunktoc.xsl +462 -0
- data/docbook-xsl/xhtml/component.xsl +375 -0
- data/docbook-xsl/xhtml/division.xsl +228 -0
- data/docbook-xsl/xhtml/docbook.xsl +447 -0
- data/docbook-xsl/xhtml/ebnf.xsl +328 -0
- data/docbook-xsl/xhtml/footnote.xsl +301 -0
- data/docbook-xsl/xhtml/formal.xsl +387 -0
- data/docbook-xsl/xhtml/glossary.xsl +548 -0
- data/docbook-xsl/xhtml/graphics.xsl +1436 -0
- data/docbook-xsl/xhtml/highlight.xsl +70 -0
- data/docbook-xsl/xhtml/html-rtf.xsl +321 -0
- data/docbook-xsl/xhtml/html.xsl +263 -0
- data/docbook-xsl/xhtml/htmltbl.xsl +57 -0
- data/docbook-xsl/xhtml/index.xsl +224 -0
- data/docbook-xsl/xhtml/info.xsl +44 -0
- data/docbook-xsl/xhtml/inline.xsl +1457 -0
- data/docbook-xsl/xhtml/keywords.xsl +36 -0
- data/docbook-xsl/xhtml/lists.xsl +1081 -0
- data/docbook-xsl/xhtml/maketoc.xsl +91 -0
- data/docbook-xsl/xhtml/manifest.xsl +22 -0
- data/docbook-xsl/xhtml/math.xsl +284 -0
- data/docbook-xsl/xhtml/oldchunker.xsl +176 -0
- data/docbook-xsl/xhtml/onechunk.xsl +36 -0
- data/docbook-xsl/xhtml/param.xsl +424 -0
- data/docbook-xsl/xhtml/pi.xsl +1203 -0
- data/docbook-xsl/xhtml/profile-chunk-code.xsl +611 -0
- data/docbook-xsl/xhtml/profile-chunk.xsl +52 -0
- data/docbook-xsl/xhtml/profile-docbook.xsl +409 -0
- data/docbook-xsl/xhtml/profile-onechunk.xsl +36 -0
- data/docbook-xsl/xhtml/qandaset.xsl +371 -0
- data/docbook-xsl/xhtml/refentry.xsl +309 -0
- data/docbook-xsl/xhtml/sections.xsl +554 -0
- data/docbook-xsl/xhtml/synop.xsl +1508 -0
- data/docbook-xsl/xhtml/table.xsl +1102 -0
- data/docbook-xsl/xhtml/task.xsl +73 -0
- data/docbook-xsl/xhtml/titlepage.templates.xsl +3622 -0
- data/docbook-xsl/xhtml/titlepage.xsl +1015 -0
- data/docbook-xsl/xhtml/toc.xsl +159 -0
- data/docbook-xsl/xhtml/verbatim.xsl +354 -0
- data/docbook-xsl/xhtml/xref.xsl +1288 -0
- data/example/LICENSE +22 -0
- data/example/book/big.asc +5604 -0
- data/example/book/book.asc +62 -0
- data/example/book/holmes.asc +12983 -0
- data/example/book/image/octocat_professor.png +0 -0
- data/example/book/include/hello.c +10 -0
- data/example/output/META-INF/container.xml +6 -0
- data/example/output/OEBPS/ar01s02.html +15 -0
- data/example/output/OEBPS/ar01s03.html +3 -0
- data/example/output/OEBPS/content.opf +21 -0
- data/example/output/OEBPS/index.html +5 -0
- data/example/output/OEBPS/toc.ncx +37 -0
- data/example/output/a_case_of_identity.html +725 -0
- data/example/output/a_example_appendix.html +63 -0
- data/example/output/a_migration_notes.html +95 -0
- data/example/output/apa.html +20 -0
- data/example/output/apb.html +6 -0
- data/example/output/apc.html +24 -0
- data/example/output/apd.html +30 -0
- data/example/output/ape.html +26 -0
- data/example/output/apf.html +9 -0
- data/example/output/apg.html +42 -0
- data/example/output/aph.html +89 -0
- data/example/output/ar01s02.html +12 -0
- data/example/output/ar01s03.html +34 -0
- data/example/output/ar01s04.html +77 -0
- data/example/output/ar01s05.html +272 -0
- data/example/output/ar01s06.html +35 -0
- data/example/output/ar01s07.html +105 -0
- data/example/output/ar01s08.html +33 -0
- data/example/output/ar01s09.html +12 -0
- data/example/output/ar01s10.html +14 -0
- data/example/output/ar01s11.html +34 -0
- data/example/output/ar01s12.html +63 -0
- data/example/output/ar01s13.html +156 -0
- data/example/output/ar01s14.html +330 -0
- data/example/output/ar01s15.html +22 -0
- data/example/output/ar01s16.html +27 -0
- data/example/output/ar01s17.html +94 -0
- data/example/output/ar01s18.html +359 -0
- data/example/output/ar01s19.html +373 -0
- data/example/output/ar01s20.html +27 -0
- data/example/output/ar01s21.html +33 -0
- data/example/output/ar01s22.html +351 -0
- data/example/output/ar01s23.html +21 -0
- data/example/output/ar01s24.html +69 -0
- data/example/output/ar01s25.html +60 -0
- data/example/output/ar01s26.html +217 -0
- data/example/output/ar01s27.html +88 -0
- data/example/output/ar01s28.html +237 -0
- data/example/output/ar01s29.html +68 -0
- data/example/output/ar01s30.html +154 -0
- data/example/output/ar01s31.html +6 -0
- data/example/output/ar01s32.html +22 -0
- data/example/output/ar01s33.html +209 -0
- data/example/output/asciidoc_backends.html +190 -0
- data/example/output/asciidoc_document_types.html +131 -0
- data/example/output/attribute_entries.html +185 -0
- data/example/output/attribute_lists.html +157 -0
- data/example/output/attribute_references.html +414 -0
- data/example/output/attributelist_element.html +143 -0
- data/example/output/b_packager_notes.html +68 -0
- data/example/output/bi01.html +18 -0
- data/example/output/big.asc +5604 -0
- data/example/output/block_element_definitions.html +448 -0
- data/example/output/block_titles.html +83 -0
- data/example/output/blockid_element.html +80 -0
- data/example/output/book.asc +5604 -0
- data/example/output/book.epub +0 -0
- data/example/output/book.fo +3788 -0
- data/example/output/book.html +8793 -0
- data/example/output/book.xml +8265 -0
- data/example/output/c_asciidoc_safe_mode.html +105 -0
- data/example/output/callouts.html +214 -0
- data/example/output/catalog +10 -0
- data/example/output/colophon.html +397 -0
- data/example/output/configuration_files.html +672 -0
- data/example/output/converting_docbook_to_other_file_formats.html +324 -0
- data/example/output/d_using_asciidoc_with_non-english_languages.html +107 -0
- data/example/output/delimited_blocks.html +455 -0
- data/example/output/document_attributes.html +95 -0
- data/example/output/document_processing.html +116 -0
- data/example/output/document_structure.html +493 -0
- data/example/output/e_vim_syntax_highlighter.html +111 -0
- data/example/output/example_bibliography.html +82 -0
- data/example/output/example_colophon.html +58 -0
- data/example/output/example_glossary.html +73 -0
- data/example/output/example_index.html +108 -0
- data/example/output/f_attribute_options.html +129 -0
- data/example/output/filters.html +179 -0
- data/example/output/footnotes.html +103 -0
- data/example/output/g_diagnostics.html +148 -0
- data/example/output/generating_plain_text_files.html +68 -0
- data/example/output/getting_started.html +87 -0
- data/example/output/glossary.html +95 -0
- data/example/output/go01.html +24 -0
- data/example/output/h_backend_attributes.html +308 -0
- data/example/output/help_commands.html +96 -0
- data/example/output/holmes.asc +12983 -0
- data/example/output/image/octocat_professor.png +0 -0
- data/example/output/include/hello.c +10 -0
- data/example/output/index.html +656 -0
- data/example/output/indexes.html +104 -0
- data/example/output/intrinsic_attributes.html +165 -0
- data/example/output/ix01.html +3 -0
- data/example/output/lists.html +666 -0
- data/example/output/macros.html +737 -0
- data/example/output/manpage_documents.html +124 -0
- data/example/output/master.css +281 -0
- data/example/output/mathematical_formulas.html +125 -0
- data/example/output/page.html +60 -0
- data/example/output/paragraphs.html +192 -0
- data/example/output/pr01.html +3 -0
- data/example/output/source_code_highlighting.html +59 -0
- data/example/output/stylesheets/handbookish-quirks.css +0 -0
- data/example/output/stylesheets/handbookish.css +233 -0
- data/example/output/tables.html +797 -0
- data/example/output/text_formatting.html +273 -0
- data/example/output/the_adventure_of_the_beryl_coronet.html +968 -0
- data/example/output/the_adventure_of_the_blue_carbuncle.html +825 -0
- data/example/output/the_adventure_of_the_copper_beeches.html +998 -0
- data/example/output/the_adventure_of_the_engineer_s_thumb.html +851 -0
- data/example/output/the_adventure_of_the_noble_bachelor.html +861 -0
- data/example/output/the_adventure_of_the_speckled_band.html +1015 -0
- data/example/output/the_boscombe_valley_mystery.html +974 -0
- data/example/output/the_first_chapter.html +110 -0
- data/example/output/the_five_orange_pips.html +776 -0
- data/example/output/the_man_with_the_twisted_lip.html +946 -0
- data/example/output/the_red-headed_league.html +950 -0
- data/example/output/the_second_chapter.html +95 -0
- data/example/output/the_third_chapter.html +58 -0
- data/example/output/tips_and_tricks.html +452 -0
- data/example/output/title.html +120 -0
- data/example/output/titles.html +126 -0
- data/example/site/index.html +12 -0
- data/example/site/page.html +8 -0
- data/site/default/index.html +43 -0
- data/site/default/master.css +281 -0
- data/site/default/page.html +60 -0
- data/stylesheets/handbookish-quirks.css +0 -0
- data/stylesheets/handbookish.css +233 -0
- data/template/LICENSE +1 -0
- data/template/README.asciidoc +9 -0
- data/template/book/book.asc +58 -0
- data/template/book/chapter2.asc +8 -0
- data/template/book/image/octocat_professor.png +0 -0
- data/template/book/include/hello.c +10 -0
- metadata +1255 -3
@@ -0,0 +1,401 @@
|
|
1
|
+
<xsl:stylesheet version="1.0"
|
2
|
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
3
|
+
xmlns:w='http://schemas.microsoft.com/office/word/2003/wordml'
|
4
|
+
xmlns:v='urn:schemas-microsoft-com:vml'
|
5
|
+
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
6
|
+
xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
|
7
|
+
xmlns:wx='http://schemas.microsoft.com/office/word/2003/auxHint'
|
8
|
+
xmlns:o="urn:schemas-microsoft-com:office:office"
|
9
|
+
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
|
10
|
+
xmlns:sl='http://schemas.microsoft.com/schemaLibrary/2003/core'
|
11
|
+
xmlns:doc='http://docbook.org/ns/docbook'
|
12
|
+
exclude-result-prefixes='doc'>
|
13
|
+
|
14
|
+
<xsl:import href='dbk2wp.xsl'/>
|
15
|
+
|
16
|
+
<xsl:output method="xml" indent='yes' standalone='yes' encoding='UTF-8'/>
|
17
|
+
|
18
|
+
<!-- ********************************************************************
|
19
|
+
$Id: dbk2wordml.xsl 7701 2008-02-22 06:07:31Z balls $
|
20
|
+
********************************************************************
|
21
|
+
|
22
|
+
This file is part of the XSL DocBook Stylesheet distribution.
|
23
|
+
See ../README or http://docbook.sf.net/release/xsl/current/ for
|
24
|
+
copyright and other information.
|
25
|
+
|
26
|
+
******************************************************************** -->
|
27
|
+
|
28
|
+
<xsl:include href='../VERSION'/>
|
29
|
+
<xsl:include href='param.xsl'/>
|
30
|
+
|
31
|
+
<xsl:strip-space elements='*'/>
|
32
|
+
<xsl:preserve-space elements='literallayout doc:literallayout
|
33
|
+
programlisting doc:programlisting'/>
|
34
|
+
|
35
|
+
<xsl:variable name='templatedoc' select='document($wordml.template)'/>
|
36
|
+
|
37
|
+
<xsl:template match="/" name='wordml.top'>
|
38
|
+
<xsl:param name='doc' select='/'/>
|
39
|
+
|
40
|
+
<xsl:if test='not($wordml.template)'>
|
41
|
+
<xsl:message terminate='yes'>Please specify the template document with the "wordml.template" parameter</xsl:message>
|
42
|
+
</xsl:if>
|
43
|
+
<xsl:if test='not($templatedoc)'>
|
44
|
+
<xsl:message terminate='yes'>Unable to open template document "<xsl:value-of select='$wordml.template'/>"</xsl:message>
|
45
|
+
</xsl:if>
|
46
|
+
|
47
|
+
<xsl:processing-instruction name='mso-application'>
|
48
|
+
<xsl:text>progid="Word.Document"</xsl:text>
|
49
|
+
</xsl:processing-instruction>
|
50
|
+
<xsl:text>
</xsl:text>
|
51
|
+
|
52
|
+
<xsl:variable name='info'
|
53
|
+
select='$doc/book/bookinfo|$doc/article/articleinfo'/>
|
54
|
+
<xsl:variable name='authors' select='$info/author|$info/authorinitials|$info/authorgroup/author|$info/authorgroup/editor'/>
|
55
|
+
|
56
|
+
<w:wordDocument
|
57
|
+
w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no">
|
58
|
+
<xsl:attribute name='xml:space'>preserve</xsl:attribute>
|
59
|
+
|
60
|
+
<o:DocumentProperties>
|
61
|
+
<o:Author>
|
62
|
+
<xsl:choose>
|
63
|
+
<xsl:when test='$authors'>
|
64
|
+
<xsl:apply-templates select='$authors[1]' mode='doc:docprop.author'/>
|
65
|
+
</xsl:when>
|
66
|
+
<xsl:otherwise>Unknown</xsl:otherwise>
|
67
|
+
</xsl:choose>
|
68
|
+
</o:Author>
|
69
|
+
<o:LastAuthor>
|
70
|
+
<xsl:choose>
|
71
|
+
<xsl:when test='$info/revhistory/revision[1]/*[self::author|self::authorinitials]'>
|
72
|
+
<xsl:apply-templates select='$info/revhistory/revision[1]/*[self::author|self::authorinitials]' mode='doc:docprop.author'/>
|
73
|
+
</xsl:when>
|
74
|
+
<xsl:when test='$authors'>
|
75
|
+
<xsl:apply-templates select='$authors[1]' mode='doc:docprop.author'/>
|
76
|
+
</xsl:when>
|
77
|
+
<xsl:otherwise>Unknown</xsl:otherwise>
|
78
|
+
</xsl:choose>
|
79
|
+
</o:LastAuthor>
|
80
|
+
<o:Revision>1</o:Revision>
|
81
|
+
<o:TotalTime></o:TotalTime>
|
82
|
+
|
83
|
+
<!-- dummy values -->
|
84
|
+
<o:Created>2004-01-01T07:07:00Z</o:Created>
|
85
|
+
<o:LastSaved>2004-01-01T08:08:00Z</o:LastSaved>
|
86
|
+
|
87
|
+
<o:Pages>1</o:Pages>
|
88
|
+
<o:Words>1</o:Words>
|
89
|
+
<o:Characters>1</o:Characters>
|
90
|
+
|
91
|
+
<!-- could derive this from author -->
|
92
|
+
<o:Company>DocBook</o:Company>
|
93
|
+
|
94
|
+
<o:Lines>1</o:Lines>
|
95
|
+
<o:Paragraphs>1</o:Paragraphs>
|
96
|
+
<o:CharactersWithSpaces>1</o:CharactersWithSpaces>
|
97
|
+
<o:Version>11.6113</o:Version>
|
98
|
+
</o:DocumentProperties>
|
99
|
+
|
100
|
+
<xsl:apply-templates select='$templatedoc/w:wordDocument/o:CustomDocumentProperties|$templatedoc/w:wordDocument/w:fonts|$templatedoc/w:wordDocument/w:lists|$templatedoc/w:wordDocument/w:styles' mode='doc:copy'/>
|
101
|
+
|
102
|
+
<w:docPr>
|
103
|
+
<w:view w:val="print"/>
|
104
|
+
<w:zoom w:percent="100"/>
|
105
|
+
<w:doNotEmbedSystemFonts/>
|
106
|
+
<w:attachedTemplate w:val=""/>
|
107
|
+
<w:documentProtection w:formatting='on' w:enforcement='on'
|
108
|
+
w:unprotectPassword='CAA7FF77'/>
|
109
|
+
<w:defaultTabStop w:val="720"/>
|
110
|
+
<w:autoHyphenation/>
|
111
|
+
<w:hyphenationZone w:val="357"/>
|
112
|
+
<w:doNotHyphenateCaps/>
|
113
|
+
<w:evenAndOddHeaders/>
|
114
|
+
<w:characterSpacingControl w:val="DontCompress"/>
|
115
|
+
<w:optimizeForBrowser/>
|
116
|
+
<w:validateAgainstSchema/>
|
117
|
+
<w:saveInvalidXML w:val="off"/>
|
118
|
+
<w:ignoreMixedContent w:val="off"/>
|
119
|
+
<w:alwaysShowPlaceholderText w:val="off"/>
|
120
|
+
<w:footnotePr>
|
121
|
+
<w:footnote w:type="separator">
|
122
|
+
<w:p>
|
123
|
+
<w:r>
|
124
|
+
<w:separator/>
|
125
|
+
</w:r>
|
126
|
+
</w:p>
|
127
|
+
</w:footnote>
|
128
|
+
<w:footnote w:type="continuation-separator">
|
129
|
+
<w:p>
|
130
|
+
<w:r>
|
131
|
+
<w:continuationSeparator/>
|
132
|
+
</w:r>
|
133
|
+
</w:p>
|
134
|
+
</w:footnote>
|
135
|
+
</w:footnotePr>
|
136
|
+
<w:endnotePr>
|
137
|
+
<w:endnote w:type="separator">
|
138
|
+
<w:p>
|
139
|
+
<w:r>
|
140
|
+
<w:separator/>
|
141
|
+
</w:r>
|
142
|
+
</w:p>
|
143
|
+
</w:endnote>
|
144
|
+
<w:endnote w:type="continuation-separator">
|
145
|
+
<w:p>
|
146
|
+
<w:r>
|
147
|
+
<w:continuationSeparator/>
|
148
|
+
</w:r>
|
149
|
+
</w:p>
|
150
|
+
</w:endnote>
|
151
|
+
</w:endnotePr>
|
152
|
+
<w:compat>
|
153
|
+
<w:breakWrappedTables/>
|
154
|
+
<w:snapToGridInCell/>
|
155
|
+
<w:wrapTextWithPunct/>
|
156
|
+
<w:useAsianBreakRules/>
|
157
|
+
<w:useWord2002TableStyleRules/>
|
158
|
+
</w:compat>
|
159
|
+
<w:docVars>
|
160
|
+
</w:docVars>
|
161
|
+
</w:docPr>
|
162
|
+
|
163
|
+
<xsl:apply-templates select='$doc/*' mode='doc:toplevel'/>
|
164
|
+
|
165
|
+
</w:wordDocument>
|
166
|
+
</xsl:template>
|
167
|
+
|
168
|
+
<xsl:template name='doc:make-body'>
|
169
|
+
<xsl:param name='content'>
|
170
|
+
<xsl:apply-templates mode='doc:body'/>
|
171
|
+
</xsl:param>
|
172
|
+
|
173
|
+
<w:body>
|
174
|
+
<wx:sect>
|
175
|
+
<wx:sub-section>
|
176
|
+
<xsl:copy-of select='$content'/>
|
177
|
+
</wx:sub-section>
|
178
|
+
</wx:sect>
|
179
|
+
</w:body>
|
180
|
+
</xsl:template>
|
181
|
+
|
182
|
+
<xsl:template name='doc:make-subsection'>
|
183
|
+
<xsl:param name='content'>
|
184
|
+
<xsl:apply-templates mode='doc:body'/>
|
185
|
+
</xsl:param>
|
186
|
+
|
187
|
+
<wx:sub-section>
|
188
|
+
<xsl:copy-of select='$content'/>
|
189
|
+
</wx:sub-section>
|
190
|
+
</xsl:template>
|
191
|
+
|
192
|
+
<xsl:template name='doc:make-paragraph'>
|
193
|
+
<xsl:param name='style' select='"unknown"'/>
|
194
|
+
<xsl:param name='content'>
|
195
|
+
<xsl:apply-templates mode='doc:body'/>
|
196
|
+
</xsl:param>
|
197
|
+
<xsl:param name='outline.level' select='0'/>
|
198
|
+
<xsl:param name='attributes.node' select='.'/>
|
199
|
+
|
200
|
+
<w:p>
|
201
|
+
<xsl:if test='$style != "" or
|
202
|
+
$outline.level != 0'>
|
203
|
+
<w:pPr>
|
204
|
+
<xsl:if test='$style != ""'>
|
205
|
+
<w:pStyle w:val='{$style}'/>
|
206
|
+
</xsl:if>
|
207
|
+
|
208
|
+
<xsl:if test='$outline.level != 0'>
|
209
|
+
<w:outlineLvl w:val='{$outline.level}'/>
|
210
|
+
</xsl:if>
|
211
|
+
</w:pPr>
|
212
|
+
</xsl:if>
|
213
|
+
|
214
|
+
<xsl:call-template name='attributes'>
|
215
|
+
<xsl:with-param name='node' select='$attributes.node'/>
|
216
|
+
</xsl:call-template>
|
217
|
+
|
218
|
+
<xsl:copy-of select='$content'/>
|
219
|
+
</w:p>
|
220
|
+
</xsl:template>
|
221
|
+
|
222
|
+
<xsl:template name='doc:make-phrase'>
|
223
|
+
<xsl:param name='style' select='""'/>
|
224
|
+
<xsl:param name='italic' select='0'/>
|
225
|
+
<xsl:param name='bold' select='0'/>
|
226
|
+
<xsl:param name='content'>
|
227
|
+
<xsl:apply-templates mode='doc:phrase'/>
|
228
|
+
</xsl:param>
|
229
|
+
|
230
|
+
<w:r>
|
231
|
+
<xsl:if test='$style != "" or
|
232
|
+
$bold = 1 or
|
233
|
+
$italic = 1'>
|
234
|
+
<w:rPr>
|
235
|
+
<xsl:if test='$style != ""'>
|
236
|
+
<w:rStyle w:val='{$style}'/>
|
237
|
+
</xsl:if>
|
238
|
+
<xsl:if test='$italic = 1'>
|
239
|
+
<w:i/>
|
240
|
+
</xsl:if>
|
241
|
+
<xsl:if test='$bold = 1'>
|
242
|
+
<w:b/>
|
243
|
+
</xsl:if>
|
244
|
+
</w:rPr>
|
245
|
+
</xsl:if>
|
246
|
+
|
247
|
+
<w:t>
|
248
|
+
<xsl:copy-of select='$content'/>
|
249
|
+
</w:t>
|
250
|
+
</w:r>
|
251
|
+
</xsl:template>
|
252
|
+
|
253
|
+
<xsl:template name='doc:make-hyperlink'>
|
254
|
+
<xsl:param name='target'/>
|
255
|
+
<xsl:param name='content'>
|
256
|
+
<xsl:apply-templates mode='doc:body'/>
|
257
|
+
</xsl:param>
|
258
|
+
|
259
|
+
<w:hlink w:dest='{$target}'>
|
260
|
+
<xsl:copy-of select='$content'/>
|
261
|
+
</w:hlink>
|
262
|
+
</xsl:template>
|
263
|
+
|
264
|
+
<xsl:template name='doc:make-table'>
|
265
|
+
<xsl:param name='columns'/>
|
266
|
+
<xsl:param name='content'>
|
267
|
+
<xsl:apply-templates select='*[not(self::caption|self::doc:caption|self::textobject|self::doc:textobject)]'
|
268
|
+
mode='doc:body'/>
|
269
|
+
</xsl:param>
|
270
|
+
|
271
|
+
<w:tbl>
|
272
|
+
<w:tblPr>
|
273
|
+
<w:tblW w:w="0" w:type="auto"/>
|
274
|
+
<w:tblInd w:w="108" w:type="dxa"/>
|
275
|
+
<w:tblLayout w:type="Fixed"/>
|
276
|
+
</w:tblPr>
|
277
|
+
<w:tblGrid>
|
278
|
+
<xsl:copy-of select='$columns'/>
|
279
|
+
</w:tblGrid>
|
280
|
+
<xsl:copy-of select='$content'/>
|
281
|
+
</w:tbl>
|
282
|
+
</xsl:template>
|
283
|
+
|
284
|
+
<xsl:template name='doc:make-column'>
|
285
|
+
<xsl:param name='width' select='0'/>
|
286
|
+
|
287
|
+
<w:gridcol w:w='{$width}'/>
|
288
|
+
</xsl:template>
|
289
|
+
|
290
|
+
<xsl:template name='doc:make-table-row'>
|
291
|
+
<xsl:param name='content'>
|
292
|
+
<xsl:apply-templates mode='doc:body'/>
|
293
|
+
</xsl:param>
|
294
|
+
<xsl:param name='is-header' select='false()'/>
|
295
|
+
|
296
|
+
<w:tr>
|
297
|
+
<w:trPr>
|
298
|
+
<xsl:if test='$is-header'>
|
299
|
+
<w:tblHeader/>
|
300
|
+
</xsl:if>
|
301
|
+
</w:trPr>
|
302
|
+
<xsl:copy-of select='$content'/>
|
303
|
+
</w:tr>
|
304
|
+
</xsl:template>
|
305
|
+
|
306
|
+
<xsl:template name='doc:make-table-cell'>
|
307
|
+
<xsl:param name='width' select='0'/>
|
308
|
+
<xsl:param name='hidden' select='false()'/>
|
309
|
+
<xsl:param name='rowspan' select='1'/>
|
310
|
+
<xsl:param name='colspan' select='1'/>
|
311
|
+
<xsl:param name='content'>
|
312
|
+
<xsl:apply-templates mode='doc:body'/>
|
313
|
+
</xsl:param>
|
314
|
+
|
315
|
+
<w:tc>
|
316
|
+
<xsl:if test='$colspan != 1 or
|
317
|
+
$width != 0'>
|
318
|
+
<w:tcPr>
|
319
|
+
<xsl:if test='$colspan != 1 or
|
320
|
+
$width != 0'>
|
321
|
+
<w:tcW w:w='{$width}' w:type='dxa'/>
|
322
|
+
</xsl:if>
|
323
|
+
<xsl:if test='$hidden'>
|
324
|
+
<w:vmerge w:val='{$hidden}'/>
|
325
|
+
</xsl:if>
|
326
|
+
<xsl:if test='$rowspan != 1'>
|
327
|
+
<w:vmerge w:val='restart'/>
|
328
|
+
</xsl:if>
|
329
|
+
<xsl:if test='$colspan != 1'>
|
330
|
+
<w:gridspan w:val='{$colspan}'/>
|
331
|
+
</xsl:if>
|
332
|
+
</w:tcPr>
|
333
|
+
</xsl:if>
|
334
|
+
|
335
|
+
<xsl:copy-of select='$content'/>
|
336
|
+
</w:tc>
|
337
|
+
</xsl:template>
|
338
|
+
|
339
|
+
<xsl:template name='doc:make-soft-break'>
|
340
|
+
<w:br/>
|
341
|
+
</xsl:template>
|
342
|
+
|
343
|
+
<xsl:template name='attributes'>
|
344
|
+
<xsl:param name='node' select='.'/>
|
345
|
+
|
346
|
+
<xsl:if test='$node/@*'>
|
347
|
+
<aml:annotation aml:id='{count(preceding::*) + 1}' w:type='Word.Comment.Start'/>
|
348
|
+
<w:r>
|
349
|
+
<w:rPr>
|
350
|
+
<w:rStyle w:val='attributes'/>
|
351
|
+
</w:rPr>
|
352
|
+
<w:t>
|
353
|
+
<xsl:text> </xsl:text>
|
354
|
+
</w:t>
|
355
|
+
</w:r>
|
356
|
+
<aml:annotation aml:id='{count(preceding::*) + 1}' w:type='Word.Comment.End'/>
|
357
|
+
<w:r>
|
358
|
+
<w:rPr>
|
359
|
+
<w:rStyle w:val='CommentReference'/>
|
360
|
+
</w:rPr>
|
361
|
+
<aml:annotation aml:id='{count(preceding::*) + 1}' aml:author="DocBook" aml:createdate='2004-12-23T00:01:00' w:type='Word.Comment' w:initials='DBK'>
|
362
|
+
<aml:content>
|
363
|
+
<w:p>
|
364
|
+
<w:pPr>
|
365
|
+
<w:pStyle w:val='CommentText'/>
|
366
|
+
</w:pPr>
|
367
|
+
<w:r>
|
368
|
+
<w:rPr>
|
369
|
+
<w:rStyle w:val='CommentReference'/>
|
370
|
+
</w:rPr>
|
371
|
+
<w:annotationRef/>
|
372
|
+
</w:r>
|
373
|
+
<xsl:for-each select='$node/@*'>
|
374
|
+
<w:r>
|
375
|
+
<w:rPr>
|
376
|
+
<w:rStyle w:val='attribute-name'/>
|
377
|
+
</w:rPr>
|
378
|
+
<w:t>
|
379
|
+
<xsl:value-of select='name()'/>
|
380
|
+
</w:t>
|
381
|
+
</w:r>
|
382
|
+
<w:r>
|
383
|
+
<w:t>=</w:t>
|
384
|
+
</w:r>
|
385
|
+
<w:r>
|
386
|
+
<w:rPr>
|
387
|
+
<w:rStyle w:val='attribute-value'/>
|
388
|
+
</w:rPr>
|
389
|
+
<w:t>
|
390
|
+
<xsl:value-of select='.'/>
|
391
|
+
</w:t>
|
392
|
+
</w:r>
|
393
|
+
</xsl:for-each>
|
394
|
+
</w:p>
|
395
|
+
</aml:content>
|
396
|
+
</aml:annotation>
|
397
|
+
</w:r>
|
398
|
+
</xsl:if>
|
399
|
+
</xsl:template>
|
400
|
+
|
401
|
+
</xsl:stylesheet>
|
@@ -0,0 +1,1375 @@
|
|
1
|
+
<xsl:stylesheet version="1.0"
|
2
|
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
3
|
+
xmlns:doc='http://docbook.org/ns/docbook'
|
4
|
+
exclude-result-prefixes='doc'>
|
5
|
+
|
6
|
+
<!-- ********************************************************************
|
7
|
+
$Id: dbk2wp.xsl 8047 2008-06-10 12:46:53Z balls $
|
8
|
+
********************************************************************
|
9
|
+
|
10
|
+
This file is part of the XSL DocBook Stylesheet distribution.
|
11
|
+
See ../README or http://docbook.sf.net/release/xsl/current/ for
|
12
|
+
copyright and other information.
|
13
|
+
|
14
|
+
******************************************************************** -->
|
15
|
+
|
16
|
+
<!-- DO NOT USE THIS STYLESHEET!
|
17
|
+
|
18
|
+
This stylesheet is imported by the other dbk2* stylesheets.
|
19
|
+
Use one of those instead.
|
20
|
+
|
21
|
+
-->
|
22
|
+
|
23
|
+
<xsl:include href='../VERSION'/>
|
24
|
+
|
25
|
+
<!-- doc:docprop.author mode is for creating document metadata -->
|
26
|
+
|
27
|
+
<xsl:template match='author|doc:author|editor|doc:editor' mode='doc:docprop.author'>
|
28
|
+
<xsl:apply-templates select='firstname|doc:firstname |
|
29
|
+
personname/firstname|doc:personname/doc:firstname'
|
30
|
+
mode='doc:docprop.author'/>
|
31
|
+
<xsl:text> </xsl:text>
|
32
|
+
<xsl:apply-templates select='surname|doc:surname |
|
33
|
+
personname/surname|doc:personname/doc:surname'
|
34
|
+
mode='doc:docprop.author'/>
|
35
|
+
</xsl:template>
|
36
|
+
|
37
|
+
<xsl:template match='firstname|doc:firstname |
|
38
|
+
surname|doc:surname'
|
39
|
+
mode='doc:docprop.author'>
|
40
|
+
<xsl:apply-templates select='.' mode='doc:body'/>
|
41
|
+
</xsl:template>
|
42
|
+
|
43
|
+
<!-- doc:toplevel mode is for processing whole documents -->
|
44
|
+
|
45
|
+
<xsl:template match='*' mode='doc:toplevel'>
|
46
|
+
<xsl:call-template name='doc:make-body'/>
|
47
|
+
</xsl:template>
|
48
|
+
|
49
|
+
<!-- doc:body mode is for processing components of a document -->
|
50
|
+
|
51
|
+
<xsl:template match='book|article|chapter|section|sect1|sect2|sect3|sect4|sect5|simplesect |
|
52
|
+
doc:book|doc:article|doc:chapter|doc:section|doc:sect1|doc:sect2|doc:sect3|doc:sect4|doc:sect5|doc:simplesect'
|
53
|
+
mode='doc:body'>
|
54
|
+
<xsl:call-template name='doc:make-subsection'/>
|
55
|
+
</xsl:template>
|
56
|
+
|
57
|
+
<xsl:template match='articleinfo |
|
58
|
+
chapterinfo |
|
59
|
+
bookinfo |
|
60
|
+
doc:info |
|
61
|
+
doc:articleinfo |
|
62
|
+
doc:chapterinfo |
|
63
|
+
doc:bookinfo'
|
64
|
+
mode='doc:body'>
|
65
|
+
<xsl:apply-templates select='title|subtitle|titleabbrev |
|
66
|
+
doc:title|doc:subtitle|doc:titleabbrev'
|
67
|
+
mode='doc:body'/>
|
68
|
+
<xsl:apply-templates select='author|releaseinfo|abstract |
|
69
|
+
doc:author|doc:releaseinfo|doc:abstract'
|
70
|
+
mode='doc:body'/>
|
71
|
+
<!-- current implementation ignores all other metadata -->
|
72
|
+
<xsl:for-each select='*[not(self::title|self::subtitle|self::titleabbrev|self::author|self::releaseinfo|self::abstract |
|
73
|
+
self::doc:title|self::doc:subtitle|self::doc:titleabbrev|self::doc:author|self::doc:releaseinfo|self::doc:abstract)]'>
|
74
|
+
<xsl:call-template name='doc:nomatch'/>
|
75
|
+
</xsl:for-each>
|
76
|
+
</xsl:template>
|
77
|
+
|
78
|
+
<xsl:template match='title|subtitle|titleabbrev |
|
79
|
+
doc:title|doc:subtitle|doc:titleabbrev'
|
80
|
+
mode='doc:body'>
|
81
|
+
<xsl:call-template name='doc:make-paragraph'>
|
82
|
+
<xsl:with-param name='style'>
|
83
|
+
<xsl:choose>
|
84
|
+
<xsl:when test='(parent::section|parent::doc:section or
|
85
|
+
parent::sectioninfo/parent::section|parent::doc:sectioninfo/parent::doc:section) and
|
86
|
+
count(ancestor::section|ancestor::doc:section) > 5'>
|
87
|
+
<xsl:call-template name='doc:warning'>
|
88
|
+
<xsl:with-param name='message'>section nested deeper than 5 levels</xsl:with-param>
|
89
|
+
</xsl:call-template>
|
90
|
+
<xsl:text>sect5-</xsl:text>
|
91
|
+
<xsl:value-of select='local-name()'/>
|
92
|
+
</xsl:when>
|
93
|
+
<xsl:when test='parent::section|parent::doc:section or
|
94
|
+
parent::sectioninfo/parent::section|parent::doc:sectioninfo/parent::doc:section'>
|
95
|
+
<xsl:text>sect</xsl:text>
|
96
|
+
<xsl:value-of select='count(ancestor::section|ancestor::doc:section)'/>
|
97
|
+
<xsl:text>-</xsl:text>
|
98
|
+
<xsl:value-of select='local-name()'/>
|
99
|
+
</xsl:when>
|
100
|
+
<xsl:when test='contains(local-name(..), "info")'>
|
101
|
+
<xsl:value-of select='local-name(../..)'/>
|
102
|
+
<xsl:text>-</xsl:text>
|
103
|
+
<xsl:value-of select='local-name()'/>
|
104
|
+
</xsl:when>
|
105
|
+
<xsl:otherwise>
|
106
|
+
<xsl:value-of select='local-name(..)'/>
|
107
|
+
<xsl:text>-</xsl:text>
|
108
|
+
<xsl:value-of select='local-name()'/>
|
109
|
+
</xsl:otherwise>
|
110
|
+
</xsl:choose>
|
111
|
+
</xsl:with-param>
|
112
|
+
<xsl:with-param name='outline.level'
|
113
|
+
select='count(ancestor::*) - count(parent::*[contains(local-name(), "info")]) - 1'/>
|
114
|
+
<xsl:with-param name='attributes.node'
|
115
|
+
select='../parent::*[contains(local-name(current()), "info")] |
|
116
|
+
parent::*[not(contains(local-name(current()), "info"))]'/>
|
117
|
+
<xsl:with-param name='content'>
|
118
|
+
<xsl:apply-templates mode='doc:body'/>
|
119
|
+
</xsl:with-param>
|
120
|
+
</xsl:call-template>
|
121
|
+
</xsl:template>
|
122
|
+
|
123
|
+
<doc:template name='metadata' xmlns=''>
|
124
|
+
<title>Metadata</title>
|
125
|
+
|
126
|
+
<para>TODO: Handle all metadata elements, apart from titles.</para>
|
127
|
+
</doc:template>
|
128
|
+
<xsl:template match='*[contains(local-name(), "info")]/*[not(self::title|self::subtitle|self::titleabbrev|self::doc:title|self::doc:subtitle|self::doc:titleabbrev)]'
|
129
|
+
priority='0'
|
130
|
+
mode='doc:body'/>
|
131
|
+
|
132
|
+
<xsl:template match='author|editor|othercredit |
|
133
|
+
doc:author|doc:editor|doc:othercredit'
|
134
|
+
mode='doc:body'>
|
135
|
+
<xsl:call-template name='doc:make-paragraph'>
|
136
|
+
<xsl:with-param name='style'
|
137
|
+
select='local-name()'/>
|
138
|
+
<xsl:with-param name='content'>
|
139
|
+
<xsl:apply-templates select='personname|surname|firstname|honorific|lineage|othername|contrib |
|
140
|
+
doc:personname|doc:surname|doc:firstname|doc:honorific|doc:lineage|doc:othername|doc:contrib'
|
141
|
+
mode='doc:body'/>
|
142
|
+
</xsl:with-param>
|
143
|
+
</xsl:call-template>
|
144
|
+
|
145
|
+
<xsl:apply-templates select='affiliation|address |
|
146
|
+
doc:affiliation|doc:address'
|
147
|
+
mode='doc:body'/>
|
148
|
+
<xsl:apply-templates select='authorblurb|personblurb |
|
149
|
+
doc:authorblurb|doc:personblurb'
|
150
|
+
mode='doc:body'/>
|
151
|
+
</xsl:template>
|
152
|
+
<xsl:template match='affiliation|doc:affiliation'
|
153
|
+
mode='doc:body'>
|
154
|
+
<xsl:call-template name='doc:make-paragraph'>
|
155
|
+
<xsl:with-param name='style' select='"affiliation"'/>
|
156
|
+
<xsl:with-param name='content'>
|
157
|
+
<xsl:apply-templates mode='doc:body'/>
|
158
|
+
</xsl:with-param>
|
159
|
+
</xsl:call-template>
|
160
|
+
</xsl:template>
|
161
|
+
<xsl:template match='address[parent::author|parent::editor|parent::othercredit] |
|
162
|
+
doc:address[parent::doc:author|parent::doc:editor|parent::doc:othercredit]'
|
163
|
+
mode='doc:body'>
|
164
|
+
<xsl:call-template name='doc:make-paragraph'>
|
165
|
+
<xsl:with-param name='style' select='"address"'/>
|
166
|
+
<xsl:with-param name='content'>
|
167
|
+
<xsl:apply-templates mode='doc:body'/>
|
168
|
+
</xsl:with-param>
|
169
|
+
</xsl:call-template>
|
170
|
+
</xsl:template>
|
171
|
+
<!-- do not attempt to handle recursive structures -->
|
172
|
+
<xsl:template match='address[not(parent::author|parent::editor|parent::othercredit)] |
|
173
|
+
doc:address[not(parent::doc:author|parent::doc:editor|parent::doc:othercredit)]'
|
174
|
+
mode='doc:body'>
|
175
|
+
<xsl:apply-templates select='node()[not(self::affiliation|self::authorblurb|self::doc:affiliation|self::doc:authorblurb)]'/>
|
176
|
+
</xsl:template>
|
177
|
+
<xsl:template match='abstract|doc:abstract'
|
178
|
+
mode='doc:body'>
|
179
|
+
<xsl:if test='title|doc:title'>
|
180
|
+
<xsl:call-template name='doc:make-paragraph'>
|
181
|
+
<xsl:with-param name='style' select='"abstract-title"'/>
|
182
|
+
<xsl:with-param name='content'>
|
183
|
+
<xsl:apply-templates select='title/node()|doc:title/node()'
|
184
|
+
mode='doc:body'/>
|
185
|
+
</xsl:with-param>
|
186
|
+
</xsl:call-template>
|
187
|
+
</xsl:if>
|
188
|
+
|
189
|
+
<xsl:apply-templates select='*[not(self::title|self::doc:title)]'
|
190
|
+
mode='doc:body'>
|
191
|
+
<xsl:with-param name='class'>abstract</xsl:with-param>
|
192
|
+
</xsl:apply-templates>
|
193
|
+
</xsl:template>
|
194
|
+
<!-- TODO -->
|
195
|
+
<xsl:template match='authorblurb|personblurb |
|
196
|
+
doc:authorblurb|doc:personblurb'
|
197
|
+
mode='doc:body'/>
|
198
|
+
|
199
|
+
<!-- TODO: handle inline markup (eg. emphasis) -->
|
200
|
+
<xsl:template match='surname|firstname|honorific|lineage|othername|contrib|email|shortaffil|jobtitle|orgname|orgdiv|street|pob|postcode|city|state|country|phone|fax|citetitle |
|
201
|
+
doc:surname|doc:firstname|doc:honorific|doc:lineage|doc:othername|doc:contrib|doc:email|doc:shortaffil|doc:jobtitle|doc:orgname|doc:orgdiv|doc:street|doc:pob|doc:postcode|doc:city|doc:state|doc:country|doc:phone|doc:fax|doc:citetitle'
|
202
|
+
mode='doc:body'>
|
203
|
+
<xsl:if test='preceding-sibling::*'>
|
204
|
+
<xsl:call-template name='doc:make-phrase'>
|
205
|
+
<xsl:with-param name='content'>
|
206
|
+
<xsl:text> </xsl:text>
|
207
|
+
</xsl:with-param>
|
208
|
+
</xsl:call-template>
|
209
|
+
</xsl:if>
|
210
|
+
<xsl:call-template name='doc:handle-linebreaks'>
|
211
|
+
<xsl:with-param name='style' select='local-name()'/>
|
212
|
+
<xsl:with-param name='content' select='node()'/>
|
213
|
+
</xsl:call-template>
|
214
|
+
</xsl:template>
|
215
|
+
<xsl:template match='email|doc:email'
|
216
|
+
mode='doc:body'>
|
217
|
+
<xsl:variable name='address'>
|
218
|
+
<xsl:choose>
|
219
|
+
<xsl:when test='starts-with(., "mailto:")'>
|
220
|
+
<xsl:value-of select='.'/>
|
221
|
+
</xsl:when>
|
222
|
+
<xsl:otherwise>
|
223
|
+
<xsl:text>mailto:</xsl:text>
|
224
|
+
<xsl:value-of select='.'/>
|
225
|
+
</xsl:otherwise>
|
226
|
+
</xsl:choose>
|
227
|
+
</xsl:variable>
|
228
|
+
<xsl:call-template name='doc:make-hyperlink'>
|
229
|
+
<xsl:with-param name='target' select='$address'/>
|
230
|
+
<xsl:with-param name='content'>
|
231
|
+
<xsl:call-template name='doc:handle-linebreaks'>
|
232
|
+
<xsl:with-param name='style'>Hyperlink</xsl:with-param>
|
233
|
+
</xsl:call-template>
|
234
|
+
</xsl:with-param>
|
235
|
+
</xsl:call-template>
|
236
|
+
</xsl:template>
|
237
|
+
<!-- otheraddr often contains ulink -->
|
238
|
+
<xsl:template match='otheraddr|doc:otheraddr'
|
239
|
+
mode='doc:body'>
|
240
|
+
<xsl:choose>
|
241
|
+
<xsl:when test='ulink|doc:ulink'>
|
242
|
+
<xsl:for-each select='ulink|doc:ulink'>
|
243
|
+
<xsl:variable name='prev'
|
244
|
+
select='preceding-sibling::ulink[1] |
|
245
|
+
preceding-sibling::doc:ulink[1]'/>
|
246
|
+
<xsl:choose>
|
247
|
+
<xsl:when test='$prev'>
|
248
|
+
<xsl:for-each
|
249
|
+
select='preceding-sibling::node()[generate-id(following-sibling::*[self::ulink|self::doc:ulink][1]) = generate-id(current())]'>
|
250
|
+
<xsl:call-template name='doc:handle-linebreaks'>
|
251
|
+
<xsl:with-param name='style'>otheraddr</xsl:with-param>
|
252
|
+
</xsl:call-template>
|
253
|
+
</xsl:for-each>
|
254
|
+
</xsl:when>
|
255
|
+
<xsl:when test='preceding-sibling::node()'>
|
256
|
+
<xsl:call-template name='doc:handle-linebreaks'>
|
257
|
+
<xsl:with-param name='style'>otheraddr</xsl:with-param>
|
258
|
+
</xsl:call-template>
|
259
|
+
</xsl:when>
|
260
|
+
</xsl:choose>
|
261
|
+
<xsl:apply-templates select='.'/>
|
262
|
+
</xsl:for-each>
|
263
|
+
<xsl:if test='*[self::ulink|self::doc:ulink][last()]/following-sibling::node()'>
|
264
|
+
<xsl:call-template name='doc:handle-linebreaks'>
|
265
|
+
<xsl:with-param name='content'
|
266
|
+
select='*[self::ulink|self::doc:ulink][last()]/following-sibling::node()'/>
|
267
|
+
<xsl:with-param name='style'>otheraddr</xsl:with-param>
|
268
|
+
</xsl:call-template>
|
269
|
+
</xsl:if>
|
270
|
+
</xsl:when>
|
271
|
+
<xsl:otherwise>
|
272
|
+
<xsl:call-template name='doc:handle-linebreaks'>
|
273
|
+
<xsl:with-param name='style'>otheraddr</xsl:with-param>
|
274
|
+
</xsl:call-template>
|
275
|
+
</xsl:otherwise>
|
276
|
+
</xsl:choose>
|
277
|
+
</xsl:template>
|
278
|
+
<xsl:template match='ulink|doc:ulink'
|
279
|
+
mode='doc:body'>
|
280
|
+
<xsl:call-template name='doc:make-hyperlink'>
|
281
|
+
<xsl:with-param name='target' select='@url'/>
|
282
|
+
<xsl:with-param name='content'>
|
283
|
+
<xsl:call-template name='doc:handle-linebreaks'>
|
284
|
+
<xsl:with-param name='style'>Hyperlink</xsl:with-param>
|
285
|
+
</xsl:call-template>
|
286
|
+
</xsl:with-param>
|
287
|
+
</xsl:call-template>
|
288
|
+
</xsl:template>
|
289
|
+
|
290
|
+
<!-- Cannot round-trip this element -->
|
291
|
+
<xsl:template match='personname|doc:personname'
|
292
|
+
mode='doc:body'>
|
293
|
+
<xsl:apply-templates mode='doc:body'/>
|
294
|
+
</xsl:template>
|
295
|
+
|
296
|
+
<xsl:template match='releaseinfo|doc:releaseinfo'
|
297
|
+
mode='doc:body'>
|
298
|
+
<xsl:call-template name='doc:make-paragraph'>
|
299
|
+
<xsl:with-param name='style'
|
300
|
+
select='"releaseinfo"'/>
|
301
|
+
</xsl:call-template>
|
302
|
+
</xsl:template>
|
303
|
+
|
304
|
+
<xsl:template match='para|doc:para'
|
305
|
+
mode='doc:body'>
|
306
|
+
<xsl:param name='class'/>
|
307
|
+
|
308
|
+
<xsl:variable name='block'
|
309
|
+
select='blockquote|calloutlist|classsynopsis|funcsynopsis|figure|glosslist|graphic|informalfigure|informaltable|itemizedlist|literallayout|mediaobject|mediaobjectco|note|caution|warning|important|tip|orderedlist|programlisting|revhistory|segmentedlist|simplelist|table|variablelist |
|
310
|
+
doc:blockquote|doc:calloutlist|doc:classsynopsis|doc:funcsynopsis|doc:figure|doc:glosslist|doc:graphic|doc:informalfigure|doc:informaltable|doc:itemizedlist|doc:literallayout|doc:mediaobject|doc:mediaobjectco|doc:note|doc:caution|doc:warning|doc:important|doc:tip|doc:orderedlist|doc:programlisting|doc:revhistory|doc:segmentedlist|doc:simplelist|doc:table|doc:variablelist'/>
|
311
|
+
|
312
|
+
<xsl:choose>
|
313
|
+
<xsl:when test='$block'>
|
314
|
+
<xsl:call-template name='doc:make-paragraph'>
|
315
|
+
<xsl:with-param name='style'>
|
316
|
+
<xsl:choose>
|
317
|
+
<xsl:when test='$class != ""'>
|
318
|
+
<xsl:value-of select='$class'/>
|
319
|
+
</xsl:when>
|
320
|
+
<xsl:otherwise>para</xsl:otherwise>
|
321
|
+
</xsl:choose>
|
322
|
+
</xsl:with-param>
|
323
|
+
<xsl:with-param name='content'
|
324
|
+
select='$block[1]/preceding-sibling::node()'/>
|
325
|
+
</xsl:call-template>
|
326
|
+
|
327
|
+
<xsl:for-each select='$block'>
|
328
|
+
<xsl:apply-templates select='.'/>
|
329
|
+
|
330
|
+
<xsl:call-template name='doc:make-paragraph'>
|
331
|
+
<xsl:with-param name='style'>
|
332
|
+
<xsl:choose>
|
333
|
+
<xsl:when test='$class != ""'>
|
334
|
+
<xsl:value-of select='$class'/>
|
335
|
+
</xsl:when>
|
336
|
+
<xsl:otherwise>Normal</xsl:otherwise>
|
337
|
+
</xsl:choose>
|
338
|
+
</xsl:with-param>
|
339
|
+
<xsl:with-param name='content'
|
340
|
+
select='following-sibling::node()[generate-id(preceding-sibling::*[self::blockquote|self::calloutlist|self::figure|self::glosslist|self::graphic|self::informalfigure|self::informaltable|self::itemizedlist|self::literallayout|self::mediaobject|self::mediaobjectco|self::note|self::caution|self::warning|self::important|self::tip|self::orderedlist|self::programlisting|self::revhistory|self::segmentedlist|self::simplelist|self::table|self::variablelist | self::doc:blockquote|self::doc:calloutlist|self::doc:figure|self::doc:glosslist|self::doc:graphic|self::doc:informalfigure|self::doc:informaltable|self::doc:itemizedlist|self::doc:literallayout|self::doc:mediaobject|self::doc:mediaobjectco|self::doc:note|self::doc:caution|self::doc:warning|self::doc:important|self::doc:tip|self::doc:orderedlist|self::doc:programlisting|self::doc:revhistory|self::doc:segmentedlist|self::doc:simplelist|self::doc:table|self::doc:variablelist][1]) = generate-id(current())]'/>
|
341
|
+
</xsl:call-template>
|
342
|
+
</xsl:for-each>
|
343
|
+
</xsl:when>
|
344
|
+
<xsl:otherwise>
|
345
|
+
<xsl:call-template name='doc:make-paragraph'>
|
346
|
+
<xsl:with-param name='style'>
|
347
|
+
<xsl:choose>
|
348
|
+
<xsl:when test='$class != ""'>
|
349
|
+
<xsl:value-of select='$class'/>
|
350
|
+
</xsl:when>
|
351
|
+
<xsl:otherwise>Normal</xsl:otherwise>
|
352
|
+
</xsl:choose>
|
353
|
+
</xsl:with-param>
|
354
|
+
</xsl:call-template>
|
355
|
+
</xsl:otherwise>
|
356
|
+
</xsl:choose>
|
357
|
+
</xsl:template>
|
358
|
+
<xsl:template match='simpara|doc:simpara'
|
359
|
+
mode='doc:body'>
|
360
|
+
<xsl:param name='class'/>
|
361
|
+
|
362
|
+
<xsl:call-template name='doc:make-paragraph'>
|
363
|
+
<xsl:with-param name='style'>
|
364
|
+
<xsl:choose>
|
365
|
+
<xsl:when test='$class != ""'>
|
366
|
+
<xsl:value-of select='concat("sim-", $class)'/>
|
367
|
+
</xsl:when>
|
368
|
+
<xsl:otherwise>simpara</xsl:otherwise>
|
369
|
+
</xsl:choose>
|
370
|
+
</xsl:with-param>
|
371
|
+
</xsl:call-template>
|
372
|
+
</xsl:template>
|
373
|
+
|
374
|
+
<xsl:template match='emphasis|doc:emphasis'
|
375
|
+
mode='doc:body'>
|
376
|
+
<xsl:call-template name='doc:make-phrase'>
|
377
|
+
<xsl:with-param name='italic'>
|
378
|
+
<xsl:choose>
|
379
|
+
<xsl:when test='not(@role)'>1</xsl:when>
|
380
|
+
<xsl:otherwise>0</xsl:otherwise>
|
381
|
+
</xsl:choose>
|
382
|
+
</xsl:with-param>
|
383
|
+
<xsl:with-param name='bold'>
|
384
|
+
<xsl:choose>
|
385
|
+
<xsl:when test='@role = "bold" or @role = "strong"'>1</xsl:when>
|
386
|
+
<xsl:otherwise>0</xsl:otherwise>
|
387
|
+
</xsl:choose>
|
388
|
+
</xsl:with-param>
|
389
|
+
</xsl:call-template>
|
390
|
+
</xsl:template>
|
391
|
+
|
392
|
+
<xsl:template match='informalfigure|doc:informalfigure'
|
393
|
+
mode='doc:body'>
|
394
|
+
<xsl:if test='mediaobject/imageobject/imagedata |
|
395
|
+
doc:mediaobject/doc:imageobject/doc:imagedata'>
|
396
|
+
<xsl:call-template name='doc:make-paragraph'>
|
397
|
+
<xsl:with-param name='style' select='"informalfigure-imagedata"'/>
|
398
|
+
<xsl:with-param name='content'>
|
399
|
+
<xsl:call-template name='doc:make-phrase'>
|
400
|
+
<xsl:with-param name='style'/>
|
401
|
+
<xsl:with-param name='content'>
|
402
|
+
<xsl:apply-templates select='mediaobject/imageobject/imagedata/@fileref |
|
403
|
+
doc:mediaobject/doc:imageobject/doc:imagedata/@fileref'
|
404
|
+
mode='textonly'/>
|
405
|
+
</xsl:with-param>
|
406
|
+
</xsl:call-template>
|
407
|
+
</xsl:with-param>
|
408
|
+
</xsl:call-template>
|
409
|
+
</xsl:if>
|
410
|
+
<xsl:apply-templates select='caption|doc:caption'
|
411
|
+
mode='doc:body'/>
|
412
|
+
<xsl:for-each select='*[not(self::mediaobject|self::doc:mediaobject|self::caption|self::doc:caption)]'>
|
413
|
+
<xsl:call-template name='doc:nomatch'/>
|
414
|
+
</xsl:for-each>
|
415
|
+
</xsl:template>
|
416
|
+
|
417
|
+
<xsl:template match='mediaobject|mediaobjectco |
|
418
|
+
doc:mediaobject|doc:mediaobjectco'
|
419
|
+
mode='doc:body'>
|
420
|
+
<xsl:apply-templates select='objectinfo/title|doc:objectinfo/doc:title'/>
|
421
|
+
<xsl:apply-templates select='objectinfo/subtitle|objectinfo/subtitle |
|
422
|
+
doc:objectinfo/doc:subtitle|doc:objectinfo/doc:subtitle'/>
|
423
|
+
<!-- TODO: indicate error for other children of objectinfo -->
|
424
|
+
|
425
|
+
<xsl:apply-templates select='*[not(self::objectinfo|self::doc:objectinfo)]'/>
|
426
|
+
</xsl:template>
|
427
|
+
<xsl:template match='imageobject|imageobjectco|audioobject|videoobject |
|
428
|
+
doc:imageobject|doc:imageobjectco|doc:audioobject|doc:videoobject'
|
429
|
+
mode='doc:body'>
|
430
|
+
<xsl:apply-templates select='objectinfo/title|doc:objectinfo/doc:title'/>
|
431
|
+
<xsl:apply-templates select='objectinfo/subtitle|doc:objectinfo/doc:subtitle'/>
|
432
|
+
<!-- TODO: indicate error for other children of objectinfo -->
|
433
|
+
|
434
|
+
<xsl:apply-templates select='areaspec|doc:areaspec'/>
|
435
|
+
|
436
|
+
<xsl:choose>
|
437
|
+
<xsl:when test='imagedata|audiodata|videodata |
|
438
|
+
doc:imagedata|doc:audiodata|doc:videodata'>
|
439
|
+
<xsl:call-template name='doc:make-paragraph'>
|
440
|
+
<xsl:with-param name='style'
|
441
|
+
select='concat(local-name(), "-", local-name(imagedata|audiodata|videodata|doc:imagedata|doc:audiodata|doc:videodata))'/>
|
442
|
+
<xsl:with-param name='content'>
|
443
|
+
<xsl:call-template name='doc:make-phrase'>
|
444
|
+
<xsl:with-param name='content'>
|
445
|
+
<xsl:apply-templates select='*/@fileref'
|
446
|
+
mode='textonly'/>
|
447
|
+
</xsl:with-param>
|
448
|
+
</xsl:call-template>
|
449
|
+
</xsl:with-param>
|
450
|
+
</xsl:call-template>
|
451
|
+
</xsl:when>
|
452
|
+
<xsl:when test='self::imageobjectco/imageobject/imagedata |
|
453
|
+
self::doc:imageobjectco/doc:imageobject/doc:imagedata'>
|
454
|
+
<xsl:call-template name='doc:make-paragraph'>
|
455
|
+
<xsl:with-param name='style'
|
456
|
+
select='concat(local-name(), "-imagedata")'/>
|
457
|
+
<xsl:with-param name='content'>
|
458
|
+
<xsl:call-template name='doc:make-phrase'>
|
459
|
+
<xsl:with-param name='content'>
|
460
|
+
<xsl:apply-templates select='*/@fileref'
|
461
|
+
mode='textonly'/>
|
462
|
+
</xsl:with-param>
|
463
|
+
</xsl:call-template>
|
464
|
+
</xsl:with-param>
|
465
|
+
</xsl:call-template>
|
466
|
+
</xsl:when>
|
467
|
+
</xsl:choose>
|
468
|
+
<xsl:apply-templates select='calloutlist|doc:calloutlist'/>
|
469
|
+
|
470
|
+
<xsl:for-each select='*[not(self::imageobject |
|
471
|
+
self::imagedata |
|
472
|
+
self::audiodata |
|
473
|
+
self::videodata |
|
474
|
+
self::areaspec |
|
475
|
+
self::calloutlist |
|
476
|
+
self::doc:imageobject |
|
477
|
+
self::doc:imagedata |
|
478
|
+
self::doc:audiodata |
|
479
|
+
self::doc:videodata |
|
480
|
+
self::doc:areaspec |
|
481
|
+
self::doc:calloutlist)]'>
|
482
|
+
<xsl:call-template name='doc:nomatch'/>
|
483
|
+
</xsl:for-each>
|
484
|
+
</xsl:template>
|
485
|
+
<xsl:template match='textobject|doc:textobject'
|
486
|
+
mode='doc:body'>
|
487
|
+
<xsl:choose>
|
488
|
+
<xsl:when test='objectinfo/title|objectinfo|subtitle |
|
489
|
+
doc:objectinfo/doc:title|doc:objectinfo|doc:subtitle'>
|
490
|
+
<xsl:apply-templates select='objectinfo/title|doc:objectinfo/doc:title'
|
491
|
+
mode='doc:body'/>
|
492
|
+
<xsl:apply-templates select='objectinfo/subtitle|doc:objectinfo/doc:subtitle'
|
493
|
+
mode='doc:body'/>
|
494
|
+
<!-- TODO: indicate error for other children of objectinfo -->
|
495
|
+
</xsl:when>
|
496
|
+
|
497
|
+
<!-- In a table, the table itself and the caption delimit the textobject -->
|
498
|
+
<xsl:when test='ancestor::table |
|
499
|
+
ancestor::doc:table |
|
500
|
+
ancestor::informaltable |
|
501
|
+
ancestor::doc:informaltable'/>
|
502
|
+
|
503
|
+
<xsl:otherwise>
|
504
|
+
<!-- synthesize a title so that the parent textobject
|
505
|
+
can be recreated.
|
506
|
+
-->
|
507
|
+
<xsl:call-template name='doc:make-paragraph'>
|
508
|
+
<xsl:with-param name='style' select='"textobject-title"'/>
|
509
|
+
<xsl:with-param name='content'>
|
510
|
+
<xsl:call-template name='doc:make-phrase'>
|
511
|
+
<xsl:with-param name='content'>
|
512
|
+
<xsl:text>Text Object </xsl:text>
|
513
|
+
<xsl:number level='any'/>
|
514
|
+
</xsl:with-param>
|
515
|
+
</xsl:call-template>
|
516
|
+
</xsl:with-param>
|
517
|
+
</xsl:call-template>
|
518
|
+
</xsl:otherwise>
|
519
|
+
</xsl:choose>
|
520
|
+
|
521
|
+
<xsl:apply-templates select='*[not(self::objectinfo|self::doc:objectinfo)]'
|
522
|
+
mode='doc:body'/>
|
523
|
+
</xsl:template>
|
524
|
+
|
525
|
+
<xsl:template match='caption|doc:caption'
|
526
|
+
mode='doc:body'>
|
527
|
+
<xsl:choose>
|
528
|
+
<xsl:when test='not(*)'>
|
529
|
+
<xsl:call-template name='doc:make-paragraph'>
|
530
|
+
<xsl:with-param name='style' select='"Caption"'/>
|
531
|
+
<xsl:with-param name='content'>
|
532
|
+
<xsl:apply-templates/>
|
533
|
+
</xsl:with-param>
|
534
|
+
</xsl:call-template>
|
535
|
+
</xsl:when>
|
536
|
+
<xsl:when test='not(text()) and
|
537
|
+
count(*) = count(para|doc:para) and
|
538
|
+
count(*) = 1'>
|
539
|
+
<xsl:call-template name='doc:make-paragraph'>
|
540
|
+
<xsl:with-param name='style' select='"caption"'/>
|
541
|
+
<xsl:with-param name='content'>
|
542
|
+
<xsl:apply-templates select='*/node()' mode='doc:body'/>
|
543
|
+
</xsl:with-param>
|
544
|
+
</xsl:call-template>
|
545
|
+
</xsl:when>
|
546
|
+
<xsl:when test='text()'>
|
547
|
+
<!-- Not valid DocBook -->
|
548
|
+
<xsl:call-template name='doc:nomatch'/>
|
549
|
+
</xsl:when>
|
550
|
+
<xsl:otherwise>
|
551
|
+
<xsl:call-template name='doc:make-paragraph'>
|
552
|
+
<xsl:with-param name='style' select='"Caption"'/>
|
553
|
+
<xsl:with-param name='content'>
|
554
|
+
<xsl:apply-templates select='*[self::para|self::doc:para][1]/node()'
|
555
|
+
mode='doc:body'/>
|
556
|
+
</xsl:with-param>
|
557
|
+
</xsl:call-template>
|
558
|
+
<xsl:for-each select='text()|*[not(self::para|self::doc:para)]|*[self::para|self::doc:para][position() != 1]'>
|
559
|
+
<xsl:call-template name='doc:nomatch'/>
|
560
|
+
</xsl:for-each>
|
561
|
+
</xsl:otherwise>
|
562
|
+
</xsl:choose>
|
563
|
+
</xsl:template>
|
564
|
+
|
565
|
+
<xsl:template match='area|areaspec|doc:area|doc:areaspec'
|
566
|
+
mode='doc:body'>
|
567
|
+
<xsl:call-template name='doc:make-paragraph'>
|
568
|
+
<xsl:with-param name='style' select='local-name()'/>
|
569
|
+
<xsl:with-param name='content'/>
|
570
|
+
</xsl:call-template>
|
571
|
+
</xsl:template>
|
572
|
+
|
573
|
+
<xsl:template match='calloutlist|doc:calloutlist'
|
574
|
+
mode='doc:body'>
|
575
|
+
<xsl:apply-templates select='callout|doc:callout'/>
|
576
|
+
</xsl:template>
|
577
|
+
|
578
|
+
<xsl:template match='callout|doc:callout'
|
579
|
+
mode='doc:body'>
|
580
|
+
<xsl:call-template name='doc:make-paragraph'>
|
581
|
+
<xsl:with-param name='style' select='"callout"'/>
|
582
|
+
<xsl:with-param name='content'>
|
583
|
+
<!-- Normally a para would be the first child of a callout -->
|
584
|
+
<xsl:apply-templates select='*[1][self::para|self::doc:para]/node()'
|
585
|
+
mode='list'/>
|
586
|
+
</xsl:with-param>
|
587
|
+
</xsl:call-template>
|
588
|
+
|
589
|
+
<!-- This is to catch the case where a listitem's first child is not a paragraph.
|
590
|
+
- We may not be able to represent this properly.
|
591
|
+
-->
|
592
|
+
<xsl:apply-templates select='*[1][not(self::para|self::doc:para)]'
|
593
|
+
mode='list'/>
|
594
|
+
|
595
|
+
<xsl:apply-templates select='*[position() != 1]'
|
596
|
+
mode='list'/>
|
597
|
+
</xsl:template>
|
598
|
+
|
599
|
+
<xsl:template match='table|informaltable |
|
600
|
+
doc:table|doc:informaltable'
|
601
|
+
mode='doc:body'>
|
602
|
+
<xsl:call-template name='doc:make-table'>
|
603
|
+
<xsl:with-param name='columns'>
|
604
|
+
<xsl:apply-templates select='tgroup/colspec|doc:tgroup/doc:colspec'
|
605
|
+
mode='doc:column'/>
|
606
|
+
</xsl:with-param>
|
607
|
+
</xsl:call-template>
|
608
|
+
<xsl:apply-templates select='textobject|doc:textobject'
|
609
|
+
mode='doc:body'/>
|
610
|
+
<xsl:choose>
|
611
|
+
<xsl:when test='caption|doc:caption'>
|
612
|
+
<xsl:apply-templates select='caption|doc:caption'
|
613
|
+
mode='doc:body'/>
|
614
|
+
</xsl:when>
|
615
|
+
<xsl:when test='textobject|doc:textobject'>
|
616
|
+
<!-- Synthesize a caption to delimit the textobject -->
|
617
|
+
<xsl:call-template name='doc:make-paragraph'>
|
618
|
+
<xsl:with-param name='style'>Caption</xsl:with-param>
|
619
|
+
<xsl:with-param name='content'/>
|
620
|
+
<xsl:with-param name='attributes.node' select='/..'/>
|
621
|
+
</xsl:call-template>
|
622
|
+
</xsl:when>
|
623
|
+
</xsl:choose>
|
624
|
+
</xsl:template>
|
625
|
+
|
626
|
+
<xsl:template match='colspec|doc:colspec' mode='doc:column'>
|
627
|
+
<xsl:variable name='width'>
|
628
|
+
<xsl:choose>
|
629
|
+
<xsl:when test='contains(@colwidth, "*")'>
|
630
|
+
<!-- May need to resolve proportional width with other columns -->
|
631
|
+
<xsl:value-of select='substring-before(@colwidth, "*")'/>
|
632
|
+
</xsl:when>
|
633
|
+
<xsl:otherwise>
|
634
|
+
<xsl:value-of select='@colwidth'/>
|
635
|
+
</xsl:otherwise>
|
636
|
+
</xsl:choose>
|
637
|
+
</xsl:variable>
|
638
|
+
|
639
|
+
<xsl:call-template name='doc:make-column'>
|
640
|
+
<xsl:with-param name='width' select='$width'/>
|
641
|
+
</xsl:call-template>
|
642
|
+
</xsl:template>
|
643
|
+
|
644
|
+
<xsl:template match='colspec|doc:colspec' mode='doc:body'/>
|
645
|
+
|
646
|
+
<xsl:template name='doc:repeat'>
|
647
|
+
<xsl:param name='repeats' select='0'/>
|
648
|
+
<xsl:param name='content'/>
|
649
|
+
|
650
|
+
<xsl:if test='$repeats > 0'>
|
651
|
+
<xsl:copy-of select='$content'/>
|
652
|
+
<xsl:call-template name='doc:repeat'>
|
653
|
+
<xsl:with-param name='repeats' select='$repeats - 1'/>
|
654
|
+
<xsl:with-param name='content' select='$content'/>
|
655
|
+
</xsl:call-template>
|
656
|
+
</xsl:if>
|
657
|
+
</xsl:template>
|
658
|
+
<xsl:template match='tgroup|tbody|thead |
|
659
|
+
doc:tgroup|doc:tbody|doc:thead'
|
660
|
+
mode='doc:body'>
|
661
|
+
<xsl:apply-templates mode='doc:body'/>
|
662
|
+
</xsl:template>
|
663
|
+
<xsl:template match='row|doc:row' mode='doc:body'>
|
664
|
+
<xsl:call-template name='doc:make-table-row'>
|
665
|
+
<xsl:with-param name='is-header' select='boolean(parent::thead|parent::doc:thead)'/>
|
666
|
+
</xsl:call-template>
|
667
|
+
</xsl:template>
|
668
|
+
|
669
|
+
<xsl:template match='entry|doc:entry' mode='doc:body'>
|
670
|
+
|
671
|
+
<!--
|
672
|
+
Position = Sum(i,preceding-sibling[@colspan = ""]) + entry[i].@colspan)
|
673
|
+
-->
|
674
|
+
|
675
|
+
<xsl:variable name='position'>
|
676
|
+
<xsl:call-template name='doc:sum-sibling'>
|
677
|
+
<xsl:with-param name='sum' select='"1"'/>
|
678
|
+
<xsl:with-param name='node' select='.'/>
|
679
|
+
</xsl:call-template>
|
680
|
+
</xsl:variable>
|
681
|
+
|
682
|
+
<xsl:variable name='limit' select='$position + @colspan'/>
|
683
|
+
|
684
|
+
<xsl:variable name='width.raw'>
|
685
|
+
<xsl:choose>
|
686
|
+
<xsl:when test='@colspan != ""'>
|
687
|
+
|
688
|
+
<!-- Select all the colspec nodes which correspond to the
|
689
|
+
column. That is all the nodes between the current
|
690
|
+
column number and the column number plus the span.
|
691
|
+
-->
|
692
|
+
|
693
|
+
<xsl:variable name='combinedWidth'>
|
694
|
+
<xsl:call-template name='doc:sum'>
|
695
|
+
<xsl:with-param name='nodes' select='ancestor::*[self::table|self::doc:table|self::informaltable|self::doc:informaltable][1]/*[self::tgroup|self::doc:tgroup]/*[self::colspec|self::doc:colspec][not(position() < $position) and position() < $limit]'/>
|
696
|
+
<xsl:with-param name='sum' select='"0"'/>
|
697
|
+
</xsl:call-template>
|
698
|
+
</xsl:variable>
|
699
|
+
<xsl:value-of select='$combinedWidth'/>
|
700
|
+
</xsl:when>
|
701
|
+
<xsl:otherwise>
|
702
|
+
<xsl:value-of select='ancestor::*[self::table|self::doc:table|self::informaltable|self::doc:informaltable][1]/*[self::tgroup|self::doc:tgroup]/*[self::colspec|self::doc:colspec][position() = $position]/@colwidth'/>
|
703
|
+
</xsl:otherwise>
|
704
|
+
</xsl:choose>
|
705
|
+
</xsl:variable>
|
706
|
+
|
707
|
+
<xsl:call-template name='doc:make-table-cell'>
|
708
|
+
<xsl:with-param name='width'>
|
709
|
+
<xsl:choose>
|
710
|
+
<xsl:when test='contains($width.raw, "*")'>
|
711
|
+
|
712
|
+
<!-- Select all the colspec nodes which correspond to the
|
713
|
+
column. That is all the nodes between the current
|
714
|
+
column number and the column number plus the span.
|
715
|
+
-->
|
716
|
+
|
717
|
+
<xsl:value-of select='substring-before($width.raw, "*")'/>
|
718
|
+
</xsl:when>
|
719
|
+
<xsl:otherwise>
|
720
|
+
<xsl:value-of select='$width.raw'/>
|
721
|
+
</xsl:otherwise>
|
722
|
+
</xsl:choose>
|
723
|
+
</xsl:with-param>
|
724
|
+
|
725
|
+
<xsl:with-param name='hidden' select='@hidden'/>
|
726
|
+
<xsl:with-param name='rowspan' select='@rowspan'/>
|
727
|
+
<xsl:with-param name='colspan' select='@colspan'/>
|
728
|
+
|
729
|
+
<xsl:with-param name='content'>
|
730
|
+
<xsl:choose>
|
731
|
+
<xsl:when test='not(para|doc:para)'>
|
732
|
+
<!-- TODO: check for any block elements -->
|
733
|
+
<xsl:call-template name='doc:make-paragraph'>
|
734
|
+
<xsl:with-param name='style'/>
|
735
|
+
<xsl:with-param name='attributes.node' select='/..'/>
|
736
|
+
<xsl:with-param name='content'/>
|
737
|
+
</xsl:call-template>
|
738
|
+
</xsl:when>
|
739
|
+
<xsl:otherwise>
|
740
|
+
<xsl:apply-templates mode='doc:body'/>
|
741
|
+
</xsl:otherwise>
|
742
|
+
</xsl:choose>
|
743
|
+
</xsl:with-param>
|
744
|
+
</xsl:call-template>
|
745
|
+
</xsl:template>
|
746
|
+
|
747
|
+
<!-- Calculates the position by adding the
|
748
|
+
count of the preceding siblings where they aren't colspans
|
749
|
+
and adding the colspans of those entries which do.
|
750
|
+
-->
|
751
|
+
|
752
|
+
<xsl:template name='doc:sum-sibling'>
|
753
|
+
<xsl:param name='sum'/>
|
754
|
+
<xsl:param name='node'/>
|
755
|
+
|
756
|
+
<xsl:variable name='add'>
|
757
|
+
<xsl:choose>
|
758
|
+
<xsl:when test='$node/preceding-sibling::*[self::entry|self::doc:entry]/@colspan != ""'>
|
759
|
+
<xsl:value-of select='$node/preceding-sibling::*[self::entry|self::doc:entry]/@colspan'/>
|
760
|
+
</xsl:when>
|
761
|
+
<xsl:otherwise>
|
762
|
+
<xsl:value-of select='"1"'/>
|
763
|
+
</xsl:otherwise>
|
764
|
+
</xsl:choose>
|
765
|
+
</xsl:variable>
|
766
|
+
|
767
|
+
<xsl:choose>
|
768
|
+
<xsl:when test='count($node/preceding-sibling::*[self::entry|self::doc:entry]) > 0'>
|
769
|
+
<xsl:call-template name='doc:sum-sibling'>
|
770
|
+
<xsl:with-param name='sum' select='$sum + $add'/>
|
771
|
+
<xsl:with-param name='node'
|
772
|
+
select='$node/preceding-sibling::*[self::entry|self::doc:entry][1]'/>
|
773
|
+
</xsl:call-template>
|
774
|
+
</xsl:when>
|
775
|
+
<xsl:otherwise>
|
776
|
+
<xsl:value-of select='$sum'/>
|
777
|
+
</xsl:otherwise>
|
778
|
+
</xsl:choose>
|
779
|
+
|
780
|
+
</xsl:template>
|
781
|
+
|
782
|
+
<xsl:template name='doc:sum'>
|
783
|
+
<xsl:param name='sum' select='"0"'/>
|
784
|
+
<xsl:param name='nodes'/>
|
785
|
+
|
786
|
+
<xsl:variable name='tmpSum' select='$sum + $nodes[1]/@colwidth'/>
|
787
|
+
|
788
|
+
<xsl:choose>
|
789
|
+
<xsl:when test='count($nodes) > 1'>
|
790
|
+
<xsl:call-template name='doc:sum'>
|
791
|
+
<xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
|
792
|
+
<xsl:with-param name='sum' select='$tmpSum'/>
|
793
|
+
</xsl:call-template>
|
794
|
+
</xsl:when>
|
795
|
+
<xsl:otherwise>
|
796
|
+
<xsl:value-of select='$tmpSum'/>
|
797
|
+
</xsl:otherwise>
|
798
|
+
</xsl:choose>
|
799
|
+
|
800
|
+
</xsl:template>
|
801
|
+
|
802
|
+
<xsl:template match='*[self::para|self::simpara|self::doc:para|self::doc:simpara]/text()[string-length(normalize-space(.)) != 0]'
|
803
|
+
mode='doc:body'>
|
804
|
+
<xsl:call-template name='doc:handle-linebreaks'/>
|
805
|
+
</xsl:template>
|
806
|
+
|
807
|
+
<xsl:template match='text()[not(parent::para|parent::simpara|parent::literallayout|parent::programlisting | parent::doc:para|parent::doc:simpara|parent::doc:literallayout|parent::doc:programlisting)][string-length(normalize-space(.)) != 0]'
|
808
|
+
mode='doc:body'>
|
809
|
+
<xsl:call-template name='doc:handle-linebreaks'/>
|
810
|
+
</xsl:template>
|
811
|
+
<xsl:template match='text()[string-length(normalize-space(.)) = 0]'
|
812
|
+
mode='doc:body'/>
|
813
|
+
<xsl:template match='literallayout/text()|programlisting/text() |
|
814
|
+
doc:literallayout/text()|doc:programlisting/text()'
|
815
|
+
mode='doc:body'>
|
816
|
+
<xsl:call-template name='doc:handle-linebreaks'/>
|
817
|
+
</xsl:template>
|
818
|
+
<xsl:template name='doc:handle-linebreaks'>
|
819
|
+
<xsl:param name='content' select='.'/>
|
820
|
+
<xsl:param name='style'/>
|
821
|
+
|
822
|
+
<xsl:choose>
|
823
|
+
<xsl:when test='not($content)'/>
|
824
|
+
<xsl:when test='contains($content, "
")'>
|
825
|
+
<xsl:call-template name='doc:make-phrase'>
|
826
|
+
<xsl:with-param name='style' select='$style'/>
|
827
|
+
<xsl:with-param name='content'
|
828
|
+
select='substring-before($content, "
")'/>
|
829
|
+
</xsl:call-template>
|
830
|
+
|
831
|
+
<xsl:call-template name='doc:handle-linebreaks-aux'>
|
832
|
+
<xsl:with-param name='content'
|
833
|
+
select='substring-after($content, "
")'/>
|
834
|
+
<xsl:with-param name='style' select='$style'/>
|
835
|
+
</xsl:call-template>
|
836
|
+
</xsl:when>
|
837
|
+
<xsl:otherwise>
|
838
|
+
<xsl:call-template name='doc:make-phrase'>
|
839
|
+
<xsl:with-param name='style' select='$style'/>
|
840
|
+
<xsl:with-param name='content' select='$content'/>
|
841
|
+
</xsl:call-template>
|
842
|
+
</xsl:otherwise>
|
843
|
+
</xsl:choose>
|
844
|
+
</xsl:template>
|
845
|
+
|
846
|
+
<!-- pre-condition: leading linefeed has been stripped -->
|
847
|
+
<xsl:template name='doc:handle-linebreaks-aux'>
|
848
|
+
<xsl:param name='content'/>
|
849
|
+
<xsl:param name='style'/>
|
850
|
+
|
851
|
+
<xsl:choose>
|
852
|
+
<xsl:when test='contains($content, "
")'>
|
853
|
+
<xsl:call-template name='doc:make-phrase'>
|
854
|
+
<xsl:with-param name='style' select='$style'/>
|
855
|
+
<xsl:with-param name='content'>
|
856
|
+
<xsl:call-template name='doc:make-soft-break'/>
|
857
|
+
<xsl:value-of select='substring-before($content, "
")'/>
|
858
|
+
</xsl:with-param>
|
859
|
+
</xsl:call-template>
|
860
|
+
<xsl:call-template name='doc:handle-linebreaks-aux'>
|
861
|
+
<xsl:with-param name='content'
|
862
|
+
select='substring-after($content, "
")'/>
|
863
|
+
<xsl:with-param name='style' select='$style'/>
|
864
|
+
</xsl:call-template>
|
865
|
+
</xsl:when>
|
866
|
+
<xsl:otherwise>
|
867
|
+
<xsl:call-template name='doc:make-phrase'>
|
868
|
+
<xsl:with-param name='style' select='$style'/>
|
869
|
+
<xsl:with-param name='content'>
|
870
|
+
<xsl:call-template name='doc:make-soft-break'/>
|
871
|
+
<xsl:value-of select='$content'/>
|
872
|
+
</xsl:with-param>
|
873
|
+
</xsl:call-template>
|
874
|
+
</xsl:otherwise>
|
875
|
+
</xsl:choose>
|
876
|
+
</xsl:template>
|
877
|
+
|
878
|
+
<xsl:template match='authorblurb|formalpara|legalnotice|note|caution|warning|important|tip |
|
879
|
+
doc:authorblurb|doc:formalpara|doc:legalnotice|doc:note|doc:caution|doc:warning|doc:important|doc:tip'
|
880
|
+
mode='doc:body'>
|
881
|
+
<xsl:apply-templates select='*'>
|
882
|
+
<xsl:with-param name='class'>
|
883
|
+
<xsl:value-of select='local-name()'/>
|
884
|
+
</xsl:with-param>
|
885
|
+
</xsl:apply-templates>
|
886
|
+
</xsl:template>
|
887
|
+
|
888
|
+
<xsl:template match='blockquote|doc:blockquote'
|
889
|
+
mode='doc:body'>
|
890
|
+
<xsl:apply-templates select='blockinfo|title|doc:info|doc:title'
|
891
|
+
mode='doc:body'>
|
892
|
+
<xsl:with-param name='class'>
|
893
|
+
<xsl:value-of select='local-name()'/>
|
894
|
+
</xsl:with-param>
|
895
|
+
</xsl:apply-templates>
|
896
|
+
<xsl:apply-templates select='*[not(self::blockinfo|self::title|self::attribution|self::doc:info|self::doc:title|self::doc:attribution)]'
|
897
|
+
mode='doc:body'>
|
898
|
+
<xsl:with-param name='class' select='"blockquote"'/>
|
899
|
+
</xsl:apply-templates>
|
900
|
+
<xsl:if test='attribution|doc:attribution'>
|
901
|
+
<xsl:call-template name='doc:make-paragraph'>
|
902
|
+
<xsl:with-param name='style' select='"blockquote-attribution"'/>
|
903
|
+
<xsl:with-param name='content'>
|
904
|
+
<xsl:call-template name='doc:make-phrase'>
|
905
|
+
<xsl:with-param name='content'>
|
906
|
+
<xsl:apply-templates select='attribution/node()|doc:attribution/node()'/>
|
907
|
+
</xsl:with-param>
|
908
|
+
</xsl:call-template>
|
909
|
+
</xsl:with-param>
|
910
|
+
</xsl:call-template>
|
911
|
+
</xsl:if>
|
912
|
+
</xsl:template>
|
913
|
+
|
914
|
+
<xsl:template match='literallayout|programlisting|doc:literallayout|doc:programlisting'
|
915
|
+
mode='doc:body'>
|
916
|
+
<xsl:param name='class'/>
|
917
|
+
|
918
|
+
<xsl:call-template name='doc:make-paragraph'>
|
919
|
+
<xsl:with-param name='style' select='local-name()'/>
|
920
|
+
</xsl:call-template>
|
921
|
+
</xsl:template>
|
922
|
+
|
923
|
+
<xsl:template match='bridgehead|doc:bridgehead'
|
924
|
+
mode='doc:body'>
|
925
|
+
<xsl:call-template name='doc:make-paragraph'>
|
926
|
+
<xsl:with-param name='style' select='"bridgehead"'/>
|
927
|
+
</xsl:call-template>
|
928
|
+
</xsl:template>
|
929
|
+
|
930
|
+
<xsl:template match='itemizedlist|orderedlist |
|
931
|
+
doc:itemizedlist|doc:orderedlist'
|
932
|
+
mode='doc:body'>
|
933
|
+
<xsl:apply-templates select='listitem|doc:listitem'
|
934
|
+
mode='doc:body'/>
|
935
|
+
</xsl:template>
|
936
|
+
|
937
|
+
<xsl:template match='listitem|doc:listitem'
|
938
|
+
mode='doc:body'>
|
939
|
+
<xsl:call-template name='doc:make-paragraph'>
|
940
|
+
<xsl:with-param name='style'
|
941
|
+
select='concat(local-name(..),
|
942
|
+
count(ancestor::itemizedlist|ancestor::orderedlist|ancestor::doc:itemizedlist|ancestor::doc:orderedlist))'/>
|
943
|
+
<xsl:with-param name='is-listitem' select='true()'/>
|
944
|
+
|
945
|
+
<xsl:with-param name='content'>
|
946
|
+
<!-- Normally a para would be the first child of a listitem -->
|
947
|
+
<xsl:apply-templates select='*[1][self::para|self::doc:para]/node()'
|
948
|
+
mode='doc:body'/>
|
949
|
+
</xsl:with-param>
|
950
|
+
</xsl:call-template>
|
951
|
+
|
952
|
+
<!-- This is to catch the case where a listitem's first child is not a paragraph.
|
953
|
+
- We may not be able to represent this properly.
|
954
|
+
-->
|
955
|
+
<xsl:apply-templates select='*[1][not(self::para|self::doc:para)]'
|
956
|
+
mode='doc:list-continue'/>
|
957
|
+
|
958
|
+
<xsl:apply-templates select='*[position() != 1]'
|
959
|
+
mode='doc:list-continue'/>
|
960
|
+
</xsl:template>
|
961
|
+
|
962
|
+
<xsl:template match='para|doc:para' mode='doc:list-continue'>
|
963
|
+
<xsl:apply-templates select='.'
|
964
|
+
mode='doc:body'>
|
965
|
+
<xsl:with-param name='class' select='"para-continue"'/>
|
966
|
+
</xsl:apply-templates>
|
967
|
+
</xsl:template>
|
968
|
+
<!-- non-paragraph elements in a listitem are rolled back into
|
969
|
+
the list item upon conversion.
|
970
|
+
-->
|
971
|
+
<xsl:template match='*' mode='doc:list-continue'>
|
972
|
+
<xsl:apply-templates select='.' mode='doc:body'/>
|
973
|
+
</xsl:template>
|
974
|
+
|
975
|
+
<xsl:template match='variablelist|doc:variablelist'
|
976
|
+
mode='doc:body'>
|
977
|
+
<xsl:apply-templates select='*[not(self::varlistentry|self::doc:varlistentry)]'/>
|
978
|
+
|
979
|
+
<xsl:call-template name='doc:make-table'>
|
980
|
+
<xsl:with-param name='columns'>
|
981
|
+
<xsl:call-template name='doc:make-column'>
|
982
|
+
<xsl:with-param name='width' select='"1"'/>
|
983
|
+
</xsl:call-template>
|
984
|
+
<xsl:call-template name='doc:make-column'>
|
985
|
+
<xsl:with-param name='width' select='"3"'/>
|
986
|
+
</xsl:call-template>
|
987
|
+
</xsl:with-param>
|
988
|
+
<xsl:with-param name='rows'>
|
989
|
+
<xsl:apply-templates select='varlistentry|doc:varlistentry'/>
|
990
|
+
</xsl:with-param>
|
991
|
+
</xsl:call-template>
|
992
|
+
</xsl:template>
|
993
|
+
<xsl:template match='varlistentry|doc:varlistentry'
|
994
|
+
mode='doc:body'>
|
995
|
+
<xsl:call-template name='doc:make-table-row'>
|
996
|
+
<xsl:with-param name='content'>
|
997
|
+
<xsl:call-template name='doc:make-table-cell'>
|
998
|
+
<xsl:with-param name='content'>
|
999
|
+
<xsl:call-template name='doc:make-paragraph'>
|
1000
|
+
<xsl:with-param name='style' select='"variablelist-term"'/>
|
1001
|
+
<xsl:with-param name='content'>
|
1002
|
+
<xsl:apply-templates select='*[self::term|self::doc:term][1]/node()'
|
1003
|
+
mode='doc:body'/>
|
1004
|
+
<xsl:for-each select='*[self::term|self::doc:term][position() != 1]'>
|
1005
|
+
<xsl:call-template name='doc:make-phrase'>
|
1006
|
+
<xsl:with-param name='content'>
|
1007
|
+
<xsl:call-template name='doc:make-soft-break'/>
|
1008
|
+
</xsl:with-param>
|
1009
|
+
</xsl:call-template>
|
1010
|
+
<xsl:apply-templates/>
|
1011
|
+
</xsl:for-each>
|
1012
|
+
</xsl:with-param>
|
1013
|
+
</xsl:call-template>
|
1014
|
+
</xsl:with-param>
|
1015
|
+
</xsl:call-template>
|
1016
|
+
<xsl:call-template name='doc:make-table-cell'>
|
1017
|
+
<xsl:with-param name='content'>
|
1018
|
+
<xsl:apply-templates select='listitem/node()|doc:listitem/node()'
|
1019
|
+
mode='doc:body'/>
|
1020
|
+
</xsl:with-param>
|
1021
|
+
</xsl:call-template>
|
1022
|
+
</xsl:with-param>
|
1023
|
+
</xsl:call-template>
|
1024
|
+
</xsl:template>
|
1025
|
+
|
1026
|
+
<!-- These elements are not displayed.
|
1027
|
+
- However, they may need to be added (perhaps as hidden text)
|
1028
|
+
- for round-tripping.
|
1029
|
+
-->
|
1030
|
+
<xsl:template match='anchor|areaset|audiodata|audioobject|
|
1031
|
+
beginpage|
|
1032
|
+
constraint|
|
1033
|
+
indexterm|itermset|
|
1034
|
+
keywordset|
|
1035
|
+
msg |
|
1036
|
+
doc:anchor|doc:areaset|doc:audiodata|doc:audioobject|
|
1037
|
+
doc:beginpage|
|
1038
|
+
doc:constraint|
|
1039
|
+
doc:indexterm|doc:itermset|
|
1040
|
+
doc:keywordset|
|
1041
|
+
doc:msg'
|
1042
|
+
mode='doc:body'/>
|
1043
|
+
|
1044
|
+
<xsl:template match='*' name='doc:nomatch'>
|
1045
|
+
<xsl:param name='node' select='.'/>
|
1046
|
+
|
1047
|
+
<xsl:message>
|
1048
|
+
<xsl:value-of select='local-name($node)'/>
|
1049
|
+
<xsl:if test='namespace-uri($node) != ""'>
|
1050
|
+
<xsl:text> [</xsl:text>
|
1051
|
+
<xsl:value-of select='namespace-uri($node)'/>
|
1052
|
+
<xsl:text>]</xsl:text>
|
1053
|
+
</xsl:if>
|
1054
|
+
<xsl:text> encountered</xsl:text>
|
1055
|
+
<xsl:if test='$node/parent::*'>
|
1056
|
+
<xsl:text> in </xsl:text>
|
1057
|
+
<xsl:value-of select='local-name($node/parent::*)'/>
|
1058
|
+
</xsl:if>
|
1059
|
+
<xsl:text>, but no template matches.</xsl:text>
|
1060
|
+
</xsl:message>
|
1061
|
+
|
1062
|
+
<xsl:for-each select='$node'>
|
1063
|
+
<xsl:choose>
|
1064
|
+
<xsl:when test='self::abstract |
|
1065
|
+
self::ackno |
|
1066
|
+
self::address |
|
1067
|
+
self::answer |
|
1068
|
+
self::appendix |
|
1069
|
+
self::artheader |
|
1070
|
+
self::authorgroup |
|
1071
|
+
self::bibliodiv |
|
1072
|
+
self::biblioentry |
|
1073
|
+
self::bibliography |
|
1074
|
+
self::bibliomixed |
|
1075
|
+
self::bibliomset |
|
1076
|
+
self::biblioset |
|
1077
|
+
self::bridgehead |
|
1078
|
+
self::calloutlist |
|
1079
|
+
self::caption |
|
1080
|
+
self::classsynopsis |
|
1081
|
+
self::colophon |
|
1082
|
+
self::constraintdef |
|
1083
|
+
self::copyright |
|
1084
|
+
self::dedication |
|
1085
|
+
self::epigraph |
|
1086
|
+
self::equation |
|
1087
|
+
self::example |
|
1088
|
+
self::figure |
|
1089
|
+
self::funcsynopsis |
|
1090
|
+
self::glossary |
|
1091
|
+
self::glossdef |
|
1092
|
+
self::glossdiv |
|
1093
|
+
self::glossentry |
|
1094
|
+
self::glosslist |
|
1095
|
+
self::graphic |
|
1096
|
+
self::highlights |
|
1097
|
+
self::imageobject |
|
1098
|
+
self::imageobjectco |
|
1099
|
+
self::index |
|
1100
|
+
self::indexdiv |
|
1101
|
+
self::indexentry |
|
1102
|
+
self::informalequation |
|
1103
|
+
self::informalexample |
|
1104
|
+
self::informalfigure |
|
1105
|
+
self::lot |
|
1106
|
+
self::lotentry |
|
1107
|
+
self::mediaobject |
|
1108
|
+
self::mediaobjectco |
|
1109
|
+
self::member |
|
1110
|
+
self::msgentry |
|
1111
|
+
self::msgset |
|
1112
|
+
self::part |
|
1113
|
+
self::partintro |
|
1114
|
+
self::personblurb |
|
1115
|
+
self::preface |
|
1116
|
+
self::printhistory |
|
1117
|
+
self::procedure |
|
1118
|
+
self::programlisting |
|
1119
|
+
self::programlistingco |
|
1120
|
+
self::publisher |
|
1121
|
+
self::qandadiv |
|
1122
|
+
self::qandaentry |
|
1123
|
+
self::qandaset |
|
1124
|
+
self::question |
|
1125
|
+
self::refdescriptor |
|
1126
|
+
self::refentry |
|
1127
|
+
self::refentrytitle |
|
1128
|
+
self::reference |
|
1129
|
+
self::refmeta |
|
1130
|
+
self::refname |
|
1131
|
+
self::refnamediv |
|
1132
|
+
self::refpurpose |
|
1133
|
+
self::refsect1 |
|
1134
|
+
self::refsect2 |
|
1135
|
+
self::refsect3 |
|
1136
|
+
self::refsection |
|
1137
|
+
self::refsynopsisdiv |
|
1138
|
+
self::screen |
|
1139
|
+
self::screenco |
|
1140
|
+
self::screenshot |
|
1141
|
+
self::seg |
|
1142
|
+
self::seglistitem |
|
1143
|
+
self::segmentedlist |
|
1144
|
+
self::segtitle |
|
1145
|
+
self::set |
|
1146
|
+
self::setindex |
|
1147
|
+
self::sidebar |
|
1148
|
+
self::simplelist |
|
1149
|
+
self::simplemsgentry |
|
1150
|
+
self::step |
|
1151
|
+
self::stepalternatives |
|
1152
|
+
self::subjectset |
|
1153
|
+
self::substeps |
|
1154
|
+
self::task |
|
1155
|
+
self::textobject |
|
1156
|
+
self::toc |
|
1157
|
+
self::videodata |
|
1158
|
+
self::videoobject |
|
1159
|
+
|
1160
|
+
self::doc:abstract |
|
1161
|
+
self::doc:ackno |
|
1162
|
+
self::doc:address |
|
1163
|
+
self::doc:answer |
|
1164
|
+
self::doc:appendix |
|
1165
|
+
self::doc:artheader |
|
1166
|
+
self::doc:authorgroup |
|
1167
|
+
self::doc:bibliodiv |
|
1168
|
+
self::doc:biblioentry |
|
1169
|
+
self::doc:bibliography |
|
1170
|
+
self::doc:bibliomixed |
|
1171
|
+
self::doc:bibliomset |
|
1172
|
+
self::doc:biblioset |
|
1173
|
+
self::doc:bridgehead |
|
1174
|
+
self::doc:calloutlist |
|
1175
|
+
self::doc:caption |
|
1176
|
+
self::doc:classsynopsis |
|
1177
|
+
self::doc:colophon |
|
1178
|
+
self::doc:constraintdef |
|
1179
|
+
self::doc:copyright |
|
1180
|
+
self::doc:dedication |
|
1181
|
+
self::doc:epigraph |
|
1182
|
+
self::doc:equation |
|
1183
|
+
self::doc:example |
|
1184
|
+
self::doc:figure |
|
1185
|
+
self::doc:funcsynopsis |
|
1186
|
+
self::doc:glossary |
|
1187
|
+
self::doc:glossdef |
|
1188
|
+
self::doc:glossdiv |
|
1189
|
+
self::doc:glossentry |
|
1190
|
+
self::doc:glosslist |
|
1191
|
+
self::doc:graphic |
|
1192
|
+
self::doc:highlights |
|
1193
|
+
self::doc:imageobject |
|
1194
|
+
self::doc:imageobjectco |
|
1195
|
+
self::doc:index |
|
1196
|
+
self::doc:indexdiv |
|
1197
|
+
self::doc:indexentry |
|
1198
|
+
self::doc:informalequation |
|
1199
|
+
self::doc:informalexample |
|
1200
|
+
self::doc:informalfigure |
|
1201
|
+
self::doc:lot |
|
1202
|
+
self::doc:lotentry |
|
1203
|
+
self::doc:mediaobject |
|
1204
|
+
self::doc:mediaobjectco |
|
1205
|
+
self::doc:member |
|
1206
|
+
self::doc:msgentry |
|
1207
|
+
self::doc:msgset |
|
1208
|
+
self::doc:part |
|
1209
|
+
self::doc:partintro |
|
1210
|
+
self::doc:personblurb |
|
1211
|
+
self::doc:preface |
|
1212
|
+
self::doc:printhistory |
|
1213
|
+
self::doc:procedure |
|
1214
|
+
self::doc:programlisting |
|
1215
|
+
self::doc:programlistingco |
|
1216
|
+
self::doc:publisher |
|
1217
|
+
self::doc:qandadiv |
|
1218
|
+
self::doc:qandaentry |
|
1219
|
+
self::doc:qandaset |
|
1220
|
+
self::doc:question |
|
1221
|
+
self::doc:refdescriptor |
|
1222
|
+
self::doc:refentry |
|
1223
|
+
self::doc:refentrytitle |
|
1224
|
+
self::doc:reference |
|
1225
|
+
self::doc:refmeta |
|
1226
|
+
self::doc:refname |
|
1227
|
+
self::doc:refnamediv |
|
1228
|
+
self::doc:refpurpose |
|
1229
|
+
self::doc:refsect1 |
|
1230
|
+
self::doc:refsect2 |
|
1231
|
+
self::doc:refsect3 |
|
1232
|
+
self::doc:refsection |
|
1233
|
+
self::doc:refsynopsisdiv |
|
1234
|
+
self::doc:screen |
|
1235
|
+
self::doc:screenco |
|
1236
|
+
self::doc:screenshot |
|
1237
|
+
self::doc:seg |
|
1238
|
+
self::doc:seglistitem |
|
1239
|
+
self::doc:segmentedlist |
|
1240
|
+
self::doc:segtitle |
|
1241
|
+
self::doc:set |
|
1242
|
+
self::doc:setindex |
|
1243
|
+
self::doc:sidebar |
|
1244
|
+
self::doc:simplelist |
|
1245
|
+
self::doc:simplemsgentry |
|
1246
|
+
self::doc:step |
|
1247
|
+
self::doc:stepalternatives |
|
1248
|
+
self::doc:subjectset |
|
1249
|
+
self::doc:substeps |
|
1250
|
+
self::doc:task |
|
1251
|
+
self::doc:textobject |
|
1252
|
+
self::doc:toc |
|
1253
|
+
self::doc:videodata |
|
1254
|
+
self::doc:videoobject |
|
1255
|
+
|
1256
|
+
self::*[not(starts-with(local-name(), "informal")) and contains(local-name(), "info")]'>
|
1257
|
+
<xsl:call-template name='doc:make-paragraph'>
|
1258
|
+
<xsl:with-param name='style' select='"blockerror"'/>
|
1259
|
+
<xsl:with-param name='content'>
|
1260
|
+
<xsl:call-template name='doc:make-phrase'>
|
1261
|
+
<xsl:with-param name='content'>
|
1262
|
+
<xsl:value-of select='local-name()'/>
|
1263
|
+
<xsl:if test='namespace-uri() != ""'>
|
1264
|
+
<xsl:text> [</xsl:text>
|
1265
|
+
<xsl:value-of select='namespace-uri()'/>
|
1266
|
+
<xsl:text>]</xsl:text>
|
1267
|
+
</xsl:if>
|
1268
|
+
<xsl:text> encountered</xsl:text>
|
1269
|
+
<xsl:if test='parent::*'>
|
1270
|
+
<xsl:text> in </xsl:text>
|
1271
|
+
<xsl:value-of select='local-name(parent::*)'/>
|
1272
|
+
</xsl:if>
|
1273
|
+
<xsl:text>, but no template matches.</xsl:text>
|
1274
|
+
</xsl:with-param>
|
1275
|
+
</xsl:call-template>
|
1276
|
+
</xsl:with-param>
|
1277
|
+
</xsl:call-template>
|
1278
|
+
</xsl:when>
|
1279
|
+
<!-- Some elements are sometimes blocks, sometimes inline
|
1280
|
+
<xsl:when test='self::affiliation |
|
1281
|
+
self::alt |
|
1282
|
+
self::attribution |
|
1283
|
+
self::collab |
|
1284
|
+
self::collabname |
|
1285
|
+
self::confdates |
|
1286
|
+
self::confgroup |
|
1287
|
+
self::confnum |
|
1288
|
+
self::confsponsor |
|
1289
|
+
self::conftitle |
|
1290
|
+
self::contractnum |
|
1291
|
+
self::contractsponsor |
|
1292
|
+
self::contrib |
|
1293
|
+
self::corpauthor |
|
1294
|
+
self::corpcredit |
|
1295
|
+
self::corpname |
|
1296
|
+
self::edition |
|
1297
|
+
self::editor |
|
1298
|
+
self::jobtitle |
|
1299
|
+
self::personname |
|
1300
|
+
self::publishername |
|
1301
|
+
self::remark |
|
1302
|
+
|
1303
|
+
self::doc:affiliation |
|
1304
|
+
self::doc:alt |
|
1305
|
+
self::doc:attribution |
|
1306
|
+
self::doc:collab |
|
1307
|
+
self::doc:collabname |
|
1308
|
+
self::doc:confdates |
|
1309
|
+
self::doc:confgroup |
|
1310
|
+
self::doc:confnum |
|
1311
|
+
self::doc:confsponsor |
|
1312
|
+
self::doc:conftitle |
|
1313
|
+
self::doc:contractnum |
|
1314
|
+
self::doc:contractsponsor |
|
1315
|
+
self::doc:contrib |
|
1316
|
+
self::doc:corpauthor |
|
1317
|
+
self::doc:corpcredit |
|
1318
|
+
self::doc:corpname |
|
1319
|
+
self::doc:edition |
|
1320
|
+
self::doc:editor |
|
1321
|
+
self::doc:jobtitle |
|
1322
|
+
self::doc:personname |
|
1323
|
+
self::doc:publishername |
|
1324
|
+
self::doc:remark'>
|
1325
|
+
|
1326
|
+
</xsl:when>
|
1327
|
+
-->
|
1328
|
+
<xsl:otherwise>
|
1329
|
+
<xsl:call-template name='doc:make-phrase'>
|
1330
|
+
<xsl:with-param name='style' select='"inlineerror"'/>
|
1331
|
+
<xsl:with-param name='content'>
|
1332
|
+
<xsl:value-of select='local-name()'/>
|
1333
|
+
<xsl:text> encountered</xsl:text>
|
1334
|
+
<xsl:if test='parent::*'>
|
1335
|
+
<xsl:text> in </xsl:text>
|
1336
|
+
<xsl:value-of select='local-name(parent::*)'/>
|
1337
|
+
</xsl:if>
|
1338
|
+
<xsl:text>, but no template matches.</xsl:text>
|
1339
|
+
</xsl:with-param>
|
1340
|
+
</xsl:call-template>
|
1341
|
+
</xsl:otherwise>
|
1342
|
+
</xsl:choose>
|
1343
|
+
</xsl:for-each>
|
1344
|
+
</xsl:template>
|
1345
|
+
|
1346
|
+
<xsl:template match='*' mode='doc:copy'>
|
1347
|
+
<xsl:copy>
|
1348
|
+
<xsl:apply-templates select='@*' mode='doc:copy'/>
|
1349
|
+
<xsl:apply-templates mode='doc:copy'/>
|
1350
|
+
</xsl:copy>
|
1351
|
+
</xsl:template>
|
1352
|
+
<xsl:template match='@*' mode='doc:copy'>
|
1353
|
+
<xsl:copy/>
|
1354
|
+
</xsl:template>
|
1355
|
+
|
1356
|
+
<!-- Stubs: the importing stylesheet must override these -->
|
1357
|
+
|
1358
|
+
<!-- stub template for creating a paragraph -->
|
1359
|
+
<xsl:template name='doc:make-paragraph'>
|
1360
|
+
</xsl:template>
|
1361
|
+
<!-- stub template for creating a phrase -->
|
1362
|
+
<xsl:template name='doc:make-phrase'>
|
1363
|
+
</xsl:template>
|
1364
|
+
|
1365
|
+
<!-- stub template for inserting attributes -->
|
1366
|
+
<xsl:template name='doc:attributes'/>
|
1367
|
+
|
1368
|
+
<!-- emit a message -->
|
1369
|
+
<xsl:template name='doc:warning'>
|
1370
|
+
<xsl:param name='message'/>
|
1371
|
+
|
1372
|
+
<xsl:message>WARNING: <xsl:value-of select='$message'/></xsl:message>
|
1373
|
+
</xsl:template>
|
1374
|
+
|
1375
|
+
</xsl:stylesheet>
|