| 1 |
Fig2dev is a set of tools for creating TeX documents with graphics |
| 2 |
which are portable, in the sense that they can be printed in a wide |
| 3 |
variety of environments. |
| 4 |
|
| 5 |
Fig2dev consists of the fig2dev and the transfig commands. The fig2dev |
| 6 |
command translates Fig code to other graphic description languages. The |
| 7 |
transfig command generates transfig.tex, a macro file for \input in a |
| 8 |
TeX document, and a Makefile which translates Fig code to various |
| 9 |
graphics description languages using the fig2dev program. Currently, |
| 10 |
transfig is considered obsolete, and it is not maintained any longer. |
| 11 |
By default, transfig is not built. To build transfig, enable it |
| 12 |
explicitly with ./configure --enable-transfig. |
| 13 |
|
| 14 |
See the file INSTALL for installation instructions. |
| 15 |
|
| 16 |
The transfig directory contains the source for the transfig command |
| 17 |
which generates a Makefile which translates Fig code to various graphics |
| 18 |
description languages using the fig2dev program. In previous releases, |
| 19 |
this command was implemented as a shell script. |
| 20 |
|
| 21 |
The fig2dev directory contains a general program for translating from |
| 22 |
Fig code to other graphics desciption languages. The dev subdirectory |
| 23 |
contains a library of output drivers used by fig2dev. |
| 24 |
|
| 25 |
The man directory contains man pages for fig2dev and for the transfig |
| 26 |
command. The doc directory contains a manual for using TransFig to |
| 27 |
create documents with portable graphics. |
| 28 |
|
| 29 |
Fig2dev and its companion xfig are available from |
| 30 |
https://sourceforge.net/projects/mcj |
| 31 |
|
| 32 |
|
| 33 |
Runtime Requirements |
| 34 |
******************** |
| 35 |
|
| 36 |
o To translate Fig to any bitmap format (GIF, JPEG, TIFF, PNG, XPM, and others), |
| 37 |
first the Fig file is translated to PostScript and then ghostscript is called |
| 38 |
to render the image to the final format, or to PPM. The conversion from PPM to |
| 39 |
the final format is either done with an appropriate ppmtoXXX filter from the |
| 40 |
netpbm programs, or with convert from the ImageMagick package, or with gm |
| 41 |
convert from the GraphicsMagick package. |
| 42 |
|
| 43 |
o You need ghostscript, and |
| 44 |
|
| 45 |
o either the netpbm programs, or ImageMagick , or GraphicsMagick. |
| 46 |
|
| 47 |
o To use the -a (binary) option for CGM export, the ralcgm program is |
| 48 |
required. This is available from ftp://ftp.cc.rl.ac.uk/pub/graphics/ralcgm/ |
| 49 |
|
| 50 |
|
| 51 |
************************************************************************* |
| 52 |
Please send email about any questions/bug fixes/contributions etc. about |
| 53 |
Fig2dev or xfig to [email protected]. |