Skip to main content
Inspiring
September 21, 2012
Answered

How can I have a banner appear when I publish to HTML, but not to PDF?

  • September 21, 2012
  • 5 replies
  • 649 views

I am using RH 8 HTML, and would like to have this very simple banner appear across the top of my topics when I publish to HTML:

Currently, I create this banner simply by typing the text in my topics and applying a style. 

I would like to use the same topics to generate a PDF, but I do not want this banner to appear across all my topics.  How can I do this?

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Tina_Z-B

Insert the snippet in a topic and then apply the tag there. You have to apply it each time you add it to a topic. The tag is not applied to the snippet in the snippet pod.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge


After some initial confusion regarding how to apply the tag, I was able to get this to work – thank you so much!

5 replies

Peter Grainge
Community Expert
Community Expert
September 22, 2012

You could create a Snippet in Rh, apply inline styling to it and then insert the snippet in those topics where it is required.

Then apply a conditional tag when you insert the snippet so that it can be excluded from printed output when you generate the PDF. By default there is a Print tag in Rh projects so you could use that.


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.
Tina_Z-BAuthor
Inspiring
September 24, 2012

Good morning Peter –

Thank you for the suggestion – I will give this a try and see how it goes!

Thanks again,

Tina