From: joes@telxon.uucp (Joe Staudt)
Newsgroups: comp.text.interleaf
Subject: Re: Table of contents:  How to set up the masters how I want them
Date: 27 Jul 92 12:57:02 GMT
Reply-To: joes@telxon.UUCP (Joe Staudt)
Organization: Telxon Corporation, Akron Ohio (NNTP with a :-)

In article <1992Jul24.120405.15075@clpd.kodak.com> 
coriale@casper.serum.kodak.com (Matthew Coriale (x37975)) writes:
>In article <1992Jul24.120612.1@cc.newcastle.edu.au>
>eekl@cc.newcastle.edu.au (Kim LAW, Dept. E.E., Uni Newcastle, NSW,
>AUSTRALIA) writes:  >In article <1992Jul23.162507.24523@rtsg.mot.com>,
>wolfmc@rtsg.mot.com (Michael Wolf) writes:  
>>> I would like to have the table of contents use the masters I have 
>>> set up.  Each time the TOC is generated, it forgets my changes to 
>>> the masters in the previous TOC.  
>>> 
>>> This is causing problems because I have tabs som of the TOC entries 
>>> and it screws up the tab formatting in the generated TOC.
>>> 
>>> All help is appreciated 
>>> 
>>> TIA 
>>> 
>>> Michael 
>>>
>
>Well, the way the TOC feature works is this:  Whenever you do a "TOC",
>it merely writes a new ascii-text file of the table-of-contents.  It
>does create a component for each of the entries, however, these masters
>are not dependant upon what was previously in the other TOC (as you
>have found out).  What you need to do is this:  Enter into the next
>realm of InterGrief Wizardry - CATALOGS!
>
[description of catalog use deleted]

Yes, catalogs work great...IF YOU BUY THAT "OPTION" FROM INTERGRIEF!
For some reason, the powers that be here at Telxon have decided we don't need
that one, so we have to do things the "old-fashioned" way:  manually.

Someone else has already discussed the use of templates and pasting the new
TOC info into them.  This is what we do, with maybe one minor difference.

Quite often, at least one of the TOC files we generate for each document (yes,
you can have several tables of contents; but then, you all knew that already)
has a format that is unique to that document.  Also, the header and footer
contents are unique to each document, as well as each TOC file.  One could save
"master" copies of these TOC files, but there is another way.

Before creating your new TOC file(s), make a copy of the old one and place it
"elsewhere" on your desktop; then make the new TOC file(s).  Cut the new TOC,
open the old TOC, and paste.  Then select the appropriate component(s) in the
old part of the TOC and do an update to make the new ones match (sound
familiar?).  Delete the old TOC information, close the file, and then copy it
back into the original document.  Voila!

This save the disk space required to keep "master" copies for each TOC file
type for each document.  We do have a single, "generic" master TOC that we use
to do the initial formatting the first time we generate the TOCs for a new
document; after that, we use the old TOCs to generate the new ones.

>
>/* The inventor of the nick-name "InterGrief" */
                                   ^^^^^^^^^^
Boy, I wish _I'd_ thought of that!

Joe


Joseph Staudt, Telxon Corp. | ...!uunet!telxon!joes || joes%telxon@uunet.uu.net
P.O. Box 5582               | 
Akron, OH  44334-0582       | God is real, unless declared integer.
(216) 867-3700 x3522        | 
Newsgroups: comp.text.interleaf