From 580834e29ec3cea7984c53529fae5490dc4a3954 Mon Sep 17 00:00:00 2001
From: Virgile Prevosto <virgile.prevosto@m4x.org>
Date: Tue, 15 Nov 2022 19:15:27 +0100
Subject: [PATCH] [devman] avoid having a table moved 30 pages after the
 corresponding text

---
 doc/developer/advance.tex | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/doc/developer/advance.tex b/doc/developer/advance.tex
index 59dd6bc09da..8f0ee373139 100644
--- a/doc/developer/advance.tex
+++ b/doc/developer/advance.tex
@@ -524,13 +524,11 @@ the test file name, plus a few other implicit options (\verb|-check|,
 \verb|-no-autoload-plugins|, \verb|-load-module|, etc).
 \end{example}
 
-Figure~\ref{fig:test-directives} shows all the directives that can be used in
+Table~\ref{fig:test-directives} shows all the directives that can be used in
 the configuration header of a test (or a test suite). Those whose name are
 underlined are the directives that {\em actually} create test cases; the others
 modify or disable test cases.
-\begin{figure}[ht]
-\begin{center}
-\begin{tabular}{|l|p{9cm}|p{4cm}|}
+\begin{longtable}{|l|p{9cm}|p{4cm}|}
 \hline
 \textbf{Name} & \textbf{Specification} & \textbf{default}\\
 \hline
@@ -628,12 +626,10 @@ and report a failure.
 & \textit{None}
 \\
 \hline
-\end{tabular}
-\end{center}
 \caption{Directives in configuration headers of test files.
   Underlined directives are the only ones which actually generate test cases.
 }\label{fig:test-directives}
-\end{figure}
+\end{longtable}
 
 In the following, we detail some aspects of several directives.
 
-- 
GitLab