Copy link to clipboard
Copied
I import/open a HTML Help (HHP) file in RH10.
But the result is without the Table of Content (TOC).
Could anyone tell me how I can solve the problem and get the TOC from the input ?
(The input strucutre can't support a good automatic creation.)
Thanks
Juergen
Hi. The easiest way is to create a new table of contents inside your project is:
You should now have a TOC in your project made up of the HHC file you imported.
Copy link to clipboard
Copied
Hi,
In you project folder there is a HHC file, that is a TOC. You can import that.
Thanks
Priyank
Copy link to clipboard
Copied
Hi Priyank,
thank you for your answer!
Yes, I have a .HHC file with the TOC.
But I can't find any functionality to import it in RH10.
Could you tell me, please, with which workflow I can import a .HHC file in RH10.
Thank you very much for your efforts!
Regards
Juergen
Copy link to clipboard
Copied
Hi. The easiest way is to create a new table of contents inside your project is:
You should now have a TOC in your project made up of the HHC file you imported.
Copy link to clipboard
Copied
Hi,
thanks for your answer and the listed workflow!
Yes, I can do this as you described.
But afterwards the tree structure with books and documents is not displayed in the Table of Content pod.
This means when I make a double click on the new TOC in the Project Manager pod and open it, the TOC pod stays empty.
Could I give you the .HHC file in any way to check it ?
Thanks & regards
Juergen
Copy link to clipboard
Copied
Before we try that, create a new project and import the TOC into that. Does the same happen? If so, open up the old HHC file in Notepad. Does it have any content in there. You should find there are line like below:
<item name="Book1">
<item name="Topic1" link="Topic1.htm">
</item>
<item name="Topic2" link="Topic2.htm">
</item>
</item>
Can I also check where your source files are located? Are they on a network drive?
Copy link to clipboard
Copied
Hi,
you have well done with your advices!
RH10 makes the belonging .HHC/TOC empty by import/open a .HHP file.
After the open/import there aren't entries in .HHC/TOC file any more.
This is also because I got not displayed the tree structure in the TOC pod.
On my sight this is a bug in the open/import function.
It seems to work with your in item 5 and 3 descripted steps.
Now I have still to try getting the documents for the TOC in the new project.
Thanks & regards
Juergen
Copy link to clipboard
Copied
If you have a backup of this project, you can import the HHC file from that folder instead of the current one.
Thanks
Priyank
Copy link to clipboard
Copied
I'm curious as to why the project was opened with the HHP file rather than the XPJ file. Was it from a project that had not been created in RoboHelp? How was it created?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Dear Peter Grainge,
the .HHP file is the online help from former times, edit with Microsoft Workshop and should be the input base for RoboHelp.
Regards
Juergen
Copy link to clipboard
Copied
Using that you could have produced a CHM and then reverse engineered it as described on my site. That would have given you a complete project. Too late now but if you have the same task again, it would be an easier way.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
With the given HHP file in RH10 the source for the lost TOC "toc.hhc" can't be found / not exists.
I couldn't understand why I should create and go over a CHM file when I always have the HHP source.
You have described the steps of decompilation a CHM for someone who has no HHP source.
Copy link to clipboard
Copied
I was thinking that the source you have could create a CHM using the Microsoft compiler that would have a TOC. Reverse engineering that should get you the files you need including the TOC and an HHP that does know about it. Of course if the Microsoft compiler will not produce a CHM with a TOC, then the solution will not work.
It was just another solution as an alternative to the one you have used.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Thank you for your suggestion!
But I had already the .HHP with a corresponding .HHC (TOC) file.
In the meantime I could reach a successful result with following steps:
1. Creation of a empty new project.
2. Creation of a new TOC as a copy from my given .HHC file.
3. Configurating the new TOC as "Standard" and then deleting the other empty TOC of project creation.
4. Import of the HTML documents in the same sub folder as referenced in the TOC.
Copy link to clipboard
Copied
Hi Priyank,
thank you for your hint!
I have already done so... 😉
Regards
Juergen