-
Notifications
You must be signed in to change notification settings - Fork 18
/
PBE-Omnibus.tex
197 lines (188 loc) · 6.56 KB
/
PBE-Omnibus.tex
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
188
189
190
191
192
193
194
195
196
197
% $Author$
% $Date$
% $Revision$
% HISTORY:
% 2009-04-23 - Oscar set up new pharo omnibus
%=================================================================
% This is the main file for the Pharo By Example Omnibus.
% The individual chapters can also be latexed by themselves.
%=================================================================
\documentclass[a4paper,10pt,twoside]{book}
\usepackage[
papersize={6.13in,9.21in},
hmargin={.75in,.75in},
vmargin={.75in,1in},
ignoreheadfoot
]{geometry}
\input{common.tex}
\setboolean{lulu}{true}
%=================================================================
% A4
%\documentclass[a4paper,11pt,twoside]{book}
%\input{common.tex}
%\usepackage{a4wide}
%=================================================================
% Add the path for the figures of each chapter here:
\graphicspath{
{figures/}
% BOOK 1
{BasicClasses/figures/}
{Collections/figures/}
{Environment/figures/}
{FirstApp/figures/}
{Messages/figures/}
{Metaclasses/figures/}
{Model/figures/}
{Morphic/figures/}
{Preface/figures/}
{Profiling/figures/}
{QuickTour/figures/}
{SUnit/figures/}
{Streams/figures/}
{Syntax/figures/}
{FAQ/figures/}
% BOOK 2
% {Announcements/figures/}
{Compiler/figures/}
{Concurrency/figures/}
% {Debugging/figures/}
{Exceptions/figures/}
{Installer/figures/}
% {Magma/figures/}
{Reflection/figures/}
{Monticello/figures/}
{Omnibrowser/figures/}
{Profiling/figures/}
{Regex/figures/}
{Seaside/figures/}
}
%=================================================================
\let\wholebook=\relax
\makeindex
\makeglossary
%=================================================================
\renewcommand{\nnbb}[2]{} % Disable editorial comments
%=================================================================
\begin{document}
\frontmatter
%=================================================================
\setcounter{page}{1}
\pagestyle{headings}
%=================================================================
\author{
Alexandre Bergel\quad
Andrew P. Black\quad
St\'ephane Ducasse\\[1ex]
Oscar Nierstrasz\quad
Damien Pollet
\\[4ex]
with Damien Cassou and Marcus Denker}
% (to be updated at the end)
\title{\Huge\bf Pharo by Example\\ Omnibus edition}
\isodate
\date{\emph{Version of \today}}
\maketitle
%=================================================================
~ % force the vfill
\vfill
\begin{footnotesize}
\setlength{\parindent}{0pt}
This book is available as a free download from \pbe.\\[1cm]
Copyright \copyright~2007, 2008, 2009 by Alexandre Bergel, Andrew P. Black, St\'ephane Ducasse, Oscar Nierstrasz and Damien Pollet.\\[1cm]
The contents of this book are protected under Creative Commons Attribution-ShareAlike 3.0 Unported license.
\emph{You are free:}
\begin{description}
\item[to Share] \,---\, to copy, distribute and transmit the work
\item[to Remix] \,---\, to adapt the work
\end{description}
\emph{Under the following conditions:}
\begin{description}
\item[Attribution.] You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
\item[Share Alike.] If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license.
\end{description}
\begin{itemize}
\item For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page:
\url{creativecommons.org/licenses/by-sa/3.0/}
\item Any of the above conditions can be waived if you get permission from the copyright holder.
\item Nothing in this license impairs or restricts the author's moral rights.
\end{itemize}
\raisebox{-0.25cm}{\includegraphics[width=2cm]{CreativeCommons-BY-SA}}\quad
\parbox{\textwidth-2cm-1em}{
Your fair dealing and other rights are in no way affected by the above.
This is a human-readable summary of the Legal Code (the full license):\\
\url{creativecommons.org/licenses/by-sa/3.0/legalcode}}\\[1cm]
Published by Square Bracket Associates, Switzerland. \sba\\
% ISBN 978-3-9523341-0-2\\
% First Edition, September, 2007. Revised editions with corrections, March 2008, May 2008.
Special Omnibus edition, September 2009
\end{footnotesize}
\vfill
%=================================================================
%\bibliographystyle{jurabib}
%\end{document}
%=================================================================
\tableofcontents
% \listoffigures
% \listoftables
% \lstlistoflistings
\sloppy % To avoid LaTeX's annoying habit of letting lines stick over the margins!
%=================================================================
\input{Preface/Preface.tex}
\input{Preface/Preface-Omnibus.tex}
\mainmatter
%=================================================================
\part{Getting Started}
\input{QuickTour/QuickTour.tex}
\input{FirstApp/FirstApp.tex}
\input{Syntax/Syntax.tex}
\input{Messages/Messages.tex}
%=================================================================
\part{Developing in Pharo}
\input{Model/Model.tex}
\input{Environment/Environment.tex}
\input{SUnit/SUnit.tex}
\input{BasicClasses/BasicClasses.tex}
\input{Collections/Collections.tex}
\input{Streams/Streams.tex}
\input{Morphic/Morphic.tex}
%=================================================================
\part{Advanced Pharo}
\input{Metaclasses/Metaclasses.tex}
%=================================================================
\part{Software Development}
\input{Monticello/Monticello.tex}
%\input{Debugging/Debugging.tex}
%\input{Profiling/Profiling.tex}
%\input{Installer/Installer.tex}
\part{Frameworks}
\input{Seaside/Seaside.tex}
%\input{Magma/Magma.tex}
\input{Regex/Regex.tex}
\input{Omnibrowser/Omnibrowser.tex}
\part{Language details}
\input{Exceptions/Exceptions.tex}
%\input{Concurrency/Concurrency.tex}
%\input{Announcements/Announcements.tex}
\input{Reflection/Reflection.tex}
%=================================================================
\appendix
\part{Appendices}
\input{FAQ/FAQ.tex}
%=================================================================
% \printglossary
\bibliographystyle{jurabib}
\bibliography{scg}
%=================================================================
{\small\raggedright\printindex}
%=================================================================
% Round out to multiple of 4 pages
% NB: we *must* have some blank pages at the end
\pagestyle{empty}
\cleardoublepage
~ % Force some space
\cleardoublepage
~ % Force some space
\cleardoublepage
%=================================================================
\end{document}
%=================================================================