diff options
author | Karl Berry <karl@freefriends.org> | 2005-12-29 00:31:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2005-12-29 00:31:48 +0000 |
commit | a9d59a2d83b345581f2eb0c6b7f08c091f5622f0 (patch) | |
tree | 00fba7fbf3f00c16be8699398c6e4c2a256c68ac /Master/texmf-doc/doc/english/FAQ-en/html/FAQ-semanticnest.html | |
parent | 89caab08d62b22519b44acf582a5fc3d302cbd60 (diff) |
doc/english/F-ca
git-svn-id: svn://tug.org/texlive/trunk@19 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-semanticnest.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-semanticnest.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-semanticnest.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-semanticnest.html new file mode 100644 index 00000000000..4ee01d4c9a4 --- /dev/null +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-semanticnest.html @@ -0,0 +1,49 @@ +<head> +<title>UK TeX FAQ -- question label semanticnest</title> +</head><body> +<h3>Capacity exceeded [semantic nest ...]</h3> +<p> +<pre> +! TeX capacity exceeded, sorry [semantic nest size=100]. +... +If you really absolutely need more capacity, +you can ask a wizard to enlarge me. +</pre> +Even though TeX suggests (as always) that enlargement by a wizard +may help, this message usually results from a broken macro or bad +parameters to an otherwise working macro. +<p>The "semantic nest" TeX talks about is the nesting +of boxes within boxes. A stupid macro can provoke the error pretty +easily: +<blockquote> + +<pre> +\def\silly{\hbox{here's \silly being executed}} +\silly +</pre> +</blockquote> +The extended traceback + +(see <a href="FAQ-erroradvice.html"><em>general advice</em> on errors</a>) +<em>does</em> help, though it does rather run on. In the case above, +the traceback consists of +<pre> +\silly ->\hbox { + here's \silly being executed} +</pre> +followed by 100 instances of +<pre> +\silly ->\hbox {here's \silly + being executed} +</pre> +The repeated lines are broken at exactly the offending macro; of +course the loop need not be as simple as this - if <code>\</code><code>silly</code> calls +<code>\</code><code>dopy</code> which boxes <code>\</code><code>silly</code>, the effect is just the same and +alternate lines in the traceback are broken at alternate positions. +<p>There are in fact two items being consumed when you nest boxes: the +other is the grouping level. Whether you exhaust your +<em>semantic nest</em> or your permitted <em>grouping levels</em> first is +controlled entirely by the relative size of the two different sets of +buffers in your (La)TeX executable. +<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=semanticnest">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=semanticnest</a> +</body> |