File: techexplHTML.tex

package info (click to toggle)
latex2html 2015-debian1-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 7,652 kB
  • ctags: 3,386
  • sloc: perl: 30,941; makefile: 429; sh: 155
file content (299 lines) | stat: -rw-r--r-- 9,092 bytes parent folder | download | duplicates (13)
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
%% techexplHTML.tex 
%%
%% modified version of  techexpl.sty 
%% for smooth compatibility with  LaTeX2HTML
%%   by Ross Moore  <ross@maths.mq.edu.au>  edited: 8 June 1999
%%
%%  techexpl.sty carries the following copyright:
%% --------------------------------------------------------------------
%% LaTeX style file for IBM techexplorer Hypermedia documents
%% --------------------------------------------------------------------
%%
%% Copyright (C) 1998 by the IBM Corporation. All Rights Reserved.
%%
%% It should be distributed *unchanged*.
%%
%% This file provides LaTeX 2e support for many of the IBM
%% techexplorer Hypermedia Browser control sequences. Some massaging of
%% documents may be necessary in order to get correct formatting within
%% both the techexplorer and LaTeX 2e environments.
%%
%% Insert into your document via \usepackage{techexpl} after the
%% \documentclass line. For example:
%%      \documentclass{article}
%%      \usepackage{techexpl}
%%      \begin{document}
%%      % ...
%%      \end{document}
%%
%% Address questions to techexpl@watson.ibm.com.
%%
%% THIS IS A WORK IN PROGRESS!!
%%
%% --------------------------------------------------------------------
%%
%begin{latexonly}
\ifx\techexplorerfalse
\undefined\else\expandafter\endinput\fi
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{techexpl}
          [1998/05/012 v1.0 IBM techexplorer Hypermedia Browser support (RSS)]
%end{latexonly}
%\RequirePackage{ifthen}
\RequirePackage[dvips]{color}
%\RequirePackage{url}
%%
%% --------------------------------------------------------------------
%%
\newif\iftechexplorer\techexplorerfalse
%%
%% --------------------------------------------------------------------
%% Macro support
%% --------------------------------------------------------------------
%
%begin{latexonly}
\def\globalnewcommand{\newcommand}
\def\globalnewenvironment{\newenvironment}
%
%end{latexonly}
%% --------------------------------------------------------------------
%% Links
%% --------------------------------------------------------------------
%
\providecommand{\techexplorerLinkColor}{blue}
%
% SYNTAX: \altLink{alternate text}{primary text}
%
\newcommand{\altLink}[2]{{#2}}
%
% SYNTAX: \appLink{url}{text}
%
%begin{latexonly}
\def\appLink#1#2{{\color{\techexplorerLinkColor}#2}}
%end{latexonly}
\providecommand{\appLink}[2]{\htmladdnormallink{#2}{#1}}
%
% SYNTAX: \audioLink{url}{text}
%
%begin{latexonly}
\def\audioLink#1#2{{\color{\techexplorerLinkColor}#2}}
%end{latexonly}
\providecommand{\audioLink}[2]{\htmladdnormallink{#2}{#1}}
%
% SYNTAX: \docLink[frame]{url}[label]{text}
%
%begin{latexonly}
\def\docLink{\@ifnextchar[%]
    {\@fdocLink}{\@nfdocLink}}
\def\@fdocLink[#1]{\@nfdocLink}
\def\@nfdocLink#1{\@docLinkLabel{#1}}
\def\@docLinkLabel#1{\@ifnextchar[%]
    {\@ldocLink{#1}}{\@nldocLink{#1}}}
\def\@ldocLink#1[#2]{\@nldocLink{#1}}
\def\@nldocLink#1#2{{\color{\techexplorerLinkColor}#2}}
%end{latexonly}
\providecommand{\docLink}[2][]{\HTMLset{thislink}{#2}\fdocLink}
%begin{latexonly}
\newcommand{\fdocLink}[2][]{{\color{\techexplorerLinkColor}#2}}
%end{latexonly}
\providecommand{\fdocLink}[2][]{\htmladdnormallink{#2}{\HTMLget{thislink}}}
%
% SYNTAX: \evalLink{description}{MIMEtype}{appInput}{displayText}
%
\providecommand{\evalLink}[4]{{\color{\techexplorerLinkColor}#4}}
%
% SYNTAX: \inputboxLink[responseLink]{controlSequence}{inputboxText}{dialogBoxDescription}{dialogBoxCaption}{textToDisplay}
%
%begin{latexonly}
\def\inputboxLink{\@ifnextchar[%]
    {\@rinputboxLink}{\@inputboxLink}}
\def\@rinputboxLink[#1]{\@inputboxLink}
\def\@inputboxLink#1#2#3#4#5{{\color{\techexplorerLinkColor}#5}}
%end{latexonly}
\providecommand{\inputboxLink}[6][]{{\color{\techexplorerLinkColor}#6}}
%
% SYNTAX: \labelLink{label}{text}
%
%begin{latexonly}
\def\labelLink#1#2{{\color{\techexplorerLinkColor}#2}}
%end{latexonly}
\providecommand{\labelLink}[2]{\htmlref{#2}{#1}}
%
% SYNTAX: \popupLink{popupText}{popupCaption}{textToDisplay}
%
\def\popupLink#1#2#3{{\color{\techexplorerLinkColor}#3}}
%
% SYNTAX: \videoLink{url}{text}
%
%begin{latexonly}
\def\videoLink#1#2{{\color{\techexplorerLinkColor}#2}}
%end{latexonly}
\providecommand{\videoLink}[2]{\htmladdnormallink{#2}{#1}}
%
% SYNTAX: \yesNoLink[responseLink]{controlSequence}{dialogBoxQuestion}{dialogBoxCaption}{textToDisplay}
%
%begin{latexonly}
\def\yesNoLink{\@ifnextchar[%]
    {\@ryesNoLink}{\@yesNoLink}}
\def\@ryesNoLink[#1]{\@yesNoLink}
\def\@yesNoLink#1#2#3#4{{\color{\techexplorerLinkColor}#4}}
%end{latexonly}
\providecommand{\yesNoLink}[5][]{{\color{\techexplorerLinkColor}#5}}
%
%% --------------------------------------------------------------------
%% Hierarchical document support
%% --------------------------------------------------------------------
%
% SYNTAX: \aboveTopic{url}
%
\def\aboveTopic#1{}
%
% SYNTAX: \nextTopic{url}
%
\def\nextTopic#1{}
%
% SYNTAX: \previousTopic{url}
%
\def\previousTopic#1{}
%
%% --------------------------------------------------------------------
%% Boxes
%% --------------------------------------------------------------------
%
% SYNTAX: \buttonbox[invert]{text}
%
%begin{latexonly}
\def\buttonbox{\@ifnextchar[%]
    {\@ibuttonbox}{\@buttonbox}}
\def\@ibuttonbox[#1]{\@buttonbox}
\def\@buttonbox{\fbox}
%end{latexonly}
\providecommand{\buttonbox}[1][]{\fbox}
%
% SYNTAX: \dialogbox[invert]{text}
%
\def\dialogbox{\buttonbox}
%
% SYNTAX: \gradientbox[v]{startColor}{endColor}{text}
%
%begin{latexonly}
\def\gradientbox{\@ifnextchar[%]
    {\@vgradientbox}{\@gradientbox}}
\def\@vgradientbox[#1]{\@gradientbox}
\def\@gradientbox#1#2#3{\colorbox{#1}{#3}}
%end{latexonly}
\providecommand{\gradientbox}[4][]{\colorbox{#2}{#4}}
%
% SYNTAX: \inputbox[width]{controlSequence}{initialContents }
%
%begin{latexonly}
\def\inputbox{\@ifnextchar[%]
    {\@winputboxbox}{\@inputbox}}
\def\@winputboxbox[#1]{\@inputbox}
\def\@inputbox#1#2{\fbox{\hbox spread 1in{#2}}}
%end{latexonly}
\providecommand{\inputbox}[3][]{\fbox{#3}}
%
%% --------------------------------------------------------------------
%% Colors
%% --------------------------------------------------------------------
%
\definecolor{aqua}{rgb}{0,1,1}
\definecolor{darkgray}{gray}{.25}
\definecolor{fuchsia}{rgb}{1,0,1}
\definecolor{gray}{gray}{.5}
\definecolor{lightgray}{gray}{.75}
\definecolor{lime}{rgb}{0,.5,.5}
\definecolor{maroon}{rgb}{.5,0,0}
\definecolor{navy}{rgb}{0,0,.5}
\definecolor{olive}{rgb}{.5,.5,0}
\definecolor{purple}{rgb}{.5,0,.5}
\definecolor{silver}{gray}{.75}
\definecolor{teal}{rgb}{0,.5,.5}
%
% SYNTAX: \backgroundcolor{color}
%
\def\backgroundcolor{\pagecolor}
%
%% --------------------------------------------------------------------
%% Features
%% --------------------------------------------------------------------
%
% SYNTAX: \ProvidesFeature{featureName}{majorVersion}{minorVersion}
%
\def\ProvidesFeature#1#2#3{}
%
% SYNTAX: \RequiresFeature{featureName}{majorVersion}{minorVersion} {missingFeatureText}{oldVersionText}
%
\def\RequiresFeature#1#2#3#4#5{}
%
%% --------------------------------------------------------------------
%% Menus
%% --------------------------------------------------------------------
%
% SYNTAX: \newmenu{menuName}{menuDefinition}
%
\def\newmenu#1#2{}
%
% SYNTAX: \usemenu{menuName}{text}
%
\def\usemenu#1#2{#2}
%
%% --------------------------------------------------------------------
%% Multimedia
%% --------------------------------------------------------------------
%
% SYNTAX: \backgroundimage{url}
%
\def\backgroundimage#1{}
%
% SYNTAX: \backgroundsound{url}
%
\def\backgroundsound#1{}
%
% SYNTAX: \includeaudio{url}
%
\def\includeaudio#1{}
%
% SYNTAX: \includevideo[x][y]{autostart}{altText}{url}
%
%begin{latexonly}
\def\includevideo{\@ifnextchar[%]
    {\@xincludevideo}{\@includevideo}}
\def\@xincludevideo[#1]{\@ifnextchar[%]
    {\@xyincludevideo}{\@includevideo}}
\def\@xyincludevideo[#1]{\@includevideo}
\def\@includevideo#1#2#3{\fbox{#2}}
%end{latexonly}
\providecommand{\includevideo}[1][]{\xincludevideo}
%begin{latexonly}
\newcommand{\xincludevideo}[4][]{\fbox{#2}}
%end{latexonly}
\providecommand{\xincludevideo}[4][]{\htmladdnormallink{\fbox{#3}}{#4}}
%
%% --------------------------------------------------------------------
%% Miscellaneous
%% --------------------------------------------------------------------
%
\def\bibfile#1{}
\def\inputonce{\input}
\def\nocaret{}
\def\TrueTypeTextFont#1{}
\def\windowTitle#1{}
%
\setcounter{secnumdepth}{0}
%
%% --------------------------------------------------------------------
%% Not done yet
%% --------------------------------------------------------------------
%
% dirlist environment: hack for now
%begin{latexonly}
\def\dirlist{\@ifnextchar[%]
    {\@odirlist}{\@dirlist}}
\def\@odirlist[#1]{\@dirlist}
\def\@dirlist{\begin{array}}
\def\enddirlist{\end{array}}
%end{latexonly}
\renewenvironment{dirlist}[1][]{\begin{array}}{\end{array}}