diff -rup rubber.orig/data/rules.ini rubber/data/rules.ini --- rubber.orig/data/rules.ini 2010-08-12 06:46:10.000000000 -0700 +++ rubber/data/rules.ini 2010-09-17 16:18:42.000000000 -0700 @@ -36,7 +36,7 @@ rule = mpost [convert-vec-vec] target = (.*)\.(ps|eps|pdf|epdf) -source = \1.{ps,eps,pdf,epdf,wmf} +source = \1.{ps,eps,pdf,epdf,wmf,svg} cost = 2 rule = shell command = convert $source $target @@ -110,6 +110,22 @@ rule = shell command = dia --export $target $source message = converting $source to EPS +[svgtopdf] +target = (.*)\.pdf +source = \1.{svg,svgz} +cost = 1 +rule = shell +command = inkscape --file=$source --export-pdf=$target +message = converting $source into $target + +[svgtoeps] +target = (.*)\.eps +source = \1.{svg,svgz} +cost = 1 +rule = shell +command = inkscape --file=$source --export-eps=$target +message = converting $source into $target + ;-- Source conversion with lhs2TeX [lhs2TeX]