Skip to main content
Inspiring
August 2, 2023
Question

How can I avoid getting an extra sub-level heading for sections in HTML5 output?

  • August 2, 2023
  • 2 replies
  • 168 views

I am publishing a book to HTML5. It contains several sections (chapters) each is a separate fm document within the book.

I have set the HTML5 mappings to split into topics based on style Heading1 which gives me a new HTML page for each Heading1 - which is great.

I have also set the paragraph style 'ChapterHeading' to also split into topics - this is a higher level heading than Heading1 and appears once at the start of each chapter (ie. each separate fm document in the book).

This appears to create two higher levels in the TOC in the HTML document - see the attached example.
Why is it adding two levels?

The only settings I can find which control topic splitting in the HTML5 output are:

Style Mapping > {Paragraph Style} > Split into topics based on this style (which I have set as above) and
Style Mapping > General Settings > Split into topics using marker - this is unchecked.
I am using a modified version of the 'Theme3_Black" HTML5 template from the framemaker 2022/Robohelp templates.

 

    This topic has been closed for replies.

    2 replies

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    August 2, 2023

    It looks like what I've seen when I exported to HTML without a generated TOC for the book.

    If you are doing the same, Fm is trying to manually describe the environment.

    Once a generated, formatted TOC is in place, my TOC resolved.

     

    Of course, if that's not the case, let us know and we'll figure it out from there.

     

    -Matt

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    Jeff_Coatsworth
    Community Expert
    Community Expert
    August 2, 2023

    What's the FM TOC look like? I thought it used that to build out the HTML TOC...

    [Edit - is your FM2022 version all patched up?]