The auxiliary program figtoipe converts a figure in FIG format into an Ipe XML-file. This is useful if you used to make figures with Xfig before discovering Ipe, of if your co-authors made figures for your article with Xfig (converting them will have the added benefit of forcing your co-authors to learn to use Ipe). Finally, there are quite a number of programs that can export to FIG format, and figtoipe effectively turns that into the possibility of exporting to Ipe.
However, figtoipe is not quite complete. The drawing models of FIG and Ipe are also somewhat different, which makes it impossible to properly render some FIG files in Ipe. Ipe does not support depth ordering independent of grouping, pattern fill, and Postscript fonts. You may therefore have to edit the file after conversion.
Figtoipe is not part of the Ipe distribution. You can download and build it separately. figtoipe is now maintained by Alexander Bürger.
figtoipe converts files in FIG format (as created, e.g., by xfig) to
Ipe's XML format.
figtoipe is not complete. The main lacking feature is the conversion
of splines. Arc-boxes are replaced by rectangles. Feel free to
improve this version!
The drawing models of FIG and Ipe are somewhat different. Ipe does not
support depth ordering independent of grouping, pattern fill, and
figtoipe tries to include images specified in the XFIG file. For JPEG
pictures, it tries include the compressed image data into the XML file.
For files not recognized as JPEG, anytopnm is called; its output is
compressed and included in the XML file. Some output of anytopnm might
be rejected (e.g. images larger than 5000x5000 pixels or B&W bitmaps),
-g group the figure in the output XML
add latex as a preamble to the generated XML file, e.g.