forked from hpi-swa-lab/SqueakByExample-english
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSBE.tex
executable file
·186 lines (184 loc) · 6.17 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
% $Author$
% $Date$
% $Revision$
%=================================================================
% This is the main file for the Squeak By Example book.
% The individual chapters can also be latexed 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/}
}
%=================================================================
\let\wholebook=\relax
\makeindex
\makeglossary
%=================================================================
\renewcommand{\nnbb}[2]{} % Disable editorial comments
%=================================================================
\begin{document}
\frontmatter
%=================================================================
\setcounter{page}{1}
\pagestyle{headings}
%=================================================================
%:Inside cover
\author{
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 Squeak by Example}
\isodate
\date{\emph{Version of \today}}
\maketitle
%=================================================================
%:Copyright notice
~ % force the vfill
\vfill
\begin{footnotesize}
\setlength{\parindent}{0pt}
Copyright \copyright~2007, 2008, 2009 by Andrew P. Black, St\'ephane Ducasse, Oscar Nierstrasz and Damien Pollet.\\[1cm]
Copyright \copyright~2019 by Andrew P. Black, St\'ephane Ducasse, Oscar Nierstrasz, Damien Pollet and Patrick Rein.\\[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, September 2009.
Second Edition, 2019.
Figures flattened \today.
\end{footnotesize}
\vfill
%=================================================================
%\bibliographystyle{jurabib}
%\end{document}
%=================================================================
%:TOC
\tableofcontents
% \listoffigures
% \listoftables
% \lstlistoflistings
\sloppy % 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}
%: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: