[OS X TeX] longtable

Denis Chabot chabotd at globetrotter.net
Mon Jan 24 14:58:50 EST 2005

Well it is a problem-laden night for me!

I'm trying longtable for the first time. I have this in the preamble:
\usepackage{booktabs}
\usepackage{longtable}

The long table has fairly short lines. It begins like this:

\begin{table}[htbp]
\begin{center}
\caption{Number of sets and stomachs for each stratum of the survey
area.}
\label{tab:n_sets_stratum}
\begin{longtable}[t]{lrrr}\toprule
Origin & Strata & Nb of sets & Nb of stomachs\\ \midrule
NGSL&$101$&$10$&$90$\\
NGSL&$102$&$13$&$108$\\

many more lines

SGSL&$439$&$12$&$140$\\
SGSL&&$13$&$224$\\
\bottomrule
\end{longtable}
\end{center}
\end{table}

This table goes to the very bottom of the page, way past the margin,
and does not continue on the next page.

I tried if there was any clue in the console, but did not find anything
very informative, or at least anything I recognized as useful!

To get around the problem, at least temporarily, I even tried a manual
page break at a spot that I judged adequate to just about fill the
first page:

NGSL&$829$&$23$&$163$\\
\newpage
NGSL&$830$&$24$&$176$\\

What am I doing wrong?

Sincerely,

Denis Chabot

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>