At 2:13 PM +1000 11/9/98, Shigeharu TAKENO wrote:
>shige 09/01 1998
>----------------
>
>I posted the following article to the newsgroup comp.text.tex:

>|
>| I think LaTeX2HTML (98.1 later) runs incorrectly for making GIF
>| image on LaTeX209. Because it makes the tex file "images.tex"
>| including the LaTeX2e command "\providecommand" instead of
>| "\newcommand" and it fails to compile the file on LaTeX209.
>| Does anyone know how to fix it ?
>| Thank you.

Good point.
It is only a 1-liner to fix it.

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";


This will be in the next beta revision.


        Thanks for the tip.

Of course a better solution is to use LaTeX-2e;  ;-)


        Cheers,

                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]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to