Skip to main content
Participant
November 2, 2011
Answered

CSS for a single source project based on XML files

  • November 2, 2011
  • 3 replies
  • 1076 views

I am using the TCS 3.5 (FrameMaker 10 and RoboHelp 9) to create single source user manuals and HTML help. The source files are from a FrameMaker book containing structured XML files. What's the secret in RoboHelp 9 for defining and using a single CSS file for the whole project?

At present, the HTML files that RoboHelp produces only contain FM_<paraname> paragraph tabs, which don't seem to relate to any of the tags in the default .css or RHStyleMapping.css files.

 

Many thanks,

--Jesús

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Matt-Tech Comm Tools

Hi Jesus,

In RH, go to File > Project Settings > Import > FrameMaker Settings > Edit

Your main CSS is likely to be RHStyleMapping.css, but you'll almost certainly have secondary CSS applied to account for unmapped items. The unmapped entries are the ones with the FM_ prefix. If you see FM_, you should consider directly mapping to something in your css to gain control of the formatting.

See http://framemaker.mattrsullivan.com/2011/04/02/an-overview-of-framemaker-and-robohelp-integration/ for more detail. This post is about unstruct FM, but is still valid for you.

-Matt

3 replies

jgarc1aAuthor
Participant
November 5, 2011

Many thanks, Jeff and Matt!

-Jesús

Matt-Tech Comm Tools
Community Expert
Matt-Tech Comm ToolsCommunity ExpertCorrect answer
Community Expert
November 2, 2011

Hi Jesus,

In RH, go to File > Project Settings > Import > FrameMaker Settings > Edit

Your main CSS is likely to be RHStyleMapping.css, but you'll almost certainly have secondary CSS applied to account for unmapped items. The unmapped entries are the ones with the FM_ prefix. If you see FM_, you should consider directly mapping to something in your css to gain control of the formatting.

See http://framemaker.mattrsullivan.com/2011/04/02/an-overview-of-framemaker-and-robohelp-integration/ for more detail. This post is about unstruct FM, but is still valid for you.

-Matt

-Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
Jeff_Coatsworth
Community Expert
Community Expert
November 2, 2011

Are you linking or importing content from FM to RH? I'm not familiar with Structured FM, but with unstructured files you use the FM Integration settings in RH to map FM tags to RH styles and set pagination. Each resulting topic gets the CSS that you told it to use in the integration settings. You can also use a single CSS to apply to all topics when generating the help (in the SSL recipe).