Uwe Stöhr wrote: > The attached patch fixes bug http://www.lyx.org/trac/ticket/6057 that LyX > allows having header rows in a longtable without having a first header row. > This bug leads to wrong TOC entries for longtables because longtable > expects in every table > \endfirsthead > before > \endhead .
I'm very surprised about this. The longtable doc does not mention that \endhead needs a prior \endfirsthead. I see why the problem occurs, but I think the fix is too general. I think the fix, whatever it is, should only apply to cases where captions are actually used. Jürgen
