summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-02-17 16:00:52 +0100
committerUlrich Müller <ulm@gentoo.org>2015-11-08 20:29:19 +0100
commita9b54bcb042f0f070d93aebfdfb367cb15e22476 (patch)
treec61a322b31624b94aa559f9634732209290212b5 /dependencies.tex
parentRework the EAPI feature table. (diff)
downloadpms-a9b54bcb042f0f070d93aebfdfb367cb15e22476.tar.gz
pms-a9b54bcb042f0f070d93aebfdfb367cb15e22476.tar.bz2
pms-a9b54bcb042f0f070d93aebfdfb367cb15e22476.zip
Reformat EAPI tables to be more compact.
Combine all lines with identical behaviour for different EAPIs. Also use consistent indentation for tables in the LaTeX source.
Diffstat (limited to 'dependencies.tex')
-rw-r--r--dependencies.tex123
1 files changed, 52 insertions, 71 deletions
diff --git a/dependencies.tex b/dependencies.tex
index 5901ee7..a800264 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -90,38 +90,30 @@ be surrounded on both sides by whitespace, except at the start and end of the st
In particular, note that whitespace is not optional.
\ChangeWhenAddingAnEAPI{6}
-\begin{centertable}{EAPIs supporting \t{SRC\_URI} arrows} \label{tab:uri-arrows-table}
- \begin{tabular}{ l l }
- \toprule
- \multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{Supports \t{SRC\_URI} arrows?}} \\
- \midrule
- \t{0} & No \\
- \t{1} & No \\
- \t{2} & Yes \\
- \t{3} & Yes \\
- \t{4} & Yes \\
- \t{5} & Yes \\
- \t{6} & Yes \\
- \bottomrule
+\begin{centertable}{EAPIs supporting \t{SRC\_URI} arrows}
+ \label{tab:uri-arrows-table}
+ \begin{tabular}{ll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{SRC\_URI} arrows?}} \\
+ \midrule
+ 0, 1 & No \\
+ 2, 3, 4, 5, 6 & Yes \\
+ \bottomrule
\end{tabular}
\end{centertable}
\ChangeWhenAddingAnEAPI{6}
-\begin{centertable}{EAPIs supporting \t{REQUIRED\_USE ??}\ groups} \label{tab:at-most-one-of-table}
- \begin{tabular}{ l l }
- \toprule
- \multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{Supports \t{REQUIRED\_USE ??}\ groups?}} \\
- \midrule
- \t{0} & No \\
- \t{1} & No \\
- \t{2} & No \\
- \t{3} & No \\
- \t{4} & No \\
- \t{5} & Yes \\
- \t{6} & Yes \\
- \bottomrule
+\begin{centertable}{EAPIs supporting \t{REQUIRED\_USE ??}\ groups}
+ \label{tab:at-most-one-of-table}
+ \begin{tabular}{ll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{REQUIRED\_USE ??}\ groups?}} \\
+ \midrule
+ 0, 1, 2, 3, 4 & No \\
+ 5, 6 & Yes \\
+ \bottomrule
\end{tabular}
\end{centertable}
@@ -194,38 +186,31 @@ manager must warn or error if this feature is used with an EAPI not supporting u
\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{Support for \t{SLOT} dependencies and sub-slots in EAPIs}
\label{tab:slot-deps-table}
- \begin{tabular}{ l l l }
- \toprule
- \multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{Supports \t{SLOT} dependencies?}} &
- \multicolumn{1}{c}{\textbf{Supports sub-slots?}} \\
- \midrule
- \t{0} & No & No \\
- \t{1} & Named only & No \\
- \t{2} & Named only & No \\
- \t{3} & Named only & No \\
- \t{4} & Named only & No \\
- \t{5} & Named and operator & Yes \\
- \t{6} & Named and operator & Yes \\
- \bottomrule
+ \begin{tabular}{lll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{SLOT} dependencies?}} &
+ \multicolumn{1}{c}{\textbf{Supports sub-slots?}} \\
+ \midrule
+ 0 & No & No \\
+ 1, 2, 3, 4 & Named only & No \\
+ 5, 6 & Named and operator & Yes \\
+ \bottomrule
\end{tabular}
\end{centertable}
\ChangeWhenAddingAnEAPI{6}
-\begin{centertable}{EAPIs supporting \t{USE} dependencies} \label{tab:use-deps-table}
- \begin{tabular}{ l l }
- \toprule
- \multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{Supports \t{USE} dependencies?}} \\
- \midrule
- \t{0} & No \\
- \t{1} & No \\
- \t{2} & 2-style \\
- \t{3} & 2-style \\
- \t{4} & 4-style \\
- \t{5} & 4-style \\
- \t{6} & 4-style \\
- \bottomrule
+\begin{centertable}{EAPIs supporting \t{USE} dependencies}
+ \label{tab:use-deps-table}
+ \begin{tabular}{ll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{USE} dependencies?}} \\
+ \midrule
+ 0, 1 & No \\
+ 2, 3 & 2-style \\
+ 4, 5, 6 & 4-style \\
+ \bottomrule
\end{tabular}
\end{centertable}
@@ -264,21 +249,17 @@ strong block must not be ignored. The mapping from one or two exclamation marks
described in table~\ref{tab:bang-strength-table}.
\ChangeWhenAddingAnEAPI{6}
-\begin{centertable}{Exclamation mark strengths for EAPIs} \label{tab:bang-strength-table}
- \begin{tabular}{ l l l }
- \toprule
- \multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{\t{!}}} &
- \multicolumn{1}{c}{\textbf{\t{!!}}} \\
- \midrule
- \t{0} & Unspecified & Forbidden \\
- \t{1} & Unspecified & Forbidden \\
- \t{2} & Weak & Strong \\
- \t{3} & Weak & Strong \\
- \t{4} & Weak & Strong \\
- \t{5} & Weak & Strong \\
- \t{6} & Weak & Strong \\
- \bottomrule
+\begin{centertable}{Exclamation mark strengths for EAPIs}
+ \label{tab:bang-strength-table}
+ \begin{tabular}{lll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{\t{!}}} &
+ \multicolumn{1}{c}{\textbf{\t{!!}}} \\
+ \midrule
+ 0, 1 & Unspecified & Forbidden \\
+ 2, 3, 4, 5, 6 & Weak & Strong \\
+ \bottomrule
\end{tabular}
\end{centertable}