Recently I wanted to include a directed graph in a LaTeX document. unfortunately I couldn’t import an svg file to my document. So which meant I had to find another alternative method rather than converting the file to any other image format to avoid rasterization.
$ sudo apt-get install inkscape
$ inkscape -z image.svg image.eps --export-eps=image.eps
to receive the EPS(Encapsulated Postscript Vector graphics) file which I wanted to include in LaTeX. Running Gummi with pdflatex for typesetting on a file containing
however returns the error
! LaTeX Error: Unknown graphics extension: .eps.
This can be resolved by adding
which allows to convert eps images to pdf for use with pdflatex. This works perfect.