File: mn21.html

package info (click to toggle)
tex4ht 20011214-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,272 kB
  • ctags: 992
  • sloc: xml: 17,548; ansic: 9,389; makefile: 129; sh: 43; sed: 8
file content (43 lines) | stat: -rw-r--r-- 2,308 bytes parent folder | download
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
<?xml version="1.0"?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/TR/xhtml1/transitional"  
> 
<head><title></title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<meta name="generator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" /> 
<!--xhtml,th4,index--> 
<meta name="src" content="mn.tex" /> 
<meta name="date" content="2001-02-28 17:02:00" /> 
<link rel="stylesheet" type="text/css" href="mn.css" /> 
</head><body 
>
<!--l. 3365--><p class="noindent"><a 
 href="mn3.html#mn21-1"  name="mn21-1" >1</a>.   <a 
   name="index21-23002"></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. 3367--><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. 3377--><p class="noindent"><a 
 href="mn3.html#mn21-2"  name="mn21-2" >2</a>.   <a 
   name="index21-23004"></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"><pre>
      &nbsp;<span class="cmtt-10">\NewConfigure{try}[2]{%</span>
      &nbsp;   <span class="cmtt-10">\def\hookI{#1}\def\hookII{#2}}</span>
      &nbsp;<span class="cmtt-10">\def\try#1{\hookI#1\hookII}</span>
      &nbsp;<span class="cmtt-10">\Configure{try}{* }{}  \try{ho}</span>
      &nbsp;<span class="cmtt-10">\Configure{try}{}{ *}  \try{ha}</span>
</pre></div>
    </div></td></tr></table>

     
</body></html>