> 
> Hello,
> 
> We're defining \Hpar in these three ways throughout a document
> 
>   \def\Hpar{\goodbreak\par\hangindent .3in\hangafter=1}
> 
>   \def\Hpar{\par\hangindent .2in\hangafter=1}
> 
>   \def\Hpar{\goodbreak\par\hangindent .5in\hangafter=1}
 
This is TeX code, not LaTeX markup.
There is no analog for this in HTML, unless you do something
fancy with stylesheets.
LaTeX2HTML makes all substitutions of user-defined macros
early in the processing.

In short, one should expect to get...

> The last one only occurs once and is the last one in the document.
> The result is a '.5in=1' every place \Hpar is used.
> 
> Anyone have a workaround suggestion?
 
Load the \usepackage{html} package, and use conditional definitions:

\begin{htmlonly}
 \newcommand{\Hpar}{\par}
\end{htmlonly}

%begin{latexonly}
 \def\Hpar{.....}
%end{latexonly}

 and similarly for the redefinitions of \Hpar
throughout the document.


This way both the LaTeX and HTML versions should work
smoothly from the same source.


Hope this helps,

        Ross Moore

Reply via email to