shige 09/11 1998
----------------
Thank you very much for your advice.
| Date: Fri, 11 Sep 1998 17:03:26 +1000
| To: Shigeharu TAKENO <[EMAIL PROTECTED]>
| From: Ross Moore <[EMAIL PROTECTED]>
| Subject: Re: latex2html: LaTeX2HTML-98 with LaTeX209 (newcommand error)
| Cc: [EMAIL PROTECTED]
=====
| Within the code to latex2html there is already a test for LaTeX2.09,
| looking something like the following:
|
| if ($preamble =~ ( ...... \\documentstyle/) {
|
| within that set of braces { .... } add a line:
|
| $preamble .= "\n\\let\\providecommand\\newcommand\n";
I tested it, however the line
\let\providecommand\newcommand ----- (1)
appears after "\providecommand" lines in the file "image.tex", so
^^^^^
latex209 says
! Undefined control sequence.
l.XX \providecommand
at the compile of the file. I usually write a latex file as the
following form:
\documentstyle{article}
\newcommand{...}
\newcommand{...}
....
\title{...}
\author{...}
\date{...}
\begin{document}
\maketitle
(body)
\end{document}
Will you tell me know how to put the line (1) before
"\providecommand" lines ?
+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
[EMAIL PROTECTED] TEL(&FAX): +81-257-22-8161
+========================================================+