On Tue, Jul 15, 2003 at 02:25:13PM -0500, [EMAIL PROTECTED] wrote:
> > > Do you have a "longtable" in your document ?
> > 
> > Ah, yes. I can and will remove and examine the consequences.
> 
> That fixed it.
> 
> Let me get this straight. 2 tables in a table float increment the table 
> counter by two. A long table increments the table counter by (I'm 
> guessing) the number of chunks used to print the table.

Every caption in a float increases the counter by 1.
You can put for example two tables in a float and only one caption.

Furthermore, a longtable increases the counter by 1, even if you don't put
a caption in it. The reason is that you should normally put a caption in
your longtable, but LyX currently doesn't support this.

> If this is correct, it would be nice to defeat this. I tried ERT to 
> \setcounter blah blah blah and it did not work. Something in the preamble 
> would be better because one does not want table numbers changing under 
> onn's text.

\let\oldendlongtable=\endlongtable
\def\endlongtable{\oldendlongtable\addtocounter{table}{-1}}

Reply via email to