Andrzej Sawula wrote:
Ave,
Is it possible to insert a series of fields (or something similar)
that would be automatically numbered throughout the document, and
would be cross-referenceable as well?
Background: I am working on a fairly long document (my thesis, in
fact). I need to number every chemical compound mentioned, and facing
150+ pages I would really prefer the numbering to occur (and update!)
automatically. Now, the problem is, sometimes the compounds will be
presented on figures, sometimes only mentioned in text; moreover, not
all figures will present compounds to be numbered, and when they do,
not necessarily one per figure. That is why simple figure numbering
does not cut it. (And is needed for a "List of figures" anyway...)
Any suggestions, please? :-)
I learned how to do this using Jean Hollis Weber's book...
Try the following example
Use Insert | Fields | Other to open the Fields dialog.
Click on the Variables tab.
In the type column, choose "Number Range".
Now, notice that some number ranges have already been defined. For now,
lets use an already existing field name (but you can just as easily
create a new one by entering the new name).
Select the name "Table" with the value "Table + 1".
Assuming that the cursor is where you want it, Click on the insert button.
Typically, I would use text such as:
Table <inset the field here>: Population density on Detroit
Later, I can simply copy and paste this line (or just the field) rather
than using the Field dialog. Of course, you can insert these fields
anywhere that you desire and if you always use that "Table + 1" for the
value, then everything will be properly numbered.
Now, insert a reference. Open the Fields dialog (if it is not already
open). Select the References tab. Select Table in the Type column.
Select the instance that you desire to reference. Next, choose the
format for the reference. Finally, click on insert.
My free macro document does this for some of the tables and listings if
you want to see a working example. This is a 350 page document with
references.
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
My Macro Book: http://www.hentzenwerke.com/catalog/oome.htm
Free Info: http://www.pitonyak.org/oo.php
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]