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

Build Tags & Table of Contents

Explorer ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

I'd like to be able to vary the table of contents using build tags. For example "topic A" should appear in 2 different .chm files, let's call them help1.chm and help2.chm. I'd like "topic A" to appear in the table of contents for both .chm files, but want the table to have a different hierarchy. In other words help1.chm may have a table of contents with "topic A" 3 levels deep, while help2.chm might have "topic A" at the top level of the table of contents. Any ideas?

Views

328

Translate

Translate

Report

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
LEGEND ,
Jun 06, 2006 Jun 06, 2006

Copy link to clipboard

Copied

Off the top of my head there are two options. First involves using an alternate TOC file which you can specify in the advance properties of your project's window. Another option is to have two projects with one using a redirect topic linked to the topic in the other project - thus avoiding maintenance of two topics. Which one you use probably depends on the number of topics that need to be mirrored between the two TOCs. You can download Rick Stone's Tips and Tricks to see how redirect topic work.

Votes

Translate

Translate

Report

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
Explorer ,
Jun 07, 2006 Jun 07, 2006

Copy link to clipboard

Copied

Thanks Colum. The alternate table of contents idea seems to work well. Took me a while to figure it the proper way to do it. The key thing was manually adding the .hhc file to the project as a "baggage file". I only wish there were a way to toggle back and forth between the main table of contents and the alternate one for editing purposes.

Votes

Translate

Translate

Report

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
LEGEND ,
Jun 07, 2006 Jun 07, 2006

Copy link to clipboard

Copied

Hi Esch

You may also want to investigate the following link that explains a way to customize the TOC using a combination of Build Tags and redirect topics.

Click here to read the article

Cheers... Rick

Votes

Translate

Translate

Report

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
Explorer ,
Jun 08, 2006 Jun 08, 2006

Copy link to clipboard

Copied

LATEST
Thanks Rick - RoboWizard.com certainly is a good resource. I see the advantage to using redirects is that you could more easily edit the toc and index, however, when you're in RoboHelp designing things every toc and index entry would appear - which could be a bit confusing since that's not really how it would look in the compiled version. The advantage to using alternate .hhc and .hhk files is a clear separation, but it's certainly more difficult to edit the alternate files. Truly it is a trade off. Both approaches work but neither is ideal.

My suggestion to Adobe for a future release of RoboHelp would be the ability to maintain multiple toc and index files within a single project and assign build tags to them. Then, when editing toc and index within RoboHelp you could select the toc or index file on which you wanted to work. This would be similar to the way you can define multiple "windows" with different properties. The approach I'm taking right now is to have a different "window" for each build tag with alternate toc files assigned to each window.

Votes

Translate

Translate

Report

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