Skip to main content
Known Participant
July 20, 2010
Question

Bold text printed as regular text

  • July 20, 2010
  • 1 reply
  • 925 views

I'm using RH7 and printing my documents to MSWord so I can re-format it. Most everything works fine except the export from RH7 loses some of my bolded text. It seems to be fairly random which bolded items are lost but it is consistently happening throughout the document every time I generate it. As I go through the document, I have to literally check every line of text on 500 pages to fix the missing bold text. Of course, I always seem to miss some though.

Anyone know why this is happening and if there is any way to stop it from happening?

Thanks in advance, dar

This topic has been closed for replies.

1 reply

riggsdar1Author
Known Participant
July 20, 2010

One other thing it does is even though I tell it to export out 9 header levels, it only exports out 6 levels. That means that I have manually search for the Header 7 items and change them to the correct style and also update the style to reflect the correct format.

Peter Grainge
Community Expert
Community Expert
July 20, 2010

There is no such thing as Heading 7 or greater in HTML. Anything above 6 will have been written as a class. Look at the HTML code in a RH topic with H7.

Create that style as a paragraph class rather than a heading class and you should then be able to map it. Just one big snag in doing that. Changing a style name does not change it in your topics so you will have to do a multi file find and replace which is easy for the opening tag which will be something like <h6 class="Heading7">. The difficult bit is the closing tag which will be </h6> or whatever heading level your class is based on. You cannot replace all of those as that would catch your true Heading 6 styles.

Effectively it means it is a manual job or continue as you do.

If you do decide to try it, back up first and don't blame me when it goes wrong.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
riggsdar1Author
Known Participant
December 28, 2010

It has taken me a while to get back to this, but here I am finally.

The problem is that the heading isn't a heading 7 in RoboHelp, it's a heading2 or heading3, but when it is put into the table of contents, it ends up being a heading7 when it is exported from RoboHelp since the topics in the chapter layout option is set to not maintain HTML heading levels. When exporting to MSWord, Robohelp should accommodate the Heading7 style that is already available in MSWord. Setting the style as a paragraph instead of a heading means that it wouldn't show up in the TOC when I generate the CHM or HTML files. Not unless I duplicated them and set one as a paragraph and one as a header then applied conditions to them, one for online docs and one for hard copies. But I shouldn't have to.

In addition, I'm still having problems with the bolding issue I mentioned above. I've checked the formatting text in the HTML and the coding is the same throughout the text, but when I generate the MSWord file, it throws out some of the bolding. And it's not consistent on which ones it throws out as it changes from build to build.