RoboHelp has been a bit infamous for bad Word output. That’s a reason one of my colleagues picked Flare (he also got a free copy, so that helped)—Flare smoothly moves CSS styles over to styles in Word that preserve the appearance.

I’ve been trying to figure out how to get my default list styles in a Word template to align the way I want so when I output from RoboHelp to Word, they’ll automatically take on that alignment. (Come to find out that there’s no way to tweak the list styles for “Normal.” Lameness.)

I know the Word-to-RH import and RH-to-Word output have been improved in RH8, but that doesn’t help me right now.

Anyway, while I was messing with this list problem, my eyes opened and saw the reason for bad Word output.

In the past, my Word output looked bad because I used my CSS file, and Word ignored most of my specifications for paragraph and list item spacing and indentation. It didn’t carry paragraph borders over, either. It would take way too much reformatting to make it look right.

My epiphany was this: The reason those things were ignored is that I had them specified in pixels.

I reworked a style sheet for my user guide project that I’m trying to author in RH. I redid everything either in points or inches. This included paragraph borders where I had them—I changed the 1px thickness to 1pt. When I reran the Word output, bang! Word paid attention to my styles much more closely.

It took some cycles of tweaking the style sheet and generating the output to get things the way I want them. I still have some alpha lists that aren’t aligning correctly, and I think it has something to do with the way they’re specified in the HTML. I discovered that after any interruption of an ordered list, such as a secondary list or an indented (non-numbered) paragraph, I have to specify the start number or else Word doesn’t recognize that the primary list resumed.

I also did some experimenting with styles for the TOC, but I haven’t gotten those to work yet. However, a quick reformatting of the TOC isn’t a killer. I’ll also be playing a bit with headers and footers. I’m much more encouraged after today that I can make my printed documentation output from RH presentable.

What about projects where you’ll have the same content going to both online help and printed documentation? You probably don’t want all point and inch declarations in the CSS. I’d say in this case, create a second style sheet with the inch/point styles (I actually am using a second style sheet for the user-guide-only topics). Then before you run the Word output, use the Topic List pod to select all topics and change the style sheet to the one for print in one fell swoop. Then use the Topic List pod to change the style sheet back before running HTML output.

Related posts (auto-generated):

  1. Tech Tip: Checking WebHelp/FlashHelp Output Files in to Subversion
  2. An XML Experiment Fizzles
  3. Information to Place in the Main Flow of Content
  4. Review of Adobe RoboHelp 8: New Features 2
  5. The Visual Learning Style in Tech Writing