1 |
pva 14/06/08 19:49:07 |
2 |
|
3 |
Added: transfig-3.2.5e-fprintf_format_warnings.patch |
4 |
transfig-3.2.5e-typos.patch |
5 |
transfig-3.2.5e-man-hyphen.patch |
6 |
Log: |
7 |
Version bump, bug #487710, thank Martin Walch for report. |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key F1989B07) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 media-gfx/transfig/files/transfig-3.2.5e-fprintf_format_warnings.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/transfig/files/transfig-3.2.5e-fprintf_format_warnings.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/transfig/files/transfig-3.2.5e-fprintf_format_warnings.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: transfig-3.2.5e-fprintf_format_warnings.patch |
18 |
=================================================================== |
19 |
Author: Roland Rosenfeld <roland@××××××.org> |
20 |
Description: Add a format string to fprintf()/sprintf() call instead |
21 |
of directly printing out Err_Mem. This is needed by harding options. |
22 |
|
23 |
--- a/fig2dev/trans_spline.c |
24 |
+++ b/fig2dev/trans_spline.c |
25 |
@@ -648,7 +648,7 @@ |
26 |
F_control *cp; |
27 |
|
28 |
if ((cp = (F_control *) malloc(CONTROL_SIZE)) == NULL) |
29 |
- fprintf(stderr,Err_mem); |
30 |
+ fprintf(stderr, "%s", Err_mem); |
31 |
return cp; |
32 |
} |
33 |
|
34 |
@@ -659,7 +659,7 @@ |
35 |
F_line *l; |
36 |
|
37 |
if ((l = (F_line *) malloc(LINOBJ_SIZE)) == NULL) |
38 |
- fprintf(stderr,Err_mem); |
39 |
+ fprintf(stderr, "%s", Err_mem); |
40 |
l->pic = NULL; |
41 |
l->next = NULL; |
42 |
l->for_arrow = NULL; |
43 |
--- a/fig2dev/dev/gencgm.c |
44 |
+++ b/fig2dev/dev/gencgm.c |
45 |
@@ -139,7 +139,7 @@ |
46 |
|
47 |
if (from) { |
48 |
figname = malloc(strlen(from)+1); |
49 |
- sprintf(figname, from); |
50 |
+ sprintf(figname, "%s", from); |
51 |
p = strrchr(figname, '/'); |
52 |
if (p) |
53 |
figname = p+1; /* remove path from name for comment in file */ |
54 |
--- a/fig2dev/dev/genmp.c |
55 |
+++ b/fig2dev/dev/genmp.c |
56 |
@@ -1150,7 +1150,7 @@ |
57 |
} |
58 |
} else { |
59 |
/* special text in latex mode: just write the text. */ |
60 |
- fprintf(tfp, t->cstring); |
61 |
+ fprintf(tfp, "%s", t->cstring); |
62 |
} |
63 |
fprintf(tfp," etex;\n"); |
64 |
|
65 |
@@ -1164,7 +1164,7 @@ |
66 |
|
67 |
fprintf(tfp," picture q;\n"); |
68 |
fprintf(tfp," q=thelabel.urt(\""); |
69 |
- fprintf(tfp, t->cstring); |
70 |
+ fprintf(tfp, "%s", t->cstring); |
71 |
fprintf(tfp, "\" infont "); |
72 |
if (t->font<0) { |
73 |
fprintf(tfp, "defaultfont"); |
74 |
|
75 |
|
76 |
|
77 |
1.1 media-gfx/transfig/files/transfig-3.2.5e-typos.patch |
78 |
|
79 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/transfig/files/transfig-3.2.5e-typos.patch?rev=1.1&view=markup |
80 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/transfig/files/transfig-3.2.5e-typos.patch?rev=1.1&content-type=text/plain |
81 |
|
82 |
Index: transfig-3.2.5e-typos.patch |
83 |
=================================================================== |
84 |
Author: Roland Rosenfeld <roland@××××××.org> |
85 |
Description: Fix some spelling errors in the binaries |
86 |
|
87 |
--- a/fig2dev/dev/readgif.c |
88 |
+++ b/fig2dev/dev/readgif.c |
89 |
@@ -151,7 +151,7 @@ |
90 |
|
91 |
if (c == '!') { /* Extension */ |
92 |
if (! ReadOK(file,&c,1)) |
93 |
- fprintf(stderr,"GIF read error on extention function code\n"); |
94 |
+ fprintf(stderr,"GIF read error on extension function code\n"); |
95 |
(void) DoGIFextension(file, c); |
96 |
continue; |
97 |
} |
98 |
--- a/fig2dev/read.c |
99 |
+++ b/fig2dev/read.c |
100 |
@@ -109,7 +109,7 @@ |
101 |
/* Format error; relevant error message is already delivered */ |
102 |
} |
103 |
else |
104 |
- put_msg("File \"%s\" is not accessable; %s", file, strerror(err)); |
105 |
+ put_msg("File \"%s\" is not accessible; %s", file, strerror(err)); |
106 |
} |
107 |
|
108 |
/********************************************************** |
109 |
|
110 |
|
111 |
|
112 |
1.1 media-gfx/transfig/files/transfig-3.2.5e-man-hyphen.patch |
113 |
|
114 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/transfig/files/transfig-3.2.5e-man-hyphen.patch?rev=1.1&view=markup |
115 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/transfig/files/transfig-3.2.5e-man-hyphen.patch?rev=1.1&content-type=text/plain |
116 |
|
117 |
Index: transfig-3.2.5e-man-hyphen.patch |
118 |
=================================================================== |
119 |
Author: Roland Rosenfeld <roland@××××××.org> |
120 |
Description: Escape hyphen '-' in man pages |
121 |
|
122 |
--- a/doc/fig2dev.1 |
123 |
+++ b/doc/fig2dev.1 |
124 |
@@ -63,9 +63,9 @@ |
125 |
Notes: |
126 |
.br |
127 |
.I dvips |
128 |
-and |
129 |
+ and |
130 |
.I xdvi |
131 |
-must be compiled with the tpic support (-DTPIC) for epic, eepic and tpic to work. |
132 |
+must be compiled with the tpic support (\-DTPIC) for epic, eepic and tpic to work. |
133 |
.br |
134 |
You must have ghostscript and ps2pdf, which comes with the ghostscript distribution |
135 |
to get the pdf output and the bitmap formats (png, jpeg, etc.), and the netpbm (pbmplus) |
136 |
@@ -81,16 +81,16 @@ |
137 |
|
138 |
.TP |
139 |
.B "\-D +/-rangelist" |
140 |
-With +rangelist, keep only those depths in the list. With -rangelist, keep all |
141 |
+With +rangelist, keep only those depths in the list. With \-rangelist, keep all |
142 |
depths except those in the list. The rangelist may be a list of comma-separated |
143 |
-numbers or ranges separated by colon (:). For example, -D +10,40,55:70,80 |
144 |
+numbers or ranges separated by colon (:). For example, \-D +10,40,55:70,80 |
145 |
means keep only layers 10, 40, 55 \fBthrough\fR 70, and 80. |
146 |
|
147 |
.TP |
148 |
-.B -K |
149 |
-The selection of the depths with the '-D +/-rangelist' option does normally not |
150 |
+.B \-K |
151 |
+The selection of the depths with the '\-D +/\-rangelist' option does normally not |
152 |
affect the calcualtion of the bounding box. Thus the generated document might |
153 |
-have a much larger bounding box than necessary. If -K is given then the |
154 |
+have a much larger bounding box than necessary. If \-K is given then the |
155 |
bounding box is adjusted to include only those objects in the selected depths. |
156 |
|
157 |
.TP |
158 |
@@ -107,10 +107,10 @@ |
159 |
.TP |
160 |
.B "\-G minor[:major][:unit]" |
161 |
Draws a grid on the page. Specify thin, or thin and thick line |
162 |
-spacing in one of several units. For example, "-G .25:1cm" draws a thin, |
163 |
+spacing in one of several units. For example, "\-G .25:1cm" draws a thin, |
164 |
gray line every .25 cm and a thicker gray line every 1 cm. Specifying |
165 |
-"-G 1in" draws a thin line every 1 inch. |
166 |
-Fractions may be used, e.g. "-G 1/16:1/2in" will draw a thin line every |
167 |
+"\-G 1in" draws a thin line every 1 inch. |
168 |
+Fractions may be used, e.g. "\-G 1/16:1/2in" will draw a thin line every |
169 |
1/16 inch (0.0625 inch) and a thick line every 1/2 inch. |
170 |
.br |
171 |
Allowable units are: i, in, inch, f, ft, feet, c, cm, mm, and m. |
172 |
@@ -126,7 +126,7 @@ |
173 |
Set the magnification at which the figure is rendered to |
174 |
.I mag. |
175 |
The default is 1.0. |
176 |
-This may not be used with the maxdimension option (-Z). |
177 |
+This may not be used with the maxdimension option (\-Z). |
178 |
|
179 |
.TP |
180 |
.B "\-s size" |
181 |
@@ -141,7 +141,7 @@ |
182 |
.I maxdimension |
183 |
inches or cm, depending on whether the figure was saved with |
184 |
imperial or metric units. |
185 |
-This may not be used with the magnification option (-m). |
186 |
+This may not be used with the magnification option (\-m). |
187 |
|
188 |
.TP |
189 |
.I other options |
190 |
@@ -157,7 +157,7 @@ |
191 |
something that they won't do with EPS files that have an ASCII preview. |
192 |
.TP |
193 |
.B "\-b dummyarg" |
194 |
-Generate binary output (dummy argument required after the "-b"). |
195 |
+Generate binary output (dummy argument required after the "\-b"). |
196 |
|
197 |
.TP |
198 |
.B \-r |
199 |
@@ -335,7 +335,7 @@ |
200 |
file. |
201 |
The table must have 21 entries - one for each of the area fill patterns. |
202 |
Each entry consists of 5 numbers which specify the |
203 |
-1.) pattern number (-1 - 6), |
204 |
+1.) pattern number (\-1 - 6), |
205 |
2.) pattern length (inches), |
206 |
3.) fill type (1 - 5), |
207 |
4.) fill spacing (inches) and |
208 |
@@ -390,7 +390,7 @@ |
209 |
.TP |
210 |
.B \-F |
211 |
Use correct font sizes (points, 1/72 inch) instead of the traditional size that xfig/fig2dev uses, |
212 |
-which is (1/80 inch). The corresponding xfig command-line option is -correct_font_size. |
213 |
+which is (1/80 inch). The corresponding xfig command-line option is \-correct_font_size. |
214 |
|
215 |
.TP |
216 |
.B \-g color |
217 |
@@ -403,13 +403,13 @@ |
218 |
Convert all colors to grayscale. |
219 |
|
220 |
.TP |
221 |
-.B -S smoothfactor |
222 |
+.B \-S smoothfactor |
223 |
This will smooth the output by passing |
224 |
.I smoothfactor |
225 |
to ghostscript in the |
226 |
-.I -dTextAlphaBits |
227 |
+.I \-dTextAlphaBits |
228 |
and |
229 |
-.I -dGraphicsAlphaBits |
230 |
+.I \-dGraphicsAlphaBits |
231 |
options to improve font rendering and graphic smoothing. |
232 |
A value of 2 for |
233 |
.I smoothfactor |
234 |
@@ -418,7 +418,7 @@ |
235 |
.SH GIF OPTIONS |
236 |
|
237 |
.TP |
238 |
-.B -t color |
239 |
+.B \-t color |
240 |
Use |
241 |
.I color |
242 |
for the transparent color in the GIF file. This must be specified |
243 |
@@ -428,7 +428,7 @@ |
244 |
|
245 |
.SH JPEG OPTIONS |
246 |
.TP |
247 |
-.B -q image_quality |
248 |
+.B \-q image_quality |
249 |
use the integer value |
250 |
.I image_quality |
251 |
for the JPEG "Quality" factor. Valid values are 0-100, with the default being 75. |
252 |
@@ -495,7 +495,7 @@ |
253 |
.I fig2dev |
254 |
scales the figure by 1/8 before generating METAFONT code. |
255 |
The magnification can be further changed with the |
256 |
-.B -m |
257 |
+.B \-m |
258 |
option or by giving magnification options to |
259 |
.B mf. |
260 |
.LP |
261 |
@@ -506,33 +506,33 @@ |
262 |
under the subdirectory: graphics/mfpic |
263 |
|
264 |
.TP |
265 |
-.B -C code |
266 |
+.B \-C code |
267 |
specifies the starting METAFONT font code. The default is 32. |
268 |
.TP |
269 |
-.B -n name |
270 |
+.B \-n name |
271 |
specifies the name to use in the output file. |
272 |
.TP |
273 |
-.B -p pen_magnification |
274 |
+.B \-p pen_magnification |
275 |
specifies how much the line width should be magnified compared to the |
276 |
original figure. The default is 1. |
277 |
.TP |
278 |
-.B -t top |
279 |
+.B \-t top |
280 |
specifies the top of the whole coordinate system. The default is |
281 |
.B ypos. |
282 |
.TP |
283 |
-.B -x xmin |
284 |
+.B \-x xmin |
285 |
specifies the minimum x coordinate value of the figure (inches). The |
286 |
default is 0. |
287 |
.TP |
288 |
-.B -y ymin |
289 |
+.B \-y ymin |
290 |
specifies the minumum y coordinate value of the figure (inches). The |
291 |
default is 0. |
292 |
.TP |
293 |
-.B -X xmax |
294 |
+.B \-X xmax |
295 |
specifies the maximum x coordinate value of the figure (inches). The |
296 |
default is 8. |
297 |
.TP |
298 |
-.B -Y ymax |
299 |
+.B \-Y ymax |
300 |
specifies the maximum y coordinate value of the figure (inches). The |
301 |
default is 8. |
302 |
|
303 |
@@ -546,7 +546,7 @@ |
304 |
Include file content as additional header. |
305 |
|
306 |
.TP |
307 |
-.B -o |
308 |
+.B \-o |
309 |
Old mode (no latex). |
310 |
|
311 |
.TP |
312 |
@@ -597,15 +597,15 @@ |
313 |
Set encoding for latex text translation (0 no translation, 1 ISO-8859-1, 2 ISO-8859-2) |
314 |
|
315 |
.SH GBX OPTIONS (Gerber, RS-247-X) |
316 |
-Typically you will wish to set the y scale to -1. See |
317 |
-.B -g |
318 |
+Typically you will wish to set the y scale to \-1. See |
319 |
+.B \-g |
320 |
for more information. |
321 |
.TP |
322 |
-.B -d [mm|in] |
323 |
+.B \-d [mm|in] |
324 |
Output dimensions should be assumed to be millimeters (mm) or inches |
325 |
(in). The default is millimeters. |
326 |
.TP |
327 |
-.B -p [pos|neg] |
328 |
+.B \-p [pos|neg] |
329 |
Select the image polarity. For positive images lines drawn in the fig |
330 |
file will generate lines of material. For negative images lines drawn |
331 |
in the fig file will result in removed material. Consider etching a |
332 |
@@ -613,29 +613,29 @@ |
333 |
choosing 'neg' will result in these lines being etched through the |
334 |
chrome, leaving transparent lines. |
335 |
.TP |
336 |
-.B -g <x scale>x<y scale>+<x offset>+<y offset> |
337 |
+.B \-g <x scale>x<y scale>+<x offset>+<y offset> |
338 |
This controls the geometry of the output, scaling the dimensions as |
339 |
shown and applying the given offset. Typically you will wish to set |
340 |
-the y scale to -1, mirroring about the x axis. This is because Gerber |
341 |
+the y scale to \-1, mirroring about the x axis. This is because Gerber |
342 |
assumes the origin to be bottom left, while xfig selects top left. |
343 |
.TP |
344 |
-.B -f <n digits>.<n digits> |
345 |
+.B \-f <n digits>.<n digits> |
346 |
This controls the number of digits of precision before and after the |
347 |
-implied decimal point. With -f 5.3 the following number 12345678 |
348 |
-corresponds to 12345.678. Whereas with -f 3.5 it corresponds to |
349 |
+implied decimal point. With \-f 5.3 the following number 12345678 |
350 |
+corresponds to 12345.678. Whereas with \-f 3.5 it corresponds to |
351 |
123.45678. The default is for 3 places before the decimal point and 5 |
352 |
after. This corresponds, to a range of 0 to 1m in 10 micron |
353 |
increments. |
354 |
.TP |
355 |
-.B -i [on|off] |
356 |
+.B \-i [on|off] |
357 |
Controls the output of comments describing the type of objects being |
358 |
output. The text appears as comments starting with ## on each line in |
359 |
the output file. By default this is on. |
360 |
|
361 |
.SH POSTSCRIPT, ENCAPSULATED POSTSCRIPT (EPS), and PDF OPTIONS |
362 |
With PostScript, xfig can be used to create multiple page figures |
363 |
-Specify the -M option to produce a multi-page output. |
364 |
-For posters, add -O to overlap the pages slightly to get around the problem of |
365 |
+Specify the \-M option to produce a multi-page output. |
366 |
+For posters, add \-O to overlap the pages slightly to get around the problem of |
367 |
the unprintable area in most printers, then cut and paste the pages together. |
368 |
Due to memory limitations of most laser printers, the figure should not |
369 |
have large imported images (bitmaps). Great for text with very big letters. |
370 |
@@ -658,7 +658,7 @@ |
371 |
.LP |
372 |
The EPS driver has the following two special options: |
373 |
.TP |
374 |
-.B -B 'Wx [Wy X0 Y0]' |
375 |
+.B \-B 'Wx [Wy X0 Y0]' |
376 |
This specifies that the bounding box of the EPS file should have the |
377 |
width Wx and the height Wy. |
378 |
Note that it doesn't scale the figure to this size, it merely sets the bounding box. |
379 |
@@ -667,13 +667,13 @@ |
380 |
screen (0,0) (upper-left). |
381 |
Wx, Wy, X0 and Y0 are interpreted in centimeters or inches depending on the measure |
382 |
given in the fig-file. |
383 |
-Remember to put either quotes (") or apostrophes (') to group the arguments to -B. |
384 |
+Remember to put either quotes (") or apostrophes (') to group the arguments to \-B. |
385 |
.TP |
386 |
-.B -R 'Wx [Wy X0 Y0]' |
387 |
-Same as the -B option except that X0 and Y0 is relative to the lower |
388 |
+.B \-R 'Wx [Wy X0 Y0]' |
389 |
+Same as the \-B option except that X0 and Y0 is relative to the lower |
390 |
left corner of the |
391 |
.B figure. |
392 |
-Remember to put either quotes (") or apostrophes (') to group the arguments to -R. |
393 |
+Remember to put either quotes (") or apostrophes (') to group the arguments to \-R. |
394 |
.LP |
395 |
The PDF driver uses all the PostScript options. |
396 |
.LP |
397 |
@@ -697,106 +697,106 @@ |
398 |
In addition, there are 16 patterns such as bricks, diagonal lines, |
399 |
crosshatch, etc. |
400 |
.TP |
401 |
-.B -A |
402 |
+.B \-A |
403 |
Add an ASCII (EPSI) preview. |
404 |
.TP |
405 |
-.B -b borderwidth |
406 |
+.B \-b borderwidth |
407 |
Make blank border around figure of width |
408 |
.I borderwidth. |
409 |
.br |
410 |
-Not availble in EPS. |
411 |
+Not available in EPS. |
412 |
|
413 |
.TP |
414 |
-.B -C dummy_arg |
415 |
+.B \-C dummy_arg |
416 |
Add a color *binary* TIFF preview for Microsoft products that need a binary preview. |
417 |
-See also -T (monochrome preview). A dummy argument must be supplied for historical reasons. |
418 |
+See also \-T (monochrome preview). A dummy argument must be supplied for historical reasons. |
419 |
.TP |
420 |
-.B -c |
421 |
+.B \-c |
422 |
option centers the figure on the page. |
423 |
The centering may not be accurate if there are texts in the |
424 |
.I fig_file |
425 |
that extends too far to the right of other objects. |
426 |
.TP |
427 |
-.B -e |
428 |
+.B \-e |
429 |
option puts the figure against the edge (not centered) of the page. |
430 |
-Not availble in EPS. |
431 |
+Not available in EPS. |
432 |
|
433 |
.TP |
434 |
-.B -F |
435 |
+.B \-F |
436 |
Use correct font sizes (points) instead of the traditional size that xfig/fig2dev uses, |
437 |
-which is 1/80 inch. The corresponding xfig command-line option is -correct_font_size. |
438 |
+which is 1/80 inch. The corresponding xfig command-line option is \-correct_font_size. |
439 |
|
440 |
.TP |
441 |
-.B -g color |
442 |
+.B \-g color |
443 |
Use |
444 |
.I color |
445 |
for the background. |
446 |
.TP |
447 |
-.B -l dummy_arg |
448 |
+.B \-l dummy_arg |
449 |
Generate figure in landscape mode. The dummy argument is ignored, |
450 |
but must appear on the command line for reasons of compatibility. |
451 |
This option will override the orientation specification in the |
452 |
file (for file versions 3.0 and higher). |
453 |
.br |
454 |
-Not availble in EPS. |
455 |
+Not available in EPS. |
456 |
.TP |
457 |
-.B -M |
458 |
+.B \-M |
459 |
Generate multiple pages if figure exceeds paper size. |
460 |
.br |
461 |
-Not availble in EPS. |
462 |
+Not available in EPS. |
463 |
.TP |
464 |
.B \-N |
465 |
Convert all colors to grayscale. |
466 |
|
467 |
.TP |
468 |
-.B -n name |
469 |
+.B \-n name |
470 |
Set the Title part of the PostScript output to |
471 |
.I name. |
472 |
This is useful when the input to |
473 |
.I fig2dev |
474 |
comes from standard input. |
475 |
.TP |
476 |
-.B -O |
477 |
+.B \-O |
478 |
When used with \fB-M\fR, |
479 |
overlaps the pages slightly to get around the problem of |
480 |
the unprintable area in most printers. |
481 |
.br |
482 |
-Not availble in EPS. |
483 |
+Not available in EPS. |
484 |
.TP |
485 |
-.B -p dummy_arg |
486 |
+.B \-p dummy_arg |
487 |
Generate figure in portrait mode. The dummy argument is ignored, |
488 |
but must appear on the command line for reasons of compatibility. |
489 |
This option will override the orientation specification in the |
490 |
file (for file versions 3.0 and higher). |
491 |
This is the default for Fig files of version 2.1 or lower. |
492 |
.br |
493 |
-Not availble in EPS. |
494 |
+Not available in EPS. |
495 |
|
496 |
.TP |
497 |
-.B -T |
498 |
+.B \-T |
499 |
Add a monochrome *binary* TIFF preview for Microsoft products that need a binary preview. |
500 |
-See also -C (color preview). |
501 |
+See also \-C (color preview). |
502 |
.TP |
503 |
.TP |
504 |
-.B -x offset |
505 |
+.B \-x offset |
506 |
shift the figure in the X direction by |
507 |
.I offset |
508 |
units (1/72 inch). |
509 |
A negative value shifts the figure to the left and a positive value to the right. |
510 |
.br |
511 |
-Not availble in EPS. |
512 |
+Not available in EPS. |
513 |
.TP |
514 |
-.B -y offset |
515 |
+.B \-y offset |
516 |
shift the figure in the Y direction by |
517 |
.I offset |
518 |
units (1/72 inch). |
519 |
A negative value shifts the figure up and a positive value down. |
520 |
.br |
521 |
-Not availble in EPS. |
522 |
+Not available in EPS. |
523 |
.TP |
524 |
-.B -z papersize |
525 |
+.B \-z papersize |
526 |
Sets the papersize. |
527 |
-Not availble in EPS. |
528 |
+Not available in EPS. |
529 |
.br |
530 |
Available paper sizes are: |
531 |
.nf |
532 |
@@ -839,17 +839,17 @@ |
533 |
special text. |
534 |
|
535 |
.TP |
536 |
-.B -F |
537 |
+.B \-F |
538 |
Use correct font sizes (points) instead of the traditional size that xfig/fig2dev uses, |
539 |
-which is 1/80 inch. The corresponding xfig command-line option is -correct_font_size. |
540 |
+which is 1/80 inch. The corresponding xfig command-line option is \-correct_font_size. |
541 |
|
542 |
.TP |
543 |
-.B -g color |
544 |
+.B \-g color |
545 |
Use |
546 |
.I color |
547 |
for the background. |
548 |
.TP |
549 |
-.B -n name |
550 |
+.B \-n name |
551 |
sets the Title part of the PostScript output to |
552 |
.I name. |
553 |
This is useful when the input to |
554 |
@@ -876,7 +876,7 @@ |
555 |
LaTeX document. With this option on, you can set the font from your LaTeX |
556 |
document (like "\fB\\sfshape \\input picture.eepic\fR"). |
557 |
.TP |
558 |
-.B -p file |
559 |
+.B \-p file |
560 |
specifies the name of the PostScript file to be overlaid. |
561 |
If not set or its value is null then no PS file will be inserted. |
562 |
|
563 |
@@ -977,7 +977,7 @@ |
564 |
.TP |
565 |
.B \-P |
566 |
Shorthand for |
567 |
-.B -n 3 |
568 |
+.B \-n 3 |
569 |
. |
570 |
|
571 |
.TP |
572 |
@@ -992,7 +992,7 @@ |
573 |
directory! Don't put your stuff here. The |
574 |
.B includegraphics |
575 |
commands in the output file refer to this directory. Even |
576 |
-if the -p option is not used, |
577 |
+if the \-p option is not used, |
578 |
.B includegrpahics |
579 |
commands follow this convention with the default directory |
580 |
.I "\./eps". |
581 |
@@ -1064,26 +1064,26 @@ |
582 |
|
583 |
.SH TK and PTK OPTIONS (tcl/tk and Perl/tk) |
584 |
.TP |
585 |
-.B -l dummy_arg |
586 |
+.B \-l dummy_arg |
587 |
Generate figure in landscape mode. The dummy argument is ignored, |
588 |
but must appear on the command line for reasons of compatibility. |
589 |
This option will override the orientation specification in the |
590 |
file (for file versions 3.0 and higher). |
591 |
.TP |
592 |
-.B -p dummy_arg |
593 |
+.B \-p dummy_arg |
594 |
Generate figure in portrait mode. The dummy argument is ignored, |
595 |
but must appear on the command line for reasons of compatibility. |
596 |
This option will override the orientation specification in the |
597 |
file (for file versions 3.0 and higher). |
598 |
This is the default for Fig files of version 2.1 or lower. |
599 |
.TP |
600 |
-.B -P |
601 |
+.B \-P |
602 |
Generate canvas of full page size instead of using the bounding box |
603 |
of the figure's objects. The default is to use only the bounding box. |
604 |
.TP |
605 |
-.B -z papersize |
606 |
+.B \-z papersize |
607 |
Sets the papersize. See the POSTSCRIPT OPTIONS for available paper sizes. |
608 |
-This is only used when the -P option (use full page) is used. |
609 |
+This is only used when the \-P option (use full page) is used. |
610 |
|
611 |
.SH "SEE ALSO" |
612 |
[x]fig(1), |
613 |
--- a/doc/transfig.1 |
614 |
+++ b/doc/transfig.1 |
615 |
@@ -3,11 +3,11 @@ |
616 |
transfig \- creates a makefile for portable LaTeX figures |
617 |
.SH SYNOPSIS |
618 |
.B transfig |
619 |
-[ -L \fIlanguage\fR ] |
620 |
-[ -M \fImakefile\fR ] |
621 |
-[ -T \fItexfile\fR ] |
622 |
-[ -I \fImacrofile\fR ] |
623 |
-[ -V ] |
624 |
+[ \-L \fIlanguage\fR ] |
625 |
+[ \-M \fImakefile\fR ] |
626 |
+[ \-T \fItexfile\fR ] |
627 |
+[ \-I \fImacrofile\fR ] |
628 |
+[ \-V ] |
629 |
[ \fIcontrol_specs\fR figfile ... ] |
630 |
.SH DESCRIPTION |
631 |
.I Transfig |
632 |
@@ -76,13 +76,13 @@ |
633 |
is the default. |
634 |
.PP |
635 |
The names of the makefile and TeX macro file can be set with the |
636 |
--M and -T options. |
637 |
+\-M and \-T options. |
638 |
The default names are "Makefile" and "transfig.tex", respectively. |
639 |
If there is already an existing \fImakefile\fR in the directory, transfig |
640 |
first renames it to \fImakefile~\fR. The same holds for any existing TeX macro file. |
641 |
-If the -I option is specified, then a command to read in \fImacrofile\fR is |
642 |
+If the \-I option is specified, then a command to read in \fImacrofile\fR is |
643 |
inserted into the TeX macro file. |
644 |
-If the -V option is specified, the program version number is printed only. |
645 |
+If the \-V option is specified, the program version number is printed only. |
646 |
.PP |
647 |
Control specifiers are |
648 |
.TP |