fig: Manipulation of FIG files

[ bsd3, graphics, library ] [ Propose Tags ]

The Fig library provides parsing and printing for the FIG 3.2 format (the format used by the Xfig drawing program) together with a simple search-and-replace facility.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 1.3.0, 1.3.1, 1.4.0
Change log Changelog
Dependencies base (<5), containers, parsec, pretty [details]
License BSD-3-Clause
Author Anders Lau Olsen
Maintainer Anders Lau Olsen <>
Category Graphics
Home page
Uploaded by AndersLauOlsen at 2013-07-03T11:40:04Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2498 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for fig-1.4.0

[back to package description]

Fig is a Haskell package for parsing and manipulation of Xfig files.

The package has a Cabal setup and can be installed this way:

$ runhaskell Setup configure
$ runhaskell Setup build
$ sudo runhaskell Setup install

You can use the package without doing an install by editing the Main.hs file to suit your needs and building the program with the following command:

$ ghc --make Main.hs -o fig2fig

Run the program with a FIG file as input and view the results:

$ ./fig2fig < transitive.fig > out.fig
$ xfig out.fig

The package has a home page with more information on its use and a HackageDB page with all releases of the package.