summaryrefslogtreecommitdiff
blob: 89552f3f52ba334dc7ebca79e0ee5bbd59665dcf (plain)
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
\documentclass[a4paper]{report}
% 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
}
\usepackage[position=top]{caption}
\usepackage[utf8]{inputenc}
\usepackage[light]{draftcopy}
\usepackage[draft,nomargin,inline,marginclue]{fixme}

\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{\TODOBUG}[2]{\fixme[inline]{(discussion on bug \##1) #2}}
\newcommand{\TODO}[1]{\fixme[inline]{#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}}
}{
    \ifthenelse{\boolean{ENABLE-KDEBUILD}}
    {
        \newcommand{\IFKDEBUILDELSE}[2]{#1}
    }{
        \newcommand{\IFKDEBUILDELSE}[2]{#2}
    }
}

\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. Bennet, 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, draft},
  pdfproducer={pdfLaTeX and hyperref},
}

\title{Package Manager Specification}
\author{Stephen P. Bennett\\\url{spb@exherbo.org}
\and Ciaran McCreesh\\\url{ciaran.mccreesh@googlemail.com}}

\begin{document}
\maketitle

\tableofcontents
\listofalgorithms
\listoflistings
\listoftables
\listoffixmes

\include{credits}

\include{introduction}

\include{names}

\include{tree-layout}

\include{profiles}

\include{virtuals}

\include{ebuild-format}

\include{eclasses}

\include{ebuild-vars}

\include{dependencies}

\include{ebuild-functions}

\include{ebuild-environment}

\include{merge}

\include{glossary}

\include{appendices}

\bibliography{pms}

\end{document}

% vim: set filetype=tex fileencoding=utf8 et tw=100 spell spelllang=en :


%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: