summaryrefslogtreecommitdiff
path: root/support/ltx2x/ltx2html.sty
diff options
context:
space:
mode:
Diffstat (limited to 'support/ltx2x/ltx2html.sty')
-rw-r--r--support/ltx2x/ltx2html.sty38
1 files changed, 38 insertions, 0 deletions
diff --git a/support/ltx2x/ltx2html.sty b/support/ltx2x/ltx2html.sty
new file mode 100644
index 0000000000..963b4e40a2
--- /dev/null
+++ b/support/ltx2x/ltx2html.sty
@@ -0,0 +1,38 @@
+% ltx2html.sty --- Some useful commands and environments when using
+% ltx2x to convert from LaTeX to HTML tagging.
+%
+% Author: Peter Wilson August 1996
+%
+\ProvidesPackage{ltx2html}[1996/08/29 ltx2x HTMLing]
+% \typeout{ltx2html.sty [1996/08/29 ltx2x HTMLing]}
+\RequirePackage{html} % the package file for the Perl program
+ % latex2html
+
+% The document title for the WWW browser.
+% If used, must be placed in the preamble.
+\newcommand{\mltitle}[1]{}
+
+% argument is for processing by LaTeX only
+\providecommand{\latex}[1]{#1}
+
+% argument is for HTML processing only
+\providecommand{\html}[1]{}
+
+% print argument as an SGML/HTML start tag
+\newcommand{\ST}[1]{\texttt{<#1>}}
+
+% print argument as an SGML/HTML end tag
+\newcommand{\ET}[1]{\texttt{</#1>}}
+
+% print HTML special characters
+\newcommand{\Amp}{\&}
+\newcommand{\GT}{\texttt{>}}
+\newcommand{\LT}{\texttt{<}}
+\newcommand{\HASH}{\#}
+
+% treat contents as a LaTeX comment but
+% translate contents into an HTML "verbatim" environment
+% Use as: \begin{htmlverbatim} ... \end{htmlverbatim}
+\excludecomment{htmlverbatim}
+
+\endinput \ No newline at end of file