| 1 |
%% |
| 2 |
%% This is file `typehtml.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% typehtml.dtx (with options: `package') |
| 8 |
%% |
| 9 |
%% IMPORTANT NOTICE: |
| 10 |
%% |
| 11 |
%% For the copyright see the source file. |
| 12 |
%% |
| 13 |
%% Any modified versions of this file must be renamed |
| 14 |
%% with new filenames distinct from typehtml.sty. |
| 15 |
%% |
| 16 |
%% For distribution of the original source see the terms |
| 17 |
%% for copying and modification in the file typehtml.dtx. |
| 18 |
%% |
| 19 |
%% This generated file may be distributed as long as the |
| 20 |
%% original source files, as listed above, are part of the |
| 21 |
%% same distribution. (The sources need not necessarily be |
| 22 |
%% in the same archive or directory.) |
| 23 |
%% |
| 24 |
%% Source File `typehtml.dtx'. |
| 25 |
%% Copyright (C) 1996 1997 David Carlisle |
| 26 |
%% This file may be distributed under the terms of the LPPL. |
| 27 |
%% See 00readme.txt for details. |
| 28 |
%% |
| 29 |
\NeedsTeXFormat{LaTeX2e}[1995/06/01] |
| 30 |
\ProvidesPackage{typehtml} |
| 31 |
[1997/11/19 v0.12 HTML printer (DPC)] |
| 32 |
\DeclareOption{html2}{\let\HTML@two@stop\endinput} |
| 33 |
\DeclareOption{netscape} |
| 34 |
{\def\HTML@not#1{\SGML@w{<#1> is not valid HTML}}} |
| 35 |
\DeclareOption{html3}{\let\HTML@two@stop\relax} |
| 36 |
\DeclareOption{nohyperref}{% |
| 37 |
\let\HTML@doname\@secondoftwo |
| 38 |
\def\HTML@dosrc#1#2{\emph{#2}}} |
| 39 |
\DeclareOption{ftnhyperref}{% |
| 40 |
\let\HTML@doname\@secondoftwo |
| 41 |
\def\HTML@dosrc#1#2{\emph{#2}\footnote{HREF: \texttt{#1}}}} |
| 42 |
\DeclareOption{hyperref}{% |
| 43 |
\AtBeginDocument{% |
| 44 |
\providecommand\href[2]{\special{html:<A href="#1">}% |
| 45 |
#2\special{html:</A>}}% |
| 46 |
\providecommand\hypertarget[2]{\special{html:<A name="#1">}% |
| 47 |
#2\special{html:</A>}}% |
| 48 |
\let\HTML@doname\hypertarget |
| 49 |
\let\HTML@dosrc\href}} |
| 50 |
\DeclareOption{dviwindo}{% |
| 51 |
\def\HTML@dosrc#1#2{{% |
| 52 |
\leavevmode\sbox\z@{#2}\count@\ht\z@\@tempcnta\wd\z@ |
| 53 |
\if\string##\@car#1\@nil |
| 54 |
\special{button: \the\@tempcnta\space\the\count@\space |
| 55 |
"\@gobble#1"}% |
| 56 |
\else |
| 57 |
\special{button: \the\@tempcnta\space\the\count@\space |
| 58 |
launch: typehtml "#1"} |
| 59 |
\fi |
| 60 |
\special{color push}\special{color rgb 0 1 0}% |
| 61 |
\unhbox\z@ |
| 62 |
\special{color pop}}}% |
| 63 |
\def\HTML@doname#1#2{\leavevmode\special{mark: "#1"}#2}}% |
| 64 |
\DeclareOption{imgalt}{} |
| 65 |
\DeclareOption{imggif}{\SGML@w{img gif support not done yet}} |
| 66 |
\DeclareOption{imgps}{\SGML@w{img ps support not done yet}} |
| 67 |
\DeclareOption{smartquotedbl}{% |
| 68 |
\def\SGMLquotedbla{% |
| 69 |
\textquotedblleft\global\let\SGMLquotedbl\SGMLquotedblb} |
| 70 |
\def\SGMLquotedblb{% |
| 71 |
\textquotedblright\global\let\SGMLquotedbl\SGMLquotedbla} |
| 72 |
\let\SGMLquotedbl\SGMLquotedbla |
| 73 |
\let\SGML@savedeverypar\everypar |
| 74 |
\newtoks\everypar |
| 75 |
\SGML@savedeverypar{% |
| 76 |
\global\let\SGMLquotedbl\SGMLquotedbla\the\everypar}} |
| 77 |
\DeclareOption{straightquotedbl}{% |
| 78 |
\DeclareTextCommandDefault{\textquotedbl}{{\ttfamily\char`\"}}% |
| 79 |
\let\SGMLquotedbl\textquotedbl} |
| 80 |
\DeclareOption{chapter}{% |
| 81 |
\def\HTML@headings{% |
| 82 |
\chapter\section\subsection% |
| 83 |
\subsubsection\paragraph\subparagraph}} |
| 84 |
\DeclareOption{chapter*}{% |
| 85 |
\def\HTML@headings{% |
| 86 |
{\chapter*}{\section*}{\subsection*}% |
| 87 |
{\subsubsection*}{\paragraph*}{\subparagraph*}}} |
| 88 |
\DeclareOption{section}{% |
| 89 |
\def\HTML@headings{% |
| 90 |
\section\subsection% |
| 91 |
\subsubsection\paragraph\subparagraph\endgraf}} |
| 92 |
\DeclareOption{section*}{% |
| 93 |
\def\HTML@headings{% |
| 94 |
{\section*}{\subsection*}% |
| 95 |
{\subsubsection*}{\paragraph*}{\subparagraph*}\endgraf}} |
| 96 |
\DeclareOption{subsection}{% |
| 97 |
\def\HTML@headings{% |
| 98 |
\subsection% |
| 99 |
\subsubsection\paragraph\subparagraph\endgraf\endgraf}} |
| 100 |
\DeclareOption{subsection*}{% |
| 101 |
\def\HTML@headings{% |
| 102 |
{\subsection*}% |
| 103 |
{\subsubsection*}{\paragraph*}{\subparagraph*}\endgraf\endgraf}} |
| 104 |
\DeclareOption{bigint}{% |
| 105 |
\let\HTML@int\int |
| 106 |
\AtEndOfPackage{\RequirePackage{exscale}}} |
| 107 |
\ExecuteOptions{section*,imgalt,html2,nohyperref,straightquotedbl} |
| 108 |
\ProcessOptions |
| 109 |
\begingroup |
| 110 |
\catcode`\<=\active |
| 111 |
\catcode`\>=\active |
| 112 |
\catcode`\&=\active |
| 113 |
\catcode`\$=\active |
| 114 |
\catcode`\"=\active |
| 115 |
\catcode`\^=\active |
| 116 |
\catcode`\_=\active |
| 117 |
\catcode`\;=\active |
| 118 |
\catcode`\A=\active |
| 119 |
\catcode`\B=\active |
| 120 |
\catcode`\C=\active |
| 121 |
\catcode`\D=\active |
| 122 |
\uccode`\A=`\{% |
| 123 |
\uccode`\B=`\}% |
| 124 |
\uccode`\C=`\|% |
| 125 |
\uccode`\D=`\\% |
| 126 |
\uppercase{\endgroup |
| 127 |
\def\SGMLent@@#1;{\csname SGML@E@#1\endcsname} |
| 128 |
\def\SGML@def@active#1>{% |
| 129 |
\expandafter\def\csname SGML@#1\endcsname} |
| 130 |
\def\dohtml{% |
| 131 |
\begingroup |
| 132 |
\ifx;\@undefined\expandafter\let\expandafter;\string;\fi |
| 133 |
\ifx>\@undefined\expandafter\let\expandafter>\string>\fi |
| 134 |
\catcode`\<=\active |
| 135 |
\catcode`\>=\active |
| 136 |
\catcode`\&=\active |
| 137 |
\catcode`\{=\active |
| 138 |
\catcode`\}=\active |
| 139 |
\catcode`\$=\active |
| 140 |
\catcode`\"=\active |
| 141 |
\catcode`\^=\active |
| 142 |
\catcode`\_=\active |
| 143 |
\catcode`\\=\active |
| 144 |
\catcode`\|=\active |
| 145 |
\catcode\endlinechar=10 |
| 146 |
\catcode`\%=12 |
| 147 |
\catcode`\#=12 |
| 148 |
\catcode`\;=\active |
| 149 |
\def\verbatim@nolig@list{\do\`\do\,\do\'\do\-} |
| 150 |
\def<{\SGMLopen}% |
| 151 |
\def&{\SGMLent}% |
| 152 |
\let^\textasciicircum |
| 153 |
\let~\textasciitilde |
| 154 |
\def_{\_}% |
| 155 |
\let$\$% |
| 156 |
\def"{\SGMLquotedbl}% |
| 157 |
\def A{\{}% |
| 158 |
\def B{\}}% |
| 159 |
\def C{\texttt{|}}% |
| 160 |
\def D{\texttt{\char`\\}}% |
| 161 |
\def\addcontentsline##1##2##3{% |
| 162 |
{\def<{\string<}\def&{\string&}% |
| 163 |
\addtocontents{##1}{\protect\dotochtml<html>}% |
| 164 |
\addtocontents{##1}{\protect\contentsline{##2}{##3}{\thepage}}% |
| 165 |
\addtocontents{##1}{\protect</html>}}}} |
| 166 |
\def\dotochtml{% |
| 167 |
\dohtml |
| 168 |
\catcode`\\\z@ |
| 169 |
\catcode`\{\@ne |
| 170 |
\catcode`\}\tw@} |
| 171 |
\def\SGMLshortend{/} |
| 172 |
\def\SGMLgrab@#1<#2>{% |
| 173 |
\edef\@tempd{\lowercase{\def\noexpand\@tempd{\gobblespc#2 \relax}}}% |
| 174 |
\@tempd |
| 175 |
\ifx\@tempd\SGMLshortend\let\@tempd\@tempc\fi |
| 176 |
\ifx\@tempb\@tempd |
| 177 |
\advance\@tempcnta\@ne |
| 178 |
\else |
| 179 |
\ifx\@tempc\@tempd |
| 180 |
\advance\@tempcnta\m@ne |
| 181 |
\fi |
| 182 |
\fi |
| 183 |
\ifnum\@tempcnta=\z@ |
| 184 |
\expandafter\@tempa\expandafter{\the\@temptokena#1}% |
| 185 |
\else |
| 186 |
\addto@hook\@temptokena{#1<#2>}% |
| 187 |
\expandafter\SGMLgrab@ |
| 188 |
\fi} |
| 189 |
\def\SGMLopen#1>{% |
| 190 |
\SGMLopen@#1 \@nil} |
| 191 |
} |
| 192 |
\def\htmlinput#1{\dohtml\let\@endhtml\relax\input{#1}\endgroup} |
| 193 |
\def\gobblespc#1 #2\relax{#1} |
| 194 |
\def\SGMLgrabber#1#2{% |
| 195 |
\def\@tempa{#2}% |
| 196 |
\@tempcnta\@ne |
| 197 |
\@temptokena{}% |
| 198 |
\lowercase{\def\@tempb{#1}\def\@tempc{/#1}}% |
| 199 |
\SGMLgrab@} |
| 200 |
\begingroup |
| 201 |
\catcode`\"=\active |
| 202 |
\uppercase{\endgroup |
| 203 |
\def\SGMLopen@#1 #2\@nil{% |
| 204 |
\toks@{}% |
| 205 |
\edef\@tempa{\lowercase{\def\noexpand\SGMLelement{#1}}}\@tempa |
| 206 |
\if!\@car#1\relax\@nil |
| 207 |
\toks@{#1 #2}% |
| 208 |
\SGML@w{Declaration ignored\MessageBreak<\the\toks@>\MessageBreak}% |
| 209 |
\else |
| 210 |
\if$#2$\else |
| 211 |
\replacequotes#2"\@nil"% |
| 212 |
\SGMLafterfi |
| 213 |
\expandafter\toks@\expandafter{\expandafter}% |
| 214 |
\expandafter\SGMLgetattrib\the\toks@ \@nil |
| 215 |
\fi |
| 216 |
\expandafter\ifx\csname SGML@\SGMLelement |
| 217 |
\expandafter\endcsname\relax |
| 218 |
\SGML@w{<\SGMLelement> undefined}% |
| 219 |
\else |
| 220 |
\csname SGML@\SGMLelement |
| 221 |
\expandafter\expandafter\expandafter\endcsname |
| 222 |
\fi |
| 223 |
\fi} |
| 224 |
\def\replacequotes#1"#2"{% |
| 225 |
\def\@tempb{#2}% |
| 226 |
\ifx\@tempb\@nnil |
| 227 |
\addto@hook\toks@{#1}% |
| 228 |
\else |
| 229 |
\addto@hook\toks@{#1{#2}}% |
| 230 |
\expandafter\replacequotes |
| 231 |
\fi}} |
| 232 |
\def\SGMLafterfi#1\fi{\fi#1} |
| 233 |
\def\SGMLgobbletofi#1\fi{\fi} |
| 234 |
\def\SGMLgetattrib#1 #2{% |
| 235 |
\ifx\box#1\box\else |
| 236 |
\SGMLgetval#1=$=\@nil |
| 237 |
\def\@tempa{#2}% |
| 238 |
\ifx\@tempa\@nnil |
| 239 |
\expandafter\SGMLgobbletofi |
| 240 |
\else |
| 241 |
\expandafter\SGMLafterfi |
| 242 |
\fi |
| 243 |
\SGMLgetattrib#2% |
| 244 |
\fi} |
| 245 |
\def\SGMLgetval#1=#2=#3\@nil{% |
| 246 |
\ifcat$#2% |
| 247 |
\lowercase{\SGML@addattrib\doimplied{#1}}% |
| 248 |
\else |
| 249 |
\lowercase{\SGML@addattrib{\do{#1}}}{#2}% |
| 250 |
\fi} |
| 251 |
\def\SGML@addattrib#1#2{\addto@hook\toks@{#1{#2}}} |
| 252 |
\def\SGML@w{\PackageWarning{typehtml}} |
| 253 |
\def\SGMLdef#1{% |
| 254 |
\ifcat\noexpand#1\noexpand~% |
| 255 |
\expandafter\SGML@def@active |
| 256 |
\else |
| 257 |
\expandafter\SGML@def |
| 258 |
\fi} |
| 259 |
\edef\@tempa{\def\noexpand\SGML@def##1\string>}\@tempa{% |
| 260 |
\expandafter\def\csname SGML@#1\endcsname} |
| 261 |
\expandafter\def\expandafter\SGMLent\expandafter{% |
| 262 |
\expandafter\protect\csname& \endcsname} |
| 263 |
\expandafter\def\csname& \endcsname{% |
| 264 |
\futurelet\@let@token\SGMLent@} |
| 265 |
\def\SGMLent@{% |
| 266 |
\ifx\@let@token\@sptoken |
| 267 |
\&% |
| 268 |
\else |
| 269 |
\expandafter\SGMLent@@ |
| 270 |
\fi} |
| 271 |
\def\SGMLentity#1{% |
| 272 |
\expandafter\def\csname SGML@E@#1\endcsname} |
| 273 |
\SGMLdef<html>{} |
| 274 |
\SGMLdef</html>{\@endhtml} |
| 275 |
\let\@endhtml\endgroup |
| 276 |
\SGMLdef<title>{\typeout{***TITLE***}\SGMLgrabber{title}\typeout} |
| 277 |
\long\def\@tempa#1#2#3#4#5#6{% |
| 278 |
\SGMLdef<h1>{\SGMLgrabber{h1}{\HTMLsection{#1}}}% |
| 279 |
\SGMLdef<h2>{\SGMLgrabber{h2}{\HTMLsection{#2}}}% |
| 280 |
\SGMLdef<h3>{\SGMLgrabber{h3}{\HTMLsection{#3}}}% |
| 281 |
\SGMLdef<h4>{\SGMLgrabber{h4}{\HTMLsection{#4}}}% |
| 282 |
\SGMLdef<h5>{\SGMLgrabber{h5}{\HTMLsection{#5}}}% |
| 283 |
\SGMLdef<h6>{\SGMLgrabber{h6}{\HTMLsection{#6}}}} |
| 284 |
\expandafter\@tempa\HTML@headings |
| 285 |
\def\HTMLsection#1#2{#1{\ignorespaces#2\unskip}} |
| 286 |
\SGMLdef<head>{} |
| 287 |
\SGMLdef</head>{} |
| 288 |
\SGMLdef<body>{} |
| 289 |
\SGMLdef</body>{} |
| 290 |
\SGMLdef<bodytext>{} |
| 291 |
\SGMLdef</bodytext>{} |
| 292 |
\SGMLdef<p>{\par} |
| 293 |
\SGMLdef</p>{\par} |
| 294 |
\SGMLdef<blockquote>{\begin{quote}} |
| 295 |
\SGMLdef</blockquote>{\end{quote}} |
| 296 |
\SGMLdef<address>{\begin{quote}} |
| 297 |
\SGMLdef</address>{\end{quote}} |
| 298 |
\SGMLdef<ul>{\begin{itemize}} |
| 299 |
\SGMLdef</ul>{\end{itemize}} |
| 300 |
\SGMLdef<ol>{\begin{enumerate}} |
| 301 |
\SGMLdef</ol>{\end{enumerate}} |
| 302 |
\SGMLdef<li>{\item} |
| 303 |
\SGMLdef</li>{} |
| 304 |
\SGMLdef<dl>{% |
| 305 |
\let\do\dldo |
| 306 |
\let\doimplied\dlimplied |
| 307 |
\begin{description}\the\toks@} |
| 308 |
\SGMLdef</dl>{\end{description}} |
| 309 |
\def\dldo#1#2{% |
| 310 |
\def\@tempa{compact}\def\@tempb{#1}% |
| 311 |
\ifx\@tempa\@tempb |
| 312 |
\itemsep\z@ |
| 313 |
\advance\@totalleftmargin-\leftmargin |
| 314 |
\advance\linewidth\leftmargin |
| 315 |
\itemindent-\labelsep |
| 316 |
\leftmargin\z@ |
| 317 |
\parshape \@ne \@totalleftmargin \linewidth |
| 318 |
\fi} |
| 319 |
\def\dlimplied#1{\dldo{#1}\relax} |
| 320 |
\def\itx#1{\item[#1]} |
| 321 |
\SGMLdef<dt>{\begin{lrbox}\z@\bfseries\let\maybeenddt\enddt} |
| 322 |
\SGMLdef</dt>{\maybeenddt} |
| 323 |
\SGMLdef<dd>{\maybeenddt} |
| 324 |
\SGMLdef</dd>{} |
| 325 |
\def\enddt{\end{lrbox}\item[\unhbox\z@]} |
| 326 |
\let\maybeenddt\relax |
| 327 |
\SGMLdef<a>{\SGMLgrabber{a}\HTML@anchor} |
| 328 |
\def\HTML@anchor#1{{% |
| 329 |
\let\@tempa\@gobble |
| 330 |
\def\_{\string_}% |
| 331 |
\let\do\ado |
| 332 |
\the\toks@ |
| 333 |
\@tempa{#1}}} |
| 334 |
\def\ado#1#2{% |
| 335 |
\def\@tempb{name}\def\@tempc{#1}% |
| 336 |
\ifx\@tempb\@tempc |
| 337 |
\let\@tempa\@firstofone |
| 338 |
\def\@tempa{\HTML@doname{#2}}% |
| 339 |
\else |
| 340 |
\def\@tempa{\HTML@dosrc{#2}}% |
| 341 |
\fi} |
| 342 |
\SGMLdef<pre>{% |
| 343 |
\par |
| 344 |
\begingroup |
| 345 |
\parindent\z@ |
| 346 |
\obeylines\verbatim@font\@noligs |
| 347 |
\frenchspacing\@vobeyspaces} |
| 348 |
\SGMLdef</pre>{\endgroup} |
| 349 |
\SGMLdef<tt>{\SGMLgrabber{tt}\texttt} |
| 350 |
\SGMLdef<b>{\SGMLgrabber{b}\textbf} |
| 351 |
\SGMLdef<i>{\SGMLgrabber{i}\textit} |
| 352 |
\SGMLdef<em>{\SGMLgrabber{em}\emph} |
| 353 |
\SGMLdef<strong>{\SGMLgrabber{strong}\textbf} |
| 354 |
\SGMLdef<code>{\SGMLgrabber{code}\texttt} |
| 355 |
\SGMLdef<samp>{\SGMLgrabber{samp}\textsf} |
| 356 |
\SGMLdef<kbd>{\SGMLgrabber{kbd}\texttt} |
| 357 |
\SGMLdef<var>{\SGMLgrabber{var}\textit} |
| 358 |
\SGMLdef<cite>{\SGMLgrabber{cite}\textit} |
| 359 |
\SGMLdef<form>{\par\medskip} |
| 360 |
\SGMLdef</form>{\par\medskip} |
| 361 |
\SGMLdef<select>{% |
| 362 |
\let\do\selectdo |
| 363 |
\the\toks@\par |
| 364 |
\begin{tabular}{|l|}% |
| 365 |
\hline\@tempc\\\hline |
| 366 |
\let\tabularnewline\relax |
| 367 |
\ignorespaces} |
| 368 |
\def\selectdo#1#2{% |
| 369 |
\def\@tempa{name}\def\@tempb{#1}% |
| 370 |
\ifx\@tempa\@tempb\def\@tempc{#2}\fi} |
| 371 |
\SGMLdef</select>{\\\hline\end{tabular}} |
| 372 |
\SGMLdef<option>{% |
| 373 |
\gdef\optionbul{\phantom{$\bullet$}}% |
| 374 |
\let\do\optiondo |
| 375 |
\let\doimplied\optionimplied |
| 376 |
\the\toks@ |
| 377 |
\tabularnewline |
| 378 |
\let\tabularnewline\\% |
| 379 |
\optionbul\space\ignorespaces} |
| 380 |
\SGMLdef</option>{} |
| 381 |
\def\optiondo#1#2{% |
| 382 |
\def\@tempa{selected}\def\@tempb{#1}% |
| 383 |
\ifx\@tempa\@tempb\gdef\optionbul{$\bullet$}\fi} |
| 384 |
\def\optionimplied#1{% |
| 385 |
\def\@tempa{selected}\def\@tempb{#1}% |
| 386 |
\ifx\@tempa\@tempb\gdef\optionbul{$\bullet$}\fi} |
| 387 |
\SGMLdef<input>{} |
| 388 |
\SGMLdef<img>{{% |
| 389 |
\let\do\imgdo |
| 390 |
\def\@tempa{\doimage}% |
| 391 |
\the\toks@ |
| 392 |
\@tempa}} |
| 393 |
\def\doimage{\textsf{[image]}} |
| 394 |
\def\imgdo#1{\csname img=#1\endcsname} |
| 395 |
\expandafter\def\csname img=align\endcsname#1{% |
| 396 |
\SGML@w{align=#1 ignored}} |
| 397 |
\expandafter\def\csname img=src\endcsname#1{% |
| 398 |
\SGML@w{src=#1 ignored}} |
| 399 |
\expandafter\def\csname img=height\endcsname#1{% |
| 400 |
\SGML@w{height=#1 ignored}} |
| 401 |
\expandafter\def\csname img=alt\endcsname#1{% |
| 402 |
\def\doimage{#1}} |
| 403 |
\SGMLdef<hr>{\par\smallskip\hrule\smallskip} |
| 404 |
\SGMLdef<br>{\leavevmode\\} |
| 405 |
\SGMLdef<xmp>{% |
| 406 |
\SGML@pre |
| 407 |
\def\@tempb{/xmp}% |
| 408 |
\let\SGMLopen\HTML@xmptest} |
| 409 |
\SGMLdef<listing>{% |
| 410 |
\SGML@xmp |
| 411 |
\def\@tempb{/listing}} |
| 412 |
\SGMLdef<plaintext>{% |
| 413 |
\SGML@xmp |
| 414 |
\def\@tempb{/plaintext}}% |
| 415 |
\def\HTML@xmptest#1>{% |
| 416 |
\lowercase{\def\@tempa{#1}}% |
| 417 |
\ifx\@tempa\@tempb |
| 418 |
\endgroup |
| 419 |
\else |
| 420 |
\SGMLafterfi |
| 421 |
<#1>% |
| 422 |
\fi} |
| 423 |
\SGMLentity{amp}{\&} |
| 424 |
\SGMLentity{lt}{\ensuremath{<}} |
| 425 |
\SGMLentity{gt}{\ensuremath{>}} |
| 426 |
\SGMLentity{aacute}{\'a} |
| 427 |
\SGMLentity{Aacute}\'A{} |
| 428 |
\SGMLentity{acirc}{\^a} |
| 429 |
\SGMLentity{Acirc}{\^A} |
| 430 |
\SGMLentity{agrave}{\`a} |
| 431 |
\SGMLentity{Agrave}{\`A} |
| 432 |
\SGMLentity{aring}{\r a} |
| 433 |
\SGMLentity{Aring}{\r A} |
| 434 |
\SGMLentity{atilde}{\~a} |
| 435 |
\SGMLentity{Atilde}{\~A} |
| 436 |
\SGMLentity{auml}{\"a} |
| 437 |
\SGMLentity{Auml}{\"A} |
| 438 |
\SGMLentity{aelig}{\ae} |
| 439 |
\SGMLentity{AElig}{\AE} |
| 440 |
\SGMLentity{ccedil}{\c c} |
| 441 |
\SGMLentity{Ccedil}{\c C} |
| 442 |
\SGMLentity{eth}{\dh} |
| 443 |
\SGMLentity{ETH}{\DH} |
| 444 |
\SGMLentity{eacute}{\'e} |
| 445 |
\SGMLentity{Eacute}{\`E} |
| 446 |
\SGMLentity{ecirc}{\^e} |
| 447 |
\SGMLentity{Ecirc}{\^E} |
| 448 |
\SGMLentity{egrave}{\`e} |
| 449 |
\SGMLentity{Egrave}{\`E} |
| 450 |
\SGMLentity{euml}{\"e} |
| 451 |
\SGMLentity{Euml}{\"E} |
| 452 |
\SGMLentity{iacute}{\'\i} |
| 453 |
\SGMLentity{Iacute}{\'I} |
| 454 |
\SGMLentity{icirc}{\^\i} |
| 455 |
\SGMLentity{Icirc}{\^I} |
| 456 |
\SGMLentity{igrave}{\`\i} |
| 457 |
\SGMLentity{Igrave}{\`I} |
| 458 |
\SGMLentity{iuml}{\"\i} |
| 459 |
\SGMLentity{Iuml}{\"I} |
| 460 |
\SGMLentity{ntilde}{\~n} |
| 461 |
\SGMLentity{Ntilde}{\~N} |
| 462 |
\SGMLentity{oacute}{\'o} |
| 463 |
\SGMLentity{Oacute}{\'O} |
| 464 |
\SGMLentity{ocirc}{\^o} |
| 465 |
\SGMLentity{Ocirc}{\^O} |
| 466 |
\SGMLentity{ograve}{\`o} |
| 467 |
\SGMLentity{Ograve}{\`O} |
| 468 |
\SGMLentity{oslash}{\oe} |
| 469 |
\SGMLentity{Oslash}{\OE} |
| 470 |
\SGMLentity{otilde}{\~o} |
| 471 |
\SGMLentity{Otilde}{\~O} |
| 472 |
\SGMLentity{ouml}{\"o} |
| 473 |
\SGMLentity{Ouml}{\"O} |
| 474 |
\SGMLentity{szlig}{\ss} |
| 475 |
\SGMLentity{thorn}{\th} |
| 476 |
\SGMLentity{THORN}{\TH} |
| 477 |
\SGMLentity{uacute}{\'u} |
| 478 |
\SGMLentity{Uacute}{\'U} |
| 479 |
\SGMLentity{ucirc}{\^u} |
| 480 |
\SGMLentity{Ucirc}{\^U} |
| 481 |
\SGMLentity{ugrave}{\`u} |
| 482 |
\SGMLentity{Ugrave}{\`U} |
| 483 |
\SGMLentity{uuml}{\"u} |
| 484 |
\SGMLentity{Uuml}{\"U} |
| 485 |
\SGMLentity{yacute}{\'y} |
| 486 |
\SGMLentity{Yacute}{\'Y} |
| 487 |
\SGMLentity{yuml}{\"y} |
| 488 |
\ifx\HTML@not\@undefined\else |
| 489 |
\SGMLdef<center>{\HTML@not{center}\begin{center}} |
| 490 |
\SGMLdef</center>{\end{center}} |
| 491 |
\SGMLdef<blink>{\SGMLgrabber{blink}\textbf} |
| 492 |
\SGMLdef<font>{\HTML@not{font}\begingroup |
| 493 |
\let\do\fontdo\the\toks@} |
| 494 |
\SGMLdef</font>{\endgroup} |
| 495 |
\def\fontdo#1#2{% |
| 496 |
\def\@tempa{size}\def\@tempb{#1}% |
| 497 |
\ifx\@tempa\@tempb |
| 498 |
\font@switch#2\relax\@nil |
| 499 |
\fi} |
| 500 |
\toks@\expandafter{\set@fontsize{#1}{#2}{#3}} |
| 501 |
\edef\@tempa{% |
| 502 |
\def\noexpand\set@fontsize##1##2##3{\the\toks@\noexpand\set@fontnum}} |
| 503 |
\@tempa |
| 504 |
\def\set@fontnum{\dimen@\f@size\p@ |
| 505 |
\dimen@\mul@ptsize\dimen@ |
| 506 |
\count@\dimen@ \divide\count@\p@ |
| 507 |
\advance\count@ -5\relax |
| 508 |
\edef\@fontnum{\number\count@}} |
| 509 |
\def\mul@ptsize{}% |
| 510 |
\def\@fontnum{5} |
| 511 |
\ifcase 0\@ptsize\relax |
| 512 |
\global\let\mul@ptsize\@empty% case 0, ptsize = 10 |
| 513 |
\or\gdef\mul@ptsize{.9091}% case 1, ptsize = 11 |
| 514 |
\else\gdef\mul@ptsize{.8333}% case 2, ptsize = 12 |
| 515 |
\fi |
| 516 |
\def\font@switch#1#2\@nil{\count@\@fontnum\relax |
| 517 |
\ifx +#1\advance\else\ifx -#1\advance\fi\fi |
| 518 |
\count@#1#2\relax |
| 519 |
\ifcase\count@ \tiny\or \tiny\or \scriptsize |
| 520 |
\or\footnotesize \or\small \or\normalsize \or\large |
| 521 |
\or\Large \or\LARGE \or\huge \else\Huge \fi} |
| 522 |
\fi |
| 523 |
\HTML@two@stop |
| 524 |
\SGML@w{HTML3 support not finished yet} |
| 525 |
\SGMLdef<math>{\SGMLgrabber{math}\domath} |
| 526 |
\SGMLdef<sup>{^\bgroup\HTMLscriptmap} |
| 527 |
\SGMLdef</sup>{\egroup} |
| 528 |
\SGMLdef<sub>{_\bgroup\HTMLscriptmap} |
| 529 |
\SGMLdef</sub>{\egroup} |
| 530 |
\SGMLdef<box>{\SGMLgrabber{box}\dobox} |
| 531 |
\begingroup |
| 532 |
\catcode`\<=\active |
| 533 |
\catcode`\>=\active |
| 534 |
\catcode`\&=\active |
| 535 |
\catcode`\_=\active |
| 536 |
\catcode`\^=\active |
| 537 |
\catcode`\"=\active |
| 538 |
\gdef\domath#1{% |
| 539 |
{{\def&{\expandafter\expandafter\expandafter\noexpand\SGMLent@@}% |
| 540 |
\let<\relax\let>\relax\let_\relax\let^\relax\let"\relax |
| 541 |
\def\{{<box>}\def\}{</box>}% |
| 542 |
\xdef\@gtempa{#1}}% |
| 543 |
\let\do\mathdo |
| 544 |
\let\doimplied\mathimplied |
| 545 |
\the\toks@ |
| 546 |
\[% |
| 547 |
\m@th\nulldelimiterspace\z@ |
| 548 |
\def^{<sup>}% |
| 549 |
\def_{<sub>}% |
| 550 |
\@gtempa\]}} |
| 551 |
\gdef\HTMLscriptmap{% |
| 552 |
\def^{</sup>}% |
| 553 |
\def_{</sub>}} |
| 554 |
\gdef\dobox#1{% |
| 555 |
{\let\do\boxdo |
| 556 |
\let\bigstrut\relax |
| 557 |
\the\toks@ |
| 558 |
\def^{<sup>}% |
| 559 |
\def_{<sub>}% |
| 560 |
\lookleft@#1<left>\@nil}} |
| 561 |
\gdef\lookleft@#1<left>#2\@nil{% |
| 562 |
\if$#2$% |
| 563 |
{\left.\bgroup#1\mayberight}% |
| 564 |
\else |
| 565 |
\lookbox@#1<box>\@nil#2\@nil |
| 566 |
\fi} |
| 567 |
\gdef\lookbox@#1<box>#2\@nil#3<left>\@nil{% |
| 568 |
\if$#2$% |
| 569 |
{\maybeleft#1\@nil#3\mayberight} |
| 570 |
\else |
| 571 |
{#1 \boxtofront#2 <left> #3}% |
| 572 |
\fi} |
| 573 |
\gdef\boxtofront#1<box>{<box>#1} |
| 574 |
\endgroup |
| 575 |
\def\mathdo#1#2{% |
| 576 |
\def\@tempa{class-chem}\def\@tempb{#1-#2}% |
| 577 |
\ifx\@tempa\@tempb |
| 578 |
\everymath{\fam\z@}\everydisplay{\fam\z@}% |
| 579 |
\fi} |
| 580 |
\def\mathimplied#1{% |
| 581 |
\def\@tempa{box}\def\@tempb{#1}% |
| 582 |
\ifx\@tempa\@tempb |
| 583 |
\def\[{\center\setbox\z@\hbox\bgroup$\displaystyle}% |
| 584 |
\def\]{$\egroup\fbox{\box\z@}\endcenter}% |
| 585 |
\fi} |
| 586 |
\def\boxdo#1#2{% |
| 587 |
\def\@tempa{size}\def\@tempb{#1}% |
| 588 |
\ifx\@tempa\@tempb |
| 589 |
\def\@tempb{#2} |
| 590 |
\def\@tempa{normal}\ifx\@tempa\@tempb\def\@tempc{1}\fi |
| 591 |
\def\@tempa{medium}\ifx\@tempa\@tempb\def\@tempc{2}\fi |
| 592 |
\def\@tempa{large}\ifx\@tempa\@tempb\def\@tempc{3}\fi |
| 593 |
\def\@tempa{huge}\ifx\@tempa\@tempb\def\@tempc{4}\fi |
| 594 |
\edef\bigstrut{\vrule\@height\@tempc\ht\strutbox\@width\z@} |
| 595 |
\fi} |
| 596 |
\SGMLdef<left>{\left.\bgroup} |
| 597 |
\def\mayberight{\egroup\bigstrut\right.} |
| 598 |
\def\maybeleft#1#2\@nil{% |
| 599 |
\in@{#1}{()[]\SGML@E@rbrace\SGML@E@lbrace}% |
| 600 |
\ifin@ |
| 601 |
\left#1\bgroup#2% |
| 602 |
\else |
| 603 |
\let\SGML@E@int\HTML@bigint |
| 604 |
#1#2\left.\bgroup\let\SGML@E@int\int |
| 605 |
\fi} |
| 606 |
\def\righttest#1{% |
| 607 |
\in@{#1}{()[]\SGML@E@rbrace\SGML@E@lbrace}% |
| 608 |
\ifin@ |
| 609 |
\right#1\let\mayberight\relax |
| 610 |
\else |
| 611 |
\right.\let\mayberight\relax\expandafter#1% |
| 612 |
\fi} |
| 613 |
\ifx\HTML@int\@undefined |
| 614 |
\let\HTML@bigint\int |
| 615 |
\else |
| 616 |
\def\HTML@int{\int^{\box\tw@}_{\box4}} |
| 617 |
\def\HTML@bigint#1\left.\bgroup{% |
| 618 |
\def\@tempa{#1}% |
| 619 |
\setbox\z@\hbox\bgroup |
| 620 |
\aftergroup\HTMLafterbigint$\displaystyle\bgroup |
| 621 |
\aftergroup$\aftergroup\egroup} |
| 622 |
\def\HTMLafterbigint{% |
| 623 |
\[email protected]\ht\z@ |
| 624 |
\advance\[email protected]\dp\z@ |
| 625 |
{\SGMLdef<sup>{\setbox\tw@\hbox\bgroup\HTMLscriptmap$\scriptstyle}% |
| 626 |
\SGMLdef<sub>{\setbox4\hbox\bgroup\HTMLscriptmap$\scriptstyle}% |
| 627 |
\SGMLdef</sup>{$\egroup}% |
| 628 |
\SGMLdef</sub>{$\egroup}% |
| 629 |
\setbox\tw@\box\voidb@x |
| 630 |
\setbox4\box\voidb@x |
| 631 |
\@tempa |
| 632 |
\ifdim\dimen@>\f@size\p@ |
| 633 |
\mathop{\hbox{\DeclareFixedFont\@tempa{OMX}{cmex}{m}{n}\dimen@ |
| 634 |
$\displaystyle\textfont\thr@@\@tempa\HTML@int$}}% |
| 635 |
\else |
| 636 |
\HTML@int |
| 637 |
\fi |
| 638 |
}\left.\box\z@} |
| 639 |
\fi |
| 640 |
\SGMLdef<over>{\over} |
| 641 |
\SGMLdef<atop>{\atop} |
| 642 |
\SGMLdef<choose>{\choose} |
| 643 |
\SGMLdef<right>{\egroup\bigstrut\righttest} |
| 644 |
\SGMLdef<above>{\SGMLgrabber{above}% |
| 645 |
{\let\@tempc\overlineop |
| 646 |
\let\do\abovedo |
| 647 |
\the\toks@ |
| 648 |
\@tempc}} |
| 649 |
\SGMLdef<below>{\SGMLgrabber{below}% |
| 650 |
{\let\@tempc\underlineop |
| 651 |
\let\do\abovedo |
| 652 |
\the\toks@ |
| 653 |
\@tempc}} |
| 654 |
\def\overlineop#1{\mathop{\overline{#1}}} |
| 655 |
\def\underlineop#1{\mathop{\underline{#1}}} |
| 656 |
\def\abovedo#1#2{% |
| 657 |
\def\@tempa{sym}\def\@tempb{#1}% |
| 658 |
\ifx\@tempa\@tempb\def\@tempc{\csname#2\endcsname}\fi} |
| 659 |
\SGMLdef<vec>{\SGMLgrabber{vec}\vec} |
| 660 |
\SGMLdef<bar>{\SGMLgrabber{bar}\bar} |
| 661 |
\SGMLdef<dot>{\SGMLgrabber{dot}\dot} |
| 662 |
\SGMLdef<ddot>{\SGMLgrabber{ddot}\ddot} |
| 663 |
\SGMLdef<hat>{\SGMLgrabber{hat}\hat} |
| 664 |
\SGMLdef<tilde>{\SGMLgrabber{tilde}\tilde} |
| 665 |
\SGMLdef<t>{\SGMLgrabber{t}\mathrm} |
| 666 |
\SGMLdef<bt>{\SGMLgrabber{bt}\mathbf} |
| 667 |
\SGMLdef<text>{\SGMLgrabber{text}\textnormal}%%%%% not in the dtd???? |
| 668 |
\SGMLdef<root>{\rootfudge} |
| 669 |
\def\rootfudge#1{% |
| 670 |
\setbox\rootbox\hbox\bgroup$\m@th\scriptscriptstyle\bgroup#1} |
| 671 |
\SGMLdef<of>{\egroup$\egroup\SGMLgrabber{root}\offudge} |
| 672 |
\SGMLdef</of>{} |
| 673 |
\def\offudge#1{\mathpalette\r@@t{#1}} |
| 674 |
\SGMLdef<sqrt>{\SGMLgrabber{sqrt}\sqrt} |
| 675 |
\newcount\HTMLrow |
| 676 |
\newcount\HTMLcol |
| 677 |
\newcount\HTMLrowspan |
| 678 |
\newcount\HTMLcolspan |
| 679 |
\SGMLdef<array>{{\ifnum`}=0\fi |
| 680 |
\let\do\arraydo |
| 681 |
\let\doimplied\arrayimplied |
| 682 |
\let\HTMLal.% |
| 683 |
\let\HTMLar.% |
| 684 |
\global\HTMLrow\z@ |
| 685 |
\let\HTMLabox\vcenter |
| 686 |
\the\toks@ |
| 687 |
\setbox\z@\vbox\bgroup\halign\bgroup |
| 688 |
\strut\span\HTMLacolspec\cr\nocr} |
| 689 |
\def\HTMLacolspec{##&&##} |
| 690 |
|
| 691 |
\def\HTMLamakepream#1{% |
| 692 |
\let\HTMLacolspec\@empty |
| 693 |
\let\@sharp\relax |
| 694 |
\lowercase{\@tfor\@tempc:=#1}\do{% |
| 695 |
\if\@tempc l% |
| 696 |
\edef\HTMLacolspec{\HTMLacolspec\@sharp\hfill&}% |
| 697 |
\else |
| 698 |
\if\@tempc c% |
| 699 |
\edef\HTMLacolspec{\HTMLacolspec\hfill\@sharp\hfill&}% |
| 700 |
\else |
| 701 |
\if\@tempc r% |
| 702 |
\edef\HTMLacolspec{\HTMLacolspec\hfill\@sharp&}% |
| 703 |
\else |
| 704 |
\if\@tempc +% |
| 705 |
\edef\HTMLacolspec{\HTMLacolspec$+$}% |
| 706 |
\else |
| 707 |
\if\@tempc -% |
| 708 |
\edef\HTMLacolspec{\HTMLacolspec$-$}% |
| 709 |
\else |
| 710 |
\if\@tempc =% |
| 711 |
\edef\HTMLacolspec{\HTMLacolspec$=$}% |
| 712 |
\fi |
| 713 |
\fi |
| 714 |
\fi |
| 715 |
\fi |
| 716 |
\fi |
| 717 |
\fi}% |
| 718 |
\def\@sharp{########}% |
| 719 |
\edef\HTMLacolspec{\HTMLacolspec&\@sharp}} |
| 720 |
\SGMLdef</array>{\HTMLendarray} |
| 721 |
\let\HTMLcr\cr |
| 722 |
\def\HTMLendarray{% |
| 723 |
\endi\crcr\egroup\egroup |
| 724 |
\ifx\HTMLabox\vtop |
| 725 |
\setbox\z@\vtop{\unvbox\z@}% |
| 726 |
\else |
| 727 |
\ifx\HTMLabox\vcenter |
| 728 |
\dimen@\ht\z@ |
| 729 |
\advance\dimen@\dp\z@ |
| 730 |
\divide\dimen@\tw@ |
| 731 |
\advance\dimen@-\ht\z@ |
| 732 |
\setbox\z@\hbox{\raise\dimen@\box\z@}% |
| 733 |
\fi |
| 734 |
\fi |
| 735 |
\dimen@=\ht\z@ |
| 736 |
\setbox\z@ |
| 737 |
\hbox{$\left\HTMLal\kern-1em\vcenter{\box\z@}\kern-1em\right\HTMLar$}% |
| 738 |
\advance\dimen@-\ht\z@ |
| 739 |
\raise\dimen@\box\z@ |
| 740 |
\ifnum`{=0\fi}} |
| 741 |
\def\HTMLendarraylabels{% |
| 742 |
\endi\crcr\strut\cr\egroup\egroup |
| 743 |
\setbox2=\vsplit\z@ to \baselineskip |
| 744 |
\setbox\z@\vbox{\unvbox\z@\global\setbox\@ne\lastbox}% |
| 745 |
\setbox4\hbox{\unhbox\@ne\unskip\global\setbox\@ne\lastbox}% |
| 746 |
\vcenter{% |
| 747 |
\box2 |
| 748 |
\hbox{$\kern\wd\@ne |
| 749 |
\left\HTMLal\kern-\wd\@ne |
| 750 |
\vcenter{\box\z@}% |
| 751 |
\right\HTMLar$}}% |
| 752 |
\ifnum`{=0\fi}} |
| 753 |
\def\nocr{\relax\iffalse{\fi\let\HTMLcr\relax\iffalse}\fi} |
| 754 |
\SGMLdef<row>{% |
| 755 |
\endi\HTMLcr |
| 756 |
\global\advance\HTMLrow\@ne |
| 757 |
\global\HTMLcol\z@} |
| 758 |
\SGMLdef</row>{} |
| 759 |
\SGMLdef<item>{% |
| 760 |
\let\do\itemdo |
| 761 |
\gdef\@gtempa{\global\advance\HTMLcol\@ne}% |
| 762 |
\gdef\@gtempb{}% |
| 763 |
\gdef\@gtempc{}% |
| 764 |
\global\HTMLcolspan\@ne |
| 765 |
\the\toks@ |
| 766 |
\endi% |
| 767 |
\@gtempc |
| 768 |
\@gtempa |
| 769 |
\spanifneeded |
| 770 |
\@gtempb |
| 771 |
\setbox\z@\hbox\bgroup$% |
| 772 |
\def\endi{\unskip$\egroup% |
| 773 |
\quad\HTMLaleft\box\z@\HTMLaright\quad&}% |
| 774 |
\ignorespaces} |
| 775 |
\def\spanifneeded{% |
| 776 |
\edef\@tempa{\noexpand\in@{,\the\HTMLrow/\the\HTMLcol,}{\spanitems}}% |
| 777 |
\@tempa |
| 778 |
\ifin@ |
| 779 |
\@firstofone{&}\global\advance\HTMLcol\@ne |
| 780 |
\expandafter\spanifneeded |
| 781 |
\fi} |
| 782 |
\SGMLdef</item>{} |
| 783 |
\let\HTMLaleft\hfil |
| 784 |
\let\HTMLaright\hfil |
| 785 |
\let\endi\relax |
| 786 |
\def\arraydo#1#2{% |
| 787 |
\def\@tempa{#1}\def\@tempb{#2}% |
| 788 |
\def\@tempc{align}% |
| 789 |
\ifx\@tempa\@tempc |
| 790 |
\def\@tempc{top}% |
| 791 |
\ifx\@tempb\@tempc |
| 792 |
\let\HTMLabox\vtop |
| 793 |
\else |
| 794 |
\def\@tempc{bottom}% |
| 795 |
\ifx\@tempb\@tempc |
| 796 |
\let\HTMLabox\vbox |
| 797 |
\fi |
| 798 |
\fi |
| 799 |
\else |
| 800 |
\def\@tempc{ldelim}% |
| 801 |
\ifx\@tempa\@tempc |
| 802 |
\let\HTMLal\@tempb |
| 803 |
\else |
| 804 |
\def\@tempc{rdelim}% |
| 805 |
\ifx\@tempa\@tempc |
| 806 |
\let\HTMLar\@tempb |
| 807 |
\else |
| 808 |
\def\@tempc{labels}% |
| 809 |
\ifx\@tempa\@tempc |
| 810 |
\let\HTMLendarray\HTMLendarraylabels |
| 811 |
\else |
| 812 |
\def\@tempc{colspec}% |
| 813 |
\ifx\@tempa\@tempc |
| 814 |
\HTMLamakepream{#2}% |
| 815 |
\fi |
| 816 |
\fi |
| 817 |
\fi |
| 818 |
\fi |
| 819 |
\fi} |
| 820 |
\def\arrayimplied#1{% |
| 821 |
\def\@tempa{labels}\def\@tempb{#1}% |
| 822 |
\ifx\@tempa\@tempb |
| 823 |
\let\HTMLendarray\HTMLendarraylabels |
| 824 |
\fi} |
| 825 |
\def\itemdo#1#2{% |
| 826 |
\def\@tempa{#1}\def\@tempb{#2}% |
| 827 |
\def\@tempc{colspan}% |
| 828 |
\ifx\@tempa\@tempc |
| 829 |
\global\HTMLcolspan#2\relax |
| 830 |
\gdef\@gtempa{\@multispan#2\relax\global\advance\HTMLcol#2\relax}% |
| 831 |
\else |
| 832 |
\def\@tempc{align}% |
| 833 |
\ifx\@tempa\@tempc |
| 834 |
\def\@tempc{left}% |
| 835 |
\ifx\@tempb\@tempc |
| 836 |
\gdef\@gtempb{\let\HTMLaleft\relax}% |
| 837 |
\else |
| 838 |
\def\@tempc{right}% |
| 839 |
\ifx\@tempb\@tempc |
| 840 |
\gdef\@gtempb{\let\HTMLaright\relax}% |
| 841 |
\fi |
| 842 |
\fi |
| 843 |
\else |
| 844 |
\def\@tempc{rowspan}% |
| 845 |
\ifx\@tempa\@tempc |
| 846 |
\global\HTMLrowspan#2\relax |
| 847 |
\gdef\@gtempc{% |
| 848 |
\@tempcnta=\HTMLrow |
| 849 |
\advance\@tempcnta\HTMLrowspan |
| 850 |
\loop |
| 851 |
\@tempcntb=\HTMLcol |
| 852 |
\advance\@tempcntb\HTMLcolspan |
| 853 |
\advance\@tempcnta\m@ne |
| 854 |
\ifnum\@tempcnta>\HTMLrow |
| 855 |
{\loop |
| 856 |
\xdef\spanitems{% |
| 857 |
\spanitems\the\@tempcnta/\the\@tempcntb,}% |
| 858 |
\advance\@tempcntb\m@ne |
| 859 |
\ifnum\@tempcntb>\HTMLcol |
| 860 |
\repeat}% |
| 861 |
\repeat}% |
| 862 |
\fi |
| 863 |
\fi |
| 864 |
\fi} |
| 865 |
\def\spanitems{,} |
| 866 |
\SGMLentity{thinsp}{\,} |
| 867 |
\SGMLentity{emsp}{\quad} |
| 868 |
\SGMLentity{alpha}{\alpha} |
| 869 |
\SGMLentity{beta}{\beta} |
| 870 |
\SGMLentity{gamma}{\gamma} |
| 871 |
\SGMLentity{Gamma}{\Gamma} |
| 872 |
\SGMLentity{int}{\int} |
| 873 |
\SGMLentity{sum}{\sum} |
| 874 |
\SGMLentity{lbrace}{\lbrace} |
| 875 |
\SGMLentity{rbrace}{\rbrace} |
| 876 |
\SGMLentity{times}{\times} |
| 877 |
\SGMLentity{cup}{\cup} |
| 878 |
\SGMLentity{cap}{\cap} |
| 879 |
\SGMLentity{vee}{\vee} |
| 880 |
\SGMLentity{wedge}{\wedge} |
| 881 |
\SGMLentity{infty}{\infty} |
| 882 |
\SGMLentity{oplus}{\oplus} |
| 883 |
\SGMLentity{ominus}{\ominus} |
| 884 |
\SGMLentity{otimes}{\otimes} |
| 885 |
\SGMLentity{sin}{\sin} |
| 886 |
\SGMLentity{cos}{\cos} |
| 887 |
\SGMLentity{tan}{\tan} |
| 888 |
\SGMLdef<table>{\begin{table}[htp]\centering\begin{tabular}{*{10}c}} |
| 889 |
\SGMLdef</table>{\end{tabular}\end{table}} |
| 890 |
\SGMLdef<tr>{\ifhmode\expandafter\\\fi\relax} |
| 891 |
\SGMLdef</tr>{\\\relax} |
| 892 |
\SGMLdef<td>{\ifvmode\else\expandafter\hiddenamp\fi} |
| 893 |
\def\hiddenamp{&} |
| 894 |
\SGMLdef</td>{} |
| 895 |
\SGMLdef<caption>{\end{tabular}\begingroup\bfseries} |
| 896 |
\SGMLdef</caption>{\endgroup\par\smallskip\begin{tabular}{*{10}{c}}} |
| 897 |
\endinput |
| 898 |
%% |
| 899 |
%% End of file `typehtml.sty'. |