summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/tex4ht/mn25.html
blob: e3c11d524b646b07b98dd3f8bd11b60636ac84be (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
<?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" /> 
</head><body 
>
<!--l. 6596--><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. 6598--><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. 6608--><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. 6629--><p class="indent" >    <small>Generated June 20, 2020 - <a href="/tex4ht/">tex4ht home page</a></small></p> 
</body></html>