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

    <hr />
<!--l. 6630--><p class="indent" >    <small>Generated August 24, 2020 - <a href="/tex4ht/">tex4ht home page</a></small></p> 
</body></html>