fig2eps

Converts xfig files into ps, eps or pdf files using LaTeX for processing text

Install

All systems
curl cmd.cat/fig2eps.sh
Debian Debian
apt-get install fig2ps
Ubuntu
apt-get install fig2ps
image/svg+xml Kali Linux
apt-get install fig2ps
Fedora
dnf install fig2ps
Windows (WSL2)
sudo apt-get update sudo apt-get install fig2ps
Raspbian
apt-get install fig2ps

fig2ps

Converts xfig files into ps, eps or pdf files using LaTeX for processing text

This perl script takes into advantage the pstex and pstex_t export formats of fig2dev (xfig) to separate special text and the rest of a xfig file. Then, the text is processed separately using LaTeX, and everything is put back together at the end, to make a nice wonderful figure with the text formatted exactly the same way as the article you are typing ! PDF output is also available. Though gv is strictly speaking not necessary for conversion, it can be called directly by fig2ps depending on the options you choose. For nice PDF output, you should install Type 1 fonts, such as lmodern or cm-super.