Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

conditional TOC in .chm

New Here ,
Dec 19, 2007 Dec 19, 2007
I want to create different TOC for different .chm layouts in the same project. Using RHX5. Anyone have any suggestions?

This was easy to do in .hlp, you just put a different .cnt file in each SSL. I don't see how to do this in .chm.
515
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 20, 2007 Dec 20, 2007
You have to do it on the creation side.

Create one TOC. Using Windows Explorer, copy projectname.hhc to a location outside the project.

Now go back to your project and change the TOC to the way you want the second TOC. Again, save a copy of that so that you know which projectname.hhc is which.

Just drop the required TOC in before you open the project and compile.

How different are the two TOCs? Could you not apply conditional tags to the contents so that you can include / exclude whatever you want.

You might also want to consider RH7 where you can have many different TOCs within the project.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 20, 2007 Dec 20, 2007
Peter,

Sorry, what's an hhc? Don't see it anywhere in my project or in RHX5 help. I do, however, see a .cnt in the top level folder. (This is an old project going back to early version of RH. For this revision I needed to create .chm for Vista.)

Ted
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2007 Dec 21, 2007
LATEST
Sorry Ted. I was thinking RoboHTML. Same trick but with the cnt file.
Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp