%******************************************************************
% $Id: htcweb.tex,v 1.2 1999/04/09 19:25:36 JCL Exp $
%******************************************************************
%
% Copyright 1996-1999 by Jens Lippmann (lippmann@rbg.informatik.tu-darmstadt.de)
%
% Permission to use, copy, modify, and distribute this software for any
% purpose and without fee is hereby granted, provided that the above
% copyright notice appears in all copies. This software is provided "as is"
% and without any express or implied warranties.
%
%******************************************************************
% htcweb.tex, htcweb.sty
% Macros for alternative CWEB listings to use with LaTeX2HTML
% See also htcweb.perl, the perl translation of this module.
%******************************************************************

\input{htcweb.sty}

% Macro to handle introduction of external label files with setHTCweblabels.
% It must be evaluated prior to any HTCwebNodeRefExt (as well in TeX as in
% HTML compilation).
% We have to define the switches as environment because latex2html
% processes preamble, environments, macros in this order, and we
% want at least allow HTCwebNodeRefExt in environments.
\newcommand{\HTCweblabels}[2]{\begin{HTCweblabelsEnv}{#1}{#2}\end{HTCweblabelsEnv}}

% We must read its argument unexpanded in LaTeX2HTML
\newcommand{\HTCwebNodeRefExt}[1]{\begin{HTCwebNodeRefExtEnv}{#1}\end{HTCwebNodeRefExtEnv}}
\endinput

%******************************************************************
#
# $Log: htcweb.tex,v $
# Revision 1.2  1999/04/09 19:25:36  JCL
# changed my e-Mail address
#
# Revision 1.1  1998/02/24 02:29:52  latex2html
# for 98.1
#
# Revision 1.1  1998/02/24 02:16:00  latex2html
# ready for 98.1
#
# Revision 1.5  1997/11/10 09:24:34  zohar
# th-darmstadt -> tu...
#
# Revision 1.4  1997/06/01 11:56:10  lippmann
# o changed name from htmlmac to htcweb
# o htcweb.perl takes different actions depending on $HTCwebmode
#   (\U, \Us, \Q, \Qs string translation currently)
#
# Revision 1.3  1997/06/01 08:18:25  lippmann
# Introduced the name space HTCweb, which will be used both in TeX and Perl
# packages and for mapping to some CWEB internals hidden from LaTeX2HTML.
#
# HTmode, HTpretty, HTnoderef -> HTCweb...
# HTweb -> HTCweb
# \ciao -> \HTCwebdocumentend
# 1 -> HTCweboneright
# 2 -> HTCweboneleft
# 3 -> HTCweboptbreak
# 4 -> HTCwebthisleft
# 5 -> HTCwebbigoptbreak
# 6 -> HTCwebbreak
# 7 -> HTCwebbigbreak
# 8 -> HTCwebclearleft
# 9 -> HTCwebempty
# idit -> HTCwebidit
# idma -> HTCwebidma
# idbo -> HTCwebidbo
# idtt -> HTCwebidtt
# discr -> HTCwebdiscr
# mathque -> HTCwebmathque
# smllspc -> HTCwebsmllspc
#
# Revision 1.2  1996/12/11 11:18:23  lippmann
# added some infomative comments
#
# Revision 1.1.1.1  1996/07/08 15:46:26  liefke
# initial version for Darmstadt
#
# Revision 1.1.1.1  1996/07/08 15:35:41  liefke
# initial version for Darmstadt
#
# Revision 1.2  1996/06/20 02:31:59  lippmann
# comment typo
#
% Revision 1.1  1996/06/20  02:06:50  lippmann
% first version
% introduces nasty fake macros to get the right things evaluated at the
% right places with LaTeX2HTML
%
%******************************************************************
