1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
\documentclass[a4paper]{book}
\input{vc}
% Definition of fonts, choose T1 encoding for fonts
\usepackage[T1]{fontenc}
%
% algorithmic and algorithm to be loaded last to avoid failures
\usepackage{appendix,
booktabs,
color,
enumitem,
float,
fullpage,
graphicx,
hyperref,
ifthen,
longtable,
paralist,
parskip,
verbatim,
algorithm,
algorithmic,
lscape,
marginnote
}
\usepackage[orig,english]{isodate}
\usepackage{typearea}
\usepackage[position=top]{caption}
\usepackage[utf8]{inputenc}
\newboolean{TEX4HT-HACKS}
\ifx\HCode\undefined
\usepackage{mathptmx,
courier
}
\usepackage[scaled=.90]{helvet}
\setboolean{TEX4HT-HACKS}{false}
\else
\setboolean{TEX4HT-HACKS}{true}
\fi
\floatstyle{plaintop}
\newfloat{listing}{tbp}{lol}[chapter]
\floatname{listing}{Listing}
\newcommand{\listoflistings}{\listof{listing}{Listings}}
\bibliographystyle{plainurl}
\renewcommand{\t}[1]{\texttt{#1}}
\renewcommand{\i}[1]{\textit{#1}}
\newcommand{\e}[1]{\emph{#1}}
\renewcommand{\b}[1]{\textbf{#1}}
\newcommand{\note}[1]{\paragraph{Note:} #1}
\newcommand{\featureref}[1]{\e{#1} on page~\pageref{feat:#1}}
\newcommand{\compactfeatureref}[1]{#1~p\pageref{feat:#1}}
\newcommand{\featurelabel}[1]{\marginnote{\framebox{#1}}\label{feat:#1}}
\definecolor{deepblue}{rgb}{0.0, 0.2, 0.7}
\definecolor{deeppurple}{rgb}{0.7, 0.0, 0.8}
\newboolean{ENABLE-ALL-OPTIONS}
\newboolean{ENABLE-KDEBUILD}
%%% Enable the below option if you'd like to see both sides of KDEBUILD conditionals shown in
%%% different colours. Disable it to either fully enable or fully disable KDEBUILD.
%%% Not compatible with HTML output.
\setboolean{ENABLE-ALL-OPTIONS}{false}
%%% Enable the below if you'd like to see KDEBUILD things.
\setboolean{ENABLE-KDEBUILD}{true}
\ifthenelse{\boolean{ENABLE-ALL-OPTIONS}\and\not\boolean{TEX4HT-HACKS}}
{
\newcommand{\IFKDEBUILDELSE}[2]{{\def\mycolour{\color{deepblue}}\mycolour #1}{\def\mycolour{\color{deeppurple}}\mycolour #2}}
\newcommand{\IFANYKDEBUILDELSE}[2]{#1}
\newcommand{\IFKDEBUILDCOLOUR}[1]{{\def\mycolour{\color{deepblue}}\mycolour #1}}
}{
\ifthenelse{\boolean{ENABLE-KDEBUILD}}
{
\newcommand{\IFKDEBUILDELSE}[2]{#1}
\newcommand{\IFANYKDEBUILDELSE}[2]{#1}
\newcommand{\IFKDEBUILDCOLOUR}[1]{#1}
}{
\newcommand{\IFKDEBUILDELSE}[2]{#2}
\newcommand{\IFANYKDEBUILDELSE}[2]{#2}
\newcommand{\IFKDEBUILDCOLOUR}[1]{#1}
}
}
\newenvironment{centertable}[1]%
{
\begin{table}
\ifx\mycolour\undefined\else\mycolour\fi
\centering
\caption{#1}
}{
\end{table}
}
\hypersetup{%
urlcolor=black,
colorlinks=true,
citecolor=black,
linkcolor=black,
pdftitle={Package Manager Specification},
pdfauthor={Stephen P. Bennett, Ciaran McCreesh},
pdfcreator={pdfLaTeX and hyperref},
pdfsubject={Defining a feature set for package managers in the
Gentoo world},
pdflang={en},
pdfkeywords={Gentoo, package manager, specification},
pdfproducer={pdfLaTeX and hyperref},
}
\title{Package Manager Specification}
\author{Stephen P. Bennett\\\url{spb@exherbo.org}
\and Ciaran McCreesh\\\url{ciaran.mccreesh@googlemail.com}}
% Make the build succeed even when no Git repository is available
\ifthenelse{\equal{\VCDateISO}{}}
{
\date{Generated on: \today}
}{
\date{\printdate{\VCDateISO}}
}
\pagestyle{myheadings}
\markboth{\scshape Package Manager Specification}{\scshape Package
Manager Specification}
% This is some kind of hack. We set the proportions of the text area
% and then move it 20mm to the left to increase the right (outer)
% margin.
\areaset[-20mm]{400pt}{700pt}
\begin{document}
\maketitle
\tableofcontents
\listofalgorithms
\listoflistings
\listoftables
\include{credits}
\include{introduction}
\include{eapis}
\include{names}
\include{tree-layout}
\include{profiles}
\include{virtuals}
\include{ebuild-format}
\include{ebuild-vars}
\include{dependencies}
\include{ebuild-functions}
\include{eclasses}
\include{ebuild-environment}
\include{merge}
\include{metadata-cache}
\include{glossary}
\include{appendices}
\include{eapi-differences}
\bibliography{pms}
\end{document}
% vim: set filetype=tex fileencoding=utf8 et tw=100 spell spelllang=en :
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
|