From: Jirka Kosek Date: Thu, 13 Jun 2002 16:01:41 +0000 (+0000) Subject: New features. A lot of new features. For HTML Help. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07aeb5b887631d2e0a9d66f1630a2c8edf57c84c;p=docbook-dsssl New features. A lot of new features. For HTML Help. --- diff --git a/xsl/html/Makefile.param b/xsl/html/Makefile.param index 6a372a6c3..22f5623b9 100644 --- a/xsl/html/Makefile.param +++ b/xsl/html/Makefile.param @@ -26,9 +26,17 @@ PARAMS=../params/admon.graphics.xml \ ../params/chunk.quietly.xml \ ../params/chunk.section.depth.xml \ ../params/chunk.toc.xml \ + ../params/chunker.output.cdata-section-elements.xml \ + ../params/chunker.output.doctype-public.xml \ + ../params/chunker.output.doctype-system.xml \ + ../params/chunker.output.encoding.xml \ + ../params/chunker.output.indent.xml \ + ../params/chunker.output.media-type.xml \ + ../params/chunker.output.method.xml \ + ../params/chunker.output.omit-xml-declaration.xml \ + ../params/chunker.output.standalone.xml \ ../params/citerefentry.link.xml \ ../params/css.decoration.xml \ - ../params/default.encoding.xml \ ../params/default.table.width.xml \ ../params/draft.watermark.image.xml \ ../params/ebnf.table.bgcolor.xml \ @@ -36,31 +44,24 @@ PARAMS=../params/admon.graphics.xml \ ../params/emphasis.propagates.style.xml \ ../params/firstterm.only.link.xml \ ../params/formal.procedures.xml \ + ../params/formal.title.placement.xml \ ../params/funcsynopsis.decoration.xml \ ../params/funcsynopsis.style.xml \ ../params/function.parens.xml \ - ../params/generate.appendix.toc.xml \ - ../params/generate.article.toc.xml \ - ../params/generate.book.toc.xml \ - ../params/generate.chapter.toc.xml \ - ../params/generate.component.toc.xml \ - ../params/generate.division.toc.xml \ + ../params/generate.id.attributes.xml \ ../params/generate.index.xml \ ../params/generate.legalnotice.link.xml \ - ../params/generate.part.toc.xml \ - ../params/generate.preface.toc.xml \ - ../params/generate.qandadiv.toc.xml \ - ../params/generate.qandaset.toc.xml \ - ../params/generate.reference.toc.xml \ - ../params/generate.section.toc.xml \ + ../params/generate.manifest.xml \ + ../params/generate.meta.abstract.xml \ ../params/generate.section.toc.level.xml \ - ../params/generate.set.toc.xml \ + ../params/generate.toc.xml \ ../params/glossary.collection.xml \ ../params/glossterm.auto.link.xml \ ../params/graphic.default.extension.xml \ ../params/html.base.xml \ ../params/html.cleanup.xml \ ../params/html.ext.xml \ + ../params/html.extra.head.links.xml \ ../params/html.longdesc.xml \ ../params/html.longdesc.link.xml \ ../params/html.stylesheet.xml \ @@ -73,13 +74,38 @@ PARAMS=../params/admon.graphics.xml \ ../params/htmlhelp.enumerate.images.xml \ ../params/htmlhelp.force.map.and.alias.xml \ ../params/htmlhelp.hhc.xml \ + ../params/htmlhelp.hhc.binary.xml \ ../params/htmlhelp.hhc.folders.instead.books.xml \ ../params/htmlhelp.hhc.section.depth.xml \ ../params/htmlhelp.hhc.show.root.xml \ + ../params/htmlhelp.hhk.xml \ ../params/htmlhelp.hhp.xml \ ../params/htmlhelp.hhp.tail.xml \ + ../params/htmlhelp.hhp.window.xml \ ../params/htmlhelp.map.file.xml \ ../params/htmlhelp.title.xml \ + ../params/htmlhelp.show.menu.xml \ + ../params/htmlhelp.show.advanced.search.xml \ + ../params/htmlhelp.show.favorities.xml \ + ../params/htmlhelp.button.hideshow.xml \ + ../params/htmlhelp.button.back.xml \ + ../params/htmlhelp.button.forward.xml \ + ../params/htmlhelp.button.stop.xml \ + ../params/htmlhelp.button.refresh.xml \ + ../params/htmlhelp.button.home.xml \ + ../params/htmlhelp.button.home.url.xml \ + ../params/htmlhelp.button.options.xml \ + ../params/htmlhelp.button.print.xml \ + ../params/htmlhelp.button.locate.xml \ + ../params/htmlhelp.button.jump1.xml \ + ../params/htmlhelp.button.jump1.url.xml \ + ../params/htmlhelp.button.jump1.title.xml \ + ../params/htmlhelp.button.jump2.xml \ + ../params/htmlhelp.button.jump2.url.xml \ + ../params/htmlhelp.button.jump2.title.xml \ + ../params/htmlhelp.button.next.xml \ + ../params/htmlhelp.button.prev.xml \ + ../params/htmlhelp.button.zoom.xml \ ../params/inherit.keywords.xml \ ../params/label.from.part.xml \ ../params/linenumbering.everyNth.xml \ @@ -87,28 +113,33 @@ PARAMS=../params/admon.graphics.xml \ ../params/linenumbering.separator.xml \ ../params/linenumbering.width.xml \ ../params/link.mailto.url.xml \ - ../params/make.valid.html.xml \ + ../params/make.graphic.viewport.xml \ ../params/make.single.year.ranges.xml \ + ../params/make.valid.html.xml \ ../params/make.year.ranges.xml \ + ../params/manifest.xml \ ../params/manual.toc.xml \ ../params/navig.graphics.xml \ ../params/navig.graphics.extension.xml \ ../params/navig.graphics.path.xml \ ../params/navig.showtitles.xml \ + ../params/nominal.image.depth.xml \ + ../params/nominal.image.width.xml \ ../params/nominal.table.width.xml \ ../params/olink.fragid.xml \ ../params/olink.outline.ext.xml \ ../params/olink.pubid.xml \ ../params/olink.resolver.xml \ ../params/olink.sysid.xml \ - ../params/output.method.xml \ ../params/part.autolabel.xml \ ../params/phrase.propagates.style.xml \ ../params/pixels.per.inch.xml \ + ../params/points.per.em.xml \ ../params/preface.autolabel.xml \ ../params/process.empty.source.toc.xml \ ../params/process.source.toc.xml \ ../params/profile.arch.xml \ + ../params/profile.attribute.xml \ ../params/profile.condition.xml \ ../params/profile.conformance.xml \ ../params/profile.lang.xml \ @@ -117,11 +148,10 @@ PARAMS=../params/admon.graphics.xml \ ../params/profile.revisionflag.xml \ ../params/profile.role.xml \ ../params/profile.security.xml \ + ../params/profile.separator.xml \ ../params/profile.userlevel.xml \ - ../params/profile.vendor.xml \ - ../params/profile.attribute.xml \ ../params/profile.value.xml \ - ../params/profile.separator.xml \ + ../params/profile.vendor.xml \ ../params/punct.honorific.xml \ ../params/qanda.defaultlabel.xml \ ../params/qanda.inherit.numeration.xml \ @@ -144,19 +174,23 @@ PARAMS=../params/admon.graphics.xml \ ../params/show.revisionflag.xml \ ../params/spacing.paras.xml \ ../params/suppress.navigation.xml \ + ../params/suppress.header.navigation.xml \ + ../params/suppress.footer.navigation.xml \ ../params/table.border.color.xml \ ../params/table.border.style.xml \ ../params/table.border.thickness.xml \ ../params/table.borders.with.css.xml \ ../params/tablecolumns.extension.xml \ - ../params/textinsert.extension.xml \ ../params/tex.math.delims.xml \ - ../params/tex.math.in.alt.xml \ ../params/tex.math.file.xml \ + ../params/tex.math.in.alt.xml \ + ../params/textinsert.extension.xml \ ../params/toc.list.type.xml \ ../params/toc.section.depth.xml \ ../params/ulink.target.xml \ + ../params/use.embed.for.svg.xml \ ../params/use.extensions.xml \ ../params/use.id.as.filename.xml \ - ../params/using.chunker.xml \ + ../params/use.role.as.xrefstyle.xml \ + ../params/use.svg.xml \ ../params/variablelist.as.table.xml diff --git a/xsl/html/param.ent b/xsl/html/param.ent index 144148175..d2ea01725 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -74,13 +74,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index 22da79bd5..ac36602ad 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -291,7 +291,9 @@ url="http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html">http: &htmlhelp.default.topic; &htmlhelp.hhp; &htmlhelp.hhc; +&htmlhelp.hhk; &htmlhelp.hhp.tail; +&htmlhelp.hhp.window; &htmlhelp.enumerate.images; &htmlhelp.force.map.and.alias; &htmlhelp.map.file; @@ -299,7 +301,30 @@ url="http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html">http: &htmlhelp.hhc.section.depth; &htmlhelp.hhc.show.root; &htmlhelp.hhc.folders.instead.books; +&htmlhelp.hhc.binary; &htmlhelp.title; +&htmlhelp.show.menu; +&htmlhelp.show.advanced.search; +&htmlhelp.show.favorities; +&htmlhelp.button.hideshow; +&htmlhelp.button.back; +&htmlhelp.button.forward; +&htmlhelp.button.stop; +&htmlhelp.button.refresh; +&htmlhelp.button.home; +&htmlhelp.button.home.url; +&htmlhelp.button.options; +&htmlhelp.button.print; +&htmlhelp.button.locate; +&htmlhelp.button.jump1; +&htmlhelp.button.jump1.url; +&htmlhelp.button.jump1.title; +&htmlhelp.button.jump2; +&htmlhelp.button.jump2.url; +&htmlhelp.button.jump2.title; +&htmlhelp.button.next; +&htmlhelp.button.prev; +&htmlhelp.button.zoom; The Stylesheet @@ -395,10 +420,35 @@ around all these parameters. + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/htmlhelp/htmlhelp-common.xsl b/xsl/htmlhelp/htmlhelp-common.xsl index 0f61ebe9f..a86b70bee 100644 --- a/xsl/htmlhelp/htmlhelp-common.xsl +++ b/xsl/htmlhelp/htmlhelp-common.xsl @@ -3,8 +3,9 @@ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:exsl="http://exslt.org/common" xmlns:set="http://exslt.org/sets" + xmlns:h="urn:x-hex" version="1.0" - exclude-result-prefixes="doc exsl set"> + exclude-result-prefixes="doc exsl set h"> + + + + @@ -46,6 +51,9 @@ + + + @@ -63,39 +71,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + 0x + + + + + + 0x + + + + [OPTIONS] - + Auto Index=Yes + +Binary TOC=Yes + Compatibility=1.1 or later Compiled file= Contents file= -Default topic= - - - - - - - - - - - - - - - - - - - - + + +Default Window= + +Default topic= Display compile progress=No Full-text search=Yes -Language= + + +Index file= + +Language= @@ -120,6 +168,59 @@ Title= + + + +[WINDOWS] + + +=," +", + + " + + " + +," + +", + + " + + " + +, + + " + + " + +, + + " + + " + +, + + " + + " + +, + + " + + " + +, + +,, + +,,,,,,,,0 + + + [FILES] @@ -703,6 +804,23 @@ Title= + + + + + + + + +
    +
+]]>
+ +
+
+ + + @@ -796,4 +914,38 @@ Title= + + + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + A + B + C + D + E + F + + + + + + + + + + + + + + diff --git a/xsl/params/htmlhelp.button.back.xml b/xsl/params/htmlhelp.button.back.xml new file mode 100644 index 000000000..99f2dc606 --- /dev/null +++ b/xsl/params/htmlhelp.button.back.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.back +boolean + + +htmlhelp.button.back +Should be Back button shown? + + + + + + + + +Description + +If you want Back button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.forward.xml b/xsl/params/htmlhelp.button.forward.xml new file mode 100644 index 000000000..c4e699a38 --- /dev/null +++ b/xsl/params/htmlhelp.button.forward.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.forward +boolean + + +htmlhelp.button.forward +Should be Forward button shown? + + + + + + + + +Description + +If you want Forward button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.hideshow.xml b/xsl/params/htmlhelp.button.hideshow.xml new file mode 100644 index 000000000..118d3754c --- /dev/null +++ b/xsl/params/htmlhelp.button.hideshow.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.hideshow +boolean + + +htmlhelp.button.hideshow +Should be Hide/Show button shown? + + + + + + + + +Description + +If you want Hide/Show button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.home.url.xml b/xsl/params/htmlhelp.button.home.url.xml new file mode 100644 index 000000000..5d19ff747 --- /dev/null +++ b/xsl/params/htmlhelp.button.home.url.xml @@ -0,0 +1,22 @@ + + +htmlhelp.button.home.url +string + + +htmlhelp.button.home.url +URL address of page accessible by Home button + + + + + + + + +Description + +URL address of page accessible by Home button. + + + diff --git a/xsl/params/htmlhelp.button.home.xml b/xsl/params/htmlhelp.button.home.xml new file mode 100644 index 000000000..ab7c6f292 --- /dev/null +++ b/xsl/params/htmlhelp.button.home.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.home +boolean + + +htmlhelp.button.home +Should be Home button shown? + + + + + + + + +Description + +If you want Home button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.jump1.title.xml b/xsl/params/htmlhelp.button.jump1.title.xml new file mode 100644 index 000000000..ddcc65cfd --- /dev/null +++ b/xsl/params/htmlhelp.button.jump1.title.xml @@ -0,0 +1,22 @@ + + +htmlhelp.button.jump1.title +string + + +htmlhelp.button.jump1.title +Title of Jump1 button + + + + + + + + +Description + +Title of Jump1 button. + + + diff --git a/xsl/params/htmlhelp.button.jump1.url.xml b/xsl/params/htmlhelp.button.jump1.url.xml new file mode 100644 index 000000000..f800538c8 --- /dev/null +++ b/xsl/params/htmlhelp.button.jump1.url.xml @@ -0,0 +1,22 @@ + + +htmlhelp.button.jump1.url +string + + +htmlhelp.button.jump1.url +URL address of page accessible by Jump1 button + + + + + + + + +Description + +URL address of page accessible by Jump1 button. + + + diff --git a/xsl/params/htmlhelp.button.jump1.xml b/xsl/params/htmlhelp.button.jump1.xml new file mode 100644 index 000000000..a578dd675 --- /dev/null +++ b/xsl/params/htmlhelp.button.jump1.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.jump1 +boolean + + +htmlhelp.button.jump1 +Should be Jump1 button shown? + + + + + + + + +Description + +If you want Jump1 button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.jump2.title.xml b/xsl/params/htmlhelp.button.jump2.title.xml new file mode 100644 index 000000000..05a1c2992 --- /dev/null +++ b/xsl/params/htmlhelp.button.jump2.title.xml @@ -0,0 +1,22 @@ + + +htmlhelp.button.jump2.title +string + + +htmlhelp.button.jump2.title +Title of Jump2 button + + + + + + + + +Description + +Title of Jump2 button. + + + diff --git a/xsl/params/htmlhelp.button.jump2.url.xml b/xsl/params/htmlhelp.button.jump2.url.xml new file mode 100644 index 000000000..492b52b2e --- /dev/null +++ b/xsl/params/htmlhelp.button.jump2.url.xml @@ -0,0 +1,22 @@ + + +htmlhelp.button.jump2.url +string + + +htmlhelp.button.jump2.url +URL address of page accessible by Jump2 button + + + + + + + + +Description + +URL address of page accessible by Jump2 button. + + + diff --git a/xsl/params/htmlhelp.button.jump2.xml b/xsl/params/htmlhelp.button.jump2.xml new file mode 100644 index 000000000..3d89acf70 --- /dev/null +++ b/xsl/params/htmlhelp.button.jump2.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.jump2 +boolean + + +htmlhelp.button.jump2 +Should be Jump2 button shown? + + + + + + + + +Description + +If you want Jump2 button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.locate.xml b/xsl/params/htmlhelp.button.locate.xml new file mode 100644 index 000000000..ffa89cda8 --- /dev/null +++ b/xsl/params/htmlhelp.button.locate.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.locate +boolean + + +htmlhelp.button.locate +Should be Locate button shown? + + + + + + + + +Description + +If you want Locate button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.next.xml b/xsl/params/htmlhelp.button.next.xml new file mode 100644 index 000000000..aa7552d5f --- /dev/null +++ b/xsl/params/htmlhelp.button.next.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.next +boolean + + +htmlhelp.button.next +Should be Next button shown? + + + + + + + + +Description + +If you want Next button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.options.xml b/xsl/params/htmlhelp.button.options.xml new file mode 100644 index 000000000..70ca16b2d --- /dev/null +++ b/xsl/params/htmlhelp.button.options.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.options +boolean + + +htmlhelp.button.options +Should be Options button shown? + + + + + + + + +Description + +If you want Options button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.prev.xml b/xsl/params/htmlhelp.button.prev.xml new file mode 100644 index 000000000..f47a78a9a --- /dev/null +++ b/xsl/params/htmlhelp.button.prev.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.prev +boolean + + +htmlhelp.button.prev +Should be Prev button shown? + + + + + + + + +Description + +If you want Prev button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.print.xml b/xsl/params/htmlhelp.button.print.xml new file mode 100644 index 000000000..58eb7cf0b --- /dev/null +++ b/xsl/params/htmlhelp.button.print.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.print +boolean + + +htmlhelp.button.print +Should be Print button shown? + + + + + + + + +Description + +If you want Print button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.refresh.xml b/xsl/params/htmlhelp.button.refresh.xml new file mode 100644 index 000000000..9a9e14037 --- /dev/null +++ b/xsl/params/htmlhelp.button.refresh.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.refresh +boolean + + +htmlhelp.button.refresh +Should be Refresh button shown? + + + + + + + + +Description + +If you want Refresh button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.stop.xml b/xsl/params/htmlhelp.button.stop.xml new file mode 100644 index 000000000..5b88acb91 --- /dev/null +++ b/xsl/params/htmlhelp.button.stop.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.stop +boolean + + +htmlhelp.button.stop +Should be Stop button shown? + + + + + + + + +Description + +If you want Stop button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.button.zoom.xml b/xsl/params/htmlhelp.button.zoom.xml new file mode 100644 index 000000000..f6e4a18d0 --- /dev/null +++ b/xsl/params/htmlhelp.button.zoom.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.zoom +boolean + + +htmlhelp.button.zoom +Should be Zoom button shown? + + + + + + + + +Description + +If you want Zoom button shown on toolbar, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.hhc.binary.xml b/xsl/params/htmlhelp.hhc.binary.xml new file mode 100644 index 000000000..f4f2e15a0 --- /dev/null +++ b/xsl/params/htmlhelp.hhc.binary.xml @@ -0,0 +1,24 @@ + + +htmlhelp.hhc.binary + + + +htmlhelp.hhc.binary + + + + + + + + + +Description + +This parametr controls whether binary TOC will be generated. You +must create binary TOC if you want to add Prev/Next buttons to toolbar +(which is default behaviour). Files with binary TOC can't be merged. + + + diff --git a/xsl/params/htmlhelp.hhk.xml b/xsl/params/htmlhelp.hhk.xml new file mode 100644 index 000000000..49506a8ca --- /dev/null +++ b/xsl/params/htmlhelp.hhk.xml @@ -0,0 +1,23 @@ + + +htmlhelp.hhk +string + + +htmlhelp.hhk +Filename of index file. + + + + + + + + +Description + +Change this parameter if you want different name of index file +than index.hhk. + + + diff --git a/xsl/params/htmlhelp.hhp.window.xml b/xsl/params/htmlhelp.hhp.window.xml new file mode 100644 index 000000000..7ba52966d --- /dev/null +++ b/xsl/params/htmlhelp.hhp.window.xml @@ -0,0 +1,23 @@ + + +htmlhelp.hhp.window +string + + +htmlhelp.hhp.window +Name of default window. + + + + + + + + +Description + +Name of default window. If empty no [WINDOWS] section will be +added to project file. + + + diff --git a/xsl/params/htmlhelp.show.advanced.search.xml b/xsl/params/htmlhelp.show.advanced.search.xml new file mode 100644 index 000000000..85e4c4da3 --- /dev/null +++ b/xsl/params/htmlhelp.show.advanced.search.xml @@ -0,0 +1,23 @@ + + +htmlhelp.show.advanced.search +boolean + + +htmlhelp.show.advanced.search +Should be advanced search available? + + + + + + + + +Description + +If you want advanced search features in your help, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.show.favorities.xml b/xsl/params/htmlhelp.show.favorities.xml new file mode 100644 index 000000000..c1811d11d --- /dev/null +++ b/xsl/params/htmlhelp.show.favorities.xml @@ -0,0 +1,23 @@ + + +htmlhelp.show.favorities +boolean + + +htmlhelp.show.favorities +Should be favorities tab shown? + + + + + + + + +Description + +If you want favorities tab shown in your help, turn this +parameter to 1. + + + diff --git a/xsl/params/htmlhelp.show.menu.xml b/xsl/params/htmlhelp.show.menu.xml new file mode 100644 index 000000000..0fad24e42 --- /dev/null +++ b/xsl/params/htmlhelp.show.menu.xml @@ -0,0 +1,23 @@ + + +htmlhelp.show.menu +boolean + + +htmlhelp.show.menu +Should be menu shown? + + + + + + + + +Description + +If you want application menu in your HTML Help file, turn this +parameter to 1. + + +