Article View: adobe.framemaker.sgml
Article #286Re: Figure and Table number captions
From: Lynne_A._Price
Date: Thu, 22 Jan 2009 17:42
Date: Thu, 22 Jan 2009 17:42
20 lines
2056 bytes
2056 bytes
Janice,
The key to Ian's solution is the use of < > (the space between the angle brackets is crucial). To explain why this works, each autonumbering sequence (S in your case) contains an arbitrary number of counters. You specify counters by enclosing a special one-character code in angle brackets. This code indicates how the counter is displayed. The letter n, for instance, indicates that the counter is displayed as an Arabic numeral, R indicates an uppercase Roman numeral, and so on. A space means that the counter is not displayed.
Of course, any of these codes can be followed by a + to indicate that the value should be incremented, or by an = and an integer to set the counter to the specified value. Thus < =0> sets a counter to 0 without displaying it and < +> increments a counter without displaying it.
Any counter that is not mentioned is reset to 0. Thus, the autonumbers:
<n>
<n>< =0>
are equivalent.
You are using the first three counters in the S sequence for section headings of different levels. You can use the 4th for for tables and the 5th for figures (or the other way around). You need to use the space code for two reasons:
* To skip past unused counters (e.g., to avoid including the table counter in a figure number)
* To avoid resetting a counter that you don't want to display (e.g., to avoid resetting the figure count to 0 each time you display a table number).
--Lynne
Technical Details
Message-ID:
<59b778b9.7@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b778b9.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,8b1b5c9154b94c3b X-Google-Attributes: gidfcc08,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Lynne_A._Price@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.framemaker.sgml Subject: Re: Figure and Table number captions Message-ID: <59b778b9.7@webcrossing.la2eafNXanI> Date: Thu, 22 Jan 2009 09:42:46 -0800 References: <59b778b9.-1@webcrossing.la2eafNXanI> Lines: 30 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit