I’d like a tabular header to appear on each page of the pdf I’m including. So I am using these commands in pdfpages.
\def\plotheader{
\setlength\LTleft{0.85in}
\begin{longtable}{p{2.7in}p{2.7in}p{2.7in}}
A & B & C
\end{longtable}}
\includepdf[pages={-},angle=90, offset=15mm 0mm, width=5in,height=8.3in, pagecommand={TEST \\ \plotheader}, addtolist={ 1, figure, title, tab:mytable}]{plot.pdf}`
What ends up happening is that the tabular plot header consumes more than one table number, even though it is a figure. As a result, there is a discontinuity in the list of tables in the TOC. How can I avoid this?

addtolistoption has precisely this effect, that's what it was created for. If you delete it, it should be ok. – Count Zero May 30 '12 at 10:32longtablebut a simple tabular instead. – Ulrike Fischer May 30 '12 at 12:26tabulardoes supportp{<len>}columns. – Werner May 31 '12 at 5:00\includepdfproduces a single LoF entry for the first page. If you want an evenly distributed column setup for you table across the entire\textwidth, use thetabularxpackage with itsXcolumn type. – Werner May 31 '12 at 5:20\includepdfoptions. The problem was the table counter itself: He uses a longtable in the header and each of thislongtableincreases the table counter and so there are suddenly gaps in the numbering of his normal tables. – Ulrike Fischer May 31 '12 at 6:48