|Books and multifile documents|
When a document gets really large, you may want to subdivide it into
smaller pieces. This both makes the individual pieces more easily
reusable in other works and it improves the editor's responsiveness.
An entire file can be inserted into another one using
When writing a book, one usually puts the individual chapters in files c1.tm, c2.tm until cn.tm. One next creates one file book.tm for the whole book, in which the files c1.tm, c2.tm until cn.tm are included using the above mechanism. The table of contents, bibliography, etc. are usually put into book.tm.
In order to see cross references to other chapters when editing a
particular chapter ci.tm, one may specify book.tm
as a “master file” for the files c1.tm to