Skip to main content
Participating Frequently
Oct 30, 2023 1:37 PM UTC
Question

Formatting Table of Contents in Responsive HTML5

Hello, first post here. 

I am productin an approximately 800-page book for an AI company. The files are all produded in the book, with files nested under folders, with one file formatted as Chapter, and subsequent files formatted and Heading 2 or Heading 3. 

However, when I publish in Responsive HTML, the table of contents displays everything in a single display, even showing files in Heading 4.

In the "Set Up Table of Contents" option, I select entries up to TOC 2, but FrameMaker seems to ignore this.

Any help is greatly appreciated.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    17 replies

    Participating Frequently
    Nov 28, 2023 6:29 PM UTC

    I finally resolved the issue, even though it's not the prettiest solution. I was moving from MadCap Flare to FrameMaker, where MadCap has everything in its individual topic. I tried the same with FrameMaker, which produced the unnested side table of contents. 

    So, I simply divided the book into its three or four main chapters, and all the chapter-specific material is contained in that one chapter. 

    Translate
    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    Nov 28, 2023 6:36 PM UTC

    Glad to hear you got it figured out!

    Topic-based authoring (DITA, RoboHelp, Flare) is a different perspective than "standard" FrameMaker, with its book paradigm.

    The good news is that now that the nav works as you like, it'll be easy to edit and reoutput both PDF/Print and online formats.

     

    -Matt

    Translate
    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    Participating Frequently
    Nov 28, 2023 6:42 PM UTC

    Thanls. My boss was breathing down my neck. 

    Translate
    FrameMaker-dk
    Community Expert
    Community Expert
    Oct 31, 2023 4:49 PM UTC

    @Michel323660650264 If you are interested I won't mind taking a look at the project outside this forum. I do have a lot of experience with the conversion process to HTML5. You can reach me at info@framemaker.dk

    Translate
    Bjørn Smalbro - FrameMaker.dk
    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    Oct 30, 2023 11:19 PM UTC

    If you don't already have a generated TOC in your Fm book file, create one and format it. 

    Then republish the HTML5

    Translate
    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    FrameMaker-dk
    Community Expert
    Community Expert
    Oct 30, 2023 10:26 PM UTC

    Hi

    It is not altogether clear what you are attempting to do and I think we may need a little more detail. Is this a structured document? Or are you working in unstructured mode? What version of FrameMaker are you working in? Can you give us a screendump of your TOC setup? As I understand it, you would like the HTML5 menu to have the same structure as the graphic "required.png" - is that right? Have you chosen a tag for parting the content into topics like here?:

    Best regards

    Bjørn

     

    Translate
    Bjørn Smalbro - FrameMaker.dk
    Participating Frequently
    Oct 31, 2023 1:29 PM UTC

    Hello Bjorn,

    Thanks for responding. I have the latest FrameMaker, 2022, version 17.02.
    I'm working on an unstructured document, I have the tags set to split after the main heading (in this case h2_headingH2).

    -Michel

    Translate
    Jeff_Coatsworth
    Community Expert
    Community Expert
    Oct 31, 2023 1:36 PM UTC

    That's not the TOC - do you have a generated TOC file? It would be named booknameTOC.fm

    Translate