I have a procedure I'm trying to document. It involves a series of steps for the user to execute. I want to use the autoformatting of an ordered list but I want the output to appear like this:
Step 1: <text>
Step 2: <text>
I had figured out how to do this in word by custominzing my numbered list. Is there a way to get this effect using stylesheets in Flare?
Creating customized ordered list
Creating customized ordered list
JRP
"How many slime-trailing, sleepless, slimy, slobbering things do you know that will run and hide from your Eveready?"
--Maureen Birnbaum, Barbarian Swordsperson
"How many slime-trailing, sleepless, slimy, slobbering things do you know that will run and hide from your Eveready?"
--Maureen Birnbaum, Barbarian Swordsperson
-
SteveS
- Senior Propellus Maximus
- Posts: 2090
- Joined: Tue Mar 07, 2006 5:06 pm
- Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
- Contact:
Re: Creating customized ordered list
For my comments I use the autonumber setup:
R is the counter I've assigned, Comment is the text that appears each time and it is globally updated.
So, try Notice there is a space after the text Step
HTH
Code: Select all
R:COMMENT {Gn+}: So, try
Code: Select all
R:Step {Gn+}HTH
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Re: Creating customized ordered list
Are you assigning this as part of a paragraph style? I tried creating an li style and modifying the mc-auto-number-format but since the list is already defined as an ordered list, I get:
Even setting the list-style-type to none didn't fix the problem.
When I tried creating a paragraph style using the mc-auto-number-format, I could get:
However, I can't get the text to offset correctly. In other words, when it wraps, it wraps under the Step 1:, Step 2: etc.:
I tried setting a left margin of 50px for the paragraph style's box margin-left attribute and then setting a -50px offset for the mc-auto-number-offset but all that did is indent everything, including the auto-numbering:
Ideally, it should look like this:
I just haven't figured out the right combination of settings (if there are any) to make it happen.
Code: Select all
1. Step 1: <text>
2. Step 2: <text>When I tried creating a paragraph style using the mc-auto-number-format, I could get:
Code: Select all
Step 1: <text>
Step 2: <text>Code: Select all
Step 1: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris
iaculis viverra massa. Proin vel quam. Mauris at libero eu neque lobortis
pulvinar. Donec varius felis id nibh.
Step 2: Nulla dignissim, augue quis hendrerit aliquam, libero augue
adipiscing ipsum, et ultrices dui nisi quis felis. Ut lorem. Nam vel
urna eget nibh ultrices adipiscing. Class aptent taciti sociosqu ad
litora torquent per conubia nostra, per inceptos himenaeos.
Suspendisse in urna. Curabitur interdum aliquet nisl.Code: Select all
Step 1: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris
iaculis viverra massa. Proin vel quam. Mauris at libero eu neque lobortis
pulvinar. Donec varius felis id nibh.
Step 2: Nulla dignissim, augue quis hendrerit aliquam, libero augue
adipiscing ipsum, et ultrices dui nisi quis felis. Ut lorem. Nam vel
urna eget nibh ultrices adipiscing. Class aptent taciti sociosqu ad
litora torquent per conubia nostra, per inceptos himenaeos.
Suspendisse in urna. Curabitur interdum aliquet nisl.Code: Select all
Step 1: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris
iaculis viverra massa. Proin vel quam. Mauris at libero eu neque lobortis
pulvinar. Donec varius felis id nibh.
Step 2: Nulla dignissim, augue quis hendrerit aliquam, libero augue
adipiscing ipsum, et ultrices dui nisi quis felis. Ut lorem. Nam vel
urna eget nibh ultrices adipiscing. Class aptent taciti sociosqu ad
litora torquent per conubia nostra, per inceptos himenaeos.
Suspendisse in urna. Curabitur interdum aliquet nisl.JRP
"How many slime-trailing, sleepless, slimy, slobbering things do you know that will run and hide from your Eveready?"
--Maureen Birnbaum, Barbarian Swordsperson
"How many slime-trailing, sleepless, slimy, slobbering things do you know that will run and hide from your Eveready?"
--Maureen Birnbaum, Barbarian Swordsperson
Re: Creating customized ordered list
You're really close.
I have done exactly as you are trying to do.
I did it with a paragraph style assigned to the first paragraph of each step, with mc-auto-number-format set to "Step {n+}:" I set mc-auto-number-position to "inside-head".. Then I set margin-left to -4.50em. I put the whole procedure in a div with a margin of 4.5em.
Result:
http://www2.pcc.com/staff/douglas/procedure01.png
I have done exactly as you are trying to do.
I did it with a paragraph style assigned to the first paragraph of each step, with mc-auto-number-format set to "Step {n+}:" I set mc-auto-number-position to "inside-head".. Then I set margin-left to -4.50em. I put the whole procedure in a div with a margin of 4.5em.
Result:
http://www2.pcc.com/staff/douglas/procedure01.png
Re: Creating customized ordered list
Looking at your "ideal" example again, I'm not sure I've been helpful. You want the first LINE of the paragraph to indent OUTWARD, but no the whol first paragraph of a step.
I'm not sure if CSS has elements for controlling the first line of a paragraph.
Maybe my system will serve as a close second place?
Good luck!
-d
I'm not sure if CSS has elements for controlling the first line of a paragraph.
Maybe my system will serve as a close second place?
Good luck!
-d
-
SteveS
- Senior Propellus Maximus
- Posts: 2090
- Joined: Tue Mar 07, 2006 5:06 pm
- Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
- Contact:
Re: Creating customized ordered list
Yup. Try text-indent to create "old" style paragraphs where the first line has an indent.beagley wrote:...I'm not sure if CSS has elements for controlling the first line of a paragraph...
So, for the original poster, you are creating a paragraph style with mc-auto-number-format properties set (for your autonumbers), some method on controlling the whole paragraph indent (margin-left), and then text-indent.
HTH
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.