[l2h] Problem with \newcommand*; ALL l2h output totally incorrect

Nick Urbanik Nick Urbanik <nicku@iohk.com>
Sat, 07 Aug 1999 18:54:08 +0800


Dear folks,
this problem relates to 98.1 as well as 99.2alpha9 (1.18).  Am I doing
something wrong?  I get no output from some of my files; it seems
latex2html gets totally confused, and omits the body of the document.  I
am using RH 6.0, and did a vanilla ./configure;make;make test;make
install.

when I do:
1159 $ cat test2.tex
\documentclass{article}

\newcommand*{\macro}{This expands to provide some text.}
\begin{document}
\macro
\end{document}
[nicku@nicksbox] ~/tmp ~/work/teaching/ee270/exam/1999/sup ~/admin
1160 $ latex2html test2.tex
This is LaTeX2HTML Version 99.2alpha9 (1.18)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2



Loading /usr/local/lib/latex2html/versions/html3_2.pl

 *** processing declarations ***

OPENING /home/nicku/tmp/test2.tex

Cannot create directory test2/: File exists, reusing it.
texexpand V99.2alpha9 (Revision 1.6)



Loading /usr/local/lib/latex2html/styles/texdefs.perl...
Loading /usr/local/lib/latex2html/styles/article.perl
Reading ...
, *** Could not find argument for command \newcommand ***
*<<2>>\macro<<2>><<3>>This expands to provide some text.<<3>>
\begin<<4>>document<<4>>
\macro
\end<<5>>document<<5>>

 *** Could not find argument for command \ ***
*<<2>>\macro<<2>><<3>>This expands to provide some text.<<3>>
\begin<<4>>document<<4>>
\macro
\end<<5>>document<<5>>

++.......

Translating ...
0/1:top of test2: for test2.html
;;

1/1:sectionstar:.."About this document ..." for node1.html
;;.

Doing section links ......
Done.


--
Nick Urbanik, Dept. of Electrical & Communications Engineering
Hong Kong Institute of Vocational Education (Tsing Yi)
email: nicku@vtc.edu.hk, nicku@iohk.com
Tel:   (852) 2436 8660, (825) 2436 8674   Fax: (852) 2436 8643