From 4cecf266fa111411d70ef0dec81548673bbefb66 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 10 May 2016 09:28:01 +0200 Subject: [PATCH] pdf to ipe --- pdftoipe.sh | 5 +++++ readme | 4 ++++ 2 files changed, 9 insertions(+) create mode 100755 pdftoipe.sh create mode 100644 readme diff --git a/pdftoipe.sh b/pdftoipe.sh new file mode 100755 index 0000000..16f641a --- /dev/null +++ b/pdftoipe.sh @@ -0,0 +1,5 @@ +# !/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 diff --git a/readme b/readme new file mode 100644 index 0000000..a7c205d --- /dev/null +++ b/readme @@ -0,0 +1,4 @@ +**pdftoipe.sh** + +Converts a pdf to the ipe format using inkscape and svgtoipe. All objects are transformed to paths. + -- 2.34.1