# splitting/breaking a long table from an input file, latex

I am input a file in my main latex file but the table (inputfiles contains a table) is too long to be on apage. How can I break it on two or main pages.

\usepackage{longtable} %%

\IfFileExists{file}{%
\begin{table}
\begin{center}
\caption{Grenzwertverletzung [st]}
\begin{tabular}{ll}
st&  \input{file} \\
\end{tabular}
\end{center}
\end{table}
}{}


-
\usepackage{longtable} – Eddy_Em Jan 11 at 7:29
@ Eddy_Em, please see edited question – user31177 Jan 11 at 7:44
\begin{longtable} … Just read its documentation! – Eddy_Em Jan 11 at 9:35
What should I change????????? – user31177 Jan 11 at 14:39
show 1 more comment