Skip to main content
Known Participant
March 17, 2011
Answered

Wrap TOC text in RH8?

  • March 17, 2011
  • 1 reply
  • 1668 views

Hi guys,

I found an old post from 2006 that talks about some funky workaround to force topic titles to wrap in the TOC in webhelp;

http://forums.adobe.com/message/378004#378004

Not being a scripter myself, I was kind of hoping there was an easier way than messing with the js file as described in that post.  Any chance anyone knows a better way?

Chris

    This topic has been closed for replies.
    Correct answer Willam van Weelden

    Hi,

    I want to give it one last try. Please email me at contact [at] wvanweelden [dot] eu and I can send you a modified file that works in my projects.

    Greet,

    Willam


    I send the modified whthost.js file and that worked. The modified file can now be downloaded on my site via the link in the previous post.

    Greet,

    Willam

    1 reply

    Willam van Weelden
    Inspiring
    March 17, 2011

    Hi,

    Not that I can think of. But you can just igonre the discussion and follow the three steps in the last post. For the nobr-tags, just do a find and replace on "<nobr>" and "</nobr>" and replace them with nothing.

    Also note that the whthost.js is overwritten every time you generate your project. You best make a copy of the modified file and paste it in your output.

    Greet,

    Willam

    KoprivaAuthor
    Known Participant
    March 17, 2011

    wow - thanks William!

    Both those things are good to know!

    Chris

    Willam van Weelden
    Inspiring
    March 23, 2011

    William,

    Well, I give up.  Your instructions were detailed and easy to follow.  I tried them TWICE.  Both times the TOC gave me an error in page message and didn't load at all.  The second time I even skipped the last part about moving the text 16px just to see if I could get the darn thing to wrap.  Still wouldn't load (just showed blank/empty TOC pane).

    And it is an RH8 project, and the line numbers were spot-on.

    Forget it - I appreciate all the time you've spent.

    I'll just have to wait until Adobe decides to add the functionality to RH.

    Chris


    Hi,

    I want to give it one last try. Please email me at contact [at] wvanweelden [dot] eu and I can send you a modified file that works in my projects.

    Greet,

    Willam