-
Notifications
You must be signed in to change notification settings - Fork 7
/
SBE.tex
executable file
·191 lines (186 loc) · 6.55 KB
/
SBE.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
% $Author$
% $Date$
% $Revision$
%=================================================================
% This is the main file for the Squeak By Example book.
% The individual chapters can also be latex'ed by themselves.
%=================================================================
\documentclass[a4paper,10pt,twoside]{book}
\usepackage[
papersize={6.13in,9.21in},
hmargin={.815in,.815in},
vmargin={.98in,.98in},
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/}
{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/}
{SourceControl/figures/}
}
%=================================================================
\let\wholebook=\relax
\makeindex
\makeglossary
%=================================================================
\renewcommand{\nnbb}[2]{} % Disable editorial comments
%=================================================================
\begin{document}
%=================================================================
\includepdf{figures/cover/cover-edition-60-plain.pdf}
\frontmatter
%=================================================================
\setcounter{page}{1}
\pagestyle{headings}
%=================================================================
%:Inside cover
\input{titlepage.tex}
%=================================================================
%:Copyright notice
~ % force the vfill
\vfill
\begin{footnotesize}
\setlength{\parindent}{0pt}
Copyright of original editions \copyright~2007, 2008, 2009 by Andrew P. Black, St\'ephane Ducasse, Oscar Nierstrasz, Damien Pollet, Damien Cassou, and Marcus Denker.\\
Copyright of the 5.3 and 6.0 editions as derivatives of original editions through corrections and extensions \copyright~2023 by Patrick Rein and Christoph Thiede.\\[1cm]
The contents of this book are protected under the 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{https://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{https://creativecommons.org/licenses/by-sa/3.0/legalcode}}\\[1cm]
First Edition, September 2007.\\
Revised editions with corrections, March 2008, May 2008, September 2009.\\
Published by Square Bracket Associates, Switzerland.\\
ISBN 978-3-9523341-0-2 (First Edition)\\
6.0 Edition, June 2023.\\
Published by Software Architecture Group, Hasso Plattner Institute, Germany. \hpiswa\\
ISBN 978-1-4476-2948-1 (6.0 Edition)\\
Color of cover is \ct{Color moss}.\\
Figures generated on \today.
\end{footnotesize}
\vfill
%=================================================================
%:Contributors
\newpage
\input{Contributors/Contributors.tex}
%=================================================================
%\bibliographystyle{jurabib}
%\end{document}
%=================================================================
%:TOC
\tableofcontents
% \listoffigures
% \listoftables
% \lstlistoflistings
% To avoid LaTeX's annoying habit of letting lines stick over the margins!
%=================================================================
%:Preface
\input{Preface/Preface.tex}
\mainmatter
%=================================================================
%:PART 1 -- Getting Started
\part{Getting started}
%:Quick Tour
\input{QuickTour/QuickTour.tex}
%:First Application
\input{FirstApp/FirstApp.tex}
%:Syntax
\input{Syntax/Syntax.tex}
%:Messages
\input{Messages/Messages.tex}
%=================================================================
%:PART 2 -- Developing in Squeak
\part{Developing in Squeak}
%:Model
\input{Model/Model.tex}
%:Environment
\input{Environment/Environment.tex}
%:SourceControl
\input{SourceControl/SourceControl.tex}
%:SUnit
\input{SUnit/SUnit.tex}
%:Basic Classes
\input{BasicClasses/BasicClasses.tex}
%:Collections
\input{Collections/Collections.tex}
%:Streams
\input{Streams/Streams.tex}
%:Morphic
\input{Morphic/Morphic.tex}
%=================================================================
%:PART 3 -- Advanced Squeak
\part{Advanced Squeak}
%:Metaclasses
\input{Metaclasses/Metaclasses.tex}
%:Final Material
\appendix
\part{Appendices}
%:FAQ
\input{FAQ/FAQ.tex}
%=================================================================
%:BIBLIOGRAPHY
% \printglossary
\bibliographystyle{jurabib}
\bibliography{Bibliography/scg}
%=================================================================
%:INDEX
{\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}
%=================================================================
% NB: For extra material, see SBE-etc.tex
%=================================================================
%%% Local Variables:
%%% coding: utf-8
%%% mode: latex
%%% TeX-master: t
%%% TeX-PDF-mode: t
%%% ispell-local-dictionary: "english"
%%% End: