-
Notifications
You must be signed in to change notification settings - Fork 9
/
bookSettings.texinfo
206 lines (186 loc) · 3.68 KB
/
bookSettings.texinfo
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
198
199
200
201
202
203
204
205
206
@documentlanguage fr
@documentencoding UTF-8
@settitle The Cuis-Smalltalk Book
@c Prefered settings
@set cuisVersion 6.0#5608 or later
@codequoteundirected on
@codequotebacktick on
@c Remove ugly black rectangle
@finalout
@setfilename TheCuisBook.info
@c @afourwide
@afourlatex
@c 7x9.25 inches 17.8x23.5 cm
@c @smallbook
@c Macro definitions
@macro alanQuoteAboutCuis
@quotation
I like it... It's nice and clean and simple and pretty. Nice stuff!
@author Alan Kay
@end quotation
@end macro
@macro cuis
Cuis-Smalltalk
@end macro
@macro writers
H. Fernandes with K. Dickey & J. Vuletich
@end macro
@macro thanks
Thanks to Matt Armstrong, Ezequiel Birman, Vanessa Freudenberg, Michael Khol, Szabolcs
Komáromi, David Lewis, John McGarey, Mariano Montone, Ricardo Pacheco,
Barry Perryman, Tommy Pettersson, Bernhard Pieber, Will Plusnick, Mauro
Rizzi, Stephen Smith, Ignacio Sniechowski & Mark Volkmann for the
reviews of the book, suggestions and borrowed texts. Your help is very
valuable.
@end macro
@macro vm
@acronym{VM}
@end macro
@c Todo note, with an index entry to group them all
@macro todo{note}
@cindex @strong{to be written}, \note\
@strong{To be written.} \note\
@end macro
@c comment, with an index entry to group them all
@macro note{note}
@cindex @strong{note}, \note\
@strong{Note:} @emph{\note\}
@end macro
@c Smalltalk code in a text flow
@c for the printed manual, use arrow symbols for the returned value
@c and the assignment
@iftex
@c up arrow, return symbol
@macro return
@U{2191}
@end macro
@c left arrow, assignment
@macro assign
@U{2190}
@end macro
@end iftex
@c for the html manual use := and ^ symbol, so the user can copy and
@c paste Smalltalk directly in Cuis
@ifnottex
@c up arrow, return symbol
@macro return
^
@end macro
@c left arrow, assignment
@macro assign
:=
@end macro
@end ifnottex
@alias class=code
@alias smalltalk=code
@alias method=code
@c label of a button, string keyed in a text field
@alias label=command
@macro msg{messageName}
@code{#\messageName\}
@end macro
@c Smalltalk example
@macro smalltalkExample{example}
@iftex
@sp 1
@end iftex
@smallexample
\example\
@end smallexample
@iftex
@sp 1
@end iftex
@end macro
@c Smalltalk example with caption
@macro smalltalkExampleCaption{caption,label,example}
@float Example,\label\
@smallexample
\example\
@end smallexample
@caption{\caption\}
@end float
@iftex
@sp 1
@end iftex
@end macro
@c Exercise with caption
@macro exercise{caption,label,text}
@float Exercise,\label\
@indentedblock
@iftex
@cartouche
@tie{}@image{CuisLogoLarge,1cm}
@end iftex
@ifhtml
@tie{}@image{CuisLogo,1cm}
@end ifhtml
\text\
@iftex
@end cartouche
@end iftex
@end indentedblock
@caption{\caption\}
@shortcaption{\caption\}
@end float
@iftex
@sp 1
@end iftex
@end macro
@c Figure with caption
@macro figure{caption,file,width}
@ifnotplaintext
@float Figure,\file\
@center @image{\file\,\width\cm}
@caption{\caption\}
@end float
@end ifnotplaintext
@ifplaintext
@float Figure
@caption{\caption\}
@end float
@end ifplaintext
@iftex
@sp 1
@end iftex
@end macro
@c Figure with caption and extension
@macro figureExt{caption,file,width,ext}
@ifnotplaintext
@float Figure,\file\
@center @image{\file\,\width\cm,,,\ext\}
@caption{\caption\}
@end float
@end ifnotplaintext
@ifplaintext
@float Figure
@caption{\caption\}
@end float
@end ifplaintext
@iftex
@sp 1
@end iftex
@end macro
@c Iconic button
@macro button{file}
@ifnotplaintext
@image{\file\,,0.5cm}
@end ifnotplaintext
@end macro
@macro icon{file}
@image{\file\,1cm}
@end macro
@c Highlighted Note
@macro cuisNote{aNote}
@indentedblock
@iftex
@cartouche
@end iftex
@ifnotplaintext
@tie{}@image{note,1cm}
@end ifnotplaintext
\aNote\
@iftex
@end cartouche
@end iftex
@end indentedblock
@end macro