# [l2h] letter

Ross Moore ross@ics.mq.edu.au
Mon, 1 Oct 2001 16:40:54 +1000 (EST)

Hi Chitta,

you wrote:
>
> At present latex2html just produces an image of a complete letter.
> That probably means that the letter documentstyle is not presently
> handled by latex2html.

It is not the \documentstyle itself that isn't recognised;
as the documentstyle/documentclass is generally not recognised
by latex2html  for *any* style/class.

However, any environments/macros defined within that class
will be made into images, unless you give some hints on how
else to handle the environment.

e.g. you can put the following into the preamble
of a letter document:

\usepackage{html}
\begin{htmlonly}
\newenvironment{letter}
{\begin{flushleft}}
{\end{flushleft}}
\end{htmlonly}

and it should process fine in both LaTeX and LaTeX2HTML
(assuming that the letter is enclosed in
\begin{letter} .... \end{letter} ).

Since there is no standard recipe for converting
paper documents to HTML pages, LaTeX2HTML does
not impose any style, by default.
You have complete freedom to decide how you want your
letter to be interpreted in an HTML translation, by defining
macro expansions in terms of standard LaTeX environments.

> Letters are after all a common documents.
> Could I request that this be accommodated into latex2html.

If someone would like to define a standard letter style,
then we'll include it with the LaTeX2HTML distribution.

Otherwise, you have the freedom; go for it!

Hope this helps,

Ross Moore

> Thanks,
> Chitta
>
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html