diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-include.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-include.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-include.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-include.html index 7a758f34ee1..baf7f0ec470 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-include.html +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-include.html @@ -1,7 +1,7 @@ <head> <title>UK TeX FAQ -- question label include</title> </head><body> -<h3>What’s going on in my <code>\</code><code>include</code> commands?</h3> +<h3>What’s going on in my <code>\</code><code>include</code> commands?</h3> <p/>The original LaTeX provided the <code>\</code><code>include</code> command to address the problem of long documents: with the relatively slow computers of the time, the companion <code>\</code><code>includeonly</code> facility was a boon. With the @@ -10,24 +10,24 @@ vast increase in computer speed, <code>\</code><code>includeonly</code> is less Nevertheless, the facility is retained in current LaTeX, and causes some confusion to those who misunderstand it. <p/>In order for <code>\</code><code>includeonly</code> to work, <code>\</code><code>include</code> makes a separate -<code>.aux</code> file for each included file, and makes a ‘checkpoint’ of +<code>.aux</code> file for each included file, and makes a ‘checkpoint’ of important parameters (such as page, figure, table and footnote numbers); as a direct result, it <em>must</em> clear the current page -both before and after the <code>\</code><code>include</code> command. What’s more, this -mechanism doesn’t work if a <code>\</code><code>include</code> command appears in a file +both before and after the <code>\</code><code>include</code> command. What’s more, this +mechanism doesn’t work if a <code>\</code><code>include</code> command appears in a file that was <code>\</code><code>include</code>d itself: LaTeX diagnoses this as an error. <p/>So, we can now answer the two commonest questions about <code>\</code><code>include</code>: <ul> <li> Why does LaTeX throw a page before and after <code>\</code><code>include</code> commands? -<p/> Answer: because it has to. If you don’t like it, replace the - <code>\</code><code>include</code> command with <code>\</code><code>input</code> — you won’t be able to use - <code>\</code><code>includeonly</code> any more, but you probably don’t need it anyway, so - don’t worry. -<p/><li> Why can’t I nest <code>\</code><code>include</code>d files? — I always used to be +<p/> Answer: because it has to. If you don’t like it, replace the + <code>\</code><code>include</code> command with <code>\</code><code>input</code> — you won’t be able to use + <code>\</code><code>includeonly</code> any more, but you probably don’t need it anyway, so + don’t worry. +<p/><li> Why can’t I nest <code>\</code><code>include</code>d files? — I always used to be able to under LaTeX 2.09. -<p/> Answer: in fact, you couldn’t, even under LaTeX 2.09, but the failure - wasn’t diagnosed. However, since you were happy with the behaviour +<p/> Answer: in fact, you couldn’t, even under LaTeX 2.09, but the failure + wasn’t diagnosed. However, since you were happy with the behaviour under LaTeX 2.09, replace the <code>\</code><code>include</code> commands with <code>\</code><code>input</code> commands (with <code>\</code><code>clearpage</code> as appropriate). </ul> |