Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

RH8: Custom bullets (images) in CSS do not work in linked FM9 Content

Community Expert ,
Oct 11, 2011 Oct 11, 2011

Hello all!

WinXP, latest builds of TCS2 apps...

I'm mapping Warnings, Notes, and Cautions to definitions in my RHStyleMapping.css.

  • CI-Caution maps to Caution (more accurately, p.Caution)
  • DI-Danger maps to Danger (more accurately, p.Danger)
  • WI-Warning maps to Warning (more accurately, p.Warning)

All is fine in the RoboHelp 8 project file (the linked content displays properly)

However, when I generate WebHelp or Browser-based AIR Help, the graphics referenced by the css are not passed through to the appropriate !SSL directory.

RH9 handles this properly, but is not an option for client...Is this a limitation of RH8?

-Matt

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Oct 12, 2011 Oct 12, 2011

Hi,

What happens if you add the images as baggage files to the project? I've noticed that RH8 sometimes doesn't recognize images defined in the CSS and so doesn't copy them to the output folder. To be on the safe side I always add all the images referenced in my css as baggage files.

Greet,

Willam

Translate
LEGEND ,
Oct 12, 2011 Oct 12, 2011

Hi,

What happens if you add the images as baggage files to the project? I've noticed that RH8 sometimes doesn't recognize images defined in the CSS and so doesn't copy them to the output folder. To be on the safe side I always add all the images referenced in my css as baggage files.

Greet,

Willam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 12, 2011 Oct 12, 2011

Thx, Willam, my client tested and it appears to work when we add the image(s) to the baggage files.

One caveat: In RH8 it appears the CSS has to be written so that the resulting CSS will find the images. I believe the client had to specify the path as ../../(imagename). In RH9, this all seems to work more as expected. I believe this has to do with the preservation of the RHStyleMapping.css

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 12, 2011 Oct 12, 2011

Hi Matt,

A CSS file requires the path to an image relative from the css location (unless you are using a full url). I'm not sure what you mean with the preservation of RHStyleMapping.css. RH8 creates new css files based on the style mapping CSS. Does RH9 just link to the style mapping CSS? That would indeed explain why it would work in RH9 and not in RH8.

Greet,

Willam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 13, 2011 Oct 13, 2011

RoboHelp 9 still links the topics created to a new CSS it creates.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 13, 2011 Oct 13, 2011

The short answer is that the issue is solved (AFIK) in RH9

RH9 maintains links to 2 stylesheets...the original (RHStyleMapping.css by default) and one that is generated based on unmapped content from FM10.

RH8 merged the default css to create only the generated css.

Bottom line: With RH8, you need to address this thru the baggage files. In RH9, it's much improved.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 14, 2011 Oct 14, 2011
LATEST

That's good to know. Thanks.

Greet,

Willam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp