File: mn3.html

package info (click to toggle)
tex4ht 19990804-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,384 kB
  • ctags: 799
  • sloc: ansic: 7,653; makefile: 116; sh: 24
file content (105 lines) | stat: -rw-r--r-- 4,202 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
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
  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<html  
><head><!--mn3.html from mn.tex (TeX4ht, 1999-03-31 04:46:00)--> 
<title>mn3.html</title><link 
rel="stylesheet" type="text/css" href="mn.css"></head><body 
>   
    <a 
 href="mn2.html#mn3-1"  name="mn3-1" >1</a>. <span 
class="cmtt-10">\HCode{...}</span>
<!--1863--><p class="noindent">This command allows only for the expansion of macros, before sending its content to the output. The instruction
<code><span 
class="cmtt-10">\Hnewline</span></code> may be introduced there for requesting line breaks.
      <DIV CLASS="ShowCode"><PRE>
      &nbsp;<span 
class="cmtt-10">Two lines of text     \ifHtml \HCode{&lt;HR&gt;} \else \hrule \fi</span>
      &nbsp;<span 
class="cmtt-10">separated by a horizontal line.</span>
      &nbsp;
      &nbsp;<span 
class="cmtt-10">You probably don't want a `&lt;HR&gt;'.</span>
</PRE></DIV>
    <HR><a 
 href="mn2.html#mn3-2"  name="mn3-2" >2</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>
<!--1879--><p class="indent">    This command dedicates a hypertext page for the specified content, to be accessed through the given
button.
<!--1882--><p class="indent">    The <code><span 
class="cmtt-10">\ExitHPage{...}</span></code> command may be employed within the content to create exit buttons.
      <DIV CLASS="ShowCode"><PRE>
      &nbsp;<span 
class="cmtt-10">...... ............</span>
      &nbsp;<span 
class="cmtt-10">\HPage{in}</span>
      &nbsp;   <span 
class="cmtt-10">................</span>
      &nbsp;   <span 
class="cmtt-10">[\ExitHPage{out}]</span>
      &nbsp;   <span 
class="cmtt-10">................</span>
      &nbsp;<span 
class="cmtt-10">\EndHPage{}</span>
      &nbsp;<span 
class="cmtt-10">...................</span>
</PRE></DIV>
    <HR><a 
 href="mn2.html#mn3-3"  name="mn3-3" >3</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>
<!--1903--><p class="indent">    This command requests an anchor that links to `<span 
class="cmti-10">target-file</span><code><span 
class="cmtt-10">#</span></code><span 
class="cmti-10">target-loc</span>', and marks the current location with the
name `<span 
class="cmti-10">cur-loc</span>'.
<!--1908--><p class="indent">    The component `<code><span 
class="cmtt-10">[...]</span></code>' is optional when it is empty, and the target file need not be mentioned if it is created
from the current source file.
      <DIV CLASS="ShowCode"><PRE>
      &nbsp;<span 
class="cmtt-10">\HPage{}</span>
      &nbsp;   <span 
class="cmtt-10">......................</span>
      &nbsp;   <span 
class="cmtt-10">\Link[http://www.tug.org/]{}{XX}\TeX{} Users Group</span>
      &nbsp;                                    <span 
class="cmtt-10">Home Page\EndLink</span>
      &nbsp;   <span 
class="cmtt-10">......................</span>
      &nbsp;<span 
class="cmtt-10">\EndHPage{}</span>
      &nbsp;<span 
class="cmtt-10">......................</span>
      &nbsp;<span 
class="cmtt-10">\Link{XX}{}...\EndLink</span>
</PRE></DIV>
<!--1924--><p class="indent">    The characters `<code><span 
class="cmtt-10">~</span></code>', `<code><span 
class="cmtt-10">_</span></code>', and`<code><span 
class="cmtt-10">%</span></code>' can be indirectly included through the code`<code><span 
class="cmtt-10">\string ~</span></code>',`<code><span 
class="cmtt-10">\string _</span></code>',
and`<code><span 
class="cmtt-10">\%</span></code>', respectively.

    <HR><a 
 href="mn2.html#mn3-4"  name="mn3-4" >4</a>. <span 
class="cmtt-10">\ifHtml... \else... \fi</span>
<!--1931--><p class="indent">    This command provides the means to conditionally provide content to the HTML and non-HTML modes. The
<code><span 
class="cmtt-10">\else</span></code> is optional when the false part is empty.
     
</body> 
</html>