6
<expand|tmdoc-title|Books and multifile documents>
8
When a document gets really large, you may want to subdivide it into
9
smaller pieces. This both makes the individual pieces more easily reusable
10
in other works and it improves the editor's responsiveness. An entire file
11
can be inserted into another one using <apply|menu|Insert|Link|Include>. In
12
order to speed up the treatment of included documents, they are being
13
buffered. In order to update all included documents, you should use
14
<apply|menu|Tools|Update|Inclusions>.
16
When writing a book, one usually puts the individual chapters in files
17
<verbatim|c1.tm>, <verbatim|c2.tm> until <verbatim|cn.tm>. One next creates
18
one file <verbatim|book.tm> for the whole book, in which the files
19
<verbatim|c1.tm>, <verbatim|c2.tm> until <verbatim|cn.tm> are included
20
using the above mechanism. The table of contents, bibliography, etc. are
21
usually put into <verbatim|book.tm>.
23
In order to see cross references to other chapters when editing a
24
particular chapter <verbatim|ci.tm>, one may specify <verbatim|book.tm> as
25
a ``master file'' for the files <verbatim|c1.tm> to <verbatim|cn.tm> using
26
<apply|menu|Document|Master|Attach>. Currently, the chapter numbers
27
themselves are not dealt with by this mechanism. You may want to manually
28
assign the environment variable <verbatim|chapternr> at the start of each
29
chapter file in order to get the numbering right when editing.
31
<apply|tmdoc-copyright|1998--2002|Joris van der Hoeven>
33
<expand|tmdoc-license|Permission is granted to copy, distribute and/or
34
modify this document under the terms of the GNU Free Documentation License,
35
Version 1.1 or any later version published by the Free Software Foundation;
36
with no Invariant Sections, with no Front-Cover Texts, and with no
37
Back-Cover Texts. A copy of the license is included in the section entitled
38
"GNU Free Documentation License".>
43
<associate|paragraph width|150mm>
44
<associate|odd page margin|30mm>
45
<associate|shrinking factor|4>
46
<associate|page right margin|30mm>
47
<associate|page top margin|30mm>
48
<associate|reduction page right margin|25mm>
49
<associate|page type|a4>
50
<associate|reduction page bottom margin|15mm>
51
<associate|even page margin|30mm>
52
<associate|reduction page left margin|25mm>
53
<associate|page bottom margin|30mm>
54
<associate|reduction page top margin|15mm>
55
<associate|language|english>