summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-twooptarg.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-twooptarg.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-twooptarg.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-twooptarg.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-twooptarg.html
index 9027a346d66..d6846f32db1 100644
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-twooptarg.html
+++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-twooptarg.html
@@ -2,9 +2,9 @@
<title>UK TeX FAQ -- question label twooptarg</title>
</head><body>
<h3>More than one optional argument</h3>
-<p/>If you&rsquo;ve already read
-&ldquo;<a href="FAQ-moren9.html">breaking the 9-argument limit</a>&rdquo;.
-you can probably guess the &ldquo;simple&rdquo; solution to this problem:
+<p/>If you&#8217;ve already read
+&#8220;<a href="FAQ-moren9.html">breaking the 9-argument limit</a>&#8221;.
+you can probably guess the &#8220;simple&#8221; solution to this problem:
command relaying.
<p/>LaTeX allows commands with a single optional argument thus:
<pre>
@@ -30,17 +30,17 @@ technique, as follows:
</pre>
Of course, <code>\</code><code>BlahRelay</code> may have as many mandatory arguments as are
allowed, after allowance for the one taken up with its own
-optional argument &mdash; that is, 8.
+optional argument &#8212; that is, 8.
<p/>Variants of <code>\</code><code>newcommand</code> (and friends), with names like
<code>\</code><code>newcommandtwoopt</code>, are available in the <i>twoopt</i> package.
-However, if you can, it&rsquo;s probably better to learn to write the commands
-yourself, just to see why they&rsquo;re not even a good idea from the
+However, if you can, it&#8217;s probably better to learn to write the commands
+yourself, just to see why they&#8217;re not even a good idea from the
programming point of view.
-<p/>A command with two optional arguments strains the limit of what&rsquo;s
+<p/>A command with two optional arguments strains the limit of what&#8217;s
sensible: obviously you can extend the technique to provide as many
optional arguments as your fevered imagination can summon. However,
see the comments on the use of the <i>keyval</i> package, in
-&ldquo;<a href="FAQ-moren9.html">breaking the 9-argument limit</a>&rdquo;,
+&#8220;<a href="FAQ-moren9.html">breaking the 9-argument limit</a>&#8221;,
which offers an alternative way forward.
<p/>If you must, however, consider the <i>optparams</i> or
<i>xargs</i> packages. <i>Optparams</i>
@@ -61,7 +61,7 @@ arguments. Thus
defines a command <code>\</code><code>foo</code> that has an optional first argument
(default 1), a mandatory second argument, and an optional third
argument (default n).
-<p/>An alternative approach is offered by Scott Pakin&rsquo;s
+<p/>An alternative approach is offered by Scott Pakin&#8217;s
<i>newcommand</i> program, which takes a command name and a
definition of a set of command arguments (in a fairly
readily-understood language), and emits (La)TeX macros which enable
@@ -69,8 +69,8 @@ the command to be defined. The command requires that a
<i>Python</i> interpreter (etc.) be installed on your computer.
<dl>
<dt><tt><i>newcommand.py</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/support/newcommand.zip">support/newcommand</a> (or <a href="http://www.tex.ac.uk/tex-archive/support/newcommand/">browse the directory</a>)
-<dt><tt><i>optparams.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/sauerj.zip">macros/latex/contrib/sauerj</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/sauerj/">browse the directory</a>)
-<dt><tt><i>twoopt.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek/">browse the directory</a>)
+<dt><tt><i>optparams.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/sauerj.zip">macros/latex/contrib/sauerj</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/sauerj/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/optparams.html">catalogue entry</a>
+<dt><tt><i>twoopt.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/twoopt.html">catalogue entry</a>
<dt><tt><i>xargs.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/xargs.zip">macros/latex/contrib/xargs</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/xargs/">browse the directory</a>)
<dt><tt><i>xkeyval.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/xkeyval.zip">macros/latex/contrib/xkeyval</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/xkeyval/">browse the directory</a>)
</dl>