Skip to main content
Known Participant
January 29, 2024
Answered

How can I make "Chapter" in FM book TOC clickable?

  • January 29, 2024
  • 4 replies
  • 1229 views

Chapter in Book TOC is not clickable. How can I make it clickable?

 

    This topic has been closed for replies.
    Correct answer frameexpert

    Adding a reference image. I want this entire line clickable (chapter + heading text). It is possible.


    This is a known issue (actually, a "feature"; see FrameMaker documentation). Take a look at this video:

    https://youtu.be/mWPs2jpEBjM

    You can find the software that I refer to in the video at:

    https://frameexpert.gumroad.com/

    4 replies

    Barb Binder
    Community Expert
    Community Expert
    January 30, 2024

    Hi Amit:

     

    I meant to bring this up on your previous post on how to change the look of the chapter numbers in your TOC, but it's been a busy few days.

     

    Whenever you add a character style to a paragraph, the hyperlink is limited to the text within that style, TOC included. I am marking Rick's answer as correct because his script will take care of this for you. (And I'm excited to learn that this script exists, because this comes up all the time.)

     

    The alternatives are to edit the link boxes in Acrobat, or forgo the character formatting. 

     

    ~Barb

    ~Barb at Rocky Mountain Training
    Known Participant
    January 30, 2024

    Thank you.

    Community Expert
    January 29, 2024

    In order to have FrameMaker generate hyperlinks in the TOC you need to have a chec mark here:

    Do you have that?

    Bjørn Smalbro - FrameMaker.dk
    Known Participant
    January 30, 2024

    Yes, I have that. I noticed that 'Chapter' is clickable but chapter - 'text  is not clickable. 

     

     

    Known Participant
    January 30, 2024

    Adding a reference image. I want this entire line clickable (chapter + heading text). It is possible.

    Bob_Niland
    Community Expert
    Community Expert
    January 29, 2024

    Is this a TOC file, or a mini-TOC in the chapter file?

    Is the hypertext desired on the "CHAPTER 1:" text?
    If so, is that static or generated content in the TOC?
    If static, you'll need to either make it hypertext yourself, or having it be an Xref by $paratext to the text string "CHAPTER 1" at the destination.

    Known Participant
    January 30, 2024

    It is TOC file, and generated content. 

    Jeff_Coatsworth
    Community Expert
    Community Expert
    January 29, 2024

    Is it working in the FM ToC?

    Known Participant
    January 30, 2024

    No, chapter is clickable but text is not.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    January 30, 2024

    I suspect you need to apply the same TOC paragraph tag to the "Software Upgrade to 12.11" text.