summaryrefslogtreecommitdiff
path: root/docutils
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-02-13 21:48:21 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-02-13 21:48:21 +0000
commit0e9122e855825f82cf2bdc82f0972809be2e9151 (patch)
tree278a1af4658c0b7ed506dfa45cc626d358ef8337 /docutils
parentf396433014974eda3e5b7081b8c55961223b6e94 (diff)
downloaddocutils-0e9122e855825f82cf2bdc82f0972809be2e9151.tar.gz
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
Diffstat (limited to 'docutils')
-rw-r--r--docutils/test/functional/expected/standalone_rst_latex.tex26
-rw-r--r--docutils/test/functional/expected/standalone_rst_xetex.tex26
2 files changed, 52 insertions, 0 deletions
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}%