Archive for March, 2012

Converting xfig (.fig) to vector formats using dktools

March 28th, 2012 No comments

Recently I needed to convert old xfig files to inkscape while preparing figures for my dissertation. Luckily I found out about dktools. However, there wasn’t a convenient package in an ubuntu repository. Fortunately, it’s fairly easy to compile. Just in case someone finds this useful, I’ll leave installation instructions here for Ubuntu users:

sudo apt-get install libpng-dev libdb5.1-dev libbz2-dev libjpeg-dev libtiff-dev libsnmp-dev
make install

To convert a .fig to .svg:

fig2vect -lsvg fig.fig fig.svg

Categories: Education, Useful Apps Tags: ,