Skip navigation
ex-magister
Currently Being Moderated

Issue with Styles Displaying in chm files?

Oct 14, 2011 10:16 AM

After converting some projects from Robo X3 to Robo v8, the appropriate stylesheet is pulled in and all topics appear as they should. However, the respective .chm file(s) display many topics that do not have the stylesheet applied. The same issue occurs when I attempt to build a new project and import HTML files from the older version project(s).

 

Additional information:

 

  • I am importing HTML.
  • I am generating Microsoft Help.
  • Some HTML is rendered correctly and others not.
  • The HTML, when reviewed externally, is formatted as expected. When imported into RoboHelp, some files are okay but the majority are not. It is as though the style sheet is being ignored. The style sheet is common to all files. Is this is a quirk of RoboHelp, and the way that it internally processes HTML?
  • By touching the HTML (by adding a random space, removing it and then saving ) from within the RoboHelp HTML editor, the problem goes away. Touching the HTML from outside of RoboHelp does not help. Performing a dummy Search and Replace for all files does not work – you have to touch each file individually (add a space, take it away and save)
  • I am working with a 64 bit machine.
  • The the same HTML  works on a colleague's 32 bit.

 

Thank you in advance for your help.

 
Replies
  • Currently Being Moderated
    Oct 16, 2011 9:35 PM   in reply to ex-magister

    If you look at the Properties of one of the problem topics, is the stylesheet selected on the Appearance tab? If not, select it and regenerate and see if that fixes it.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 16, 2011 9:48 PM   in reply to ex-magister

    Also, I just had a memory of a problem from ages ago. It's to do with type="text/css" displaying in HTML view, but not displaying when you open the file in Notepad.

     

    Here's the thread about it:

     

    Fonts and Style Changes in Generated Help

     

    HTH,

    Amber

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points