🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #25030

Re: TOC for every chapter

#25030
From: Thomas Michanek
Date: Tue, 23 Jul 2002 13:43
40 lines
2870 bytes
> Any suggestions on how to create a table of contents for every chapter in a book seperately

For chapter-level TOCs in a book, there's no really simple way.
The alternatives are:

a) If you don't have too many headings in your chapter-level TOC,
   and you don't add/delete/move headings a lot, using cross-refs
   to make up a TOC is an option. You have to create special cross-ref
   formats that look like TOC entries, and you have to insert them
   manually (that's why you don't want the headings to change much).
   A TOC made up of cross-refs will always be updated correctly
   when you update the book.

b) Copy and paste each chapter's TOC from a large book-level TOC
   into your chapter files. This is a manual method that sometimes
   needs another book update and copy/paste session, if your page
   numbering is changed by the addition of the TOC.

c) From each chapter file, generate a TOC file and insert it as
   a text inset in the chapter file. The TOC file will be included
   automatically, but you have to re-generate the chapter TOCs manually.
   A book update cannot generate TOCs for individual files.

d) A variant of the above: create a small mini-book for each chapter,
   consisting of the chapter file and the generated TOC, and insert
   the TOC as a text inset in the chapter file. Before updating the
   large book, run a script to first update all mini-books. This can
   be achieved by fmbatch on UNIX or DZbatcher on Windows.

e) Make each chapter file use their own unique heading tags, e.g.
   Heading1_A in file A and Heading1_B in file B. Then you can create
   a book TOC for each chapter, using only the chapter-specific tags.
   This is completely automatic, but very cumbersome and not very
   template-friendly...


-- 
/Thomas Michanek, FrameMaker/UNIX/MIF expert
mailto:Thomas.Michanek@telia.com
http://go.to/framers/
Technical Details
Message-ID: <87082F12AF170E5BED1CC0F05AAC959D@in.WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef9cc46.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd315,68bb61c26e754382
X-Google-Attributes: gidfd315,public
X-Google-ArrivalTime: 2002-07-23 07:14: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-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.framemaker
Subject: Re: TOC for every chapter
Message-ID: <87082F12AF170E5BED1CC0F05AAC959D@in.WebX.aaQKaf7vad4>
Date: Tue, 23 Jul 2002 06:43:10 -0700
References: <ef9cc46.-1@WebX.aaQKaf7vad4>
Reply-To: "Thomas Michanek" <thomas.michanek@telia.com>
Lines: 41
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