Dear Lyx Developpers,
referring to my previos mail of October 24, I'd like to elaborate the feature
request about the captions in longtables a little bit more.
Problem:
Currently lyx only allows the input of the captions in longtables only if one
fakes a row of input (c.f.
http://www.mail-archive.com/lyx-users@;lists.lyx.org/msg14172.html ). This
leads to problems if the captions should be part of the header of the first
header and consequently in generating the list of tables (multiple entries of
the same table).
The latex longtable environment solves the lot-problems via an optional
argument for caption. So the latex code for generating a table with a
longtabel with
a header consisting of
- a caption for first page the with a different entry in the lot and a line
with the columntitles
- a different caption for the following pages with no entries in the lot
would read as follows:
...
\begin{longtable}
\caption[text for lot] {captiontext_1}\\
column1&
column2&
...
columnn\\
\endfirsthead
\caption[] {captiontext_2}\\
column1&
column2&
...
columnn\\
\endhead.
.....
\end{longtable}.
I think this is the standard case for captions in longtables and I'd like to
see this enabled in lyx. So I'd propose to extent the longtable tab in the
layout->tabular dialog.
three entry-fields:
1. first caption
2. optional argument for first caption (if the entry is empty, the optional
argument is omitted)
3. second caption
and two checkboxes
- entry 1 and if present 2 are part of of the firstheader
- entry 3 is part of the header
and that this information is stored as attributes in the features tag of the
lyxtabular fileformat and only evaluates if the attribute islongtable is set
to "true".
<features islongtable=true lot="text for lot" caption1="text caption_1"
firstheader="true" ....>
Any thoughts / comments ?
Sincerly
--
Dr. Joachim Heidemeier Tel. +49-30-8903-2780
Fachgebiet II 3.2 [EMAIL PROTECTED]
Umweltbundesamt, Bismarckplatz 1 D-14191 Berlin