On Fri, Jan 26, 2007 at 11:58:02PM +0100, Abdelrazak Younes wrote:

> Abdelrazak Younes wrote:
> > Georg Baum wrote:
> > I just tried to view the dvi. There's some problem here:
> > 
> > 1) LateX doesn't accept multiple lines caption so we might have to 
> > forbid that I guess.
> > 
> > 2) If you put multiple captions inside a same float, they are numbered 
> > sequentially even though they refer to the same float. I guess I should 
> > update my patch accordingly... What do you think?

I think that you should not try to fix what is not broken ;-)

> +     // All caption within this inset will have the same label and number.
> +     ParagraphList & pars = inset.getText(0)->paragraphs();
> +     if (pars.empty())
> +             return;

This is wrong and will break many documents. I can put several images
in the same float, each having their own caption and label.

-- 
Enrico

Reply via email to