1 |
commit: bd0323fb313fed1349a3d79fdb4a7bfcb1c8f597 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 29 19:29:14 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 29 19:29:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=bd0323fb |
7 |
|
8 |
pms.cls: Update \note command to suppress vertical space. |
9 |
|
10 |
Use the command correctly throughout; it requires an argument. |
11 |
|
12 |
dependencies.tex | 6 +++--- |
13 |
eapi-differences.tex | 6 +++--- |
14 |
ebuild-env-state.tex | 4 ++-- |
15 |
ebuild-functions.tex | 4 ++-- |
16 |
ebuild-vars.tex | 12 ++++++------ |
17 |
names.tex | 10 +++++----- |
18 |
pms.cls | 2 +- |
19 |
profiles.tex | 4 ++-- |
20 |
8 files changed, 24 insertions(+), 24 deletions(-) |
21 |
|
22 |
diff --git a/dependencies.tex b/dependencies.tex |
23 |
index 381dc04..065034f 100644 |
24 |
--- a/dependencies.tex |
25 |
+++ b/dependencies.tex |
26 |
@@ -176,7 +176,7 @@ or 4-style \t{USE} dependencies, a specification may additionally be suffixed by |
27 |
2-style or 4-style \t{[use]} restriction, as described in section~\ref{sec:use-dep}. A package |
28 |
manager must warn or error if this feature is used with an EAPI not supporting use dependencies. |
29 |
|
30 |
-\note Order is important. The slot restriction must come before use dependencies. |
31 |
+\note{Order is important. The slot restriction must come before use dependencies.} |
32 |
|
33 |
\ChangeWhenAddingAnEAPI{6} |
34 |
\begin{centertable}{Support for \t{SLOT} dependencies and sub-slots in EAPIs} |
35 |
@@ -327,9 +327,9 @@ the latter, present and disabled. |
36 |
Unless a 4-style default is specified, it is an error for a use dependency to be applied to an |
37 |
ebuild which does not have the flag in question in \t{IUSE_REFERENCEABLE}. |
38 |
|
39 |
-\note By extension of the above, a default that could reference an ebuild using an EAPI not |
40 |
+\note{By extension of the above, a default that could reference an ebuild using an EAPI not |
41 |
supporting profile \t{IUSE} injections cannot rely upon any particular behaviour for flags that |
42 |
-would not have to be part of \t{IUSE}. |
43 |
+would not have to be part of \t{IUSE}.} |
44 |
|
45 |
It is an error for an ebuild to use a conditional use dependency when that ebuild does not have the |
46 |
flag in \t{IUSE_EFFECTIVE}. |
47 |
|
48 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
49 |
index 2b74e05..8a2c3af 100644 |
50 |
--- a/eapi-differences.tex |
51 |
+++ b/eapi-differences.tex |
52 |
@@ -1,9 +1,9 @@ |
53 |
\chapter{Feature Availability by EAPI} |
54 |
|
55 |
-\note This chapter is informative and for convenience only. Refer to the main text for specifics. |
56 |
+\note{This chapter is informative and for convenience only. Refer to the main text for specifics. |
57 |
For lack of space, EAPIs 0, 1, and~2 have been consolidated into a single column in the table |
58 |
below; entries marked with an asterisk differ between these EAPIs. See the 2012-09-20 edition |
59 |
-of this document for a complete table of previous EAPIs. |
60 |
+of this document for a complete table of previous EAPIs.} |
61 |
|
62 |
\ChangeWhenAddingAnEAPI{6} |
63 |
\begin{landscape} |
64 |
@@ -247,7 +247,7 @@ File mtimes preserved & \compactfeatureref{mtime-preserve} & |
65 |
|
66 |
\chapter{Differences Between EAPIs} |
67 |
|
68 |
-\note This chapter is informative and for convenience only. Refer to the main text for specifics. |
69 |
+\note{This chapter is informative and for convenience only. Refer to the main text for specifics.} |
70 |
|
71 |
\section{EAPI 0} |
72 |
|
73 |
|
74 |
diff --git a/ebuild-env-state.tex b/ebuild-env-state.tex |
75 |
index 2333b01..34c41c4 100644 |
76 |
--- a/ebuild-env-state.tex |
77 |
+++ b/ebuild-env-state.tex |
78 |
@@ -5,8 +5,8 @@ Exported and default scope variables are saved between functions. A non-local va |
79 |
function earlier in the call sequence must have its value preserved for later functions, including |
80 |
functions executed as part of a later uninstall. |
81 |
|
82 |
-\note \t{pkg_pretend} is \e{not} part of the normal call sequence, and does not take part in |
83 |
-environment saving. |
84 |
+\note{\t{pkg_pretend} is \e{not} part of the normal call sequence, and does not take part in |
85 |
+environment saving.} |
86 |
|
87 |
Variables that were exported must remain exported in later functions; variables with default |
88 |
visibility may retain default visibility or be exported. Variables with special meanings to the |
89 |
|
90 |
diff --git a/ebuild-functions.tex b/ebuild-functions.tex |
91 |
index e90c050..6240cf5 100644 |
92 |
--- a/ebuild-functions.tex |
93 |
+++ b/ebuild-functions.tex |
94 |
@@ -516,9 +516,9 @@ The call order for upgrading, downgrading or reinstalling a package is: |
95 |
\item \t{pkg_postinst} |
96 |
\end{compactitem} |
97 |
|
98 |
-Note: When up- or downgrading a package in EAPI 0 or 1, the last four phase functions can |
99 |
+\note{When up- or downgrading a package in EAPI 0 or 1, the last four phase functions can |
100 |
alternatively be called in the order \t{pkg_preinst}, \t{pkg_postinst}, \t{pkg_prerm}, |
101 |
-\t{pkg_postrm}. This behaviour is deprecated. |
102 |
+\t{pkg_postrm}. This behaviour is deprecated.} |
103 |
|
104 |
The \t{pkg_config}, \t{pkg_info} and \t{pkg_nofetch} functions are not called in a normal |
105 |
sequence. The \t{pkg_pretend} function is called some unspecified time before a (possibly |
106 |
|
107 |
diff --git a/ebuild-vars.tex b/ebuild-vars.tex |
108 |
index d653d09..0a3051c 100644 |
109 |
--- a/ebuild-vars.tex |
110 |
+++ b/ebuild-vars.tex |
111 |
@@ -1,8 +1,8 @@ |
112 |
\chapter{Ebuild-defined Variables} |
113 |
\label{sec:ebuild-vars} |
114 |
|
115 |
-\note This section describes variables that may or must be defined by ebuilds. For |
116 |
-variables that are passed from the package manager to the ebuild, see section~\ref{sec:ebuild-env-vars}. |
117 |
+\note{This section describes variables that may or must be defined by ebuilds. For variables that |
118 |
+are passed from the package manager to the ebuild, see section~\ref{sec:ebuild-env-vars}.} |
119 |
|
120 |
If any of these variables are set to invalid values, or if any of the mandatory variables are |
121 |
undefined, the package manager's behaviour is undefined; ideally, an error in one ebuild should not |
122 |
@@ -203,8 +203,8 @@ considered to be part of the ebuild's metadata: |
123 |
\item[INHERITED] List of inherited eclass names. Again, this is handled magically by \t{inherit}. |
124 |
\end{description} |
125 |
|
126 |
-\note Thus, by extension of section~\ref{sec:metadata-invariance}, \t{inherit} may not be used |
127 |
- conditionally, except upon constant conditions. |
128 |
+\note{Thus, by extension of section~\ref{sec:metadata-invariance}, \t{inherit} may not be used |
129 |
+conditionally, except upon constant conditions.} |
130 |
|
131 |
The following are special variables defined by the package manager for internal use and may or may |
132 |
not be exported to the ebuild environment: |
133 |
@@ -218,8 +218,8 @@ optional \t{DEFINED_PHASES} support, package managers may not rely upon the meta |
134 |
this variable defined, and must treat an empty string as ``this information is not available''. |
135 |
\end{description} |
136 |
|
137 |
-\note Thus, by extension of section~\ref{sec:metadata-invariance}, phase functions must not be defined |
138 |
-based upon any variant condition. |
139 |
+\note{Thus, by extension of section~\ref{sec:metadata-invariance}, phase functions must not be |
140 |
+defined based upon any variant condition.} |
141 |
|
142 |
\ChangeWhenAddingAnEAPI{6} |
143 |
\begin{centertable}{EAPIs supporting \t{DEFINED_PHASES}} |
144 |
|
145 |
diff --git a/names.tex b/names.tex |
146 |
index be55698..c8e1129 100644 |
147 |
--- a/names.tex |
148 |
+++ b/names.tex |
149 |
@@ -9,8 +9,8 @@ name. A package manager should indicate or reject any name that is invalid accor |
150 |
A category name may contain any of the characters [\t{A-Za-z0-9+_.-}]. It must not begin with |
151 |
a hyphen, a dot or a plus sign. |
152 |
|
153 |
-\note A hyphen is \e{not} required because of the \t{virtual} category. Usually, however, category |
154 |
-names will contain a hyphen. |
155 |
+\note{A hyphen is \e{not} required because of the \t{virtual} category. Usually, however, category |
156 |
+names will contain a hyphen.} |
157 |
|
158 |
\subsection{Package names} |
159 |
\label{sec:package-names} |
160 |
@@ -18,8 +18,8 @@ A package name may contain any of the characters [\t{A-Za-z0-9+_-}]. It must not |
161 |
hyphen or a plus sign, and must not end in a hyphen followed by anything matching the version |
162 |
syntax described in section~\ref{sec:version-spec}. |
163 |
|
164 |
-\note A package name does not include the category. The term \i{qualified package name} is used |
165 |
-where a \t{category/package} pair is meant. |
166 |
+\note{A package name does not include the category. The term \i{qualified package name} is used |
167 |
+where a \t{category/package} pair is meant.} |
168 |
|
169 |
\subsection{Slot names} |
170 |
\label{sec:slot-names} |
171 |
@@ -31,7 +31,7 @@ A USE flag name may contain any of the characters [\t{A-Za-z0-9+_@-}]. It must b |
172 |
alphanumeric character. Underscores should be considered reserved for \t{USE_EXPAND}, as |
173 |
described in section~\ref{sec:use-iuse-handling}. |
174 |
|
175 |
-\note Usage of the at-sign is deprecated. It was previously required for \t{LINGUAS}. |
176 |
+\note{Usage of the at-sign is deprecated. It was previously required for \t{LINGUAS}.} |
177 |
|
178 |
\subsection{Repository names} |
179 |
\label{sec:repository-names} |
180 |
|
181 |
diff --git a/pms.cls b/pms.cls |
182 |
index 89e7d5a..66e1828 100644 |
183 |
--- a/pms.cls |
184 |
+++ b/pms.cls |
185 |
@@ -121,7 +121,7 @@ |
186 |
\renewcommand{\t}[1]{\texttt{#1}} |
187 |
} |
188 |
\newcommand{\e}[1]{\emph{#1}} |
189 |
-\newcommand{\note}[1]{\paragraph{Note:} #1} |
190 |
+\newcommand{\note}[1]{\begin{trivlist}\item\textbf{Note:} #1\end{trivlist}} |
191 |
|
192 |
% Because we are lazy, we define a table environment to fulfil our needs |
193 |
\newenvironment{centertable}[1]% |
194 |
|
195 |
diff --git a/profiles.tex b/profiles.tex |
196 |
index 7299350..9263418 100644 |
197 |
--- a/profiles.tex |
198 |
+++ b/profiles.tex |
199 |
@@ -89,8 +89,8 @@ installed unless unmasked by the user's configuration. |
200 |
Note that the \t{-spec} syntax can be used to remove a mask in a parent profile, but not |
201 |
necessarily a global mask (from \t{profiles/package.mask}, section~\ref{profiles-package.mask}). |
202 |
|
203 |
-\note Portage currently treats \t{profiles/package.mask} as being on the leftmost branch of the |
204 |
- inherit tree when it comes to \t{-lines}. This behaviour may not be relied upon. |
205 |
+\note{Portage currently treats \t{profiles/package.mask} as being on the leftmost branch of the |
206 |
+inherit tree when it comes to \t{-lines}. This behaviour may not be relied upon.} |
207 |
|
208 |
\subsection{package.provided} |
209 |
\t{package.provided} is used to tell the package manager that a certain package version should be |