Skip to main content
August 11, 2011
Question

Rebuild source files from Webhelp output?

  • August 11, 2011
  • 3 replies
  • 1805 views

Today I deleted an unwanted *.css file from my RH9 project with the result that 300 images files were suddenly deleted. Subsequently, I reimported the source Word files to create a new image folder. The result of this, even though I cleared the selection boxes on the "Do you want to over-write" prompt, was that RH9 proceded to overwrite the topics anyway. So I have now lost 20 reformatted topics.

Why these things happened is not my main concern right now, though clearly it indicates that RH has some serious issues in file handling. (It has happened before).

Before RH9 deleted and over-wrote all my topic files, I generated webhelp output, and I want to know if I can recreate those topics to my project somehow using the latest Webhelp output files.

This topic has been closed for replies.

3 replies

August 11, 2011

Thanks, good people, for such prompt and helpful responses.

Peter Grainge
Community Expert
Community Expert
August 11, 2011

How did you delete the CSS file? I cannot think of any way whereby it would affect topics.


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.
August 11, 2011

Hi Peter. I deleted using the right-click Delete command in the Proj Mgr.

There certainly seems to be something buggy in the way RH9 handles its pointers within those "virtual" folders. As we have discussed before, when I import Word files into a project, RH creates an unwanted (by me) *.css file and also a folder with the name _files. Sometimes this folder contains images as I can see by expanding the folder in Proj Mgr. Other times, it appears to contain nothing, but if I delete it, or delete an unwanted *.css, suddenly images are blown away.

If I ever get my real work done, I am pretty certain I can create a script for reproducing this issue and send it in.

Michael West | Business Improvement | Aurecon

August 12, 2011

Hi Michael

I think what you are seeing is typical behavior when you have a linked Word document. And therein lies a bit of an issue. Certainly RoboHelp allows you to link a Word document, but Word and HTML are a bit like mixing oil and water. Word creates things you intend to print. HTML is intended for screen display. Mixing the two results in a bit of a kludge.

So first, let's try and understand how RoboHelp deals with Word this way. When you link a Word document, you will get a real honest to goodness file folder that is named identically to the document. In the RoboHelp project manager, the icon doesn't look like a folder. It looks like a Word logo with some arrows superimposed that will indicate the status.

Inside this folder should be your topics that were created based on the Word document.

I know you said you didn't want the CSS, but the process of bringing Word in will *ALWAYS* create a .CSS file. You may as well learn to simply accept it. The thing is, you don't have to use it. Just ignore it is there. You are free to associate a single CSS of your choice with your files either before or during the generation/compilation process.

The folder with the name matching the document and ending in _files is normally created when you convert Word to HTML. That's normally where Word will store and reference any images that were found in the document. That's a common Microsoft Word behavior. If you wish to confirm this, just close everything and open Word only. Create a document with some images then choose to save the Word document as HTML and look at what you end up with.

It's surprising to me that simply deleting a .CSS would blow any images away. Perhaps your Word document was created in a manner where the images are somehow referenced using CSS?

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7, 8 or 9 within the day!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks


It was never my practice to link to Word documents. I use the Import command.

But your suggestion that there may be something dodgy about the Word source documents could be correct. These are Word documents exported from an application that has not in general earned my trust or high regard. Sometimes they import without problems, sometimes they behave like a ticking time bomb.

I understand that I don't need to use the .CSS created by the import. What alarms me is that deleting them can have totally bizarre results. In future I will just let them be, as much as I dislike having a lot of rubbish lying around.

Cheers,

MW

Captiv8r
Legend
August 11, 2011

Hi there

Indeed you are able to re-use WebHelp output as source, but you will need to scrub them of code as described at the link below.

Click here to view

Cheers.... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7, 8 or 9 within the day!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

August 11, 2011

Hi Rick! Thank you for the prompt response. If I scrub code then I presume that means I lose all pop-ups, Drop-downs, image maps, etc?

Michael West | Business Improvement | Aurecon

Community Expert
August 11, 2011

Rick's website specifically states that DHTML effects (drop-downs and expanding text etc) will have to be recreated, simply because it's much easier than trying to hack code. This may also include popups, but I *think* image maps should be okay as that uses standard HTML. But I'm not 100% certain of this.