Debian Codegraph @

answers/sc28.lis

raw
1 FUNNELWEB LISTING FILE
2 ======================
3
4 Dump of mapped file "<<Suppressed>>".
5
6 MEMORY DUMP OF MAPPED FILE
7 ==========================
8
9 +-------------------------------------------------+------------------+
10 | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | 0123456789ABCDEF |
11 +-------------------------------------------------+------------------+
12 | 53 43 32 38 3A 20 54 65 73 74 20 73 79 6E 74 61 | SC28: Test synta |
13 | 78 20 63 68 65 63 6B 69 6E 67 20 6F 66 20 74 69 | x checking of ti |
14 | 74 6C 65 20 74 79 70 65 73 65 74 74 69 6E 67 20 | tle typesetting |
15 | 64 69 72 65 63 74 69 76 65 2E 0A 0A 31 2E 20 54 | directive...1. T |
16 | 65 73 74 20 6C 65 73 73 20 74 68 61 6E 20 66 6F | est less than fo |
17 | 75 72 20 61 72 67 75 6D 65 6E 74 73 20 28 69 6E | ur arguments (in |
18 | 63 6C 75 64 65 73 20 74 69 74 6C 65 29 2E 0A 4E | cludes title)..N |
19 | 6F 74 65 3A 20 54 68 65 20 74 69 74 6C 65 20 63 | ote: The title c |
20 | 6F 6D 6D 61 6E 64 20 70 75 6C 6C 73 20 61 20 68 | ommand pulls a h |
21 | 61 63 6B 20 74 72 65 61 74 69 6E 67 20 74 68 65 | ack treating the |
22 | 20 72 65 73 74 20 6F 66 20 74 68 65 20 6C 69 6E | rest of the lin |
23 | 65 20 61 66 74 65 72 0A 74 77 6F 20 61 72 67 75 | e after.two argu |
24 | 6D 65 6E 74 73 20 61 73 20 74 68 65 20 73 74 72 | ments as the str |
25 | 69 6E 67 2E 20 53 6F 20 69 74 20 63 61 6E 27 74 | ing. So it can't |
26 | 20 64 65 74 65 63 74 20 61 6E 20 45 58 43 45 53 | detect an EXCES |
27 | 53 20 6F 66 20 61 72 67 75 6D 65 6E 74 73 21 0A | S of arguments!. |
28 | 40 74 20 74 69 74 6C 65 0A 40 74 20 74 69 74 6C | @t title.@t titl |
29 | 65 20 74 77 6F 0A 40 74 20 74 69 74 6C 65 20 74 | e two.@t title t |
30 | 77 6F 20 74 68 72 65 65 0A 0A 32 2E 20 54 65 73 | wo three..2. Tes |
31 | 74 20 6F 75 74 20 62 61 64 20 66 6F 6E 74 2E 0A | t out bad font.. |
32 | 40 74 20 74 69 74 6C 65 20 73 6C 6F 74 68 66 6F | @t title slothfo |
33 | 6E 74 20 6C 65 66 74 20 22 53 6C 6F 74 68 22 0A | nt left "Sloth". |
34 | 0A 33 2E 20 54 65 73 74 20 6F 75 74 20 62 61 64 | .3. Test out bad |
35 | 20 61 6C 69 67 6E 6D 65 6E 74 2E 0A 40 74 20 74 | alignment..@t t |
36 | 69 74 6C 65 20 74 69 74 6C 65 66 6F 6E 74 20 77 | itle titlefont w |
37 | 65 73 74 77 61 72 64 20 22 53 6C 6F 74 68 22 0A | estward "Sloth". |
38 | 0A 34 2E 20 54 65 73 74 20 6F 75 74 20 66 75 6E | .4. Test out fun |
39 | 6E 79 20 73 74 72 69 6E 67 73 2E 0A 40 74 20 74 | ny strings..@t t |
40 | 69 74 6C 65 20 74 69 74 6C 65 66 6F 6E 74 20 6C | itle titlefont l |
41 | 65 66 74 20 22 0A 40 74 20 74 69 74 6C 65 20 74 | eft ".@t title t |
42 | 69 74 6C 65 66 6F 6E 74 20 6C 65 66 74 20 22 22 | itlefont left "" |
43 | 0A 40 21 20 4E 6F 74 65 3A 20 54 68 65 20 66 6F | .@! Note: The fo |
44 | 6C 6C 6F 77 69 6E 67 2C 20 62 65 6C 69 65 76 65 | llowing, believe |
45 | 20 69 74 20 6F 72 20 6E 6F 74 2C 20 69 73 20 61 | it or not, is a |
46 | 63 74 75 61 6C 6C 79 20 4C 45 47 41 4C 21 0A 40 | ctually LEGAL!.@ |
47 | 74 20 74 69 74 6C 65 20 74 69 74 6C 65 66 6F 6E | t title titlefon |
48 | 74 20 6C 65 66 74 20 22 73 6C 6F 74 68 22 73 6C | t left "sloth"sl |
49 | 6F 74 68 22 0A 0A 35 2E 20 54 65 73 74 20 6F 75 | oth"..5. Test ou |
50 | 74 20 61 6C 6C 20 63 6F 6D 62 69 6E 61 74 69 6F | t all combinatio |
51 | 6E 73 20 6F 66 20 66 6F 6E 74 20 61 6E 64 20 61 | ns of font and a |
52 | 6C 69 67 6E 6D 65 6E 74 2E 0A 40 74 20 74 69 74 | lignment..@t tit |
53 | 6C 65 20 74 69 74 6C 65 66 6F 6E 74 20 20 20 20 | le titlefont |
54 | 20 20 6C 65 66 74 20 20 20 22 53 6C 6F 74 68 22 | left "Sloth" |
55 | 0A 40 74 20 74 69 74 6C 65 20 74 69 74 6C 65 66 | .@t title titlef |
56 | 6F 6E 74 20 20 20 20 20 20 63 65 6E 74 72 65 20 | ont centre |
57 | 22 53 6C 6F 74 68 22 0A 40 74 20 74 69 74 6C 65 | "Sloth".@t title |
58 | 20 74 69 74 6C 65 66 6F 6E 74 20 20 20 20 20 20 | titlefont |
59 | 72 69 67 68 74 20 20 22 53 6C 6F 74 68 22 0A 40 | right "Sloth".@ |
60 | 74 20 74 69 74 6C 65 20 73 6D 61 6C 6C 74 69 74 | t title smalltit |
61 | 6C 65 66 6F 6E 74 20 6C 65 66 74 20 20 20 22 53 | lefont left "S |
62 | 6C 6F 74 68 22 0A 40 74 20 74 69 74 6C 65 20 73 | loth".@t title s |
63 | 6D 61 6C 6C 74 69 74 6C 65 66 6F 6E 74 20 63 65 | malltitlefont ce |
64 | 6E 74 72 65 20 22 53 6C 6F 74 68 22 0A 40 74 20 | ntre "Sloth".@t |
65 | 74 69 74 6C 65 20 73 6D 61 6C 6C 74 69 74 6C 65 | title smalltitle |
66 | 66 6F 6E 74 20 72 69 67 68 74 20 20 22 53 6C 6F | font right "Slo |
67 | 74 68 22 0A 40 74 20 74 69 74 6C 65 20 6E 6F 72 | th".@t title nor |
68 | 6D 61 6C 66 6F 6E 74 20 20 20 20 20 6C 65 66 74 | malfont left |
69 | 20 20 20 22 53 6C 6F 74 68 22 0A 40 74 20 74 69 | "Sloth".@t ti |
70 | 74 6C 65 20 6E 6F 72 6D 61 6C 66 6F 6E 74 20 20 | tle normalfont |
71 | 20 20 20 63 65 6E 74 72 65 20 22 53 6C 6F 74 68 | centre "Sloth |
72 | 22 0A 40 74 20 74 69 74 6C 65 20 6E 6F 72 6D 61 | ".@t title norma |
73 | 6C 66 6F 6E 74 20 20 20 20 20 72 69 67 68 74 20 | lfont right |
74 | 20 22 53 6C 6F 74 68 22 0A 0A 36 2E 20 54 65 73 | "Sloth"..6. Tes |
75 | 74 20 6D 69 73 73 70 65 6C 6C 69 6E 67 20 6F 66 | t misspelling of |
76 | 20 63 65 6E 74 72 65 20 28 52 6F 73 73 27 73 20 | centre (Ross's |
77 | 72 65 76 65 6E 67 65 29 2E 0A 40 74 20 74 69 74 | revenge)..@t tit |
78 | 6C 65 20 6E 6F 72 6D 61 6C 66 6F 6E 74 20 20 20 | le normalfont |
79 | 20 20 63 65 6E 74 65 72 20 22 53 6C 6F 74 68 22 | center "Sloth" |
80 | 0A | . |
81 +-------------------------------------------------+------------------+
82
83
84 =========================== Start of LINE LIST DUMP ============================
85
86 Globl Local| Text
87 -----------+--------------------------------------------------------------------
88 00001 00001| SC28: Test syntax checking of title typesetting directive.<010>
89 00002 00002| <010>
90 00003 00003| 1. Test less than four arguments (includes title).<010>
91 00004 00004| Note: The title command pulls a hack treating the rest of the line after<010>
92 00005 00005| two arguments as the string. So it can't detect an EXCESS of arguments!<010>
93 00006 00006| @t title<010>
94 00007 00007| @t title two<010>
95 00008 00008| @t title two three<010>
96 00009 00009| <010>
97 00010 00010| 2. Test out bad font.<010>
98 00011 00011| @t title slothfont left "Sloth"<010>
99 00012 00012| <010>
100 00013 00013| 3. Test out bad alignment.<010>
101 00014 00014| @t title titlefont westward "Sloth"<010>
102 00015 00015| <010>
103 00016 00016| 4. Test out funny strings.<010>
104 00017 00017| @t title titlefont left "<010>
105 00018 00018| @t title titlefont left ""<010>
106 00019 00019| @! Note: The following, believe it or not, is actually LEGAL!<010>
107 00020 00020| @t title titlefont left "sloth"sloth"<010>
108 00021 00021| <010>
109 00022 00022| 5. Test out all combinations of font and alignment.<010>
110 00023 00023| @t title titlefont left "Sloth"<010>
111 00024 00024| @t title titlefont centre "Sloth"<010>
112 00025 00025| @t title titlefont right "Sloth"<010>
113 00026 00026| @t title smalltitlefont left "Sloth"<010>
114 00027 00027| @t title smalltitlefont centre "Sloth"<010>
115 00028 00028| @t title smalltitlefont right "Sloth"<010>
116 00029 00029| @t title normalfont left "Sloth"<010>
117 00030 00030| @t title normalfont centre "Sloth"<010>
118 00031 00031| @t title normalfont right "Sloth"<010>
119 00032 00032| <010>
120 00033 00033| 6. Test misspelling of centre (Ross's revenge).<010>
121 00034 00034| @t title normalfont center "Sloth"<010>
122 00035 00035| <End-Of-File><010>
123 -----------+--------------------------------------------------------------------
124 Globl Local| Text
125
126 ============================ End of LINE LIST DUMP =============================
127
128
129 =========================== Start of TOKEN LIST DUMP ===========================
130
131 Summary: There are 18 tokens in the token list.
132
133 Line[Column]: Token Description
134 -------------------------------
135
136 0001[01]: Text. Text scrap[Grey]="SC28: Test syntax checking of title typesetting directive.<010>
137 <010>
138 1. Test less than four arguments (includes title).<010>
139 Note: The title command pulls a hack treating the rest of the line after<010>
140 two arguments as the string. So it can't detect an EXCESS of arguments!<010>
141 "
142 0009[01]: Text. Text scrap[Grey]="<010>
143 2. Test out bad font.<010>
144 "
145 0012[01]: Text. Text scrap[Grey]="<010>
146 3. Test out bad alignment.<010>
147 "
148 0015[01]: Text. Text scrap[Grey]="<010>
149 4. Test out funny strings.<010>
150 "
151 0018[01]: @t.. Title. Font=Title, Alignment=Left. Title text follows:
152 Text scrap[Grey]=""
153 0020[01]: @t.. Title. Font=Title, Alignment=Left. Title text follows:
154 Text scrap[Grey]="sloth"sloth"
155 0021[01]: Text. Text scrap[Grey]="<010>
156 5. Test out all combinations of font and alignment.<010>
157 "
158 0023[01]: @t.. Title. Font=Title, Alignment=Left. Title text follows:
159 Text scrap[Grey]="Sloth"
160 0024[01]: @t.. Title. Font=Title, Alignment=Centre. Title text follows:
161 Text scrap[Grey]="Sloth"
162 0025[01]: @t.. Title. Font=Title, Alignment=Right. Title text follows:
163 Text scrap[Grey]="Sloth"
164 0026[01]: @t.. Title. Font=Small Title, Alignment=Left. Title text follows:
165 Text scrap[Grey]="Sloth"
166 0027[01]: @t.. Title. Font=Small Title, Alignment=Centre. Title text follows:
167 Text scrap[Grey]="Sloth"
168 0028[01]: @t.. Title. Font=Small Title, Alignment=Right. Title text follows:
169 Text scrap[Grey]="Sloth"
170 0029[01]: @t.. Title. Font=Normal, Alignment=Left. Title text follows:
171 Text scrap[Grey]="Sloth"
172 0030[01]: @t.. Title. Font=Normal, Alignment=Centre. Title text follows:
173 Text scrap[Grey]="Sloth"
174 0031[01]: @t.. Title. Font=Normal, Alignment=Right. Title text follows:
175 Text scrap[Grey]="Sloth"
176 0032[01]: Text. Text scrap[Grey]="<010>
177 6. Test misspelling of centre (Ross's revenge).<010>
178 "
179 0035[01]: End Of File.
180 ============================ End of TOKEN LIST DUMP ============================
181
182 Macro table dump skipped (Parser was not invoked).
183 Document list dump skipped (Parser was not invoked).
184
185 Global Local| Input File
186 ------------+-------------------------------------------------------------------
187 1 1| SC28: Test syntax checking of title typesetting directive.
188 2 2|
189 3 3| 1. Test less than four arguments (includes title).
190 4 4| Note: The title command pulls a hack treating the rest of the line after
191 5 5| two arguments as the string. So it can't detect an EXCESS of arguments!
192 6 6| @t title
193 Error|.^This directive has too few arguments.
194 |.^The correct format is: "@t title <font> <align> <text>".
195 |.^ where <font> = titlefont | smalltitlefont | normalfont.
196 |.^ and <align> = left | centre | right.
197 |.^ and <text> = text delimited by double quotes.
198 |.^Directive ignored.
199 7 7| @t title two
200 Error|.^This directive has too few arguments.
201 |.^The correct format is: "@t title <font> <align> <text>".
202 |.^ where <font> = titlefont | smalltitlefont | normalfont.
203 |.^ and <align> = left | centre | right.
204 |.^ and <text> = text delimited by double quotes.
205 |.^Directive ignored.
206 8 8| @t title two three
207 Error|.^This directive has too few arguments.
208 |.^The correct format is: "@t title <font> <align> <text>".
209 |.^ where <font> = titlefont | smalltitlefont | normalfont.
210 |.^ and <align> = left | centre | right.
211 |.^ and <text> = text delimited by double quotes.
212 |.^Directive ignored.
213 9 9|
214 10 10| 2. Test out bad font.
215 11 11| @t title slothfont left "Sloth"
216 Error|..........^Expecting one of {titlefont,smalltitlefont,normalfont}.
217 |..........^Directive ignored.
218 12 12|
219 13 13| 3. Test out bad alignment.
220 14 14| @t title titlefont westward "Sloth"
221 Error|....................^Expecting one of {left,right,centre}.
222 |....................^Directive ignored.
223 15 15|
224 16 16| 4. Test out funny strings.
225 17 17| @t title titlefont left "
226 Error|.........................^Text argument must be delimited by double quotes.
227 |.........................^Directive ignored.
228 18 18| @t title titlefont left ""
229 19 19| @! Note: The following, believe it or not, is actually LEGAL!
230 20 20| @t title titlefont left "sloth"sloth"
231 21 21|
232 22 22| 5. Test out all combinations of font and alignment.
233 23 23| @t title titlefont left "Sloth"
234 24 24| @t title titlefont centre "Sloth"
235 25 25| @t title titlefont right "Sloth"
236 26 26| @t title smalltitlefont left "Sloth"
237 27 27| @t title smalltitlefont centre "Sloth"
238 28 28| @t title smalltitlefont right "Sloth"
239 29 29| @t title normalfont left "Sloth"
240 30 30| @t title normalfont centre "Sloth"
241 31 31| @t title normalfont right "Sloth"
242 32 32|
243 33 33| 6. Test misspelling of centre (Ross's revenge).
244 34 34| @t title normalfont center "Sloth"
245 Error|.........................^Expecting one of {left,right,centre}.
246 |.........................^Note: Centre is spelt centRE, not centER.
247 |.........................^ This is my revenge for years of getting error messages
248 |.........................^ from TeX whenever I accidentally wrote \centreline - Ross Williams.
249 |.........................^Directive ignored.
250 | <End-Of-File>
251 ------------+-------------------------------------------------------------------
252
253 There were 7 Errors.