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

Lester C. Smalley lsmalley at infocon.com
Tue Sep 18 09:46:59 PDT 2007


Sure - this is actually pretty easy.  You need to use blank placeholders
"< > " to keep FM from changing certain counters while incrementing the
one you're interested in. For example:

  Step = S:Step <n+>0: 
 Table = S:Table <n>0.< ><a+>
Figure = S:Figure <n>0.<a+>< >

On Tuesday, September 18, 2007 12:41 PM, Maxwell Hoffmann 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:

|  
| 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


- Lester 
-------------------------------------------------------
Lester C. Smalley              Email: lsmalley AT infocon DOT com 	
Information Consultants, Inc.  Phone: 302-239-2942 FAX: 302-239-1712	
Yorklyn, DE  19736               Web: www.infocon.com	
-------------------------------------------------------



More information about the framers mailing list