Skip to main content
August 8, 2008
Question

Font for Numbers

  • August 8, 2008
  • 1 reply
  • 1354 views
Hello Everyone,

I am having an issue with the font for the numbers in my RoboHelp project. The font for the numbers is correct in RoboHelp but when I output into a CHM file the font is not correct. I have RoboHelp 7.0.2. It is part of the Technical Communications Suite but I am assuming it is a RoboHelp issue not TechCom suite. Any ideas?

Thank you,
Amanda
This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
August 9, 2008
It's an issue with the style sheet applied to your topics in RH. You need to change the definitions there.

Numbered lists are controlled by the OL and LI tags so you need to tweak them. Off the top of my head I think you need to add something like font-size: 10pt; to the OL definition.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Known Participant
October 9, 2009

We are having a similar problem with projects converted from X5 to RH8, for numbered and bulleted lists.  The text font is 10 pt, and the numbers, letters, and bullets are 12 pt.

Where and how do we tweak the <ol> or <ul> tags?   Right now, a numbered list in our HTML is:  <ol type="1">

How can I define type=1 so that the numbers are 10 pt?

I did change the < li >  tag class. After the conversion, with the removal of a lot of the "kadov"s, the list lines now have tags of  <li class="p">, and I don't think there was a LI.P class in our CSS.  When I manually changed the HTML to be <li class="kadov-p"> - since there was an LI.kadov-P defined in the CSS, the numbers appeared correctly.  SO, I copied the LI.kadov-P entry in the CSS, with the same attributes, and changed the copied entry to LI.P.  However, that change to the CSS did not seem to work.

There's also the following tag right after the <ol type="1> tag:   <li style="list-style: none; display: inline;">   Not sure, but I don't remember seeing that before.

I realize there are a bunch of threads around this issue.  And I've read a lot of them.  So I apologize if I've missed some crucial information that would apply to our problem.

I'm hoping for a global resolution here - such as changing the CSS.  I'm new to RH8, but have been using previous versions of RoboHelp for over 12 years (I think).  I would appreciate expert advice.  BTW - Peter, thanks so much for your website and your help there - I've been using it a lot!!

Susan

RoboColum_n_
Legend
October 9, 2009

Peter's right. This is likely related to the fact that the bullets themselves are rendered differently by the browser from the bullet text. Your style sheet probably does not have something like the following tag:

Body {
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-size: 9pt;
margin-top: 10pt;
margin-bottom: 10pt;
}


Read the RoboColum(n) for a tips,  tricks and musings on the Technical Communication Suite products.