Herbert Voss wrote: > On Thu, 21 Feb 2002, Juergen Vigna wrote: > > >>On 20-Feb-2002 Herbert Voss wrote: >> >> >>>you need this only for longtables without a caption. >>> >>You mean a longtable without a longtable-supported-caption? The one >>you put inside the longtable begin/end block? >> > > yes, but I'm not really sure what the \endlongtable does. > Maybe that the counter is increased with this endcommand, > than you can't write the \addtocounter... inside the > environement. Will have a look.
\endlongtable doesn't modify the counter, so that LyX can write \addtocounter{table}{-1} \end{longtable} when no caption is present. HErbert -- http://www.lyx.org/help/