Skip to main content
Midacol
Known Participant
February 17, 2016
Question

TOC and topic Heading styles

  • February 17, 2016
  • 1 reply
  • 791 views

I would love for someone to explain why topic heading styles are tied to how the TOC is laid out when outputting to PDF and choosing to use bookmarks for the TOC. The following always occur:

  • If you uncheck the option to Maintain HTML Heading Levels (Outputs (SSL) > Printed Documentation Print Document Content - Printed Documentation), then the PDF TOC bookmarks mimic the Book/Page structure present in the default TOC file (.hhc); however - any topic that holds a position in the folder structure higher than level 1 (so if it's within a sub-folder of one of the main folders), then all heading styles in that topic get bumped the proportionate number of heading levels. For example, if Topic X lies in Folder 3 - a sub folder of Folder 2, which is a sub folder of Folder 1, then the heading styles in Topic X are output three levels down (Heading 1 becomes Heading 3, 2 becomes 4, and 3 becomes 5).

Conversely:

  • If you check the option to Maintain HTML Heading Levels, topic heading styles remain unchanged; however - the TOC bookmarks are now listed in one LONG list, instead of representing the Book/Page structure present in the default TOC file (.hhc).

Is there some reason why bookmarks can't pull from the .hhc structure AND heading styles maintain their properties in all topics, regardless of their position in the folder structure? Or, am I missing a simple option to correct this?

This topic has been closed for replies.

1 reply

Midacol
MidacolAuthor
Known Participant
February 18, 2016

I still need help. I need the manner in which table of contents topics are nested in the book/page structure in RoboHelp to be the same when outputting to Word or PDF (using the Printed Documentation output). For some reason, it completely strips the nesting order out and places them all at the same level. I understand that I can uncheck "Maintain HTML Heading Levels" and it will work, but that strips the Heading styles out of the headers in the actual help topics. Why can't I take what's in RoboHelp and SIMPLY duplicate it when outputting to Word or PDF?

Willam van Weelden
Inspiring
February 20, 2016

You described how the 'heading' option works when creating printed documentation.

The Word TOC is created based on the styles used in the document. So a heading 1 is a chapter in the output. Basically, in Word the relation between headings and the TOC is 1:1. That's the reason there isn't another option, other than creating your TOC manually in Word by typing all heading titles manually.