I scanned the archives on the problem of missing Figure/Table caption
numbers when $math$ was included in the figure captions, but could
not follow the final solution.

Was there a final resolution to this
problem.  I found some perl lines which it was suggested should be
added.. but the surrounding lines in my version of latex2html (1.49)
did not match those in the patch.

Ie. 

My version has the lines:

        #replace image-markers by the image params
        $arg =~ s/$image_mark\#([^\#]+)\#/&purify_caption($1)/e;

        #RRM: resolve any embedded cross-references first
        $title = &simplify($arg);
        $title = &sanitize($title);


Ross Moore wrote on Wed, 22 Apr 1998:

>  #replace image-markers by the image params    #<< insert comment
>  s/$image_mark\#([^\#]+)\#/&purify_caption($1)/e; #<< insert code
>  #resolve any embedded cross-references first
>  $_ = &simplify($_);
>  $_ = &sanitize($_);

Not being a perl wizard, I thought the better of mucking about. It occured
to me that 1.49 might be a later version with patch included, but I am
getting all the symptoms of aforementioned problem. Most (!?) of the time
that I have a \ref \cite of $math$ in my caption I lose the figure/table
number.

Ie. I get Table: caption... not Table 2: caption...

Thanks,
Tony


Dr. A.P.(Tony) Roberts,                  Fulbright Post-doctoral fellow
Department of Civil Engineering          [EMAIL PROTECTED]
and Operations Research,                 Ph. (609) 258 4411 Work
Princeton University                     Fx. (609) 258 2685 Work
Princeton NJ 08544, USA                  Ph. (609) 683 5832 Home

Reply via email to