🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #25166

Re: Brain Teaser - Figure numbering

#25166
From: Thomas Michanek
Date: Mon, 22 Jul 2002 13:00
50 lines
3624 bytes
> I've thought about using seperate subheadings for the figures, but this
> presents two problems:
> 1. Not all subheadings will have figures associated with them;
> 2. The two subheads (text and figures) will be disjointed and if new
> subheadings are inserted in the document the numbering would change and
> would not match the figure subheadings.

The problem with disjoint numbering can be solved by using cross-refs to
the text subheadings instead of using autonumbering, but this will not
help with numbering the actual figures correctly (which is your actual
problem :-)

I would do the following:
Use a heading for the figure "part" of the document, with a numbering
series that resets to zero. You would make the numbering invisible or
non-printed by using "< =0>" building blocks.
Create a number of special subheading paragraphs that increment the
subheading numbering in the same way as in the text part of the document,
and use non-printing building blocks.
Insert these special subheadings to mimic the structure of the text part.
Anchor the figures to these subheadings, and then use the same numbering
series in the autonumbering for the figure titles, but with all building
blocks printed (and not incrementing for the subheading numbers).
The subheading numbers will increment correctly but not be visible until
you actually insert a figure with a figure title.
The cross-refs from the text to the figure titles will pick up the correct
figure numbers, as they correspond to the text subheadings.
This would force you to manually create and maintain a (invisible) subheading
structure exactly corresponding to the text part.

There is another way, which I haven't tested at all:
Use a single separate anchoring paragraph, with no numbering.
For the figure title, use two paragraphs, the first being a run-in head.
The first paragraph contains a "<$paranum>" cross-reference to the
corresponding subheading in the text part, and the second paragraph uses
a normal "<n+>" autonumbering for the figure numbering.
You would have to reset the figure numbering between each "section".
The cross-refs from the text to the figure titles will be a little more
complex, as they have to pick up "numbering" from two separate paragraphs,
but it should be possible to solve correctly.

Either way, you will not be able to *automatically* insert a numbering
that follows the numbering of the text subheadings. There is no way to
achieve that in FM.


-- 
/Thomas Michanek, FrameMaker/UNIX/MIF expert
mailto:Thomas.Michanek@telia.com
http://go.to/framers/
Technical Details
Message-ID: <F34CB5DB30B8BF47C255B85DB9F1ECBD@in.WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!newspump.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef9c1db.-1@WebX.aaQKaf7vad4> <ef9c1db.1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd315,586139715a8a3ddf
X-Google-Attributes: gidfd315,public
X-Google-ArrivalTime: 2002-07-22 06:11:59 PST
From: "Thomas Michanek" <thomas.michanek@telia.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!newspump.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.framemaker
Subject: Re: Brain Teaser - Figure numbering
Message-ID: <F34CB5DB30B8BF47C255B85DB9F1ECBD@in.WebX.aaQKaf7vad4>
Date: Mon, 22 Jul 2002 06:00:17 -0700
References: <ef9c1db.-1@WebX.aaQKaf7vad4> <ef9c1db.1@WebX.aaQKaf7vad4>
Reply-To: "Thomas Michanek" <thomas.michanek@telia.com>
Lines: 51
Organization: Free Framers
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit