Skip to main content
March 6, 2009
Question

Heading 1 level missing from TOC?

  • March 6, 2009
  • 11 replies
  • 4831 views
I have this little RH 7 sample project.

When converting to PDF using 'Printed Documentation Wizard', the primary Heading 1 level is NOT included in the MS Word/PDF 'Table of Contents'.
I'm not using any MS Word templates, just the project's CSS styles.
Arcrobat PDFMaker settings in MS Word are set to default and include Heading 1-9.

I've searched and searched but I don't know how to include this Heading 1 level in the TOC.

When checking the MS Word 2003 document through Insert >> Reference >> Index and Tables, the Heading 1 level is missing from the tab 'Table of Contents'.
When adding the Heading 1 level there through 'Options' button, the TOC updates correctly, but I don't know how to include this Heading 1 level through RH.

Sample project here

A note on the sample project:
You'll see that every topic title associated with TOC book is excluded from PDF through conditional build tags.
This was done so prevent titles from being printed twice in PDF.

For example, in the TOC there's an item titled 'Balance sheet', the associated topic Balance_sheet.htm has exactly the same title 'Balance sheet'.
To prevent this title from being printed twice in PDF, the topic title was excluded through conditional build tag.

Any help would be appreciated.

Best regards,
Herman
This topic has been closed for replies.

11 replies

Peter Grainge
Community Expert
Community Expert
March 7, 2009
I have looked at your project. What you have excluded is the topic heading, not the topic title. You cannot exclude the topic title.

What you are seeing in your output is not the topic title and the topic heading but the TOC book name plus the topic heading.

See the article on my site about Printed Documentation.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
March 9, 2009
You're right Peter, I inadvertently wrote 'topic title', but I meant 'topic heading'.

I've compiled the printed documentation on another PC and I now realize that you probably haven't spotted the issue of the missing heading 1 level in the TOC, since on this other PC the TOC in MS Word in created correctly.

Here's a link to a PDF showing both TOCs, with on page 1 the wrong TOC and on page 2 the correct TOC compiled on another PC. I've highlighted the missing Heading 1 levels with yellow.

It must be a Word issue IMO (both PCs are running MS Word 2003 and Acrobat 8 Pro, one PC XP, the other Vista), but I can't track it down. This is driving me nuts.

Any suggestions?

Best regards,
Herman