From 0e9122e855825f82cf2bdc82f0972809be2e9151 Mon Sep 17 00:00:00 2001 From: milde Date: Mon, 13 Feb 2017 21:48:21 +0000 Subject: Include auto-width table in LaTeX functional tests. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8034 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- .../functional/expected/standalone_rst_latex.tex | 26 ++++++++++++++++++++++ .../functional/expected/standalone_rst_xetex.tex | 26 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) (limited to 'docutils/test/functional') diff --git a/docutils/test/functional/expected/standalone_rst_latex.tex b/docutils/test/functional/expected/standalone_rst_latex.tex index 6e003cbbe..36f60c5b7 100644 --- a/docutils/test/functional/expected/standalone_rst_latex.tex +++ b/docutils/test/functional/expected/standalone_rst_latex.tex @@ -1102,6 +1102,32 @@ False \hline \end{longtable} +With the “widths” argument “auto” (or “class” value “colwidths-auto”), +column widths are determined by the backend (if supported by the +writer/backend). + +\begin{longtable*}[c]{|l|l|l|} +\hline +\textbf{A} & \textbf{B} & \textbf{A or B} \\ +\hline +\endfirsthead +\hline +\textbf{A} & \textbf{B} & \textbf{A or B} \\ +\hline +\endhead +\multicolumn{3}{c}{\hfill ... continued on next page} \\ +\endfoot +\endlastfoot +False & False & False \\ +\hline +True & False & True \\ +\hline +False & True & True \\ +\hline +True & True & True \\ +\hline +\end{longtable*} + \subsubsection{2.14.3~~~Admonitions% \label{admonitions}% diff --git a/docutils/test/functional/expected/standalone_rst_xetex.tex b/docutils/test/functional/expected/standalone_rst_xetex.tex index 0bd4a0704..fb27e8930 100644 --- a/docutils/test/functional/expected/standalone_rst_xetex.tex +++ b/docutils/test/functional/expected/standalone_rst_xetex.tex @@ -1102,6 +1102,32 @@ False \hline \end{longtable} +With the “widths” argument “auto” (or “class” value “colwidths-auto”), +column widths are determined by the backend (if supported by the +writer/backend). + +\begin{longtable*}[c]{|l|l|l|} +\hline +\textbf{A} & \textbf{B} & \textbf{A or B} \\ +\hline +\endfirsthead +\hline +\textbf{A} & \textbf{B} & \textbf{A or B} \\ +\hline +\endhead +\multicolumn{3}{c}{\hfill ... continued on next page} \\ +\endfoot +\endlastfoot +False & False & False \\ +\hline +True & False & True \\ +\hline +False & True & True \\ +\hline +True & True & True \\ +\hline +\end{longtable*} + \subsubsection{2.14.3   Admonitions% \label{admonitions}% -- cgit v1.2.1