Hi all,
referring to the longtable thread from beginning of this month, I ran into 
another problem.
As I have to convert a lot of tables from normal Office programs I wrote
a csv2lyx converter (a Tcl Script) which transformed the tables into a
uniform layout.
After googling around in tex newsgroups I decided to use columnmformats 
(\newcolumntype definition / and special attribute in lyxtabular) and for the 
headerrow overriding the normal columndefiniton with multicolumn. I'm working 
with normal text, decimal aligned columns for numbers  (using dcolumn) and 
leftaligned multirow cells with adjustable width - and for the headers the 
same types (without the dcolumformat) with a smaller font.
Works like a charm for normal tabulars (in a Float) but for longtables the 
trick with inserting the caption in the first cell does not work, as the 
whole contents is exported as one multicolumn command. The same effect also 
applies to cell content with fontsize set via format Character. 
I think it is necessary to define two caption insets for longtable for the 
endfirsthead and endhead command / attribute in lyx, both with an optional 
argument.
At the moment longtables really suck :-(.
Yours
 
-- 
Dr. Joachim Heidemeier                  Tel. +49-30-8903-2780 
Fachgebiet II 3.2                       [EMAIL PROTECTED] 
Umweltbundesamt, Bismarckplatz 1 D-14191 Berlin

Reply via email to