Home > Education, Useful Apps > Converting xfig (.fig) to vector formats using dktools

Converting xfig (.fig) to vector formats using dktools

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
./configure
make
make install

To convert a .fig to .svg:

fig2vect -lsvg fig.fig fig.svg

Categories: Education, Useful Apps Tags: ,