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

Paragraph indenting question

New Here ,
May 23, 2008 May 23, 2008

Copy link to clipboard

Copied

Is it possible to make the indentation of paragraph be relative to the indentation of the previous paragraph?
We are authoring our content in Structured FrameMaker and are mapping the FM styles to Robohelp styles. In FM, we have an element/paragraph tag called BodyIndented that has context rules to define how far it is indented depending on where it appears in the structure. For example, when a BodyIndented paragraph followes a numbered step, it indents .5 inch ... but when it follows a bulleted item, it indents .75 inch.
In WebWorks, you could set up the indentation to be relative based on the level assigned to a style.
Can you do something similar with Robohelp styles? We would like to do this to automate as much of the online help generation as possible. There is a potential for it to become very time consuming to manually indent paragraphs.
Any help would be greatly appreaciated.

Views

348

Translate

Translate

Report

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
Advisor ,
May 23, 2008 May 23, 2008

Copy link to clipboard

Copied

LATEST
You might want to look into CSS Direct Child Selectors. That is:

OL > LI > BodyIndented {
[your style stuff when that exact sequence appears: text below a numbered list item]
}

UL > LI > BodyIndented {
[your style stuff when that exact sequence appears: text below a bulleted list item]
}

You could even tailor a specific class of list for this special treatment, such as

OL.STEPS > LI > BodyIndented {
[your style stuff when that exact sequence appears: text below a numbered list item in a STEPS class]
}

You would then, in the text, call <OL class="STEPS"><LI>blah, blah, blah...


Good luck,
Leon

Votes

Translate

Translate

Report

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