Debian Codegraph @

debian/patches/doc-typos.patch

raw symbols SCIP
1 Description: Documentation fixes
2 Corrections in spelling in the blt documentation.
3 Author: Paul E. Johnson (Debian Packaging) <[email protected]>
4
5 --- a/man/barchart.mann
6 +++ b/man/barchart.mann
7 @@ -1954,7 +1954,7 @@
8 .TP
9 \fB\-fill \fIcolor\fR
10 Sets the background color of the line. This color is used with
11 -striped lines (see the \fB\-fdashes\R option). If \fIcolor\fR is
12 +striped lines (see the \fB\-fdashes\fR option). If \fIcolor\fR is
13 the empty string, no background color is drawn (the line will be
14 dashed, not striped). The default background color is \fB""\fR.
15 .TP
16 --- a/man/tree.mann
17 +++ b/man/tree.mann
18 @@ -393,7 +393,7 @@
19 Reverse the direction of the copy.
20 .TP
21 \fB\-tags\fR
22 -Copy tag inforation. Normally the following node is copied: its
23 +Copy tag information. Normally the following node is copied: its
24 label and data fields. This indicates to copy tags as well.
25 .RE
26 .TP
27 @@ -1804,7 +1804,7 @@
28 set nams {}
29 set vals {}
30 foreach nam $s(*) {
31 - lappend vals \$s($nam)
32 + lappend vals $s($nam)
33 lappend nams $nam
34 }
35 set vals [join $vals ,]
36 --- a/man/bitmap.mann
37 +++ b/man/bitmap.mann
38 @@ -82,9 +82,9 @@
39 Tk will recognize "gray1" as a bitmap which can now be used with any
40 widget that accepts bitmaps.
41 .CS
42 -.barchart element configure elem1 -stipple gray1
43 +\&.barchart element configure elem1 -stipple gray1
44 .CE
45 -The bitmap data can be specified in a mulitude of forms.
46 +The bitmap data can be specified in a multitude of forms.
47 The following commands are all equivalent.
48 .CS
49 bitmap define gray1 {
50 --- a/man/eps.mann
51 +++ b/man/eps.mann
52 @@ -55,7 +55,7 @@
53 .DE
54 The \fBeps\fR item creates a new canvas item. \fICanvas\fR is the name
55 of a \fBcanvas\fR widget. You must supply the X-Y coordinate of
56 -the new eps item. How the coordinate is exactly interpretered is
57 +the new eps item. How the coordinate is exactly interpreted is
58 controlled by the \fB\-anchor\fR option (see below).
59 .PP
60 Additional options may be specified on the command line to configure
61 --- a/man/tabset.mann
62 +++ b/man/tabset.mann
63 @@ -86,7 +86,7 @@
64 tabs and the sizes of the Tk widgets embedded inside each folder.
65 The widest widget determines the width of the folder. The tallest
66 determines the height. If no folders contain an embedded widget, the
67 -size is detemined solely by the size of the tabs.
68 +size is determined solely by the size of the tabs.
69 .PP
70 You can override either dimension with the tabset's \fB\-width\fR
71 and \fB\-height\fR options.
72 @@ -767,7 +767,7 @@
73 \fBcenter\fR.
74 .TP
75 \fB\-background \fIcolor\fR
76 -Sets the background color for \fInameOrIndex\fR. Setting this option overides the
77 +Sets the background color for \fInameOrIndex\fR. Setting this option overrides the
78 widget's \fB\-tabbackground\fR option.
79 .TP
80 \fB\-bindtags \fItagList\fR
81 --- a/man/hiertable.mann
82 +++ b/man/hiertable.mann
83 @@ -1395,7 +1395,7 @@
84 The default is \fBsingle\fR.
85 .TP
86 \fB\-separator \fIstring\fR
87 -Specifies the character sequence to use when spliting the path components.
88 +Specifies the character sequence to use when splitting the path components.
89 The separator may be several characters wide (such as "::")
90 Consecutive separators in a pathname are treated as one.
91 If \fIstring\fR is the empty string, the pathnames are Tcl lists.
92 --- a/man/treeview.mann
93 +++ b/man/treeview.mann
94 @@ -2037,7 +2037,7 @@
95 Set a tile background image to use for selection.
96 .TP
97 \fB\-separator \fIstring\fR
98 -Specifies the character sequence to use when spliting the path components.
99 +Specifies the character sequence to use when splitting the path components.
100 The separator may be several characters wide (such as "::")
101 Consecutive separators in a pathname are treated as one.
102 If \fIstring\fR is the empty string, the pathnames are Tcl lists.
103 --- a/man/hierbox.mann
104 +++ b/man/hierbox.mann
105 @@ -1395,7 +1395,7 @@
106 The default is \fBsingle\fR.
107 .TP
108 \fB\-separator \fIstring\fR
109 -Specifies the character sequence to use when spliting the path components.
110 +Specifies the character sequence to use when splitting the path components.
111 The separator may be several characters wide (such as "::")
112 Consecutive separators in a pathname are treated as one.
113 If \fIstring\fR is the empty string, the pathnames are Tcl lists.
114 --- a/man/container.mann
115 +++ b/man/container.mann
116 @@ -187,7 +187,7 @@
117 tabs and the sizes of the Tk widgets embedded inside each folder.
118 The widest widget determines the width of the folder. The tallest
119 determines the height. If no folders contain an embedded widget, the
120 -size is detemined solely by the size of the tabs.
121 +size is determined solely by the size of the tabs.
122 .PP
123 You can override either dimension with the container's \fB\-width\fR
124 and \fB\-height\fR options.
125 --- a/html/eps.html
126 +++ b/html/eps.html
127 @@ -15,10 +15,10 @@
128 create eps <I>x y </I></B></I>?<I>option value</I>?...
129 <H2><A NAME="sect2" HREF="#toc2">Description</A></H2>
130 The <B>eps</B> canvas item lets you place
131 -encapulated PostScript (EPS) on a canvas, controlling its size and placement.
132 +encapsulated PostScript (EPS) on a canvas, controlling its size and placement.
133 The EPS item is displayed either as a solid rectangle or a preview image.
134 The preview image is designated in one of two ways: 1) the EPS file contains
135 -an ASCII hexidecimal preview, or 2) a Tk photo image. When the canvas generates
136 +an ASCII hexadecimal preview, or 2) a Tk photo image. When the canvas generates
137 PostScript output, the EPS will be inserted with the proper translation
138 and scaling to match that of the EPS item. So can use the canvas widget
139 as a page layout tool.
140 @@ -39,7 +39,7 @@
141 <CODE><I>canvas <B>create eps <I>x y </I></B></I>?<I>option value</I>?...<BR>
142 </CODE><P>The <B>eps</B> item creates a new canvas item. <I>Canvas</I> is the name of a <B>canvas</B> widget.
143 You must supply the X-Y coordinate of the new eps item. How the coordinate
144 -is exactly interpretered is controlled by the <B>-anchor</B> option (see below).
145 +is exactly interpreted is controlled by the <B>-anchor</B> option (see below).
146 <P>
147 Additional options may be specified on the command line to configure aspects
148 of the eps item such as its color, stipple, and font. The following <I>option</I>
149 --- a/html/container.html
150 +++ b/html/container.html
151 @@ -136,7 +136,7 @@
152 size of the container window is determined the number of tiers of tabs
153 and the sizes of the Tk widgets embedded inside each folder. The widest
154 widget determines the width of the folder. The tallest determines the height.
155 - If no folders contain an embedded widget, the size is detemined solely
156 + If no folders contain an embedded widget, the size is determined solely
157 by the size of the tabs. <P>
158 You can override either dimension with the container's
159 <B>-width</B> and <B>-height</B> options.
160 --- a/html/hierbox.html
161 +++ b/html/hierbox.html
162 @@ -1446,7 +1446,7 @@
163
164 <DT><B>-separator <I>string</I></B> </DT>
165 <DD>Specifies the character sequence
166 -to use when spliting the path components. The separator may be several
167 +to use when splitting the path components. The separator may be several
168 characters wide (such as "::") Consecutive separators in a pathname are
169 treated as one. If <I>string</I> is the empty string, the pathnames are Tcl lists.
170 Each element is a path component. The default is <I>""</I>. </DD>
171 --- a/html/bitmap.html
172 +++ b/html/bitmap.html
173 @@ -58,7 +58,8 @@
174 label .l -bitmap gray1<BR>
175 </CODE><P>Tk will recognize "gray1" as a bitmap which can now be used with any widget
176 that accepts bitmaps. <BR>
177 -<CODE></CODE><P>The bitmap data can be specified in a mulitude of forms. The following commands
178 +<CODE>.barchart element configure elem1 -stipple gray1<BR>
179 +</CODE><P>The bitmap data can be specified in a multitude of forms. The following commands
180 are all equivalent. <BR>
181 <CODE>bitmap define gray1 {<BR>
182 #define gray1_width 2<BR>
183 @@ -128,7 +129,7 @@
184 <DD>Specifies the scale of
185 the bitmap. <I>Value</I> is a real number representing the scale. A scale of 1.0
186 indicates no scaling is necessary, while 2.0 would double the size of the
187 -bitmap. There is no way to specify differents scales for the width and
188 +bitmap. There is no way to specify different scales for the width and
189 height of the bitmap. The default scale is <I>1.0</I>. </DD>
190 </DL>
191 </blockquote>
192 @@ -161,7 +162,7 @@
193 <DT><B>-scale <I>value</I></B> </DT>
194 <DD>Specifies how to scale the bitmap. <I>Value</I> is a real number representing
195 the scale. A scale of 1.0 indicates no scaling is necessary, while 2.0 would
196 -double the size of the bitmap. There is no way to specify differents scales
197 +double the size of the bitmap. There is no way to specify different scales
198 for the width and height of the bitmap. The default scale is <I>1.0</I>. </DD>
199 </DL>
200 </blockquote>
201 --- a/html/tree.html
202 +++ b/html/tree.html
203 @@ -641,7 +641,7 @@
204 <P><DT><A NAME="M55"><B>-reverse</B></A><DD>
205 Reverse the direction of the copy.
206 <P><DT><A NAME="M56"><B>-tags</B></A><DD>
207 -Copy tag inforation. Normally the following node is copied: its
208 +Copy tag information. Normally the following node is copied: its
209 label and data fields. This indicates to copy tags as well.
210 <P></DL>
211 <P><DT><A NAME="M57"><I>treeName</I> <B>create</B> ?<I>switches</I>?</A><DD>
212 @@ -870,7 +870,7 @@
213 <P>
214 <DL class="tree operations">
215 <DT><A NAME="M120"><B>breadthfirst</B></A><DD>
216 -Process the node and the subtrees at each sucessive level. Each node
217 +Process the node and the subtrees at each successive level. Each node
218 on a level is processed before going to the next level.
219 <P><DT><A NAME="M121"><B>inorder</B></A><DD>
220 Recursively process the nodes of the first subtree, the node itself,
221 @@ -1587,7 +1587,7 @@
222 indicating the operations that are traced (it's in the same
223 form as <I>ops</I>) and, the command prefix.
224 <P><DT><A NAME="M267"><I>treeName</I> <B>trace names</B></A><DD>
225 -Returns a list of identifers for all the current traces.
226 +Returns a list of identifiers for all the current traces.
227 <P></DL>
228 <H3><A NAME="M268">NOTIFY OPERATIONS</A></H3>
229 Tree objects can be shared among many clients, such as a
230 @@ -1672,7 +1672,7 @@
231 It consists of the notify id, a sublist of event flags (it's in the same
232 form as <I>flags</I>) and, the command prefix.
233 <P><DT><A NAME="M283"><I>treeName</I> <B>notify names</B></A><DD>
234 -Returns a list of identifers for all the current notifiers.
235 +Returns a list of identifiers for all the current notifiers.
236
237 <P></DL>
238 <H3><A NAME="M284">TABLE EXAMPLE</A></H3>
239 --- a/html/spline.html
240 +++ b/html/spline.html
241 @@ -32,7 +32,7 @@
242 curve. Spline interpolation is the mathematical equivalent. The curves
243 between adjacent knots are piecewise functions such that the resulting
244 spline runs exactly through all the knots. The order and coefficients of
245 -the polynominal determine the "looseness" or "tightness" of the curve fit
246 +the polynomial determine the "looseness" or "tightness" of the curve fit
247 from the line segments formed by the knots. <P>
248 The <B>spline</B> command performs
249 spline interpolation using cubic ("natural") or quadratic polynomial functions.
250 @@ -87,7 +87,7 @@
251 .graph element create spline -x sx -y sy -color red<BR>
252 table . .graph<BR>
253 </CODE><P>The <B>natural</B> operation employs a cubic interpolant when forming the spline.
254 - In terms of the draftmen's spline, a <I>natural spline</I> requires the least
255 + In terms of the draftsmen's spline, a <I>natural spline</I> requires the least
256 amount of energy to bend the spline (strip of wood), while still passing
257 through each knot. In mathematical terms, the second derivatives of the
258 first and last points are zero. <P>
259 @@ -139,7 +139,7 @@
260 by D.F.Mcallister &amp; J.A.Roulier
261 Coded by S.L.Dodd &amp; M.Roulier N.C.State University.
262
263 -</PRE>The original code for the quadratric spline can be found in TOMS #574.
264 +</PRE>The original code for the quadratic spline can be found in TOMS #574.
265 <H2><A NAME="sect7" HREF="#toc7">Keywords</A></H2>
266 spline,
267 vector, graph <P>
268 --- a/html/bgexec.html
269 +++ b/html/bgexec.html
270 @@ -122,7 +122,7 @@
271 Specifies the encoding of the stderr channel. This affects only data returned
272 to the Tcl interpreter. No translation is done on file redirection. <BR>
273 For example if data is to be converted from Unicode for use in Tcl, you
274 -would use the "unicode" encoding. The default is that no tranlation is
275 +would use the "unicode" encoding. The default is that no translation is
276 performed. </DD>
277
278 <DT><B>-decodeoutput <I>encodingName</I></B> </DT>
279 @@ -130,7 +130,7 @@
280 Specifies the encoding of the stdout channels. This affects only data returned
281 to the Tcl interpreter. No translation is done on file redirection. <BR>
282 For example if data is to be converted from Unicode for use in Tcl, you
283 -would use the "unicode" encoding. The default is that no tranlation is
284 +would use the "unicode" encoding. The default is that no translation is
285 performed. </DD>
286
287 <DT><B>-error <I>varName</I></B> </DT>
288 @@ -234,7 +234,7 @@
289 <P>
290 </CODE><P>The biggest advantage of <B>bgexec</B> is that, unlike <B>fileevent</B>, it requires
291 no additional Tcl code to run a program. It's simpler and less error prone.
292 - You don't have to worry about non-blocking I/O. It's handled tranparently
293 + You don't have to worry about non-blocking I/O. It's handled transparently
294 for you. <P>
295 <B>Bgexec</B> runs programs that <B>fileevent</B> can not. <B>Fileevent</B> assumes that
296 the when stdout is closed the program has completed. But some programs,
297 --- a/html/table.html
298 +++ b/html/table.html
299 @@ -29,7 +29,7 @@
300 <B>table search <I>container</I></B> ?<I>switch arg</I>?...
301 <H2><A NAME="sect2" HREF="#toc2">Description</A></H2>
302 The <B>table</B> command
303 -arranges widgets in a table. The alignment of widgets is detemined by their
304 +arranges widgets in a table. The alignment of widgets is determined by their
305 row and column positions and the number of rows or columns that they span.
306
307 <H2><A NAME="sect3" HREF="#toc3">Introduction</A></H2>
308 @@ -241,7 +241,7 @@
309 of a widget. <I>Item</I> can be in any form describe in the <B>configure</B> operation
310 below. If no <I>item</I> argument is provided, then the configuration option is
311 for the table itself. <I>Option</I> may be any one of the options described in
312 -the appropiate section for <I>item</I>. </DD>
313 +the appropriate section for <I>item</I>. </DD>
314
315 <DT><B>table configure</B> <I>container item</I>... ?<I>option
316 value</I>?... </DT>
317 --- a/html/tabset.html
318 +++ b/html/tabset.html
319 @@ -241,7 +241,7 @@
320 tabs and the sizes of the Tk widgets embedded inside each folder.
321 The widest widget determines the width of the folder. The tallest
322 determines the height. If no folders contain an embedded widget, the
323 -size is detemined solely by the size of the tabs.
324 +size is determined solely by the size of the tabs.
325 <P>
326 You can override either dimension with the tabset's <B>-width</B>
327 and <B>-height</B> options.
328 @@ -762,7 +762,7 @@
329 be aligned with the leftmost edge of the folder. The default value is
330 <B>center</B>.
331 <P><DT><A NAME="M110"><B>-background </B><I>color</I></A><DD>
332 -Sets the background color for <I>nameOrIndex</I>. Setting this option overides the
333 +Sets the background color for <I>nameOrIndex</I>. Setting this option overrides the
334 widget's <B>-tabbackground</B> option.
335 <P><DT><A NAME="M111"><B>-bindtags </B><I>tagList</I></A><DD>
336 Specifies the binding tags for this tab. <I>TagList</I> is a list of
337 --- a/html/barchart.html
338 +++ b/html/barchart.html
339 @@ -332,7 +332,7 @@
340
341 <DT><B>-barwidth <I>value</I></B> </DT>
342 <DD>Specifies the width
343 -of the bars. This value can be overrided by the individual elements using
344 +of the bars. This value can be overridden by the individual elements using
345 their <B>-barwidth</B> configuration option. <I>Value</I> is the width in terms of graph
346 coordinates. The default width is <I>1.0</I>. </DD>
347
348 --- a/html/winop.html
349 +++ b/html/winop.html
350 @@ -51,7 +51,7 @@
351 <H2><A NAME="sect2" HREF="#toc2">Description</A></H2>
352 The <B>winop</B> command performs various window
353 and image operations on Tk windows using low-level Xlib function calls to
354 -work around window manager pecularities.
355 +work around window manager peculiarities.
356 <H2><A NAME="sect3" HREF="#toc3">Introduction</A></H2>
357 Tk has several commands
358 for manipulating its windows: <B>raise</B>, <B>lower</B>, <B>wm</B>, etc. These commands ask
359 --- a/man/stripchart.mann
360 +++ b/man/stripchart.mann
361 @@ -1,3 +1,4 @@
362 +'\"
363 '\" Copyright 1991-1997 by Bell Labs Innovations for Lucent Technologies.
364 '\"
365 '\" Permission to use, copy, modify, and distribute this software and its
366 @@ -2061,7 +2062,7 @@
367 terminates that script and skips any remaining scripts for the event,
368 just as for the bind command.
369 .sp
370 -The \fB\-bindtags\R option for these components controls addition
371 +The \fB\-bindtags\fR option for these components controls addition
372 tag names which can be matched. Implicitly elements and markers
373 always have tags matching their names. Setting the value of
374 the \fB\-bindtags\fR option doesn't change this.
375 @@ -2160,9 +2161,8 @@
376 .CS
377 # Works for now.
378 \&.s legend configure -mapped no
379 -
380 # Instead use this.
381 \&.s legend configure -hide yes
382 -.CE
383 +.CE
384 .SH KEYWORDS
385 stripchart, graph, widget
386 --- a/man/vector.mann
387 +++ b/man/vector.mann
388 @@ -1277,7 +1277,7 @@
389 .CS
390 #include <tcl.h>
391 #include <blt.h>
392 -...
393 +\&...
394 Blt_Vector *vecPtr;
395 double *newArr;
396 FILE *f;
397 --- a/man/Blt_TreeGetNode.man3
398 +++ b/man/Blt_TreeGetNode.man3
399 @@ -58,7 +58,7 @@
400 unsigned int number;
401 Blt_TreeNode node;
402 Blt_TreeToken token;
403 -...
404 +\&...
405 node = Blt_TreeGetNode(token, number);
406 if (node == NULL) {
407 printf("no node with ID %d exists\\n", number);