May 29, 2001
TransFig is a set of tools for creating TeX documents with graphics
which are portable, in the sense that they can be printed in a wide
variety of environments.
TransFig 3.2.3d is available from
ftp://www-epb.lbl.gov/xfig and usually from any CTAN
(Comprehensive TeX Archive Network) site such as
ftp://ftp.cdrom.com/pub/tex/ctan/.
See
http://math.nmu.edu/Web/TeXArchives/ctansite.html for a long list of CTAN sites.
Be sure to set binary mode when transferring.
There is also an incremental patch file to convert from 3.2.3c to 3.2.3d. This
is in the file transfig.3.2.3c.to.3.2.3d.gz. You must use the 'patch' program to
automatically apply the changes to your 3.2.3 release. It is compressed so you
must uncompress it first or do "zcat transfig.3.2.3c.to.3.2.3d.gz | patch".
The transfig directory contains the source for the transfig command
which generates a Makefile which translates Fig code to various graphics
description languages using the fig2dev program. In previous releases,
this command was implemented as a shell script.
The fig2dev directory contains a general program for translating from Fig code
to other graphics desciption languages (fig2dev). The dev subdirectory contains
a library of output drivers used by fig2dev.
Drivers currently exist for the following graphics langauges:
AutoCad slide, BOX, (E)EPIC macros, LaTeX picture environment, PIC, PiCTeX, PNG,
PostScript, Encapsulated Postscript, GIF, IBM-GL, JPEG, PCX, MF (METAFONT),
MP (MetaPost), TeXtyl, TIFF, TPIC, XBM (X11 Bitmap), XPM (X11 Pixmap), and
TK (tcl/tk).
Fig2dev can be configured with a subset of these drivers.
I have taken over the maintenance of TransFig from Micah Beck so please send any
bug notices, fixes, contributions etc to me at
[email protected].
- Brian V. Smith
- Lawrence Berkeley Laboratory
Changes to Transfig/fig2dev:
===============================================================================
Version 3.2 Patchlevel 3d (May 29, 2001)
===============================================================================
NEW FEATURES
o MetaPost driver (-L mp or -L mmp) ported from fig2MP by Klaus
Guntermann (
[email protected]). fig2MP was
written by Dane Dwyer (
[email protected])
o Support for importing PNG image files added
o Transparent color in imported GIF files now honored
o You may use "-M -" to send the Makefile output to standard output from
TransFig, and "-T -" to send the Texfile to standard output.
o (The following feature was really added in 3.2.3, but I forgot to update
this file): -S option added for smoothing bitmap output.
o (The following feature was really added in 3.2.3b, but ... you know...):
eps added as a language for TransFig
o Support for Czech font encoding for PostScript (cs_CZ.ps)
From Radim Gelner <
[email protected]>
BUGS FIXED
o #ifdef JPEG added in usage message for JPEG options
o Resolution variable (ppi) needed to be double. This caused roundoff
and overflow errors in several drivers.
o Comments longer than 200 characters in Fig files caused segfault.
Comments may now be of unlimited length.
o some bitmap files for tk driver had double brackets "{"
o The CGM driver didn't check if the "from" input was from stdin or a
file and segfaulted.
o Spline objects with trailing blanks (in file) made next object read
incorrectly.
o Bounding box incorrectly counted line thickness in imported picture
objects (they don't use the line thickness)
o The amount to shift a figure to 0,0 was rounded to integer, which
caused some figures to be clipped by the bounding box. This affected
eps and bitmap output.
o The ibmgl driver output NaNs because of a double/int mixup with printf
o Certain punctuation characters with descenders weren't taken into
account for text bounds.
o An extra page was generated for pdf output.
o Every object had 0.0000 coordinates when exporting to the MetaFont
driver.
o fig2dev would crash when reading FIG 3.1 files that have splines. The
problem was that the "points" component of the spline structure is in
a different position than in the line structure, causing arrow_bound
to use the wrong data.
o "%Page:" DSC comment is not generated generated for EPS now
o Trailing blank in spline object (after control points) caused problem
when reading Fig file
o TransFig didn't check whether Texfile or Makefile could be opened for
writing, causing segfault
o AutoRotatePages now set to None when using ghostscript to export PDF
o Changed explicit "ln -s" to use $(LN) for making symlinks during
install (fig2dev/Imakefile)