I'm using RoboHelp HTML 2015. I'm generating using a customized WebHelp layout and converting to a CHM, but the index is not indenting the sub-entries. The index does not appear to be in alphabetical order (even though it is). I have tried outputting to different WebHelp skins (WebHelp and CHM converted to WebHelp) and they all have this problem unless I select Pure HTML. I 'd prefer to use DHTML > Pure HTML to keep the Synch TOC and Search Box in Toolbar options. The same index in CHM files not converted from WebHelp and HTML5 output looks as it should. How can I control the way the index entries and sub-entries appear in WebHelp?
WebHelp with the incorrect index formatting:
CHM with correct index formatting:
Bonus question: At least one of my index entries shows a popup when you select it. None of the other entries do this. How can I avoid this popup from appearing on any of my entries?
Not sure about your sorting issue, but I think your popup happens when you have multiple topics tagged with the same index term.
Thanks, Jeff. I had two topics with the same index entries. I no longer have the popups once I corrected those entries.
Now on to the problem with the index formatting!
I believe Jeff is spot on with regards to the popup.
As for the sorting, you have two options for index. Binary and non-Binary. You might first try right-clicking the index in RoboHelp and see if it offers you a sort option.
Assuming it's available (note that in my image, it isn't) Then you may need to sort it.
If the option is NOT available and you want to enable it. Take the following steps.
Nominate a Single Source Layout of the Microsoft HTML Help type. Then clear the Binary Index option.
Binary Index is controlled by opening the Project Settings.
Thanks for the suggestion. I tried turning off the binary index, sorting the index, even using the smart index wizard. No luck on any of those. I still have the problem of WebHelp output using DHTML > Pure HTML not indenting the index sub-entries. I believe the file "whihost.js" controls the index, but I have no idea what I need to change to make this work correctly. Can anyone point me in the right direction?
Thanks in advance.
Hmmm, the suggestions I offered were an attempt to provide advice on dealing with Index sorting that you mentioned. They were not intended to provide a solution for the indentation of sub keywords.
That indenting thing will be a whole other nest of wiener dogs. LOL
The index indents the sub-entries correctly if I output directly to CHM, HTML5, or WebHelp using the Pure HTML option.
The index indents the sub-entries incorrectly if I output to WebHelp using the DHTML > Pure HTML option.
Try creating a new layout, not a copy.
I created a new WebHelp layout and didn't change any of the settings. I generated the project and selected View Results. I selected the Index and everything initially appears to be indenting correctly (the first picture)...until I click the Allow blocked content button (the second picture).
Not sure what is going on as I just generated an output with DHTML > Pure HTML selected.
When I open in IE, the alphabet shows with the index and the indentation. When I allow blocked content, the alphabet goes away as it should and the indentation remains.
Create a new project with say three topics and see what you get there.
Also try the sample projects. Click Open on the RoboHelp Starter page and then click Samples in the ribbon on the left.
Have you edited any of the wh files at any time?
See www.grainge.org for RoboHelp and Authoring information
I was about to post and say that I am seeing the same thing. What I looked at was also indented. I'm scratching my head to figure out if there's anything we can even consider that would affect this?
Obviously it's happening. And I could swear I've seen it happen on a few projects I've worked on personally. But really never gave it more thought.
Peter and Rick,
I have modified several file in the WebHelpExt folder, and I thought may be the source of the problem. I replaced the modified files with the original files, and the problem still exists. I've uninstalled and reinstalled RoboHelp, opened a sample project, added index entries, and the problem still exists!
I'm running RoboHelp 2015 on Windows 10. I'm going to download a trial 2017 to see if I get the same result. Can you think of anything else to try?
The RoboHelp 2017 trial shows the correct indentation. The 2015 version still does not. Any thoughts?
I am not 100% sure but I don't think an uninstall removes edited files.
Couple that with the possibility that you have missed something and that
could be why a reinstall is not fixing things.
Can you install on another PC that will has not been used for RoboHelp?
That's exactly what was happening. The modified files were left in the directory after the uninstall and reinstall. After I removed those files, the reinstall worked and the index is properly indented.
Thanks for helping me fix a user error!