I have been trying, in vain, to find a solution to removing the underscores from the file names in the toc without manually renaming every bookmark every time I regenerate the toc. The underscores only seem to show up on items that were bookmarked and then placed in the toc. When I try to edit the bookmark itself, the underscores appear automatically everytime there is a space. I need the toc to match the document, but I can't indivudually rename 300 bookmarks in the TOC EVERY TIME I regenerate. Is there a less painful way to stop the underscores from appearing in the TOC?
300 bookmarks in the TOC? Yikes!
You have to work up a better way of structuring your topics than this; either reduce the TOC entries to only full topics, or split out several of the larger bookmark sections into separate topics, or a bit of both. Accept that RH will continue to add those underscores.
Restructuring is going to be painful; there's no way around that. Sorry.
Welcome to our community
Would I be correct in assuming you are creating the help by either importing or linking to a Word document?
Assuming I'm correct, there may be some setting you will find that governs whether the TOC has these bookmarks. You might also play with the pagination a bit. It's sounding like you brought in a huge gnarly long topic and you really need to be paginating so that many smaller topics are included instead.
Helpful and Handy Links