In 98.1p7 and 98.2beta I was seeing:

Scalar found where operator expected at 
/users/turner/Tools/latex2html/versions/math.pl line 1365, near "$mode"
        (Missing semicolon on previous line?)

so I tried the following cosmetic change to math.pl:

*** math.pl-orig        Fri Jun 26 10:00:53 1998
--- math.pl     Fri Jun 26 09:58:34 1998
***************
*** 1359,1369 ****
            # parse it further, when possible...
            if ((defined &$env_cmd) && !$cnt) {
                $_ = $post_pre_text . $_;
!               $pre_text = join( '', $labels
!                   , &$env_cmd($pre_text)
!                   , ($_ ? &translate_math_commands(
!                       $mode,$style,$face,$slevel,$_):'')
!                   );
                return( $pre_text );
            }
            # ...else put it back inside a {displaymath} for an image
--- 1359,1366 ----
            # parse it further, when possible...
            if ((defined &$env_cmd) && !$cnt) {
                $_ = $post_pre_text . $_;
!               $pre_text = join( '', $labels, &$env_cmd($pre_text),
!                   ($_ ? &translate_math_commands($mode,$style,$face,$slevel,$_):'') 
);
                return( $pre_text );
            }
            # ...else put it back inside a {displaymath} for an image

I'm not sure why (all I did was reformat), but this made the msg go
away. 

I'm using perl 5.002... maybe that's it?

-- 
John A. Turner                       mailto:[EMAIL PROTECTED]
Senior Research Associate            http://www.blueskystudios.com
Blue Sky | VIFX                      http://www.vifx.com
One South Road, Harrison, NY 10528   http://www.lanl.gov/home/turner
Phone: 914-381-8400                  Fax: 914-381-9790/1

Reply via email to