[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: Laurence Burrows <burrows@xxxxxxx>, wadedo@xxxxxxxxxxxxxxxxxx, Free Framers <framers@xxxxxxxxx>
Subject: Re: Bulleted Step, yes and no (a modification)
From: Dan Emory <danemory@xxxxxxxxxxxx>
Date: Fri, 27 Nov 1998 18:38:54 -0700 (MST)
Sender: owner-framers@xxxxxxxxx
The implementation I described in my previous post on this thread can be
further modified so that it applies to cautions and warnings as well as
notes, in which the first separator line contains the alert title (Note,
Caution, or Warning), and the author can specify whether multiple paragraphs
are bulleted, numbered, or plain.
Element (Container): Alert
General Rule: Separator, Alert_Body, Separator
Attribute List:
1. Name: ListType Choice Optional
Choices: Bullets,Steps,None
Default: None
2. Name: AlertType Choice Optional
Choices: Note,Caution.Warning
Default: Note
Element (Container): Alert_Body
General Rule: Alert_Text+
Element (Container): Alert_Text
General Rule: <TEXT>
Text Format Rules
Element paragraph format:AlertPlain
1. If context is: { only }
No additional formatting
Else, if context is: * < Alert[ListType = "None"]
No additional formatting
Else, if context is: * < Alert[ListType = "Bullet"]
Use Format Change List: Bullet
Else, if context is: * < Alert[ListType = "Steps"]
1.1 If context is: { first }
Use Format Change List: Step1
Else
Use Format Change List: Step
2. If context is { last )
Use Format Change List:XtraSpaceBelow
Element (Container): Separator
General Rule: <EMPTY>
Text Format Rules
Element paragraph format:Separator
1. If context is: { first }
1.1 If context is: * < Alert[AlertType = "Note"]
Use Format Change List: Note
Else if context is: * < Alert[AletType = "Caution"]
Use Format Change List: Caution
Else if context is: * < Alert[AletType = "Warning"]
Use Format Change List: Warning
Where:
Paragraph format AlertPlain defines an alert paragraph with no
autonumbering, a Space Above of 3.0 pt, a Space Below of 0.0 pt.,
and First and Left indents of 0.0"
Format Change List Bullet modifies the format of AlerPlain
to add:
\b\t to the autonumbering format specification.
A tab stop at 0.25"
Changes the Left indent from 0.0" to 0.25"
Format Change List Step 1 modifies the format of AlertPlain
to add:
S:<n=1>\t to the autonumbering format specification
A tab stop at 0.25"
Changes the Left Indent from 0.0" to 0.25"
Format Change List Step modifies the format of AlertPlain
to add:
S:<n+>\t to the autonumbering format specification
A tab stop at 0.25"
Changes the Left Indent from 0.0" to 0.25"
Format Change List XtraSpace Below modifies the format
of AlertPlain to add:
3.0 pts to the Space Belowe, so as to provide space
that separates the last AlertPlain paragraph from the
Separator that follows it.
Paragraph format Separator defines an empty paragraph with a
Frame Above containing a line from a reference page frame.
Format Change List Note modifies the format of the
Separator paragraph to:
Specify that the paragraph is centered
Specify the word Note in the autonumbering
specification
Format Change List Caution modifies the format of the
Separator paragraph to:
Specify that the paragraph is centered
Specify the word Caution in the autonumbering
specification
Format Change List Warning modifies the format of the
Separator paragraph to:
Specify that the paragraph is centered
Specify the word Warning in the autonumbering
specification
Note that:
1. Attribute ListType in the Alert container determines whether bullets or
numbered steps are created when there is more than one note paragraph. If
this attribute is set to "None", neither the paragraphs are not preceded by
a bullet or step number
2. Attribute AlertType in the Alert container determines which word (Note,
Caution, or Warning, created in the autonumbering specification for the
Separator paragraph format) appears in the first Separator. This word
appears centered below the top separator line.
3. Creation of the Alert_Body container for the alert text allows the
sibling relationships { only } and { first } to be used, which is the
critical requirement for determining whether or not bullets or steps are to
be created, and, in the case of steps, to determine which paragraph has the
starting number of 1.
4. Use of the sibling indicator { only } deals with the case where there is
a single note paragraph, which is neither bulleted or numbered. In this
case, as well as the case where the ListType attribute is set to "None", no
additional formatting of the AlertPlain paragraph is needed
5. If there is more than one alert paragraph, the { only } test fails, and
the format change lists for creating bullets or steps (as determined by the
ListType attribute are used on all note paragraphs.
6. Use of the sibling indicator { last } is used to determine which alert
paragraph uses format change list XtraSpaceBelow (if there is only one
alert paragraph, this format change list is applied to that alert paragraph,
since it is the last (as well as the only) sibling).
____________________
| Nullius in Verba |
********************
Dan Emory, Dan Emory & Associates
FrameMaker/FrameMaker+SGML Document Design & Database Publishing
Voice/Fax: 949-722-8971 E-Mail: danemory@primenet.com
10044 Adams Ave. #208, Huntington Beach, CA 92646
** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body. **