Next in thread → Next in month →

Re: [docbook-apps] Problems with indexterms in HtmlHelp

From
Ram Gischmann
Date
2011-01-14T18:08:25+00:00
ID
AANLkTi=
Thread
Re: [docbook-apps] Problems with indexterms in HtmlHelp
Have you tried doing this with a completely fresh wineprefix? You can create a new one by setting the WINEPREFIX environment variable to a new writable directory somewhere and running a random windows program to install files to the prefix. Then follow the steps.

I wish I had further advice, but I'm not sure I can offer much beyond that.

-Sam

On Fri, Jan 14, 2011 at 6:30 AM, Stefan Berndt <> wrote:

Ok i did all the steps but it does not work.

But my wine is a little bit newer: wine-1.0.1-174-gc4039bd.

Thx for your help, maybe you have another good idea.?

Sincerly,

Stefan

On Wed, 12 Jan 2011 09:51:16 -0800, Sam Fischmann <>

wrote:

> 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 <>

> 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

> <

>> >

>> 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 <>

>> > 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: 

>> >> For additional commands, e-mail:

> 

>> >>

>> >>

>>

>>

>>

--

Stefan Berndt()

Rhönweg 13 D-01159 Dresden

Tel: 0177 / 636 52 17

Fax: 03222/1485 947
Next in thread → Next in month →