c= l2h.ct CT file for ltx2x to convert typical document to HTML c= includes support for packages url, html, hyperref, hyper c= plus the new commands specified for the LTX2X manual c= Author: Peter Wilson (pwilson@cme.nist.gov) August 1996 c= -------------------- escape sequences ESCAPE_CHAR= ? c= -------------------- required built in commands TYPE= BEGIN_DOCUMENT c= ( \begin{document} --> c= c= Contents of \mltitle c= c= c= (This document ... program.) c= To the end ) START_TAG= "?n?n" SOURCE: BUFFER 1 STRING: "?n?n?n" STRING: "(This document was automatically generated from LaTeX source " STRING: "by the ltx2x program.)?n" STRING: "To the end?n" RESET_BUFFER: 1 END_TYPE TYPE= END_DOCUMENT c= ( \end{document} --> To the start c= c= ) START_TAG= "To the start?n" STRING: "?n?n" END_TYPE TYPE= BEGIN_VERB c= ( \verb| --> ) START_TAG= "" END_TYPE TYPE= END_VERB START_TAG= "" END_TYPE TYPE= BEGIN_VERBATIM c= ( \begin{verbatim} -->
 )
  START_TAG=  "
"
END_TYPE

TYPE=  END_VERBATIM
      c=  ( \end{verbatim} --> 
) START_TAG= "
" END_TYPE TYPE= BEGIN_DOLLAR END_TYPE TYPE= END_DOLLAR END_TYPE TYPE= SLASH_SPACE START_TAG= " " END_TYPE TYPE= OTHER_COMMAND PRINT_CONTROL= NO_PRINT END_TYPE TYPE= OTHER_BEGIN PRINT_CONTROL= NO_PRINT END_TYPE TYPE= OTHER_END PRINT_CONTROL= NO_PRINT END_TYPE TYPE= LBRACE START_TAG= "" END_TYPE TYPE= RBRACE START_TAG= "" END_TYPE TYPE= PARAGRAPH START_TAG= "?n

" END_TYPE c= ---------------------- (La)TeX special characters c= hash (for use in \def s ) TYPE= TEX_CHAR NAME= # END_TYPE c= twiddle (unbreakable space) TYPE= TEX_CHAR NAME= ~ START_TAG= " " END_TYPE c= underscore (math subscript) c= require a parameter TYPE= TEX_CHAR NAME= _ c= ( _{text} --> text ) START_TAG_1= "" END_TAG_1= "" REQPARAMS= 1 END_TYPE c= caret (math superscript) c= require a parameter TYPE= TEX_CHAR NAME= ^ c= ( ~{text} --> text ) START_TAG_1= "" END_TAG_1= "" REQPARAMS= 1 END_TYPE c= percent (start of comment) TYPE= TEX_CHAR NAME= % START_TAG= "" END_TYPE c= at TYPE= TEX_CHAR NAME= @ START_TAG= "@" END_TYPE c= ----------------------- default single character commands c= LaTeX start a new line TYPE= CHAR_COMMAND NAME= \\ c= ( \\ -->
) START_TAG= "
" IN_MODE= tabular c= ( \\ --> BUFFER 8">BUFFER 9 c= " RESET_BUFFER: 8 SOURCE: BUFFER 9 END_TAG= "?n c= ) START_TAG= "?n" END_MODE END_TYPE c= small space TYPE= CHAR_COMMAND NAME= \, START_TAG= " " END_TYPE c= end of sentence space TYPE= CHAR_COMMAND NAME= \@ START_TAG= " " END_TYPE c= hash TYPE= CHAR_COMMAND NAME= \# START_TAG= "#" END_TYPE c= dollar TYPE= CHAR_COMMAND NAME= \$ START_TAG= "$" END_TYPE c= ampersand TYPE= CHAR_COMMAND NAME= \& START_TAG= "&" END_TYPE c= underscore TYPE= CHAR_COMMAND NAME= \_ START_TAG= "_" END_TYPE c= percent TYPE= CHAR_COMMAND NAME= \% START_TAG= "%" END_TYPE c= optional hyphenation TYPE= CHAR_COMMAND NAME= \- START_TAG= "" END_TYPE c= left brace TYPE= CHAR_COMMAND NAME= \{ START_TAG= "{" END_TYPE c= right brace TYPE= CHAR_COMMAND NAME= \} START_TAG= "}" END_TYPE c= ----------------------------- (re)newstuff c= do no processing TYPE= COMMAND_POOP NAME= \newcommand PRINT_P1= NO_OP PRINT_P2= NO_OP PRINT_P3= NO_OP PRINT_P4= NO_OP END_TYPE TYPE= COMMAND_POOP NAME= \renewcommand PRINT_P1= NO_OP PRINT_P2= NO_OP PRINT_P3= NO_OP PRINT_P4= NO_OP END_TYPE TYPE= COMMAND_POOP NAME= \providecommand PRINT_P1= NO_OP PRINT_P2= NO_OP PRINT_P3= NO_OP PRINT_P4= NO_OP END_TYPE TYPE= COMMAND_POOPP NAME= \newenvironment PRINT_P1= NO_OP PRINT_P2= NO_OP PRINT_P3= NO_OP PRINT_P4= NO_OP PRINT_P5= NO_OP END_TYPE TYPE= COMMAND_POOPP NAME= \renewenvironment PRINT_P1= NO_OP PRINT_P2= NO_OP PRINT_P3= NO_OP PRINT_P4= NO_OP PRINT_P5= NO_OP END_TYPE c= ------------------------- General (La)TeX c= ------------------------- document title, author, etc TYPE= COMMAND NAME= \documentclass c= empty buffer 1 in case \mltitle not used in document OPT_PARAM= FIRST REQPARAMS= 1 PRINT_P1= NO_PRINT PRINT_OPT= NO_PRINT END_TAG= RESET_BUFFER: 1 END_TYPE TYPE= COMMAND NAME= \documentstyle c= empty buffer 1 in case \mltitle not used in document OPT_PARAM= FIRST REQPARAMS= 1 PRINT_P1= NO_PRINT PRINT_OPT= NO_PRINT END_TAG= RESET_BUFFER: 1 END_TYPE c= special latex tag for html title TYPE= COMMAND NAME= \mltitle c= ( newcommand{\mltitle}[1]{} ) c= ( \mltitle{text} --> BUFFER 1 ) REQPARAMS= 1 START_TAG= RESET_BUFFER: 1 PRINT_P1= TO_BUFFER 1 END_TYPE TYPE= COMMAND NAME= \maketitle c= ( \maketitle -->

c= contents of \title command c=

c=

c= contents of \author command c=

c=

c= contents of \date command c=

) START_TAG= "?n" STRING: "

?n" SOURCE: FILE tit.tmp STRING: "?n

?n

?n" SOURCE: BUFFER 2 STRING: "?n

?n

?n" SOURCE: BUFFER 3 STRING: "?n

?n" RESET_BUFFER: 2 RESET_BUFFER: 3 END_TYPE TYPE= COMMAND NAME= \title REQPARAMS= 1 PRINT_P1= TO_FILE tit.tmp END_TYPE TYPE= COMMAND NAME= \author REQPARAMS= 1 PRINT_P1= TO_BUFFER 2 END_TYPE TYPE= COMMAND NAME= \date REQPARAMS= 1 PRINT_P1= TO_BUFFER 3 END_TYPE TYPE= COMMAND NAME= \thanks c= ( \thanks{text} -->
(text)
) START_TAG= "
(" END_TAG= ")
" REQPARAMS= 1 END_TYPE TYPE= BEGIN_ENV NAME= abstract c= ( \begin{abstract} -->

Abstract

c=
) START_TAG= "

Abstract

?n
?n" END_TYPE TYPE= END_ENV NAME= abstract c= ( \end{abstract} -->
) START_TAG= "
?n" END_TYPE c= ---------------------- tables TYPE= BEGIN_ENV NAME= table c= ( \begin{table}[opt] -->
) START_TAG= "
" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT END_TAG= SET_MODE: table END_TYPE TYPE= END_ENV NAME= table c= ( \end{table} -->
) START_TAG= "" END_TAG= RESET_MODE: END_TYPE TYPE= BEGIN_ENV NAME= tabular c= ( \begin{tabular}{pream} --> colspan=num ) PC_AT_START= TO_BUFFER 8 REQPARAMS= 2 START_TAG_1= " colspan=" PRINT_P2= NO_PRINT PC_AT_END= RESET END_TYPE c= ampersand (table column delimeter) TYPE= TEX_CHAR NAME= & c= ( & --> BUFFER 8 > BUFFER 9 " RESET_BUFFER: 8 SOURCE: BUFFER 9 END_TAG= " ) START_TAG= "" END_MODE END_TYPE TYPE= END_ENV NAME= tabular c= ( \end{tabular} --> > ) PC_AT_START= RESET START_TAG= ">" RESET_BUFFER: 8 RESET_BUFFER: 9 RESET_MODE: END_TYPE c= -------------------------------- EQNARRYs (a simple "table" format) TYPE= BEGIN_ENV NAME= eqnarray c= ( \begin{eqnarray} -->
c=
) START_TAG= "?n
?n
" SET_MODE: eqnarray END_TYPE TYPE= BEGIN_ENV NAME= eqnarray* c= as for eqnarray START_TAG= "?n
?n
" SET_MODE: eqnarray END_TYPE TYPE= END_ENV NAME= eqnarray c= ( \end{eqnarray} -->
) START_TAG= "
" RESET_MODE: END_TYPE TYPE= END_ENV NAME= eqnarray* c= as for eqnarray* START_TAG= "
" RESET_MODE: END_TYPE TYPE= BEGIN_ENV NAME= figure c= ( \begin{figure}[opt] -->

FIGURE

) START_TAG= "?n

FIGURE

?n" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT END_TAG= SET_MODE: figure END_TYPE TYPE= END_ENV NAME= figure c= ( \end{figure} -->
Figures ... available!
) START_TAG= "?n" STRING: "
Figures are not yet available!
" END_TAG= RESET_MODE: END_TYPE TYPE= COMMAND NAME= \centering END_TYPE TYPE= BEGIN_ENV NAME= center START_TAG= "?n" END_TYPE TYPE= END_ENV NAME= center START_TAG= "?n" END_TYPE TYPE= COMMAND NAME= \caption c= ( \caption[opt]{text} --> text ) START_TAG= "" END_TAG= "" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TYPE c= --------------------------- lists TYPE= BEGIN_LIST_ENV NAME= itemize c= ( \begin{itemize} --> ?n" END_TYPE TYPE= BEGIN_LIST_ENV NAME= enumerate c= ( \begin{enumerate} -->
    ) c= ( \item -->
  1. ) START_TAG= "
      ?n" START_ITEM= "?n
    1. " END_TYPE TYPE= END_LIST_ENV NAME= enumerate c= ( \end{enumerate} -->
    ) START_TAG= "
?n" END_TYPE TYPE= BEGIN_LIST_ENV NAME= description c= ( \begin{description} -->
) c= ( \item[text] -->
text c=
) START_TAG= "
" START_ITEM= "
" END_ITEM_PARAM= "?n
" END_TYPE TYPE= END_LIST_ENV NAME= description c= ( \end{description} -->
) START_TAG= "
" END_TYPE c= fake some \dots commands TYPE= COMMAND NAME= \ldots START_TAG= "..." END_TYPE TYPE= COMMAND NAME= \cdots START_TAG= "..." END_TYPE TYPE= COMMAND NAME= \vdots START_TAG= ":" END_TYPE c= replace footnote with parenthesised text TYPE= COMMAND NAME= \footnote c= ( \footnote[opt]{text} --> (Footnote: text) ) START_TAG= " (Footnote: " END_TAG= ") " OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TYPE c= -------------------------- quotations TYPE= BEGIN_ENV NAME= quote c= ( \begin{quote} -->
) START_TAG= "
" END_TYPE TYPE= END_ENV NAME= quote c= ( \end{quote} -->
) START_TAG= "
" END_TYPE TYPE= BEGIN_ENV NAME= quotation c= as per quote START_TAG= "
" END_TYPE TYPE= END_ENV NAME= quotation c= as per quote START_TAG= "
" END_TYPE TYPE= COMMAND NAME= \TeX START_TAG= "TeX" END_TYPE TYPE= COMMAND NAME= \LaTeX START_TAG= "LaTeX" END_TYPE c= --------------------------- Picture commands c= throw all their contents away TYPE= BEGIN_PICTURE_CC NAME= picture PC_AT_START= NO_PRINT PRINT_P1= NO_PRINT PRINT_P2= NO_PRINT END_TYPE TYPE= PICTURE_CP NAME= \put PRINT_P1= NO_PRINT PRINT_P2= NO_PRINT END_TYPE TYPE= PICTURE_CCPP NAME= \multiput PRINT_P1= NO_PRINT PRINT_P2= NO_PRINT PRINT_P3= NO_PRINT PRINT_P4= NO_PRINT END_TYPE TYPE= PICTURE_PCOP NAME= \savebox PRINT_P1= NO_PRINT PRINT_P2= NO_PRINT PRINT_P3= NO_PRINT PRINT_P4= NO_PRINT END_TYPE TYPE= PICTURE_OCC NAME= \graphpaper PRINT_P1= NO_PRINT PRINT_P2= NO_PRINT PRINT_P3= NO_PRINT END_TYPE TYPE= PICTURE_OCCC NAME= \qbezier PRINT_P1= NO_PRINT PRINT_P2= NO_PRINT PRINT_P3= NO_PRINT PRINT_P4= NO_PRINT END_TYPE TYPE= END_PICTURE NAME= picture PC_AT_END= RESET END_TYPE c= -------------------------- sectioning (keep headers only) TYPE= SECTIONING NAME= \part c= ( \part[opt]{text} -->

text

) SECTIONING_LEVEL= PART START_TAG= "

" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "

?n" END_TYPE TYPE= SECTIONING NAME= \chapter c= similar to part SECTIONING_LEVEL= CHAPTER START_TAG= "

" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "

?n" END_TYPE TYPE= SECTIONING NAME= \section c= similar to part SECTIONING_LEVEL= SECT START_TAG= "

" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "

?n" END_TYPE TYPE= SECTIONING NAME= \subsection c= similar to part SECTIONING_LEVEL= SUBSECT START_TAG= "

" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "

?n" END_TYPE TYPE= SECTIONING NAME= \subsubsection c= similar to part SECTIONING_LEVEL= SUBSUBSECT START_TAG= "

" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "

" END_TYPE TYPE= SECTIONING NAME= \paragraph c= similar to part SECTIONING_LEVEL= PARA START_TAG= "
" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "
?n" END_TYPE TYPE= SECTIONING NAME= \subparagraph c= similar to part SECTIONING_LEVEL= SUBPARA START_TAG= "
" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "
?n" END_TYPE TYPE= SECTIONING NAME= \part* c= similar to part SECTIONING_LEVEL= PART START_TAG= "

" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "

?n" END_TYPE TYPE= SECTIONING NAME= \chapter* c= similar to part SECTIONING_LEVEL= CHAPTER START_TAG= "

" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "

?n" END_TYPE TYPE= SECTIONING NAME= \section* c= similar to part SECTIONING_LEVEL= SECT START_TAG= "

" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "

?n" END_TYPE TYPE= SECTIONING NAME= \subsection* c= similar to part SECTIONING_LEVEL= SUBSECT START_TAG= "

" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "

?n" END_TYPE TYPE= SECTIONING NAME= \subsubsection* c= similar to part SECTIONING_LEVEL= SUBSUBSECT START_TAG= "

" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "

?n" END_TYPE TYPE= SECTIONING NAME= \paragraph* c= similar to part SECTIONING_LEVEL= PARA START_TAG= "
" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "
?n" END_TYPE TYPE= SECTIONING NAME= \subparagraph* c= similar to part SECTIONING_LEVEL= SUBPARA START_TAG= "
" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT REQPARAMS= 1 END_TAG_1= "
?n" END_TYPE TYPE= COMMAND NAME= \appendix c= ( \appendix -->

APPENDICES

) START_TAG= "?n

APPENDICES

?n" END_TYPE c= --------------------------------- misc stuff TYPE= COMMAND NAME= \quad START_TAG= " " END_TYPE TYPE= COMMAND NAME= \tableofcontents END_TYPE TYPE= COMMAND NAME= \listoffigures END_TYPE TYPE= COMMAND NAME= \listoftables END_TYPE TYPE= COMMAND NAME= \clearpage END_TYPE TYPE= COMMAND NAME= \pagenumbering REQPARAMS= 1 PRINT_P1= NO_PRINT END_TYPE TYPE= COMMAND NAME= \bibliographystyle REQPARAMS= 1 PRINT_P1= NO_PRINT END_TYPE TYPE= COMMAND NAME= \bibliography REQPARAMS= 1 PRINT_P1= NO_PRINT END_TYPE c= --------------------------------- special characters LaTeX -> HTML TYPE= TEX_CHAR NAME= < c= ( < --> < ) START_TAG= "<" END_TYPE TYPE= TEX_CHAR NAME= > c= ( > --> > ) START_TAG= ">" END_TYPE TYPE= COMMAND NAME= \dag START_TAG= "†" END_TYPE TYPE= COMMAND NAME= \ddag START_TAG= "‡" END_TYPE TYPE= COMMAND NAME= \OE START_TAG= "Œ" END_TYPE TYPE= COMMAND NAME= \oe START_TAG= "œ" END_TYPE TYPE= COMMAND NAME= \pounds START_TAG= "£" END_TYPE TYPE= COMMAND NAME= \S START_TAG= "§" END_TYPE TYPE= COMMAND NAME= \copyright START_TAG= "©" END_TYPE TYPE= COMMAND NAME= \neg START_TAG= "¬" END_TYPE TYPE= COMMAND NAME= \pm START_TAG= "±" END_TYPE TYPE= COMMAND NAME= \mu START_TAG= "µ" END_TYPE TYPE= COMMAND NAME= \P START_TAG= "¶" END_TYPE TYPE= COMMAND NAME= \AA START_TAG= "Å" END_TYPE TYPE= COMMAND NAME= \AE START_TAG= "Æ" END_TYPE TYPE= COMMAND NAME= \times START_TAG= "×" END_TYPE TYPE= COMMAND NAME= \O START_TAG= "Ø" END_TYPE TYPE= COMMAND NAME= \ss START_TAG= "ß" END_TYPE TYPE= COMMAND NAME= \aa START_TAG= "å" END_TYPE TYPE= COMMAND NAME= \ae START_TAG= "æ" END_TYPE TYPE= COMMAND NAME= \div START_TAG= "÷" END_TYPE TYPE= COMMAND NAME= \o START_TAG= "ø" END_TYPE c= ---------------------------- some math commands TYPE= COMMAND NAME= \mathcal c= ( \mathcal{text} --> text ) REQPARAMS= 1 START_TAG_1= "" END_TAG_1= "" END_TYPE TYPE= COMMAND NAME= \leq START_TAG= " <= " END_TYPE TYPE= COMMAND NAME= \geq START_TAG= " >= " END_TYPE TYPE= COMMAND NAME= \neq START_TAG= " /= " END_TYPE TYPE= COMMAND NAME= \subseteq START_TAG= " <= " END_TYPE TYPE= COMMAND NAME= \subset START_TAG= " < " END_TYPE TYPE= COMMAND NAME= \supseteq START_TAG= " >= " END_TYPE TYPE= COMMAND NAME= \supset START_TAG= " > " END_TYPE TYPE= COMMAND NAME= \cap START_TAG= " * " END_TYPE TYPE= COMMAND NAME= \cup START_TAG= " + " END_TYPE TYPE= COMMAND NAME= \in START_TAG= " in " END_TYPE TYPE= COMMAND NAME= \emptyset START_TAG= "Ø" END_TYPE TYPE= COMMAND NAME= \forall START_TAG= " forall " END_TYPE TYPE= COMMAND NAME= \Rightarrow START_TAG= " => " END_TYPE c= ----------------------------- font changes TYPE= COMMAND NAME= \texttt c= ( \texttt{text} --> text ) START_TAG= "" END_TAG= "" REQPARAMS= 1 END_TYPE TYPE= COMMAND NAME= \emph START_TAG= "" END_TAG= "" REQPARAMS= 1 END_TYPE TYPE= COMMAND NAME= \textit START_TAG= "" END_TAG= "" REQPARAMS= 1 END_TYPE TYPE= COMMAND NAME= \textbf START_TAG= "" END_TAG= "" REQPARAMS= 1 END_TYPE TYPE= COMMAND NAME= \textsl START_TAG= "" END_TAG= "" REQPARAMS= 1 END_TYPE c= ------------------------------ bibliography and ref commands TYPE= BEGIN_ENV NAME= thebibliography c= ( \begin{thebibliography}{text} -->

REFERENCES

c=
c= ) START_TAG= "

REFERENCES

?n
?n" REQPARAMS= 1 PRINT_P1= NO_PRINT END_TYPE TYPE= END_ENV NAME= thebibliography c= ( \end{thebibliography} -->
START_TAG= "
?n" END_TYPE TYPE= COMMAND NAME= \bibitem c= ( \bibitem[opt]{text} --> [text]
) START_TAG= "?n
" REQPARAMS= 1 PRINT_P1= TO_BUFFER 1 END_TAG_1= "[" SOURCE: BUFFER 1 STRING: "]
" OPT_PARAM= FIRST PRINT_OPT= NO_PRINT END_TYPE TYPE= COMMAND NAME= \newblock END_TYPE TYPE= COMMAND NAME= \cite c= ( \cite[opt]{text} --> opt[text] ) REQPARAMS= 1 PRINT_P1= TO_BUFFER 1 END_TAG= "[" SOURCE: BUFFER 1 STRING: "]" OPT_PARAM= FIRST END_OPT= "" END_TYPE TYPE= COMMAND NAME= \label c= ( \label{text} --> ) REQPARAMS= 1 PRINT_P1= TO_BUFFER 6 END_TAG= "" STRING: "" IN_MODE= table c= ( \label{text} --> (Table text) ) REQPARAMS= 1 PRINT_P1= TO_BUFFER 6 END_TAG= "" STRING: "(Table " SOURCE: BUFFER 6 STRING: ")" STRING: "" END_MODE IN_MODE= figure c= ( \label{text} --> (Figure text) ) REQPARAMS= 1 PRINT_P1= TO_BUFFER 6 END_TAG= "" STRING: "(Figure " SOURCE: BUFFER 6 STRING: ")" STRING: "" END_MODE END_TYPE TYPE= COMMAND NAME= \ref c= ( \ref{text} --> text ) REQPARAMS= 1 PRINT_P1= TO_BUFFER 6 END_TAG= "" SOURCE: BUFFER 6 STRING: "" END_TYPE c= ----------------------------- for the url package TYPE= VCOMMAND NAME= \url c= ( \url{text} --> text ) REQPARAMS= 1 PRINT_P1= TO_BUFFER 7 START_TAG= "" RESET_BUFFER: 7 END_TAG= "" SOURCE: BUFFER 7 STRING: "" RESET_BUFFER: 7 END_TYPE c= ----------------------------- commands from html.sty (as best I understand) c= (normally used with program latex2html) TYPE= COMMAND NAME= \htmladdnormallinkfoot REQPARAMS= 2 c= first argument is html highlighted text c= second argument is a corresponding URL to be put in a LaTeX footnote c= (e.g., newcommand{\htmladdnormallinkfoot}[2]{#1\footnote{#2}} ) c= ( \htmladdnormallinkfoot{first}{second} --> first ) START_TAG= RESET_BUFFER: 4 RESET_BUFFER: 5 PRINT_P1= TO_BUFFER 4 PRINT_P2= TO_BUFFER 5 END_TAG= "" SOURCE: BUFFER 4 STRING: "" END_TYPE TYPE= COMMAND NAME= \htmladdnormallink REQPARAMS= 2 c= first argument is html highlighted text c= second argument is a LaTeX ignored URL not to be put in a LaTeX footnote c= (e.g., newcommand{\htmladdnormallink}[2]{#1} ) c= ( \htmladdnormallink{first}{second} --> first ) START_TAG= RESET_BUFFER: 4 RESET_BUFFER: 5 PRINT_P1= TO_BUFFER 4 PRINT_P2= TO_BUFFER 5 END_TAG= "" SOURCE: BUFFER 4 STRING: "" END_TYPE TYPE= COMMAND NAME= \htmladdimg REQPARAMS= 1 c= argument is URL pointing to an image for embedding in HTML doc c= ( \htmladdimg{first} --> ) START_TAG= "" END_TYPE TYPE= COMMAND NAME= \externallabels REQPARAMS= 2 c= first arg is URL to directory containing external document c= second arg is the path to the labels.pl file of the external document c= (e.g., newcommand{\externallabels}[2]{} ) END_TYPE TYPE= COMMAND NAME= \externalref REQPARAMS= 1 c= first arg is a label defined in an external document. c= (e.g., newcommand{\externalref}[1]{} ) c= ( \externalref{first} --> START_TAG= "" END_TYPE TYPE= COMMAND NAME= \htmlrule c= adds a horizontal rule c= ( \htmlrule -->
) START_TAG= "
" END_TYPE TYPE= BEGIN_VENV NAME= rawhtml c= html stuff only --- to be ignored by LaTeX END_TYPE TYPE= END_VENV NAME= rawhtml END_TYPE TYPE= BEGIN_VENV NAME= htmlonly c= processed body appears in HTML output but ignored by LaTeX END_TYPE TYPE= END_VENV NAME= htmlonly END_TYPE TYPE= VCOMMAND NAME= \html REQPARAMS= 1 c= Short version of htmlonly environment. c= First argument is ignored by LaTeX (e.g. \newcommand{\html}[1]{}. END_TYPE TYPE= BEGIN_VENV NAME= latexonly c= body appears only in LaTeX output PC_AT_END= NO_PRINT END_TYPE TYPE= END_VENV NAME= latexonly PC_AT_START= RESET END_TYPE TYPE= COMMAND NAME= \latex REQPARAMS= 1 c= command version of latexonly environment (e.g., \newcommand{\latex}[1]{#1}) PRINT_P1= NO_PRINT END_TYPE TYPE= COMMAND NAME= \hyperref REQPARAMS= 4 c= first arg is text for HTML hyperizing (underlined) c= second arg and third args are text for LaTeXing only c= fourth arg is name of a label (\ref{#4}) appears as #2\ref{#4}#3 c= ( e.g., newcommand{\hyperref}[4]{#2\ref{#4}#3} ) c= ( \hyperref{first}{second}{third}{fourth} --> first ) START_TAG= RESET_BUFFER: 4 RESET_BUFFER: 5 PRINT_P1= TO_BUFFER 4 PRINT_P2= NO_PRINT PRINT_P3= NO_PRINT PRINT_P4= TO_BUFFER 5 END_TAG= "" SOURCE: BUFFER 4 STRING: "" END_TYPE TYPE= COMMAND NAME= \htmlref REQPARAMS= 2 c= mix between \htmladdnormallink and \hyperref c= first arg is text for both LaTeX and HTML c= second arg is label for use in HTML only c= ( e.g., \newcommand{\htmlref}[2]{#1} ) c= ( \htmlref{first}{second} --> first ) START_TAG= RESET_BUFFER: 4 RESET_BUFFER: 5 PRINT_P1= TO_BUFFER 4 PRINT_P2= TO_BUFFER 5 END_TAG= "" SOURCE: BUFFER 4 STRING: "" END_TYPE TYPE= COMMAND NAME= \htmlimage REQPARAMS= 1 c= (e.g., newcommand{\htmlimage}[1]{} ) PRINT_P1= NO_PRINT END_TYPE TYPE= COMMAND NAME= \htmladdtonavigation REQPARAMS= 1 c= (e.g., newcommand{\htmladdtonavigation}[1]{} ) PRINT_P1= NO_PRINT END_TYPE c= ------------------------- stuff for hyper package (as best I understand) TYPE= COMMAND NAME= \hyperanchor REQPARAMS= 2 c= first arg is the hypertext anchor for #2 c= second arg c= (e.g., newcommand{\hyperanchor}[2]{#2} ) c= ( \hyperanchor{first}{second} --> second ) START_TAG_1= "" END_TAG= "" END_TYPE TYPE= COMMAND NAME= \blindhyperanchor REQPARAMS= 1 c= first arg a hypertext anchor c= (e.g., newcommand{\blindhyperanchor}[1]{} ) c= ( \blindhyperanchor{first} --> ) START_TAG_1= "" END_TYPE TYPE= COMMAND NAME= \hyperreference REQPARAMS= 2 c= first arg an anchor c= second arg a reference to anchor #1 c= ( newcommand{\hyperreference}[2]{#2} ) c= ( \hyperreference{first}{second} --> second ) START_TAG_1= "" END_TAG= "" END_TYPE TYPE= COMMAND NAME= \hyperURL REQPARAMS= 4 c= first arg URL type c= second arg URL domain c= third arg URL document c= fourth arg is reference to URL #1://#2/#3 c= ( newcommand{\hyperURL}[4]{#4} ) c= ( \hyperURL{first}{second}{third}{fourth} --> fourth ) START_TAG_1= "" END_TAG= "" END_TYPE TYPE= COMMAND NAME= \labeltext REQPARAMS= 2 c= first arg reference to text #2 c= second arg #2 is printed c= ( newcommand{\labeltext}[2]{#2} ) c= ( \labeltext{first}{second} --> second ) END_TYPE TYPE= COMMAND NAME= \noref OPT_PARAM= FIRST REQPARAMS= 1 c= first arg hypertext ref to anchor #2 (optional arg is NOT optional) c= second arg END_TYPE TYPE= COMMAND c= This clashes with "normal" \ref command, so changed name c= NAME= \ref NAME= \Href OPT_PARAM= FIRST REQPARAMS= 1 c= like LaTeX #1~\ref{#2} except that hypertext ref is provided from both args c= ( \ref[opt]{first} --> ?????? ) END_TYPE TYPE= COMMAND NAME= \pageref OPT_PARAM= FIRST REQPARAMS= 1 c= like \ref, except for page number ref c= ( \pageref[opt]{first} --> ??????? ) END_TYPE TYPE= COMMAND NAME= \refcurrent REQPARAMS= 1 c= first arg hypertext ref to actual anchor c= ( \refcurrent{first} --> ??????? ) END_TYPE TYPE= COMMAND NAME= \refnext REQPARAMS= 1 c= first arg hypertext ref to the next anchor that will be generated c= ( \refnext{first} --> ??????? ) END_TYPE c= ------------------- stuff for hyperref package (as best I understand) TYPE= COMMAND NAME= \hyperlink REQPARAMS= 2 c= \hyperlink{linkname}{text} c= ( newcommand{\hyperlink}[2]{#2} ) c= ( \hyperlink{first}{second} --> second ) START_TAG_1= "" END_TAG= "" END_TYPE TYPE= COMMAND NAME= \hypertarget REQPARAMS= 2 c= \hypertarget{anchorname}{text} c= ( newcommand{\hypertarget}[2]{#2} ) c= ( \hypertarget{first}{second} --> second ) START_TAG_1= "" END_TYPE TYPE= COMMAND NAME= \href REQPARAMS= 2 c= \href{URL}{anchor} c= ( newcommand{\href}[2]{#2} ) c= ( \href{first}{second} --> second ) START_TAG_1= "" END_TAG= "" END_TYPE TYPE= COMMAND NAME= \hyperimage REQPARAMS= 1 c= \hyperimage{imageURL} c= points to a graphic c= ( newcommand{\hyperimage}[1]{} ) c= ( \hyperimage{first} --> ) START_TAG= "" END_TYPE TYPE= COMMAND NAME= \hyperdef REQPARAMS= 4 OPT_PARAM= FIRST c= \hyperdef[label]{URL}{category}{name}{text} c= ( newcommand{\hyperdef}[4]{#4} c= ( \hyperdef[opt]{first}{second}{third}{fourth} --> fourth ) START_TAG= "" END_TYPE TYPE= COMMAND NAME= \hyperref REQPARAMS= 4 c= \hyperref{URL}{category}{name}{anchor} c= \hyperref[label]{anchor} c= ( newcommand{\hyperref}[4]{#4} ) c= ( \hyperref{first}{second}{third}{fourth} --> fourth ) START_TAG_1= "" END_TAG= "" END_TYPE TYPE= COMMAND NAME= \htmladdimg REQPARAMS= 1 c= same as \hyperimage START_TAG= "" END_TYPE TYPE= COMMAND NAME= \htmladdnormallink REQPARAMS= 2 c= same as \href START_TAG_1= "" END_TAG= "" END_TYPE c= -------------------- commands for html-ing ltx2x.tex c= could have been defined via an included file. e.g. c= INCLUDE= html.l2x TYPE= BEGIN_ENV NAME= htmlverbatim START_TAG= "?n
"
END_TYPE

TYPE=  END_ENV
NAME=  htmlverbatim
  END_TAG=  "
?n" END_TYPE TYPE= COMMAND NAME= \lx START_TAG= "LTX2X" END_TYPE TYPE= COMMAND NAME= \ctab START_TAG= "command table" END_TYPE TYPE= COMMAND NAME= \keyword c= ( \keyword{first} --> first ) START_TAG= "" END_TAG= "" REQPARAMS= 1 END_TYPE TYPE= COMMAND NAME= \keytext c= ( \keytext{first} --> first ) START_TAG= "" END_TAG= "" REQPARAMS= 1 END_TYPE TYPE= COMMAND NAME= \file c= ( \file{first} --> first ) START_TAG= "" END_TAG= "" REQPARAMS= 1 END_TYPE TYPE= COMMAND NAME= \ST c= ( \ST{first} --> <first> ) START_TAG= "<" END_TAG= ">" REQPARAMS= 1 END_TYPE TYPE= COMMAND NAME= \ET c= ( \ET{first} --> </first> ) START_TAG= "</" END_TAG= ">" REQPARAMS= 1 END_TYPE TYPE= COMMAND NAME= \Amp START_TAG= "&" END_TYPE TYPE= COMMAND NAME= \LT START_TAG= "<" END_TYPE TYPE= COMMAND NAME= \GT START_TAG= ">" END_TYPE TYPE= COMMAND NAME= \HASH START_TAG= "#" END_TYPE TYPE= COMMAND NAME= \Express START_TAG= "EXPRESS" END_TYPE TYPE= COMMAND NAME= \ExpressA START_TAG= "EXPRESS-A" END_TYPE TYPE= COMMAND NAME= \ExpressG START_TAG= "EXPRESS-G" END_TYPE TYPE= COMMAND NAME= \ExpressI START_TAG= "EXPRESS-I" END_TYPE c= ------------------- include extra ct files here c= this will give an opportunity to interactively include a c= ct file, assuming that ZiLcH.ct is not on the search path. INCLUDE= ZiLcH.ct END_CTFILE= --------------------- end of l2h.ct