>> then we need to set the checkbox for the >> first header when adding a caption. > > But that generates different output: > > \caption[Example Phone List]{Example Phone List\label{tab:DiffCaptions}} > \endfirsthead > vs. > \caption[Example Phone List]{Example Phone List\label{tab:DiffCaptions}} > \tabularnewline > \endfirsthead > > The longtable doc states that one has to use \endfirsthead _instead_ of > \tabularnewline for first headers, so the second output is wrong (although it > doesn't seem to produce wrong output).
I understand. So your patch is the right solution. I'm gonna revert my patch in trunk so that you can apply your patch.
>> > And as already said: your fix doesn't work for me. >> >> Oh, I didn't noticed that. Can you please provide an example file to test? > > I tested with your example file from #6057 at trac. This file work here with current trunk, but this doesn't matter as we have the right fix now. thanks and regards Uwe