Autonumber challenge: Table 10.a, Table 10.b and Figure 10.a

Fred Ridder docudoc at hotmail.com
Tue Sep 18 09:57:22 PDT 2007


This is fairly easy. You just need to control separate counter 
elements as for each type of number and include placeholders
as necessary. The only thing unusual is making the step 
number an unseparated compound of the chapter number
system variable (<$chapnum>) plus a zero. I've never seen
this particular convention or style before...
 
The first counter is for the step number, so let's use the 
second one for the figure numbers and the third counter
for the table number. The numbering format definitions them 
become:
 
Step = S:Step <$chapnum>0< =0>< =0>: 
Table = F:Figure <$chapnum>0.<a+>< >
Figure = T:Table <$chapnum>0.< ><a+>
 
This scheme resets the counters for the table number and 
figure number at each occurrence of the step tag. Note 
that the building blocks have a space between the opening
angle bracket and the equals sign, which is the character to 
suppress display of the number element. The space inside
the angle brackets is a placeholer building block which 
prevents the Figure tag from affecting the value of the 
counter for the table number. The placeholder in the Table
tag definition is not functionally necessary, but is included 
as a good practice that helps you remember that this is
a 3-element numbering scheme.
 
Fred Riddermhoffmann at translate.com wrote:
> I have a challenge with autonumbering, and can't recall the 
> solution. (Ran into this unusual numbering style some years 
> ago.) I am trying to get a complex autonumbering sequence 
> to work in unstructured FM7.2 on Windows.
> > I'm assisting a customer with a template that requires the > following numbered paragraphs to occur w/in one document:> > Step 10: How to rinse the sink> <body text>> Step 20: How to dry the sink> <text>> Table 20.a> <table>> Table 20.b> <table>> Figure 20.a> <Figure>> Step 30: How to fill the sink> <body text>> Figure 30.a> <Figure>> > In other words, both Table Title and Figure Title have > to inherit their primary number from the "Step". The > problem is how to maintain a separate number stream > for Tables and Figures that will let them number sequentially, 
> and not be affected by one another.> > Here are my para number definitions:> Step = S:Step <n+>0: > Table = S:Table <n>0.<a+>> Figure = S:Figure <n>0.<a+>> > When mixing Figures and Tables I get results like these:> Step 10: > Figure 10.a > Figure 10.b > Figure 10.c > Table 10.d > Step 20:> > ... The "Table" needs to number at "Table 10.a" > > I thought of using <$chapnum> for the primary <n+> 
> in the "Step" para, but <$chapnum> will not number 
> sequentially w/in the same document. Using the following 
> definitions works for one "Step 10:" but there is no way 
> to have "Step 20:" number sequentially:> Step = S:Step <$chapnum>0: > Table = F:Figure <$chapnum>0.<a+>> Figure = T:Table <$chapnum>0.<a+>> > These definitions produce the following results:> Step 10: > Figure 10.a > Figure 10.b > Figure 10.c > Table 10.a> Step 10:> > FYI -- this document does not require or use a conventional 
> numbered chapter heading.> > Can anyone out there think of an autonumbering pattern in 
> FrameMaker (7.2) that will work for the sequence I describe 
> at the beginning of my email? Any and all advice welcomed.> > Maxwell Hoffmann/ENLASO> (805) 807-0853
_________________________________________________________________
Kick back and relax with hot games and cool activities at the Messenger Café.
http://www.cafemessenger.com?ocid=TXT_TAGLM_SeptWLtagline


More information about the framers mailing list