Skip to main content
Participating Frequently
October 30, 2023
질문

Formatting Table of Contents in Responsive HTML5

  • October 30, 2023
  • 4 답변들
  • 3778 조회

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.

    이 주제는 답변이 닫혔습니다.

    4 답변

    Participating Frequently
    November 28, 2023

    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. 

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    November 28, 2023

    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

    -Matt SullivanFrameMaker Course Creator, Author, Trainer, Consultant
    Participating Frequently
    November 28, 2023

    Thanls. My boss was breathing down my neck. 

    Community Expert
    October 31, 2023

    @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

    Bjørn Smalbro - FrameMaker.dk
    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    October 30, 2023

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

    Then republish the HTML5

    -Matt SullivanFrameMaker Course Creator, Author, Trainer, Consultant
    Community Expert
    October 30, 2023

    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

     

    Bjørn Smalbro - FrameMaker.dk
    Participating Frequently
    October 31, 2023

    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

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 31, 2023

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