Skip to main content
October 8, 2013
Question

table of contents contain duplicate headings in different levels in printed documentation output

  • October 8, 2013
  • 1 reply
  • 3513 views

In Robohelp 10, the table of contents contain different books at different levels linked to topic files. When it gets published in printed documentation, the books linked to topic files gets published with two heading levels in the table of contents and as well as in the body content.

Message was edited by Peter Grainge to remove email address

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
October 8, 2013

First I have removed your email address for two reasons.

  1. The whole idea of the forum is to put answers here so that others can benefit from them.
  2. You should never put your email address on any forum, unless you need enlarged body parts or want to hear from some official dealing with the multi million $£ estate of your long lost uncle.

It sounds like you are getting the book title as well as the topic title and maybe you have the wrong setting for Maintain Heading levels.

See Printed Documentation on my site.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
October 8, 2013

Hi Peter,

Thanks for your reply.

Is it like I have to manually edit the table of contents for the printed documentation in the chapter layout (Wizard -page 2) to avoid the duplicate headings.. The default table of contents will be used for other help contents only.

Regards,

Nalini

Peter Grainge
Community Expert
Community Expert
October 9, 2013

Hi,

I tried with one of the sample project-employee care..

The headings of toc and chapter layout look similiar and the table of contents in the generated output has the following

The headings which are set to level 2 are getting published in the table of contents which is different from the TOC set in the robohelp. I wanted to avoid the headings 2 set inside the topics to get it published.

Also in my project, the toc contains first level books in which some second level books are created along with topics. so the first level books linked to the topic get published twice in the toc. Could you pls suggest  for this too


The Employee Care project by default only has two TOC levels so you needed to adjust that. Set it up as below.

Then go into the Print Layout and click the Advanced Button. Change the setting from 2 to 3.

Next go to this page of the layout. Click 1 and then 2 to update the layout.

Leave the option ticked on this pass.

The TOC will show as below.

International was a Level 1 book so it shows as Level 1.

New and Retiring Employees was a Level 2 book so it shows as Level 2

The first topic below New and Retiring Employees in the TOC above is New Employee Checklist. Because Maintain Headings was selected that forces a Heading 1 which is what you see.

Now if you generate again without Maintain Headings ticked, you will get this.

International is a Level 1 book so it gets Heading 1 applied, New and Retiring Employees is a Level 2 book so it gets Heading 2 applied and Sales Training is a Level 3 bookso it gets Heading 3 applied, they all show correctly.

With this option selected, Heading 1 in a topic is no longer maintained as a Heading 1 in the printed document. As New Employee Checklist is below the Level 2 book the next available Heading level is 3 and that is what shows. By the same logic Sales Staff Training is now down to level 4 so it does not show in the TOC. It will however be in the document. To get that in, you would go into Advanced and set it to 4.

Please clarify your last point with some screenshots.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.