summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-moren9.html
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-07 22:47:28 +0000
committerKarl Berry <karl@freefriends.org>2010-04-07 22:47:28 +0000
commit3f1971c9b7717818766692c9aa497e20e7472f2c (patch)
tree678de0190b6643b1b21fd9441fa1387bce180726 /Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-moren9.html
parentc7c3b090320a234149dbe23315e2a15a2773ac79 (diff)
FAQ-en 3.19d (7apr10)
git-svn-id: svn://tug.org/texlive/trunk@17742 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-moren9.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-moren9.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-moren9.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-moren9.html
index 0606222fef5..a798bfe9ab6 100644
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-moren9.html
+++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-moren9.html
@@ -2,16 +2,16 @@
<title>UK TeX FAQ -- question label moren9</title>
</head><body>
<h3>How to break the 9-argument limit</h3>
-<p/>If you think about it, you will realise that Knuth&rsquo;s command
+<p/>If you think about it, you will realise that Knuth&#8217;s command
definition syntax:
<blockquote>
<pre>
-\def\blah#1#2 ... #9{&lt;macro body&gt;}
+\def\blah#1#2 ... #9{&#60;macro body&#62;}
</pre>
</blockquote><p>
-is intrinsically limited to just 9 arguments. There&rsquo;s no direct way
-round this: how would you express a 10th argument? &mdash; and ensure that
-the syntax didn&rsquo;t gobble some other valid usage?
+is intrinsically limited to just 9 arguments. There&#8217;s no direct way
+round this: how would you express a 10th argument? &#8212; and ensure that
+the syntax didn&#8217;t gobble some other valid usage?
<p/>If you really must have more than 9 arguments, the way to go is:
<blockquote>
<pre>
@@ -27,7 +27,7 @@ the syntax didn&rsquo;t gobble some other valid usage?
% \ArgI-\ArgIX
% arguments 10-12 are in
% #1-#3
- &lt;macro body&gt;%
+ &#60;macro body&#62;%
}
</pre>
</blockquote><p>
@@ -35,7 +35,7 @@ This technique is easily extendible by concert pianists of the TeX
keyboard, but is really hard to recommend.
<p/>LaTeX users have the small convenience of merely giving a number of
arguments in the <code>\</code><code>newcommand</code> that defines each part of the
-relaying mechanism: Knuth&rsquo;s restriction applies to <code>\</code><code>newcommand</code>
+relaying mechanism: Knuth&#8217;s restriction applies to <code>\</code><code>newcommand</code>
just as it does to <code>\</code><code>def</code>. However, LaTeX users also have the
way out of such barbarous command syntax: the <i>keyval</i>
package. With <i>keyval</i>, and a bit of programming, one can
@@ -54,11 +54,11 @@ like:
</pre>
</blockquote><p>
The merit of such verbosity is that it is self-explanatory: the typist
-doesn&rsquo;t have to remember that argument twelve is <code>soiltype</code>, and so
+doesn&#8217;t have to remember that argument twelve is <code>soiltype</code>, and so
on: the commands may be copied from field notes quickly and
accurately.
<dl>
-<dt><tt><i>keyval.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/graphics.zip">macros/latex/required/graphics</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/graphics/">browse the directory</a>)
+<dt><tt><i>keyval.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/graphics.zip">macros/latex/required/graphics</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/graphics/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/keyval.html">catalogue entry</a>
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=moren9">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=moren9</a>
</body>