]> granicus.if.org Git - docbook-dsssl/commitdiff
New features. A lot of new features. For HTML Help.
authorJirka Kosek <jirka@kosek.cz>
Thu, 13 Jun 2002 16:01:41 +0000 (16:01 +0000)
committerJirka Kosek <jirka@kosek.cz>
Thu, 13 Jun 2002 16:01:41 +0000 (16:01 +0000)
29 files changed:
xsl/html/Makefile.param
xsl/html/param.ent
xsl/html/param.xweb
xsl/htmlhelp/htmlhelp-common.xsl
xsl/params/htmlhelp.button.back.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.forward.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.hideshow.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.home.url.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.home.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.jump1.title.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.jump1.url.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.jump1.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.jump2.title.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.jump2.url.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.jump2.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.locate.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.next.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.options.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.prev.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.print.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.refresh.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.stop.xml [new file with mode: 0644]
xsl/params/htmlhelp.button.zoom.xml [new file with mode: 0644]
xsl/params/htmlhelp.hhc.binary.xml [new file with mode: 0644]
xsl/params/htmlhelp.hhk.xml [new file with mode: 0644]
xsl/params/htmlhelp.hhp.window.xml [new file with mode: 0644]
xsl/params/htmlhelp.show.advanced.search.xml [new file with mode: 0644]
xsl/params/htmlhelp.show.favorities.xml [new file with mode: 0644]
xsl/params/htmlhelp.show.menu.xml [new file with mode: 0644]

index 6a372a6c3918d78f35527a939827bf2f2e208f23..22f5623b99086543c0c06e682b6b4bae29e278cf 100644 (file)
@@ -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
index 14414817572f69e80260eb8064ca8acc9be3764e..d2ea01725f005f5b7af81252375b67e156be3419 100644 (file)
 <!ENTITY htmlhelp.enumerate.images SYSTEM "../params/htmlhelp.enumerate.images.xml">
 <!ENTITY htmlhelp.force.map.and.alias SYSTEM "../params/htmlhelp.force.map.and.alias.xml">
 <!ENTITY htmlhelp.hhc SYSTEM "../params/htmlhelp.hhc.xml">
+<!ENTITY htmlhelp.hhc.binary SYSTEM "../params/htmlhelp.hhc.binary.xml">
 <!ENTITY htmlhelp.hhc.folders.instead.books SYSTEM "../params/htmlhelp.hhc.folders.instead.books.xml">
 <!ENTITY htmlhelp.hhc.section.depth SYSTEM "../params/htmlhelp.hhc.section.depth.xml">
 <!ENTITY htmlhelp.hhc.show.root SYSTEM "../params/htmlhelp.hhc.show.root.xml">
+<!ENTITY htmlhelp.hhk SYSTEM "../params/htmlhelp.hhk.xml">
 <!ENTITY htmlhelp.hhp SYSTEM "../params/htmlhelp.hhp.xml">
 <!ENTITY htmlhelp.hhp.tail SYSTEM "../params/htmlhelp.hhp.tail.xml">
+<!ENTITY htmlhelp.hhp.window SYSTEM "../params/htmlhelp.hhp.window.xml">
 <!ENTITY htmlhelp.map.file SYSTEM "../params/htmlhelp.map.file.xml">
 <!ENTITY htmlhelp.title SYSTEM "../params/htmlhelp.title.xml">
+<!ENTITY htmlhelp.show.menu SYSTEM "../params/htmlhelp.show.menu.xml">
+<!ENTITY htmlhelp.show.advanced.search SYSTEM "../params/htmlhelp.show.advanced.search.xml">
+<!ENTITY htmlhelp.show.favorities SYSTEM "../params/htmlhelp.show.favorities.xml">
+<!ENTITY htmlhelp.button.hideshow SYSTEM "../params/htmlhelp.button.hideshow.xml">
+<!ENTITY htmlhelp.button.back SYSTEM "../params/htmlhelp.button.back.xml">
+<!ENTITY htmlhelp.button.forward SYSTEM "../params/htmlhelp.button.forward.xml">
+<!ENTITY htmlhelp.button.stop SYSTEM "../params/htmlhelp.button.stop.xml">
+<!ENTITY htmlhelp.button.refresh SYSTEM "../params/htmlhelp.button.refresh.xml">
+<!ENTITY htmlhelp.button.home SYSTEM "../params/htmlhelp.button.home.xml">
+<!ENTITY htmlhelp.button.home.url SYSTEM "../params/htmlhelp.button.home.url.xml">
+<!ENTITY htmlhelp.button.options SYSTEM "../params/htmlhelp.button.options.xml">
+<!ENTITY htmlhelp.button.print SYSTEM "../params/htmlhelp.button.print.xml">
+<!ENTITY htmlhelp.button.locate SYSTEM "../params/htmlhelp.button.locate.xml">
+<!ENTITY htmlhelp.button.jump1 SYSTEM "../params/htmlhelp.button.jump1.xml">
+<!ENTITY htmlhelp.button.jump1.url SYSTEM "../params/htmlhelp.button.jump1.url.xml">
+<!ENTITY htmlhelp.button.jump1.title SYSTEM "../params/htmlhelp.button.jump1.title.xml">
+<!ENTITY htmlhelp.button.jump2 SYSTEM "../params/htmlhelp.button.jump2.xml">
+<!ENTITY htmlhelp.button.jump2.url SYSTEM "../params/htmlhelp.button.jump2.url.xml">
+<!ENTITY htmlhelp.button.jump2.title SYSTEM "../params/htmlhelp.button.jump2.title.xml">
+<!ENTITY htmlhelp.button.next SYSTEM "../params/htmlhelp.button.next.xml">
+<!ENTITY htmlhelp.button.prev SYSTEM "../params/htmlhelp.button.prev.xml">
+<!ENTITY htmlhelp.button.zoom SYSTEM "../params/htmlhelp.button.zoom.xml">
 <!ENTITY inherit.keywords SYSTEM "../params/inherit.keywords.xml">
 <!ENTITY label.from.part SYSTEM "../params/label.from.part.xml">
 <!ENTITY linenumbering.everyNth SYSTEM "../params/linenumbering.everyNth.xml">
index 22da79bd5126160121fe1ec7a6ad2ae3001fc2bc..ac36602add723cf225981d0d1b05cc8af543f579 100644 (file)
@@ -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;
 </reference>
 
 <appendix><title>The Stylesheet</title>
@@ -395,10 +420,35 @@ around all these parameters.</para>
 <src:fragref linkend="htmlhelp.hhc.frag"/>
 <src:fragref linkend="htmlhelp.hhc.section.depth.frag"/>
 <src:fragref linkend="htmlhelp.hhc.show.root.frag"/>
+<src:fragref linkend="htmlhelp.hhc.binary.frag"/>
+<src:fragref linkend="htmlhelp.hhk.frag"/>
 <src:fragref linkend="htmlhelp.hhp.frag"/>
 <src:fragref linkend="htmlhelp.hhp.tail.frag"/>
+<src:fragref linkend="htmlhelp.hhp.window.frag"/>
 <src:fragref linkend="htmlhelp.map.file.frag"/>
 <src:fragref linkend="htmlhelp.title.frag"/>
+<src:fragref linkend="htmlhelp.show.menu.frag"/>
+<src:fragref linkend="htmlhelp.show.advanced.search.frag"/>
+<src:fragref linkend="htmlhelp.show.favorities.frag"/>
+<src:fragref linkend="htmlhelp.button.hideshow.frag"/>
+<src:fragref linkend="htmlhelp.button.back.frag"/>
+<src:fragref linkend="htmlhelp.button.forward.frag"/>
+<src:fragref linkend="htmlhelp.button.stop.frag"/>
+<src:fragref linkend="htmlhelp.button.refresh.frag"/>
+<src:fragref linkend="htmlhelp.button.home.frag"/>
+<src:fragref linkend="htmlhelp.button.home.url.frag"/>
+<src:fragref linkend="htmlhelp.button.options.frag"/>
+<src:fragref linkend="htmlhelp.button.print.frag"/>
+<src:fragref linkend="htmlhelp.button.locate.frag"/>
+<src:fragref linkend="htmlhelp.button.jump1.frag"/>
+<src:fragref linkend="htmlhelp.button.jump1.url.frag"/>
+<src:fragref linkend="htmlhelp.button.jump1.title.frag"/>
+<src:fragref linkend="htmlhelp.button.jump2.frag"/>
+<src:fragref linkend="htmlhelp.button.jump2.url.frag"/>
+<src:fragref linkend="htmlhelp.button.jump2.title.frag"/>
+<src:fragref linkend="htmlhelp.button.next.frag"/>
+<src:fragref linkend="htmlhelp.button.prev.frag"/>
+<src:fragref linkend="htmlhelp.button.zoom.frag"/>
 <src:fragref linkend="inherit.keywords.frag"/>
 <src:fragref linkend="label.from.part.frag"/>
 <src:fragref linkend="linenumbering.everyNth.frag"/>
index 0f61ebe9f8b09529a86b478112b34d3caf362daf..a86b70bee51bfb8d56f1d21b92a6448cba0acb2c 100644 (file)
@@ -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">
 
 <!-- ********************************************************************
      $Id$
 
 <!-- ==================================================================== -->
 
+<xsl:variable name="generate.index" select="//indexterm[1]"/>
+
+<!-- ==================================================================== -->
+
 <xsl:template match="/">
   <xsl:choose>
     <xsl:when test="$rootid != ''">
@@ -46,6 +51,9 @@
     <xsl:call-template name="hh-map"/>
     <xsl:call-template name="hh-alias"/>
   </xsl:if>
+  <xsl:if test="$generate.index">
+    <xsl:call-template name="hhk"/>
+  </xsl:if>
 </xsl:template>
 
 <!-- ==================================================================== -->
 
 <!-- ==================================================================== -->
 <xsl:template name="hhp-main">
+<xsl:variable name="default.topic">
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.default.topic != ''">
+      <xsl:value-of select="$htmlhelp.default.topic"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir" select="$base.dir"/>
+        <xsl:with-param name="base.name">
+          <xsl:choose>
+            <xsl:when test="$rootid != ''">
+              <xsl:apply-templates select="key('id',$rootid)" mode="chunk-filename"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="/" mode="chunk-filename"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:variable>
+<xsl:variable name="xnavigation">
+  <xsl:text>0x</xsl:text>
+  <xsl:call-template name="toHex">
+    <xsl:with-param name="n" select="9504 + $htmlhelp.show.menu * 65536
+                                          + $htmlhelp.show.advanced.search * 131072
+                                          + $htmlhelp.show.favorities * 4096"/>
+  </xsl:call-template>
+</xsl:variable>
+<xsl:variable name="xbuttons">
+  <xsl:text>0x</xsl:text>
+  <xsl:call-template name="toHex">
+    <xsl:with-param name="n" select="0 + $htmlhelp.button.hideshow * 2
+                                       + $htmlhelp.button.back * 4
+                                       + $htmlhelp.button.forward * 8
+                                       + $htmlhelp.button.stop * 16
+                                       + $htmlhelp.button.refresh * 32
+                                       + $htmlhelp.button.home * 64
+                                       + $htmlhelp.button.options * 4096
+                                       + $htmlhelp.button.print * 8192
+                                       + $htmlhelp.button.locate * 2048
+                                       + $htmlhelp.button.jump1 * 262144
+                                       + $htmlhelp.button.jump2 * 524288
+                                       + $htmlhelp.button.next * 2097152
+                                       + $htmlhelp.button.prev * 4194304
+                                       + $htmlhelp.button.zoom * 1048576"/>
+  </xsl:call-template>
+</xsl:variable>
 <xsl:text>[OPTIONS]
 </xsl:text>
-<xsl:if test="//indexterm">
+<xsl:if test="$generate.index">
 <xsl:text>Auto Index=Yes
 </xsl:text></xsl:if>
+<xsl:if test="$htmlhelp.hhc.binary != 0">
+<xsl:text>Binary TOC=Yes
+</xsl:text></xsl:if>
 <xsl:text>Compatibility=1.1 or later
 Compiled file=</xsl:text><xsl:value-of select="$htmlhelp.chm"/><xsl:text>
 Contents file=</xsl:text><xsl:value-of select="$htmlhelp.hhc"/><xsl:text>
-Default topic=</xsl:text>
-<xsl:choose>
-  <xsl:when test="$htmlhelp.default.topic != ''">
-    <xsl:value-of select="$htmlhelp.default.topic"/>
-  </xsl:when>
-  <xsl:otherwise>
-    <xsl:call-template name="make-relative-filename">
-      <xsl:with-param name="base.dir" select="$base.dir"/>
-      <xsl:with-param name="base.name">
-        <xsl:choose>
-          <xsl:when test="$rootid != ''">
-            <xsl:apply-templates select="key('id',$rootid)" mode="chunk-filename"/>
-          </xsl:when>
-          <xsl:otherwise>
-            <xsl:apply-templates select="/" mode="chunk-filename"/>
-          </xsl:otherwise>
-        </xsl:choose>
-      </xsl:with-param>
-    </xsl:call-template>
-  </xsl:otherwise>
-</xsl:choose>
+</xsl:text>
+<xsl:if test="$htmlhelp.hhp.window != ''">
+<xsl:text>Default Window=</xsl:text><xsl:value-of select="$htmlhelp.hhp.window"/><xsl:text>
+</xsl:text></xsl:if>
+<xsl:text>Default topic=</xsl:text><xsl:value-of select="$default.topic"/>
 <xsl:text>
 Display compile progress=No
 Full-text search=Yes
-Language=</xsl:text>
+</xsl:text>
+<xsl:if test="$generate.index">
+<xsl:text>Index file=</xsl:text><xsl:value-of select="$htmlhelp.hhk"/><xsl:text>
+</xsl:text></xsl:if>
+<xsl:text>Language=</xsl:text>
 <xsl:if test="//@lang">
   <xsl:variable name="lang" select="//@lang[1]"/>
   <xsl:value-of select="document('langcodes.xml')//gentext[@lang=string($lang)]"/>
@@ -120,6 +168,59 @@ Title=</xsl:text>
       <xsl:value-of select="$htmlhelp.title"/>
     </xsl:otherwise>
   </xsl:choose>
+
+<xsl:if test="$htmlhelp.hhp.window != ''">
+  <xsl:text>
+[WINDOWS]
+</xsl:text>
+<xsl:value-of select="$htmlhelp.hhp.window"/>
+<xsl:text>=,"</xsl:text><xsl:value-of select="$htmlhelp.hhc"/>
+<xsl:text>",</xsl:text>
+<xsl:if test="$generate.index">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.hhk"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,"</xsl:text>
+<xsl:value-of select="$default.topic"/>
+<xsl:text>",</xsl:text>
+<xsl:if test="$htmlhelp.button.home != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.home.url"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump1 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump1.url"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump1 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump1.title"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump2 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump2.url"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump2 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump2.title"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:value-of select="$xnavigation"/>
+<xsl:text>,,</xsl:text>
+<xsl:value-of select="$xbuttons"/>
+<xsl:text>,,,,,,,,0
+</xsl:text>
+</xsl:if>
+
 <xsl:text>
 
 [FILES]
@@ -703,6 +804,23 @@ Title=</xsl:text>
 
 <!-- ==================================================================== -->
 
+<xsl:template name="hhk">
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename" select="$htmlhelp.hhk"/>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content"><![CDATA[<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<HTML>
+<HEAD>
+</HEAD><BODY>
+<UL>
+</UL>
+</BODY></HTML>]]></xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
 <xsl:template name="hh-map">
   <xsl:call-template name="write.text.chunk">
     <xsl:with-param name="filename" select="$htmlhelp.map.file"/>
@@ -796,4 +914,38 @@ Title=</xsl:text>
   </xsl:call-template>
 </xsl:template>
 
+<!-- ==================================================================== -->
+<!-- This code can be used to convert any number to hexadecimal format -->
+
+  <h:hex>
+    <d>0</d>
+    <d>1</d>
+    <d>2</d>
+    <d>3</d>
+    <d>4</d>
+    <d>5</d>
+    <d>6</d>
+    <d>7</d>
+    <d>8</d>
+    <d>9</d>
+    <d>A</d>
+    <d>B</d>
+    <d>C</d>
+    <d>D</d>
+    <d>E</d>
+    <d>F</d>
+  </h:hex>
+
+  <xsl:template name="toHex">
+    <xsl:param name="n" select="0"/>
+    <xsl:param name="digit" select="$n mod 16"/>
+    <xsl:param name="rest" select="floor($n div 16)"/>
+    <xsl:if test="$rest > 0">
+      <xsl:call-template name="toHex">
+        <xsl:with-param name="n" select="$rest"/>
+      </xsl:call-template>
+    </xsl:if>
+    <xsl:value-of select="document('')//h:hex/d[$digit+1]"/>
+  </xsl:template>
+
 </xsl:stylesheet>
diff --git a/xsl/params/htmlhelp.button.back.xml b/xsl/params/htmlhelp.button.back.xml
new file mode 100644 (file)
index 0000000..99f2dc6
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.back">
+<refmeta>
+<refentrytitle>htmlhelp.button.back</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.back</refname>
+<refpurpose>Should be Back button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.back.frag'>
+<xsl:param name="htmlhelp.button.back" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Back button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.forward.xml b/xsl/params/htmlhelp.button.forward.xml
new file mode 100644 (file)
index 0000000..c4e699a
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.forward">
+<refmeta>
+<refentrytitle>htmlhelp.button.forward</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.forward</refname>
+<refpurpose>Should be Forward button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.forward.frag'>
+<xsl:param name="htmlhelp.button.forward" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Forward button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.hideshow.xml b/xsl/params/htmlhelp.button.hideshow.xml
new file mode 100644 (file)
index 0000000..118d375
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.hideshow">
+<refmeta>
+<refentrytitle>htmlhelp.button.hideshow</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.hideshow</refname>
+<refpurpose>Should be Hide/Show button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.hideshow.frag'>
+<xsl:param name="htmlhelp.button.hideshow" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Hide/Show button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.home.url.xml b/xsl/params/htmlhelp.button.home.url.xml
new file mode 100644 (file)
index 0000000..5d19ff7
--- /dev/null
@@ -0,0 +1,22 @@
+<refentry id="htmlhelp.button.home.url">
+<refmeta>
+<refentrytitle>htmlhelp.button.home.url</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.home.url</refname>
+<refpurpose>URL address of page accessible by Home button</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.home.url.frag'>
+<xsl:param name="htmlhelp.button.home.url"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>URL address of page accessible by Home button.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.home.xml b/xsl/params/htmlhelp.button.home.xml
new file mode 100644 (file)
index 0000000..ab7c6f2
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.home">
+<refmeta>
+<refentrytitle>htmlhelp.button.home</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.home</refname>
+<refpurpose>Should be Home button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.home.frag'>
+<xsl:param name="htmlhelp.button.home" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Home button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.jump1.title.xml b/xsl/params/htmlhelp.button.jump1.title.xml
new file mode 100644 (file)
index 0000000..ddcc65c
--- /dev/null
@@ -0,0 +1,22 @@
+<refentry id="htmlhelp.button.jump1.title">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump1.title</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump1.title</refname>
+<refpurpose>Title of Jump1 button</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump1.title.frag'>
+<xsl:param name="htmlhelp.button.jump1.title" select="'User1'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Title of Jump1 button.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.jump1.url.xml b/xsl/params/htmlhelp.button.jump1.url.xml
new file mode 100644 (file)
index 0000000..f800538
--- /dev/null
@@ -0,0 +1,22 @@
+<refentry id="htmlhelp.button.jump1.url">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump1.url</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump1.url</refname>
+<refpurpose>URL address of page accessible by Jump1 button</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump1.url.frag'>
+<xsl:param name="htmlhelp.button.jump1.url"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>URL address of page accessible by Jump1 button.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.jump1.xml b/xsl/params/htmlhelp.button.jump1.xml
new file mode 100644 (file)
index 0000000..a578dd6
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.jump1">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump1</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump1</refname>
+<refpurpose>Should be Jump1 button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump1.frag'>
+<xsl:param name="htmlhelp.button.jump1" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Jump1 button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.jump2.title.xml b/xsl/params/htmlhelp.button.jump2.title.xml
new file mode 100644 (file)
index 0000000..05a1c29
--- /dev/null
@@ -0,0 +1,22 @@
+<refentry id="htmlhelp.button.jump2.title">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump2.title</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump2.title</refname>
+<refpurpose>Title of Jump2 button</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump2.title.frag'>
+<xsl:param name="htmlhelp.button.jump2.title" select="'User2'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Title of Jump2 button.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.jump2.url.xml b/xsl/params/htmlhelp.button.jump2.url.xml
new file mode 100644 (file)
index 0000000..492b52b
--- /dev/null
@@ -0,0 +1,22 @@
+<refentry id="htmlhelp.button.jump2.url">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump2.url</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump2.url</refname>
+<refpurpose>URL address of page accessible by Jump2 button</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump2.url.frag'>
+<xsl:param name="htmlhelp.button.jump2.url"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>URL address of page accessible by Jump2 button.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.jump2.xml b/xsl/params/htmlhelp.button.jump2.xml
new file mode 100644 (file)
index 0000000..3d89acf
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.jump2">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump2</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump2</refname>
+<refpurpose>Should be Jump2 button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump2.frag'>
+<xsl:param name="htmlhelp.button.jump2" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Jump2 button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.locate.xml b/xsl/params/htmlhelp.button.locate.xml
new file mode 100644 (file)
index 0000000..ffa89cd
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.locate">
+<refmeta>
+<refentrytitle>htmlhelp.button.locate</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.locate</refname>
+<refpurpose>Should be Locate button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.locate.frag'>
+<xsl:param name="htmlhelp.button.locate" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Locate button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.next.xml b/xsl/params/htmlhelp.button.next.xml
new file mode 100644 (file)
index 0000000..aa7552d
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.next">
+<refmeta>
+<refentrytitle>htmlhelp.button.next</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.next</refname>
+<refpurpose>Should be Next button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.next.frag'>
+<xsl:param name="htmlhelp.button.next" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Next button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.options.xml b/xsl/params/htmlhelp.button.options.xml
new file mode 100644 (file)
index 0000000..70ca16b
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.options">
+<refmeta>
+<refentrytitle>htmlhelp.button.options</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.options</refname>
+<refpurpose>Should be Options button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.options.frag'>
+<xsl:param name="htmlhelp.button.options" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Options button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.prev.xml b/xsl/params/htmlhelp.button.prev.xml
new file mode 100644 (file)
index 0000000..f47a78a
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.prev">
+<refmeta>
+<refentrytitle>htmlhelp.button.prev</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.prev</refname>
+<refpurpose>Should be Prev button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.prev.frag'>
+<xsl:param name="htmlhelp.button.prev" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Prev button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.print.xml b/xsl/params/htmlhelp.button.print.xml
new file mode 100644 (file)
index 0000000..58eb7cf
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.print">
+<refmeta>
+<refentrytitle>htmlhelp.button.print</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.print</refname>
+<refpurpose>Should be Print button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.print.frag'>
+<xsl:param name="htmlhelp.button.print" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Print button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.refresh.xml b/xsl/params/htmlhelp.button.refresh.xml
new file mode 100644 (file)
index 0000000..9a9e140
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.refresh">
+<refmeta>
+<refentrytitle>htmlhelp.button.refresh</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.refresh</refname>
+<refpurpose>Should be Refresh button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.refresh.frag'>
+<xsl:param name="htmlhelp.button.refresh" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Refresh button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.stop.xml b/xsl/params/htmlhelp.button.stop.xml
new file mode 100644 (file)
index 0000000..5b88acb
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.stop">
+<refmeta>
+<refentrytitle>htmlhelp.button.stop</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.stop</refname>
+<refpurpose>Should be Stop button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.stop.frag'>
+<xsl:param name="htmlhelp.button.stop" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Stop button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.button.zoom.xml b/xsl/params/htmlhelp.button.zoom.xml
new file mode 100644 (file)
index 0000000..f6e4a18
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.button.zoom">
+<refmeta>
+<refentrytitle>htmlhelp.button.zoom</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.zoom</refname>
+<refpurpose>Should be Zoom button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.zoom.frag'>
+<xsl:param name="htmlhelp.button.zoom" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Zoom button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.hhc.binary.xml b/xsl/params/htmlhelp.hhc.binary.xml
new file mode 100644 (file)
index 0000000..f4f2e15
--- /dev/null
@@ -0,0 +1,24 @@
+<refentry id="htmlhelp.hhc.binary">
+<refmeta>
+<refentrytitle>htmlhelp.hhc.binary</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhc.binary</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhc.binary.frag'>
+<xsl:param name="htmlhelp.hhc.binary" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>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.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.hhk.xml b/xsl/params/htmlhelp.hhk.xml
new file mode 100644 (file)
index 0000000..49506a8
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.hhk">
+<refmeta>
+<refentrytitle>htmlhelp.hhk</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhk</refname>
+<refpurpose>Filename of index file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhk.frag'>
+<xsl:param name="htmlhelp.hhk" select="'index.hhk'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Change this parameter if you want different name of index file
+than index.hhk.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.hhp.window.xml b/xsl/params/htmlhelp.hhp.window.xml
new file mode 100644 (file)
index 0000000..7ba5296
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.hhp.window">
+<refmeta>
+<refentrytitle>htmlhelp.hhp.window</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhp.window</refname>
+<refpurpose>Name of default window.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhp.window.frag'>
+<xsl:param name="htmlhelp.hhp.window" select="'Main'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Name of default window. If empty no [WINDOWS] section will be
+added to project file.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.show.advanced.search.xml b/xsl/params/htmlhelp.show.advanced.search.xml
new file mode 100644 (file)
index 0000000..85e4c4d
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.show.advanced.search">
+<refmeta>
+<refentrytitle>htmlhelp.show.advanced.search</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.show.advanced.search</refname>
+<refpurpose>Should be advanced search available?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.show.advanced.search.frag'>
+<xsl:param name="htmlhelp.show.advanced.search" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want advanced search features in your help, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.show.favorities.xml b/xsl/params/htmlhelp.show.favorities.xml
new file mode 100644 (file)
index 0000000..c1811d1
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.show.favorities">
+<refmeta>
+<refentrytitle>htmlhelp.show.favorities</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.show.favorities</refname>
+<refpurpose>Should be favorities tab shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.show.favorities.frag'>
+<xsl:param name="htmlhelp.show.favorities" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want favorities tab shown in your help, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/htmlhelp.show.menu.xml b/xsl/params/htmlhelp.show.menu.xml
new file mode 100644 (file)
index 0000000..0fad24e
--- /dev/null
@@ -0,0 +1,23 @@
+<refentry id="htmlhelp.show.menu">
+<refmeta>
+<refentrytitle>htmlhelp.show.menu</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.show.menu</refname>
+<refpurpose>Should be menu shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.show.menu.frag'>
+<xsl:param name="htmlhelp.show.menu" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want application menu in your HTML Help file, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>