blob: 8055d76f9b401838d66bc8380c5af6e8621c486c (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"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 (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" />
<meta name="originator" 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="2004-02-11 18:07:00" />
<link rel="stylesheet" type="text/css" href="mn.css" />
</head><body
>
<!--l. 2554--><p class="noindent"><a
href="mn6.html#mn7-1" name="mn7-1" >1</a>. <a
name="index7-24002"></a><span
class="cmtt-10">\HCode{...}</span>
</p><!--l. 2556--><p class="indent"> This command allows only for the expansion of macros, before sending its content to the output. The
instruction <span
class="cmtt-10">\Hnewline </span>may be introduced there for requesting line breaks.
</p><div class="ShowCode">
<br /> <span
class="cmtt-10">Two</span> <span
class="cmtt-10">lines</span> <span
class="cmtt-10">of</span> <span
class="cmtt-10">text</span> <span
class="cmtt-10">\ifHtml</span> <span
class="cmtt-10">\HCode{<br</span> <span
class="cmtt-10">/>}</span> <span
class="cmtt-10">\else</span> <span
class="cmtt-10">\hrule</span> <span
class="cmtt-10">\fi</span>
<br /> <span
class="cmtt-10">separated</span> <span
class="cmtt-10">by</span> <span
class="cmtt-10">a</span> <span
class="cmtt-10">horizontal</span> <span
class="cmtt-10">line.</span>
<br />
<br /> <span
class="cmtt-10">You</span> <span
class="cmtt-10">probably</span> <span
class="cmtt-10">don't</span> <span
class="cmtt-10">want</span> <span
class="cmtt-10">a</span> <span
class="cmtt-10">`<br>'.</span>
</div><hr />
<!--l. 2570--><p class="noindent"><a
href="mn6.html#mn7-2" name="mn7-2" >2</a>. <a
name="index7-24004"></a> <span
class="cmtt-10">\HPage{</span><span
class="cmti-10">anchor</span><span
class="cmtt-10">}</span><span
class="cmti-10">content</span><span
class="cmtt-10">\EndHPage{}</span>
</p><!--l. 2572--><p class="indent"> This command dedicates a hypertext page for the specified content, to be accessed through the given
button.
</p><!--l. 2575--><p class="indent"> <a
name="index7-24005"></a>The <span
class="cmtt-10">\ExitHPage{...} </span>command may be employed within the content to create exit buttons.
</p><div class="ShowCode">
<br /> <span
class="cmtt-10">......</span> <span
class="cmtt-10">............</span>
<br /> <span
class="cmtt-10">\HPage{in}</span>
<br /> <span
class="cmtt-10">................</span>
<br /> <span
class="cmtt-10">[\ExitHPage{out}]</span>
<br /> <span
class="cmtt-10">................</span>
<br /> <span
class="cmtt-10">\EndHPage{}</span>
<br /> <span
class="cmtt-10">...................</span>
</div><hr />
<!--l. 2593--><p class="noindent"><a
href="mn6.html#mn7-3" name="mn7-3" >3</a>. <a
name="index7-24007"></a><span
class="cmtt-10">\Link[</span><span
class="cmti-10">target-file arguments</span><span
class="cmtt-10">]{</span><span
class="cmti-10">target-loc</span><span
class="cmtt-10">}{</span><span
class="cmti-10">cur-loc</span><span
class="cmtt-10">}</span><span
class="cmti-10">anchor</span><span
class="cmtt-10">\EndLink</span>
</p><!--l. 2596--><p class="indent"> This command requests an anchor that links to ‘<span
class="cmti-10">target-file</span><span
class="cmtt-10">#</span><span
class="cmti-10">target-loc</span>’, and marks the current location with the
name ‘<span
class="cmti-10">cur-loc</span>’.
</p><!--l. 2601--><p class="indent"> The component ‘<span
class="cmtt-10">[...]</span>’ is optional when it is empty, and the target file need not be mentioned if it is created
from the current source file.
</p><div class="ShowCode">
<br /> <span
class="cmtt-10">\HPage{}</span>
<br /> <span
class="cmtt-10">......................</span>
<br /> <span
class="cmtt-10">\Link[http://www.tug.org/]{}{XX}\TeX{}</span> <span
class="cmtt-10">Users</span> <span
class="cmtt-10">Group</span>
<br /> <span
class="cmtt-10">Home</span> <span
class="cmtt-10">Page\EndLink</span>
<br /> <span
class="cmtt-10">......................</span>
<br /> <span
class="cmtt-10">\EndHPage{}</span>
<br /> <span
class="cmtt-10">......................</span>
<br /> <span
class="cmtt-10">\Link{XX}{}...\EndLink</span>
</div>
<a
name="index7-24008"></a> <a
name="index7-24009"></a> <a
name="index7-24010"></a>The characters ‘<span
class="cmtt-10">~</span>’, ‘<span
class="cmtt-10">_</span>’, and ‘<span
class="cmtt-10">%</span>’ can be indirectly included through the code ‘<span
class="cmtt-10">\string ~</span>’, ‘<span
class="cmtt-10">\string _</span>’,
and ‘<span
class="cmtt-10">\%</span>’, respectively.<hr />
<!--l. 2630--><p class="noindent"><a
href="mn6.html#mn7-4" name="mn7-4" >4</a>. <a
name="index7-24012"></a><span
class="cmtt-10">\ifHtml...tex4ht code... \else...non tex4ht code... \fi </span>(or <span
class="cmtt-10">\ifHtml\UnDef...non tex4ht code...</span>
<span
class="cmtt-10">\else...tex4ht code... \fi</span>)
</p><!--l. 2632--><p class="indent"> This command provides the means to conditionally provide content to the HTML and non-HTML modes. The
<span
class="cmtt-10">\else </span>is optional when the false part is empty.
</p><hr />
<!--l. 2638--><p class="noindent"><a
href="mn6.html#mn7-5" name="mn7-5" >5</a>. <a
name="index7-24014"></a><span
class="cmtt-10">\ifOption{...}{</span><span
class="cmti-10">true-part</span><span
class="cmtt-10">}{</span><span
class="cmti-10">false-part</span><span
class="cmtt-10">}</span>
</p>
</body></html>
|