Thanks Karl.
Attached is a diff that uses the longtable package. It seems to
do the trick, at least for what I need. It also looks like I
can script the edits to convert makeinfo's output to this.
My knowledge of LaTeX is nil, and is likely to stay that way.
I developed this fix by pattern matching against examples on the
Internet. Examples from other packages were extremely opaque, at
least to me.
I'll agree w/Karl that texinfo.tex doesn't really need significant
multi-page table support.
Gavin --- I'll leave it up to you as to what you do for the
long term. Some kind of simple improvements would be nice, but
my immediate problems are under control.
Much thanks, everyone!
Arnold
Karl Berry <[email protected]> wrote:
> I think I'd suggest omitting the \vtop if LOC is set to some new value,
> like "longfloat". If table material was ever actually floated, including
> "here", it would need to be in a vbox since it should not be split
> across pages, as Gavin already pointed out.
>
> Actually doing something sensible with a multi-page table is a much
> bigger problem (repeating headers, what to do with the caption, etc.).
> I know that's not Arnold's immediate problem, but looking ahead,
> I could imagine having makeinfo --latex use one of the longtable
> packages in the event of a long float. (Implementing it in texinfo.tex
> would not be sensible IMHO.)
>
> I think the best package for that nowadays is xltabular
> (https://ctan.org/pkg/xltabular), but which LaTeX
> package gets loaded should presumably be configurable.
>
> Happy Texinfoing,
> Karl
--- progex.tex 2023-12-03 21:11:29.509779772 +0200
+++ progex.tex.good2 2023-12-03 21:10:39.345984362 +0200
@@ -13,6 +13,7 @@
\usepackage[framemethod=tikz]{mdframed}
\usepackage{enumitem}
\usepackage{float}
+\usepackage{longtable}
% use hidelinks to remove boxes around links to be similar to Texinfo TeX
\usepackage[hidelinks]{hyperref}
@@ -5376,9 +5377,8 @@
other Unix-like systems. In your code, you should \emph{always}
use the symbolic names.
-\begin{table}
-\caption{GLIBC values for \texttt{errno}}
-\begin{tabular}{m{.18\textwidth} m{.20\textwidth} m{.62\textwidth}}%
+\begin{longtable}{m{.18\textwidth} m{.20\textwidth} m{.62\textwidth}}%
+\caption{GLIBC values for \texttt{errno}} \\
Name &Numeric Value &Meaning\\
\texttt{EPERM} &1 &Operation not permitted.\\
\texttt{ENOENT} &2 &No such file or directory.\\
@@ -5514,9 +5514,8 @@
\texttt{ENOTRECOVERABLE} &131 &State not recoverable.\\
\texttt{ERFKILL} &132 &Operation not possible due to RF-kill.\\
\texttt{EHWPOISON} &133 &Memory page has hardware error.\\
-\end{tabular}%
-\label{anchor:table_002derrno_002dvalues}%
-\end{table}
+\label{anchor:table_002derrno_002dvalues} \\
+\end{longtable}
Many systems provide other error values as well, and older systems may not
have all the errors just listed. You should check your local \emph{intro}(2)