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

Problems closing out nested lists

Guest
Sep 24, 2008 Sep 24, 2008
I'm so close that I can taste it!

Here's my latest aggravation with numbered lists:
I have a nested list that look like this:

1.
2.
bullet
bullet
3.
bullet
bullet

In FM of course it looks perfect. In RH, it looks fine using the Convert AutoNumber to HTML List settings (I got that far at least), but the bullets after the last numbered step do not indent correctly. In fact, they don't indent at all. When I look at the HTML code, I see that the final <ul></ul> is not being nested within the <ol></ol>; the unordered list (those final two bullets) appears AFTER the ordered list is closed out.

I've tried everything I can think of and nothing is working. Has anybody else encountered this problem and been able to overcome it without manually fixing the formatting in RH after the conversion of the FM files? I've even tried adding an empty paragraph tag with numbering properties in FM (with a nonbreaking space so RH picks up the style), and that closes out the nested list correctly in RH but adds a number to the empty paragraph tag after conversion.

A second peculiar problem is that in numbered lists in some help topics, the number characters are in one font, but in other topics, the number character is in a different font. I have found no differences between the two instances of numbers in either my FM files or the RH/CSS.
619
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
New Here ,
Sep 24, 2008 Sep 24, 2008
LATEST
Hi Michael,
I ran into this problem yesterday. This is my first experience with Robohelp and it seems comparatively very limited compared to WebWorks for single-sourcing with FrameMaker. I reported this as a bug to the support line today. Anyway, the way I worked around this problem yesterday was to define a duplicate new style in FrameMaker just for the bullet list following the last number in the numbered list. This can then be applied to a separate style within Robohelp. Then I created a new fmstyles.css style that would use the display:list-item and list-style-type:circle attributes and mapped it to the new FM paragraph style. This is no doubt a kludge, but in the meantime it keeps you from having to turn off the auto-mapping to HTML lists esp. now that you are so close. Hopefully Adobe will fix this problem so that we can clean up our FM templates in the future.

For example, here is my css style (the paragraph style is similarly named in FM).

P.BodyIndentBulleted {
margin-right: 0.000pt;
text-align: left;
text-indent: 0.000pt;
margin-bottom: 8pt;
word-spacing: 0.250em;
font-style: normal;
font-weight: normal;
color: #000000;
letter-spacing: 0.00em;
font-size: 8pt;
font-family: Verdana, sans-serif;
margin-top: 2pt;
margin-left: 60pt;
display: list-item;
list-style-type: circle;
text-decoration: none;
}

This makes the appearance of a bulleted list within the numbered list (for the last numbered item) so you can move on for now.
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