latex2e icon indicating copy to clipboard operation
latex2e copied to clipboard

Stray line on top of next page after longtable; persists for significant range of vertical location of table

Open jfbu opened this issue 1 year ago • 14 comments

Brief outline of the bug

A stray line appears on top of page after a longtable.

Capture d’écran 2022-08-13 à 13 40 53

Minimal example showing the bug

\RequirePackage{latexbug}
\documentclass[a4paper]{article}
\usepackage{longtable}
\begin{document}

\vspace*{16cm}% stray "line" at top of page 2
% shows with about from 15.9cm to 16.5cm
%

\section{A}

\begin{longtable}{|l|l|}
\hline
header1
&
header2
\\
\endfirsthead
\hline
header1
&
header2
\\
\endhead

\hline
\endfoot

\endlastfoot
cell1-1
&
cell1-2
\\
\hline

cell2-1
&
cell2-2
\\
\hline

cell3-1
&
cell3-2
\\
\hline
\end{longtable}

\section{B}


\end{document}

Log file (required) and possibly PDF file

testlongtablebug.log

jfbu avatar Aug 13 '22 11:08 jfbu

Should this be moved to https://github.com/davidcarlisle/dpctex/issues? I had forgotten about existence of the latter and the longtable.pdf does not mention it (it says This file is maintained by the LaTeX Project team).

jfbu avatar Aug 20 '22 07:08 jfbu

This issue has been automatically marked as stale because it has not had recent activity.

stale[bot] avatar Nov 13 '22 08:11 stale[bot]