longtable to preamble