Are you running hhc on a Windows machine, or under WINE on Debian? I had a similar problem when running hhc under WINE. I solved it by configuring WINE like this:
1. Get a copy of itircl.dll, itss.dll, itcc.dll, and hhctrl.ocx using the information from http://code.google.com/p/htmlhelp/wiki/HHW4Wine (you can see me asking about this problem if you look in the comments on that page). 2. Set the WINEDLLOVERRIDES environment variable to: "itircl=native;itss=native;itcc=native;hhctrl.ocx=native" 3. Copy all the files in step 1 to [wine_prefix]/drive_c/windows/system32 4. Run the following commands, in order: - wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itircl.dll' - wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itss.dll' - wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itcc.dll' - wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\hhctrl.ocx' On Wed, Jan 12, 2011 at 4:33 AM, Stefan Berndt <[email protected]> wrote: > Hey, > > thank you for your reply. I'm using docbook with Debian. > the output from the stylesheets is compiled with hhc.exe htmlhelp.hhp. > if i put set htmlhelp.use.hhk to 0, i get an empty Indexlist. > Hope this will help. > > Sincerly, > > Stefan Berndt > > On Tue, 11 Jan 2011 10:17:13 -0800, Sam Fischmann <[email protected] > > > wrote: > > Hello, > > > > I might have some useful advice because I have seen this before, but I > > have > > some questions first (my experience may not be applicable): > > > > What operating system are you using? > > What are you using to turn the output from the stylesheets into a .chm > > file? > > Do you get different results if you set htmlhelp.use.hhk to 0? > > > > -Sam > > > > On Tue, Jan 11, 2011 at 8:06 AM, Stefan Berndt <[email protected]> > > wrote: > > > >> Hi, > >> > >> I have problems to set up indexterms to the index in HTML Help > > (windows). > >> I set this to my stylesheet: > >> > >> <xsl:param name="generate.index" select="0"/> > >> <xsl:param name="htmlhelp.use.hhk" select="1"></xsl:param> > >> > >> and indexes are created for the Windows help. > >> > >> my xml file : > >> > >> <chapter id="MAIN"> > >> <title>title > >> <indexterm> > >> <primary>1st level</primary> > >> </indexterm></title> > >> > >> <section id="SPEC"> > >> <title>title<indexterm> > >> <primary>1st level</primary> > >> > >> <secondary>level2_1stentry</secondary> > >> </indexterm></title> > >> > >> > >> > >> ....text..... > >> > >> </section> > >> > >> <section> > >> <title>title<indexterm> > >> <primary>level1</primary> > >> > >> <secondary>level2_2ndentry</secondary> > >> </indexterm></title> > >> ....text...</section> > >> > >> <section> > >> <title>title<indexterm> > >> <primary>level1/primary> > >> > >> <secondary>level2_3rdentry</secondary> > >> > >> <tertiary>level3_under3rdentry</tertiary> > >> </indexterm></title> > >> > >> ....text... > >> > >> My Index lookw now in Windows help like this: > >> > >> level1 > >> level1 > >> level2_1stEntry > >> level1 > >> level2_2ndEntry > >> level1 > >> level2_3rdEntry > >> level3_under3rdentry > >> > >> but i want this as the result: > >> > >> level1 > >> level2_1stEntry > >> level2_2ndEntry > >> level2_3rdEntry > >> level3_under3rdentry > >> > >> How can i do this? > >> > >> I want also, if i jump via clicking an index on a section, that the > >> topicoverview goes also to the section's topic. > >> This also does not work. > >> > >> Thank you for help a lot. > >> > >> Sincerly, > >> > >> Stefan Berndt > > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > >
