Menu

FIG to SVG

← TOC    ↑ Home    Fig TeX TeX PDF EPS SVG PNG JPEG ICO XPM

FIG to SVG

This page shows how to convert a FIG file named x.fig from XFig, jFig or WinFIG into an SVG image.


Choice 1: Use gxhconvert

Procedure

gxhconvert -o=svg x.fig

See the [gxhconvert manual] for a full description of the gxhconvert script.

Options

Option Purpose
--pgf Use PGF instructions in the intermediate *.tex file instead of including a *.pdf file.

Choice 2: Manual procedure, use PDF as intermediate file

Procedure

fig2lat -l tex.pdf x.fig
pdflatex -interaction=nonstopmode x
pdf2svg x.pdf x.svg

Temporary files

  • x.pdf
  • x.tex
  • x-i.pdf
  • x.aux
  • x.log

Choice 3: Manual procedure, use PGF as intermediate file

Procedure

fig2lat -l tex x.fig
pdflatex -interaction=nonstopmode x
pdf2svg x.pdf x.svg

Temporary files

  • x.pdf
  • x.tex
  • x.aux
  • x.log
← TOC    ↑ Home    Fig TeX TeX PDF EPS SVG JPEG ICO XPM

Related

Wiki: gxhconvert manual