From: Lukas Barth Date: Thu, 15 Aug 2019 12:42:31 +0000 (+0200) Subject: Fix pdftoipe X-Git-Url: https://i11git.iti.kit.edu/anon-gitweb/?a=commitdiff_plain;h=33b8b376b11c8b429bf1995eb7c526d099e26016;p=Misc%2Fipe.git Fix pdftoipe --- diff --git a/tools/pdftoipe.sh b/tools/pdftoipe.sh index 5dc732b..ac9a281 100755 --- a/tools/pdftoipe.sh +++ b/tools/pdftoipe.sh @@ -1,5 +1,10 @@ # !/bin/bash echo $1 -inkscape --verb=ObjectToPath --select=EditSelectAll --export-plain-svg=/tmp/$1.svg $1 -./svgtoipe.py /tmp/$1.svg $2 -rm /tmp/$1.svg + +TMPFILE=`mktemp` +TMPFILE="${TMPFILE}.svg" + +inkscape --verb=EditSelectAll --verb=ObjectToPath --export-plain-svg=$TMPFILE $1 +./svgtoipe.py $TMPFILE $2 +#rm $TMPFILE +