1 |
Another problem, TeX4ht doesn't like if a parbox is in a table. |
2 |
For example, look at table D.1 in the HTML version, which is really |
3 |
ugly because the columns are much too wide. |
4 |
|
5 |
Attached patch fixes this (and the PDF output also looks better). |
6 |
Please review. |
7 |
|
8 |
Should this be combined with today's other patch, or committed |
9 |
separately? |
10 |
|
11 |
Ulrich |
12 |
|
13 |
|
14 |
--- |
15 |
eapi-differences.tex | 13 +++++++------ |
16 |
ebuild-functions.tex | 14 +++++++------- |
17 |
pms.cls | 1 + |
18 |
3 files changed, 15 insertions(+), 13 deletions(-) |
19 |
|
20 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
21 |
index a5c68ba..a451db1 100644 |
22 |
--- a/eapi-differences.tex |
23 |
+++ b/eapi-differences.tex |
24 |
@@ -3,7 +3,8 @@ |
25 |
\note This chapter is informative and for convenience only. Refer to the main text for specifics. |
26 |
|
27 |
\begin{landscape} |
28 |
-\begin{longtable}{lllllll} |
29 |
+\newcolumntype{P}[1]{>{\setlength{\rightskip}{0pt plus 1fil}}p{#1}} |
30 |
+\begin{longtable}{llP{5em}P{5em}P{8em}P{8em}P{8em}} |
31 |
\caption{Features in EAPIs}\\ |
32 |
\toprule |
33 |
\multicolumn{1}{c}{\b{Feature}} & |
34 |
@@ -89,10 +90,10 @@ Use dependencies & \compactfeatureref{use-deps} & |
35 |
|
36 |
\t{default\_} phase functions & \compactfeatureref{default-phase-funcs} & |
37 |
None & None & |
38 |
- \parbox[t]{1in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test}} & |
39 |
- \parbox[t]{1in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test}} & |
40 |
- \parbox[t]{1in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, |
41 |
- \t{src\_compile}, \t{src\_install}, \t{src\_test}} \\ |
42 |
+ \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test} & |
43 |
+ \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test} & |
44 |
+ \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, |
45 |
+ \t{src\_compile}, \t{src\_install}, \t{src\_test} \\ |
46 |
|
47 |
\t{AA} & \compactfeatureref{aa} & |
48 |
Yes & Yes & Yes & Yes & No \\ |
49 |
@@ -125,7 +126,7 @@ Most utilities die & \compactfeatureref{die-on-failure} & |
50 |
Yes & Yes & Yes & Yes & Banned \\ |
51 |
|
52 |
\t{econf} arguments & \compactfeatureref{econf-options} & |
53 |
- & & & & \parbox[t]{1in}{disable dependency tracking} \\ |
54 |
+ & & & & disable dependency tracking \\ |
55 |
|
56 |
\t{dodoc -r} & \compactfeatureref{dodoc} & |
57 |
No & No & No & No & Yes \\ |
58 |
diff --git a/ebuild-functions.tex b/ebuild-functions.tex |
59 |
index 36df355..a035fd4 100644 |
60 |
--- a/ebuild-functions.tex |
61 |
+++ b/ebuild-functions.tex |
62 |
@@ -405,19 +405,19 @@ when executing any ebuild phase listed in the table. Ebuilds must not call these |
63 |
when in the phase in question. |
64 |
|
65 |
\begin{centertable}{EAPIs supporting \t{default\_} phase functions} \label{tab:default-phase-function-table} |
66 |
- \begin{tabular}{ l l } |
67 |
+ \begin{tabular}{ l >{\setlength{\rightskip}{0pt plus 1fil}}p{30em} } |
68 |
\toprule |
69 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
70 |
\multicolumn{1}{c}{\textbf{Supports \t{default\_} functions in phases}} \\ |
71 |
\midrule |
72 |
\t{0} & None \\ |
73 |
\t{1} & None \\ |
74 |
- \t{2} & \parbox[t]{3in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, |
75 |
- \t{src\_compile}, \t{src\_test}} \\ |
76 |
- \t{3} & \parbox[t]{3in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, |
77 |
- \t{src\_compile}, \t{src\_test}} \\ |
78 |
- \t{4} & \parbox[t]{3in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, |
79 |
- \t{src\_compile}, \t{src\_install}, \t{src\_test}} \\ |
80 |
+ \t{2} & \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, |
81 |
+ \t{src\_compile}, \t{src\_test} \\ |
82 |
+ \t{3} & \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, |
83 |
+ \t{src\_compile}, \t{src\_test} \\ |
84 |
+ \t{4} & \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, |
85 |
+ \t{src\_compile}, \t{src\_install}, \t{src\_test} \\ |
86 |
\bottomrule |
87 |
\end{tabular} |
88 |
\end{centertable} |
89 |
diff --git a/pms.cls b/pms.cls |
90 |
index d96d35e..ff78b1b 100644 |
91 |
--- a/pms.cls |
92 |
+++ b/pms.cls |
93 |
@@ -29,6 +29,7 @@ |
94 |
graphicx, % Image support |
95 |
ifthen, % Comfortable conditional routines |
96 |
longtable, % Extend tables over more than one page |
97 |
+ array, % Extended tabular environments |
98 |
lscape, % Rotating pages |
99 |
marginnote, % Typeset a paragraph in the page margin |
100 |
paralist, % Additional list environments |
101 |
-- |
102 |
1.7.4.rc2 |