>Hello -- a faculty member here had a latex document that defines
>some homegrown list commands, like this:
>
>\newcommand{\lt}{\vspace{.075in}\\ }
>\newcommand{\blt}{$\vspace{.05in}\\ \bullet$}
>....
>\lt 2d transforms
>\blt geometry will be expressed with a bunch of triangles
>\blt triangles will described by the 3d coordinates of the vertices
>...
>The bullet appears in the output, but the \vspace gets ignored, that is,
>all the list items run together.
I'm surprised that the \\ don't result in the requisite <BR>s
to keep the items apart.
In any case, this construction will never result in a nice HTML <TABLE>,
which is what you really want here.
The existing code is just painting marks onto the page ---
it is not logical markup providing meaning to the way the subsequent
data is to be displayed.
>He may be able to use the standard list commands (I already suggested
>that), but regardless, I'm wondering if I'm missing some option or
>configuration to make this work.
If you cannot get him to use proper logical markup, then
try loading \usepackage{html} and make conditional definitions
within the document preamble:
%begin{latexonly}
\newcommand{\lt}{\vspace{.075in}\\ }
\newcommand{\blt}{$\vspace{.05in}\\ \bullet$}
\newcommand{\ltend}{}
%end{latexonly}
\begin{htmlonly}
\newcommand{\lt}{\begin{itemize}}
\newcommand{\blt}{\item }
\newcommand{\ltend}{\end{itemize}}
\end{htmlonly}
Make sure that each list ends with \ltend (or other marker
that needs to expand to \end{itemize} for LaTeX2HTML).
>I'm using 98.1p1, and I enabled the dvips -E option for image generation.
>No other configuration changes.
Not relevant.
This should work in any version of LaTeX2HTML.
The bullet won't be needed, as the browser provides its own,
for the list items.
Hope this helps,
Ross Moore
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ross Moore email: [EMAIL PROTECTED]
Mathematics Department phone: +612 9850 8955
Macquarie University fax: +612 9850 8114
Sydney, NSW 2109 office: E7A-419
Australia WWW: http://www-math.mpce.mq.edu.au/~ross/
***************************
for the best in (La)TeX-nical typesetting and Web page production
join the TeX Users Group (TUG) --- browse at http://www.tug.org
<[EMAIL PROTECTED]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~