Skip to main content
Known Participant
March 31, 2020
Question

Creating list continue style

  • March 31, 2020
  • 19 replies
  • 1350 views
I created a new style that would indent under a numbered list or bulleted list item (used for aligning pictures under the text of the list item or the result text under the list item). I put the style in the Paragraph styles (p.list.continue) and Div Styles (div.list.continue). However, selecting it as a div style doesn't format as it should and as a paragraph style doesn't even appear in the Topic Style panel.
The only way I could make the text or picture format as formatted in the style was to work in the source code. For example:
<li>Enter a name for the case in the Case Name box.
<div class="list">Enter a short description about the case in the Description box.</div>
<div class="note"><strong>Note:</strong> The description is for your information and identification. It will not appear in the exported case.</div>
</li>
 
This kind of defeats the purpose of having a user-friendly, easy to use application if you have to work in the source code especially if someone doesn't know HTML.
 
Does anyone know away to create a style as described above and to make it work correctly without using the source code? 
This topic has been closed for replies.

19 replies

Peter Grainge
Community Expert
Community Expert
April 1, 2020

What you see in Item 2 is a style in the CSS. albeit not indented properly in this example.

 

What are you seeing as manual formatting?

 

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
JudyS1954Author
Known Participant
April 1, 2020

I guess I misunderstood you.

Perhaps that is how it is done in RoboHelp, pressing Enter to get the alignment correctly but it is not a definite style set in the Styles panel. It isn't like choosing a style "Numbered LIst" and then "List continue" style set to indent and then returning to "Numbered List" style like you do in Word. 

Peter Grainge
Community Expert
Community Expert
April 1, 2020

Coming in late here but I needed something that looks much the same.

 

 

I started the list in the normal way by clicking the list icon and typing my first list item. At the end of the text I then press Shift Enter once or twice and then insert the image. That gets me perfect alignment.

To insert the other style, after entering what you see in 2, I would press Enter twice to get back to Normal. Then I would select the required style. What you see above needs tweaking to align it but you'll get the idea.

After that style I would return to Normal and then click the list icon again. It would show as ! but then you right click to change that to whatever, 3 in this example.

 

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
JudyS1954Author
Known Participant
April 1, 2020

I guess you could do it this way but I wanted to have a style that did what you are describing.

Something similar to what you do in Word I where you set a style for formatting instead of manually formatting (which this seem what you are describing does). Maybe RoboHelp doesn't do it - that is what I am basically asking.

I am going to try the paragraph style that was described in one of the responses and see what happens but thanks for your response.

Community Expert
April 1, 2020

@Judy I didn't mention anything about a div style? I just suggested removing the dot from the style name as I think it has a special meaning. So create your style as p.listcontinue (without a dot between 'list' and 'continue'.

Community Expert
March 31, 2020

p.list.continue isn't a normal style name. Remove the  dot between list and continue and see if the style now shows up for paragraphs.

 

(I think the dot is valid but indicates two separate styles applied to the one p tag - I'm assuming you didn't intend that and I would avoid that for the moment as I'm not sure if RH is currently designed to handle it.)

JudyS1954Author
Known Participant
April 1, 2020
Yes, you are correct about having to numbering restarting with the div style and I did have to manually reset it each time I used the div style.
I will try the paragraph style for the list continue and see if it works.
Erwin.Timmerman
Inspiring
March 31, 2020

I'm doing exactly what you're doing, except with p tags instead of div tags. Otherwise the numbering restarts. One other option would be to create a p style that has its own numbering and only resets with specific other p styles. I haven't had the time yet though to figure this out completely. So indeed, since the gui doesn't support extra elements inside a li tag, it's source code city for me as well.

JudyS1954Author
Known Participant
April 1, 2020

Thanks. I will try that and see if it works.

Jeff_Coatsworth
Community Expert
Community Expert
March 31, 2020

You can't reply by e-mail & have it come through correctly. Use the web interface - am I correct in identifying where the issue is?

JudyS1954Author
Known Participant
March 31, 2020

Not sure what I am doing wrong. I will attach it to this email.


Judy Shaltiel, Senior Technical Communicator
[personal info removed by moderator]

Jeff_Coatsworth
Community Expert
Community Expert
March 31, 2020

So the lines "Enter a short description about the case..." in point #3 and "Press Select Module." in point #4 is what you're talking about?

Jeff_Coatsworth
Community Expert
Community Expert
March 31, 2020

Can you post a screenshot of what you're trying to accomplish? I haven't heard of many people having to work in source code view to deal with lists.

JudyS1954Author
Known Participant
March 31, 2020