I'm using the
\inputcommand to insert table contents into my LaTeX document, but if I begin the inputted file with
\midrule(when using booktabs), I get the following error message:
The following minimal example illustrates the problem.
If i copy the exact contents from table.tex into the main file instead of using
\input, it works. Also, if i remove
\hlinefrom table.tex, it works.
This is a problem for me as i'm using
\inputto retrieve table contents exported from Stata.
I'm using MikTex 2.7 and LEd 0.52.
Any help would be greatly appreciated!