Debian Codegraph @

texmf-dist/doc/generic/tex4ht/mn25.html

raw
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
5 <html xmlns="http://www.w3.org/1999/xhtml"
6 >
7 <head><title></title>
8 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9 <meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)" />
10 <meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)" />
11 <!-- xhtml,th4,index -->
12 <meta name="src" content="mn.tex" />
13 <link rel="stylesheet" type="text/css" href="mn.css" />
14 <meta name="viewport" content="width=device-width, initial-scale=1" />
15 </head><body
16 >
17 <!--l. 6597--><p class="noindent" ><a
18 href="mn11.html#mn25-1" name="mn25-1" >1</a>. <a
19 name="index25-65002"></a><span class="cmtt-10">\NewConfigure{</span><span class="cmti-10">name</span><span class="cmtt-10">}[</span><span class="cmti-10">i</span><span class="cmtt-10">]{</span><span class="cmti-10">body</span><span class="cmtt-10">}</span>
20 </p><!--l. 6599--><p class="indent" > Hooks are just macro names seeded within the bodies of other macros. This command introduces a
21 configuration command for a group of hooks, whose cardinality is given by a digit <span class="cmti-10">i </span>and whose name is provided by
22 the first parameter. The body determines the relationship between the hooks and the configurations provided for
23 them.
24 </p><hr />
25 <!--l. 6609--><p class="noindent" ><a
26 href="mn11.html#mn25-2" name="mn25-2" >2</a>. <a
27 name="index25-65004"></a><span class="cmtt-10">\Configure{</span><span class="cmti-10">name</span><span class="cmtt-10">}{</span><span class="cmti-10">parameter-1</span><span class="cmtt-10">}...{</span><span class="cmti-10">parameter-i</span><span class="cmtt-10">}</span>
28 </p>
29 <table id="TBL-13"
30 ><tr >
31 <td class="output"
32 ><div class="output"> * ho ha *
33 </div></td><td
34 ><div class="source">
35 <div class="ShowCode">
36 <br />&nbsp;<span class="cmtt-10">\NewConfigure{try}[2]{%</span>
37 <br />&nbsp;&nbsp;&nbsp;&nbsp;<span class="cmtt-10">\def\hookI{#1}\def\hookII{#2}}</span>
38 <br />&nbsp;<span class="cmtt-10">\def\try#1{\hookI#1\hookII}</span>
39 <br />&nbsp;<span class="cmtt-10">\Configure{try}{*</span>&nbsp;<span class="cmtt-10">}{}</span>&nbsp;&nbsp;<span class="cmtt-10">\try{ho}</span>
40 <br />&nbsp;<span class="cmtt-10">\Configure{try}{}{</span>&nbsp;<span class="cmtt-10">*}</span>&nbsp;&nbsp;<span class="cmtt-10">\try{ha}</span>
41 </div>
42 </div></td></tr></table>
43
44 <hr />
45 <!--l. 6630--><p class="indent" > <small>Generated August 24, 2020 - <a href="/tex4ht/">tex4ht home page</a></small></p>
46 </body></html>