Ross:
        I've found a fix for the problem that I was having (even with
        latex2html98.1.p2) when an inline math inside a caption needs to be
        made into an image.  When $REUSE = 2, then the figure number was
        missing.  Here is the one line patch which now (for me at least) fixes
        the problem:
        
In sub purify_caption:
After:
        local($text) = $img_params{$_};
Insert:
        $text = $img_params{$orig_name_map{$id_map{$_}}} if (!$text);
        
        
        Also, I noticed that when $REUSE = 0, then TWO EXTRA images (per such          
 
        inline math) were generated but never used (because in sub
        extract_captions two calls to translate_commands/translate_environments
        are made).  I think this must also be some kind of bug.
        
        Hope this is useful.
        
        Regards,
                Bob Daley

Reply via email to