1FIG2DEV(1)                  General Commands Manual                 FIG2DEV(1)
2
3
4

NAME

6       fig2dev - translates Fig code to various graphics languages
7
8

SYNOPSIS

10       fig2dev -L language [ -m mag ] [ -f font ] [ -s fsize ] [ other options
11       ] [ fig-file [ out-file ] ]
12
13

DESCRIPTION

15       Fig2dev translates fig code in the named fig-file  into  the  specified
16       graphics  language and puts them in out-file.  The default fig-file and
17       out-file are standard input and standard output, respectively
18
19       Xfig (Facility for Interactive Generation of figures) is a  screen-ori‐
20       ented tool which runs under the X Window System, and allows the user to
21       draw and manipulate objects interactively.  This version of fig2dev  is
22       compatible with xfig versions 1.3, 1.4, 2.0, 2.1, 3.0, 3.1 and 3.2.
23
24       Xfig version 3.2.3 and later saves and allows the user to edit comments
25       for each Fig object.  These comments are output  with  several  of  the
26       output  languages,  such  as  PostScript,  CGM,  EMF,  LaTeX, MetaFont,
27       PicTeX, (as % comments), tk (as # comments), and pic (as .\" comments).
28
29

GENERAL OPTIONS (all drivers)

31       -L language
32              Set the output graphics language.  Valid languages are box, cgm,
33              epic,  eepic,  eepicemu,  emf, eps, gif, ibmgl, jpeg, latex, map
34              (HTML image map), mf (MetaFont), mp (MetaPost), mmp (Multi-Meta‐
35              Post),  pcx,  pdf,  pdftex, pdftex_t, pic, pictex, png, ppm, ps,
36              pstex, pstex_t, ptk (Perl/tk), shape (LaTeX shaped  paragraphs),
37              sld  (AutoCad slide format), svg (beta driver), textyl, tiff, tk
38              (tcl/tk), tpic, xbm and xpm.
39
40              Notes:
41              dvips and xdvi must be compiled with the tpic  support  (-DTPIC)
42              for epic, eepic and tpic to work.
43              You  must  have  ghostscript  and  ps2pdf,  which comes with the
44              ghostscript distribution to get the pdf output  and  the  bitmap
45              formats  (png,  jpeg, etc.), and the netpbm (pbmplus) package to
46              get gif, xbm, xpm, and sld output.
47
48
49       -h     Print help message with all options  for  all  output  languages
50              then exit.
51
52
53       -V     Print the program version number and exit.
54
55
56       -D +/-rangelist
57              With  +rangelist,  keep  only  those  depths  in the list.  With
58              -rangelist, keep all depths except those in the list. The range‐
59              list  may  be  a list of comma-separated numbers or ranges sepa‐
60              rated by colon (:). For example, -D +10,40,55:70,80  means  keep
61              only layers 10, 40, 55 through 70, and 80.
62
63
64       -K     The  selection  of  the depths with the '-D +/-rangelist' option
65              does normally not affect the calcualtion of  the  bounding  box.
66              Thus  the  generated  document might have a much larger bounding
67              box than necessary. If -K is given  then  the  bounding  box  is
68              adjusted to include only those objects in the selected depths.
69
70
71       -f font
72              Set the default font used for text objects to font.  The default
73              is Roman; the format of this option depends on the graphics lan‐
74              guage  in  use.  In TeX-based languages, the font is the base of
75              the name given in lfonts.tex, for instance "cmr" for  Roman,  or
76              "tt"  for teletype.  In PostScript, it is any font name known to
77              the printer or interpreter.
78
79
80       -G minor[:major][:unit]
81              Draws a grid on the page.  Specify thin, or thin and thick  line
82              spacing  in  one  of  several  units.  For example, "-G .25:1cm"
83              draws a thin, gray line every .25 cm and  a  thicker  gray  line
84              every 1 cm.  Specifying "-G 1in" draws a thin line every 1 inch.
85              Fractions may be used, e.g. "-G 1/16:1/2in"  will  draw  a  thin
86              line  every  1/16  inch (0.0625 inch) and a thick line every 1/2
87              inch.
88              Allowable units are: i, in, inch, f, ft, feet, c, cm, mm, and m.
89              Only allowed for PostScript, EPS, PDF, and  bitmap  (GIF,  JPEG,
90              etc) drivers for now.
91
92
93       -j     Enable the I18N internationalization facility.
94
95
96       -m mag Set  the  magnification  at which the figure is rendered to mag.
97              The default is 1.0.  This may not be used with the  maxdimension
98              option (-Z).
99
100
101       -s size
102              Set the default font size (in points) for text objects to fsize.
103              The default is 11*mag, and thus is scaled by the -m option.   If
104              there is no scaling, the default font is eleven point Roman."
105
106
107       -Z maxdimension
108              Scale the figure so that the maximum dimension (width or height)
109              is maxdimension inches or cm, depending on  whether  the  figure
110              was  saved  with imperial or metric units.  This may not be used
111              with the magnification option (-m).
112
113
114       other options
115              The other options are specific to the choice  of  graphics  lan‐
116              guage, as described below.
117
118

CGM OPTIONS

120       CGM  is  Computer Graphics Metafile, developed by ISO and ANSI and is a
121       vector-based plus bitmap  language.   Microsoft  WORD,  PowerPoint  and
122       probably  other  products  can import this format and display it on the
123       screen, something that they won't do with EPS files that have an  ASCII
124       preview.
125
126       -b dummyarg
127              Generate binary output (dummy argument required after the "-b").
128
129
130       -r     Position  arrowheads for CGM viewers that display rounded arrow‐
131              heads.  Normally, arrowheads are pointed, so fig2dev compensates
132              for  this  by moving the endpoint of the line back so the tip of
133              the arrowhead ends where the original endpoint of the line  was.
134              If  the  -r  option  is used, the position of arrows will NOT be
135              corrected for  compensating  line  width  effects,  because  the
136              rounded  arrowhead  doesn't  extend  beyond  the endpoint of the
137              line.
138
139

EMF OPTIONS

141       EMF is Enhanced Metafile, developed by Microsoft and is a  vector-based
142       plus  bitmap  language.   Microsoft WORD, PowerPoint and probably other
143       products can import this format and display it on the screen, something
144       that they won't do with EPS files that have an ASCII preview.
145
146

EPIC OPTIONS

148       EPIC  is  an  enhancement to LaTeX picture drawing environment.  It was
149       developed by Sunil Podar of Department of Computer Science  in  S.U.N.Y
150       at Stony Brook.
151
152       EEPIC  is  an  extension  to EPIC and LaTeX picture drawing environment
153       which uses tpic specials as a graphics mechanism.  It  was  written  by
154       Conrad  Kwok  of Division of Computer Science at University of Califor‐
155       nia, Davis.
156
157       EEPIC-EMU is an EEPIC emulation package which does not  use  tpic  spe‐
158       cials.
159
160
161       -A factor
162              Scale  arrowheads by factor.  The width and height of arrowheads
163              is divided by this factor.  This is because EPIC arrowheads  are
164              normally about double the size of TeX arrowheads.
165
166
167       -E num Set encoding for text translation (0 = none, 1 = ISO-8859-1, 2 =
168              ISO-8859-2)
169
170
171       -F     Don't set the font face, series, and style; only set  it's  size
172              and the baselineskip. By default, fig2dev sets all 5 font param‐
173              eters when it puts some text. The disadvantage is that you can't
174              set  the font from your LaTeX document. With this option on, you
175              can set the font from your LaTeX document (like "\sfshape \input
176              picture.eepic").
177
178              If  any of the pictures included in your LaTeX document has been
179              generated with -F, then all pictures must be generated with this
180              option.
181
182              This option can be used only when fig2dev was compiled with NFSS
183              defined.
184
185
186       -l width
187              Use "\thicklines" when width of the line is wider  than  lwidth.
188              The default is 2.
189
190
191       -P     Generate  a complete LaTeX file. In other words, the output file
192              can be formatted without requiring any changes.  The  additional
193              text  inserted  in  the  beginning and at the end of the file is
194              controlled by the configuration parameter "Preamble" and  "Post‐
195              amble".
196
197
198       -R     Allow  rotated text. Rotated text will be set using the \rotate‐
199              box command.  So, you will need to  include  "\usepackage{graph‐
200              ics}" in the preamble of your LaTeX document.
201
202              If  this  option is not set, then rotated text will be set hori‐
203              zontally.
204
205
206
207       -S scale
208              Set the scale to which the  figure  is  rendered.   This  option
209              automatically  sets the magnification and size to scale / 12 and
210              scale respectively.
211
212
213       -t stretch
214              Set the stretch factor of dashed lines to sretch.   The  default
215              is 30.
216
217
218       -v     Include comments in the output file.
219
220
221       -W     Enable  variable  line  width.  By default, only two line widths
222              are available: The normal line width (hinlines), and thick lines
223              (hicklines),  if  a  line  width of more than one is selected in
224              xfig.
225
226
227       -w     Disable variable line width. Only "\thicklines"  and/or  "\thin‐
228              lines" commands will be generated in the output file.
229
230              When variable line width option is enabled, "\thinlines" command
231              is still used when line width is less than LineThick. One poten‐
232              tial  problem is that the width of "\thinlines" is 0.4pt but the
233              resolution of Fig is 1/80 inch (approx. 1pt).  If  LineThick  is
234              set to 2, normal lines will be drawn in 0.4pt wide lines but the
235              next line width is already 2pt. One possible solution is to  set
236              LineThick  to 1 and set the width of the those lines you want to
237              be drawn in "\thinlines"  to 0.
238
239              Due to this problem, Variable line width VarWidth  is  defaulted
240              to be false.
241
242
243

IBM-GL (HP/GL) OPTIONS

245       IBM-GL  (IBM  Graphics  Language)  is  compatible  with HP-GL (Hewlett-
246       Packard Graphics Language).
247
248
249       -a     Select ISO A4 (ANSI A) paper size if the default is ANSI A  (ISO
250              A4) paper size.
251
252
253       -c     Generate  instructions for an IBM 6180 Color Plotter with (with‐
254              out) an IBM Graphics Enhancement Cartridge (IBM-GEC).
255
256
257       -d xll,yll,xur,yur
258              Restrict plotting to a rectangular area  of  the  plotter  paper
259              which  has  a  lower  left  hand corner at (xll,yll) and a upper
260              right hand corner at (xur,yur).  All four numbers are in  inches
261              and  follow -d in a comma-sparated list - xll,yll,xur,yur - with
262              no spaces between them.
263
264
265       -f file
266              Load text character specifications from the table in  the  fonts
267              file.  The table must have 36 entries - one for each font plus a
268              default.  Each entry consists of 5 numbers which specify the 1.)
269              standard  character  set  (0 - 4, 6 - 9, 30 - 39), 2.) alternate
270              character set (0 - 4, 6 - 9, 30 - 39), 3.) character slant angle
271              (degrees),  4.)  character  width scale factor and 5.) character
272              height scale factor.
273
274
275       -k     Precede output with PCL command to use HP/GL
276
277
278       -l pattfile
279              Load area fill line patterns from  the  table  in  the  pattfile
280              file.  The table must have 21 entries - one for each of the area
281              fill patterns.  Each entry consists of 5 numbers  which  specify
282              the  1.)  pattern  number (-1 - 6), 2.) pattern length (inches),
283              3.) fill type (1 - 5), 4.) fill spacing (inches)  and  5.)  fill
284              angle (degrees).
285
286
287       -m mag,x0,y0
288              The  magnification  may  appear  as the first element in a comma
289              separated list - mag,x0,y0 - where the second and third  parame‐
290              ters specify an offset in inches.
291
292
293       -P     Rotate  the  figure  to  portrait mode. The default is landscape
294              mode.
295
296
297       -p penfile
298              Load plotter pen specifications from the table  in  the  penfile
299              file.  The table must have 9 entries - one for each color plus a
300              default.  Each entry consists of 2 numbers which specify the 1.)
301              pen number (1 - 8) and 2.) pen thickness (millimeters).
302
303
304       -S speed
305              Set the pen speed to speed (centimeters/second).
306
307
308       -v     Plot  the  figure  upside-down  in portrait mode or backwards in
309              landscape mode.  This allows you to write on the top surface  of
310              overhead  transparencies  without  disturbing the plotter ink on
311              the bottom surface.
312
313       Fig2dev may be installed with either ANSI A or  ISO  A4  default  paper
314       size.   The  -a  option selects the alternate paper size.  Fig2dev does
315       not fill closed splines.  The IBM-GEC is required to fill  other  poly‐
316       gons.   Fig2dev  may be installed for plotters with or without the IBM-
317       GEC.  The -c option selects the alternate instruction set.
318
319

OPTIONS COMMON TO ALL BITMAP FORMATS

321       -b borderwidth
322              Make blank border around figure of width borderwidth.
323
324
325       -F     Use correct font sizes (points, 1/72 inch) instead of the tradi‐
326              tional  size  that xfig/fig2dev uses, which is (1/80 inch).  The
327              corresponding xfig command-line option is -correct_font_size.
328
329
330       -g color
331              Use color for the background.
332
333
334       -N     Convert all colors to grayscale.
335
336
337       -S smoothfactor
338              This will smooth the output by passing  smoothfactor  to  ghost‐
339              script in the -dTextAlphaBits and -dGraphicsAlphaBits options to
340              improve font rendering and graphic smoothing.  A value of 2  for
341              smoothfactor provides some smoothing and 4 provides more.
342
343

GIF OPTIONS

345       -t color
346              Use  color for the transparent color in the GIF file.  This must
347              be specified in the same format that ppmmake(1) allows.  It  may
348              allow  an  X11  color name, but at least you may use a six-digit
349              hexadecimal RGBvalue using the # sign, e.g. #ff0000 (Red).
350
351

JPEG OPTIONS

353       -q image_quality
354              use the integer value image_quality for the JPEG "Quality"  fac‐
355              tor.  Valid values are 0-100, with the default being 75.
356
357
358

LATEX OPTIONS

360       -d dmag
361              Set  a  separate  magnification for the length of line dashes to
362              dmag.
363
364
365       -E num Set encoding for latex text translation  (0  no  translation,  1
366              ISO-8859-1, 2 ISO-8859-2)
367
368
369       -l lwidth
370              Sets  the threshold between LaTeX thin and thick lines to lwidth
371              pixels.  LaTeX supports only two different  line  width:  \thin‐
372              lines  and \thicklines.  Lines of width greater than lwidth pix‐
373              els are drawn as \thicklines.  Also affects the size of dots  in
374              dotted line style.  The default is 1.
375
376       -v     Verbose mode.
377
378       LaTeX cannot accurately represent all the graphics objects which can be
379       described by Fig.  For example, the possible  slopes  which  lines  may
380       have are limited.  Some objects, such as spline curves, cannot be drawn
381       at all.  Fig2latex chooses the closest possible line slope, and  prints
382       error messages when objects cannot be drawn accurately
383
384

MAP (HTML image map) OPTIONS

386       Xfig version 3.2.3 and later saves and allows the user to edit comments
387       for each Fig object.  The fig2dev map output language will  produce  an
388       HTML  image  map using Fig objects that have href="some_html_reference"
389       in their comments.  Any Fig object except compound objects may used for
390       this.   Usually, besides generating the map file, you would also gener‐
391       ate a GIF file, which is the image to which the map refers.
392
393       For example, you may have an xfig drawing with an imported  image  that
394       has  the  comment  href="go_here.html"  and a box object with a comment
395       href="go_away.html".  This will produce an image map file such the user
396       may  click  on  the  image and the browser will load the "go_here.html"
397       page, or click on the box and the browser will load the  "go_away.html"
398       page.
399
400       After  the map file is generated by fig2dev you will need to edit it to
401       fill out any additional information it may need.
402
403       -b borderwidth
404              Make blank border around figure of width borderwidth.
405
406
407

METAFONT OPTIONS

409       fig2dev scales the figure by 1/8 before generating METAFONT code.   The
410       magnification  can  be  further changed with the -m option or by giving
411       magnification options to mf.
412
413       In order to process the generated METAFONT code, the mfpic macros  must
414       be  installed where mf can find them. The mfpic macro package is avail‐
415       able at any CTAN cite under the subdirectory: graphics/mfpic
416
417
418       -C code
419              specifies the starting METAFONT font code. The default is 32.
420
421       -n name
422              specifies the name to use in the output file.
423
424       -p pen_magnification
425              specifies how much the line width should be  magnified  compared
426              to the original figure. The default is 1.
427
428       -t top specifies the top of the whole coordinate system. The default is
429              ypos.
430
431       -x xmin
432              specifies the minimum x coordinate value of the figure (inches).
433              The default is 0.
434
435       -y ymin
436              specifies the minumum y coordinate value of the figure (inches).
437              The default is 0.
438
439       -X xmax
440              specifies the maximum x coordinate value of the figure (inches).
441              The default is 8.
442
443       -Y ymax
444              specifies the maximum y coordinate value of the figure (inches).
445              The default is 8.
446
447

METAPOST OPTIONS

449       -i file
450              Include file content via \input-command.
451
452
453       -I file
454              Include file content as additional header.
455
456
457       -o     Old mode (no latex).
458
459
460       -p number
461              Adds the line "prologues:=number" to the output.
462
463
464

PIC OPTIONS

466       -p ext Enables the use of certain PIC extensions  which  are  known  to
467              work  with  the  groff  package;  compatibility  with DWB PIC is
468              unknown.  The extensions enabled by each option are:
469
470           arc     Allow ARC_BOX i.e. use rounded corners
471           line    Use the 'line_thickness' value
472           fill    Allow ellipses to be filled
473           all     Use all of the above
474           psfont  Don't convert Postscript fonts generic type
475                   (useful for files going to be Ditroff'ed for
476                   and printed on PS printer). DWB-compatible.
477           allps   Use all of the above (i.e. "all" + "psfont")
478
479

PICTEX OPTIONS

481       In order to include PiCTeX pictures into a document, it is necessary to
482       load the PiCTeX macros.
483
484       PiCTeX  uses TeX integer register arithmetic to generate curves, and so
485       it is very slow.  PiCTeX draws curves by \put-ing the  psymbol  repeat‐
486       edly, and so requires a large amount of TeX's internal memory, and gen‐
487       erates large DVI files.  The size of TeX's memory limits the number  of
488       plot  symbols  in  a picture.  As a result, it is best to use PiCTeX to
489       generate small pictures.
490
491
492       -E num Set encoding for latex text translation  (0  no  translation,  1
493              ISO-8859-1, 2 ISO-8859-2)
494
495

POSTSCRIPT, ENCAPSULATED POSTSCRIPT (EPS), and PDF OPTIONS

497       With PostScript, xfig can be used to create multiple page figures Spec‐
498       ify the -M option to produce a multi-page output.  For posters, add  -O
499       to overlap the pages slightly to get around the problem of the unprint‐
500       able area in most printers, then cut and paste the pages together.  Due
501       to  memory  limitations  of  most laser printers, the figure should not
502       have large imported images (bitmaps). Great for text with very big let‐
503       ters.
504
505       The EPS driver has the following differences from PostScript:
506           o  No  showpage  is  generated  because  the  output is meant to be
507           imported into another program or document and not printed
508           o The landscape/portrait options are ignored
509           o The centering option is ignored
510           o The multiple-page option is ignored
511           o The paper size option is ignored
512           o The x/y offset options are ignored
513
514       The EPS driver has the following two special options:
515
516       -B 'Wx [Wy X0 Y0]'
517              This specifies that the bounding box of the EPS file should have
518              the  width Wx and the height Wy.  Note that it doesn't scale the
519              figure to this size, it merely sets  the  bounding  box.   If  a
520              value  less  than or equal to 0 is specified for Wx or Wy, these
521              are set to the width/height respectively of the  figure.  Origin
522              is relative to screen (0,0) (upper-left).  Wx, Wy, X0 and Y0 are
523              interpreted in centimeters or inches depending  on  the  measure
524              given  in  the  fig-file.   Remember to put either quotes (") or
525              apostrophes (') to group the arguments to -B.
526
527       -R 'Wx [Wy X0 Y0]'
528              Same as the -B option except that X0 and Y0 is relative  to  the
529              lower  left corner of the figure.  Remember to put either quotes
530              (") or apostrophes (') to group the arguments to -R.
531
532       The PDF driver uses all the PostScript options.
533
534       Text can now include various ISO-character codes above 0x7f,  which  is
535       useful  for  language  specific characters to be printed directly.  Not
536       all ISO-characters are implemented.
537
538       Color support: Colored objects created by Fig can be printed on a color
539       postscript printer. There are 32 standard colors: black, yellow, white,
540       gold, five shades of blue, four shades of green, four shades  of  cyan,
541       four  shades  of red, five shades of magenta, four shades of brown, and
542       four shades of pink.  In addition there may be user-defined  colors  in
543       the file.  See the xfig FORMAT3.2 file for the definition of these col‐
544       ors.  On a monochrome printer, colored objects will be mapped into dif‐
545       ferent grayscales by the printer.  Filled objects are printed using the
546       given area fill and color.  There are 21 "shades" going from  black  to
547       full  saturation of the fill color, and 21 more "tints" from full satu‐
548       ration + 1 to white.  In  addition,  there  are  16  patterns  such  as
549       bricks, diagonal lines, crosshatch, etc.
550
551       -A     Add an ASCII (EPSI) preview.
552
553       -b borderwidth
554              Make blank border around figure of width borderwidth.
555              Not availble in EPS.
556
557
558       -C dummy_arg
559              Add  a  color  *binary* TIFF preview for Microsoft products that
560              need a binary preview.  See also  -T  (monochrome  preview).   A
561              dummy argument must be supplied for historical reasons.
562
563       -c     option centers the figure on the page.  The centering may not be
564              accurate if there are texts in the fig_file that extends too far
565              to the right of other objects.
566
567       -e     option  puts  the  figure against the edge (not centered) of the
568              page.  Not availble in EPS.
569
570
571       -F     Use correct font sizes (points) instead of the traditional  size
572              that  xfig/fig2dev  uses, which is 1/80 inch.  The corresponding
573              xfig command-line option is -correct_font_size.
574
575
576       -g color
577              Use color for the background.
578
579       -l dummy_arg
580              Generate figure  in  landscape  mode.   The  dummy  argument  is
581              ignored, but must appear on the command line for reasons of com‐
582              patibility.  This option will override the orientation  specifi‐
583              cation in the file (for file versions 3.0 and higher).
584              Not availble in EPS.
585
586       -M     Generate multiple pages if figure exceeds paper size.
587              Not availble in EPS.
588
589       -N     Convert all colors to grayscale.
590
591
592       -n name
593              Set  the  Title  part of the PostScript output to name.  This is
594              useful when the input to fig2dev comes from standard input.
595
596       -O     When used with -M, overlaps the pages slightly to get around the
597              problem of the unprintable area in most printers.
598              Not availble in EPS.
599
600       -p dummy_arg
601              Generate  figure  in  portrait  mode.   The  dummy  argument  is
602              ignored, but must appear on the command line for reasons of com‐
603              patibility.   This option will override the orientation specifi‐
604              cation in the file (for file versions 3.0 and higher).  This  is
605              the default for Fig files of version 2.1 or lower.
606              Not availble in EPS.
607
608
609       -T     Add  a  monochrome  *binary* TIFF preview for Microsoft products
610              that need a binary preview.  See also -C (color preview).
611
612
613       -x offset
614              shift the figure in the X direction by offset units (1/72
615              inch).   A  negative  value shifts the figure to the left
616              and a positive value to the right.
617              Not availble in EPS.
618
619       -y offset
620              shift the figure in the Y direction by offset units (1/72
621              inch).  A negative value shifts the figure up and a posi‐
622              tive value down.
623              Not availble in EPS.
624
625       -z papersize
626              Sets the papersize.  Not availble in EPS.
627              Available paper sizes are:
628                  "Letter" (8.5" x 11" also "A"),
629                  "Legal" (11" x 14")
630                  "Ledger" (11" x 17"),
631                  "Tabloid" (17" x 11", really Ledger in Landscape mode),
632                  "A" (8.5" x 11" also "Letter"),
633                  "B" (11" x 17" also "Ledger"),
634                  "C" (17" x 22"),
635                  "D" (22" x 34"),
636                  "E" (34" x 44"),
637                  "A4" (21  cm x  29.7cm),
638                  "A3" (29.7cm x  42  cm),
639                  "A2" (42  cm x  59.4cm),
640                  "A1" (59.4cm x  84.1cm),
641                  "A0" (84.1cm x 118.9cm),
642                  and "B5" (18.2cm x 25.7cm).
643

PSTEX OPTIONS

645       The pstex language is a variant of ps which suppresses formatted
646       (special)  text.   The  pstex_t  language  has the complementary
647       behavior: it generates only the LaTeX special text and the  com‐
648       mands  necessary  to  position  special text, and to overlay the
649       PostScript file generated using pstex.  These two drivers can be
650       used  to  generate  a  figure  which combines the flexibility of
651       PostScript graphics with LaTeX text formatting of special text.
652
653
654       -F     Use correct font sizes (points)  instead  of  the  tradi‐
655              tional  size  that xfig/fig2dev uses, which is 1/80 inch.
656              The  corresponding  xfig  command-line  option  is  -cor‐
657              rect_font_size.
658
659
660       -g color
661              Use color for the background.
662
663       -n name
664              sets  the  Title  part  of the PostScript output to name.
665              This is useful when the input to fig2dev comes from stan‐
666              dard input.
667

PSTEX_T OPTIONS

669       The  pstex_t  language  produces only the LaTeX special text and
670       the commands necessary to position special text, and to  overlay
671       the PostScript file generated using pstex.  (see above)
672
673
674       -E num Set  encoding  for  latex text translation (0 no transla‐
675              tion, 1 ISO-8859-1, 2 ISO-8859-2)
676
677
678       -F     Don't set the font face, series, and style; only set it's
679              size and the baselineskip. By default, fig2dev sets all 5
680              font parameters when it puts some text. The  disadvantage
681              is  that you can't set the font from your LaTeX document.
682              With this option on, you can set the font from your LaTeX
683              document (like "\sfshape \input picture.eepic").
684
685       -p file
686              specifies the name of the PostScript file to be overlaid.
687              If not set or its value is null then no PS file  will  be
688              inserted.
689
690

TK and PTK OPTIONS (tcl/tk and Perl/tk)

692       -l dummy_arg
693              Generate figure in landscape mode.  The dummy argument is
694              ignored, but must appear on the command line for  reasons
695              of compatibility.  This option will override the orienta‐
696              tion specification in the file (for file versions 3.0 and
697              higher).
698
699       -p dummy_arg
700              Generate  figure in portrait mode.  The dummy argument is
701              ignored, but must appear on the command line for  reasons
702              of compatibility.  This option will override the orienta‐
703              tion specification in the file (for file versions 3.0 and
704              higher).   This  is  the default for Fig files of version
705              2.1 or lower.
706
707       -P     Generate canvas of full page size instead  of  using  the
708              bounding  box  of the figure's objects. The default is to
709              use only the bounding box.
710
711       -z papersize
712              Sets the  papersize.   See  the  POSTSCRIPT  OPTIONS  for
713              available  paper  sizes.   This  is only used when the -P
714              option (use full page) is used.
715
716

SEE ALSO

718       [x]fig(1), pic(1) pic2fig(1), transfig(1)
719

BUGS and RESTRICTIONS

721       Please send bug reports, fixes, new features etc. to:
722       xfig-bugs@epb1.lbl.gov (Brian V. Smith)
723
724       Arc-boxes are not supported for the tk output language, and only
725       X bitmap pictures are supported because of the canvas limitation
726       in tk.
727
728       Picture objects are not scaled with the magnification factor for
729       tk output.
730
731       Because  tk scales canvas items according to the X display reso‐
732       lution, polygons, lines, etc. may  be  scaled  differently  than
733       imported pictures (bitmaps) which aren't scaled at all.
734
735       Rotated  text  is only supported in the IBM-GL (HP/GL) and Post‐
736       Script (including eps) languages.
737
739       Copyright (c) 1991 Micah Beck
740       Parts Copyright (c) 1985 Supoj Sutantavibul
741       Parts Copyright (c) 1989-1999 Brian V. Smith
742
743       Permission to use, copy, modify, distribute, and sell this soft‐
744       ware  and  its  documentation  for any purpose is hereby granted
745       without fee, provided that the above copyright notice appear  in
746       all  copies and that both that copyright notice and this permis‐
747       sion notice appear in supporting documentation. The authors make
748       no  representations  about  the suitability of this software for
749       any purpose.  It is provided "as is" without express or  implied
750       warranty.
751
752       THE  AUTHORS  DISCLAIM  ALL WARRANTIES WITH REGARD TO THIS SOFT‐
753       WARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANTABILITY  AND
754       FITNESS,  IN  NO  EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPE‐
755       CIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY  DAMAGES  WHATSO‐
756       EVER  RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
757       ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
758       OUT  OF  OR  IN  CONNECTION  WITH THE USE OR PERFORMANCE OF THIS
759       SOFTWARE.
760

AUTHORS

762       Micah Beck
763       Cornell University
764       Sept 28 1990
765
766       and Frank Schmuck (then of Cornell University)
767       and Conrad Kwok (then of U.C. Davis).
768
769       drivers contributed by
770       Jose Alberto Fernandez R. (U. of Maryland)
771       and Gary Beihl (MCC)
772
773       Color support, ISO-character encoding and poster support by
774       Herbert Bauer (heb@regent.e-technik.tu-muenchen.de)
775
776       Modified from f2p (fig to PIC), by the author of Fig
777       Supoj Sutanthavibul (supoj@sally.utexas.edu)
778       University of Texas at Austin.
779
780       MetaFont driver by
781       Anthony Starks (ajs@merck.com)
782
783       X-splines code by
784       Carole Blanc (blanc@labri.u-bordeaux.fr)
785       Christophe Schlick (schlick@labri.u-bordeaux.fr)
786       The initial implementation was done by C. Feuille,  S.  Grobois,
787       L. Maziere and L. Minihot as a student practice (Universite Bor‐
788       deaux, France).
789
790       Japanese text support  for  LaTeX  output  written  by  T.  Sato
791       (VEF00200@niftyserve.or.jp)
792
793       The tk driver was written by
794       Mike  Markowski  (mm@udel.edu)  with  a little touch-up by Brian
795       Smith
796
797       The CGM driver (Computer Graphics Metafile) was written by
798       Philippe Bekaert (Philippe.Bekaert@cs.kuleuven.ac.be)
799
800       The EMF driver (Enhanced Metafile) was written by
801       Michael Schrick (m_schrick@hotmail.com)
802
803
804
805                         Version 3.2.5-alpha7 Oct 2005              FIG2DEV(1)
Impressum