remove print- prefix from inkscape id
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 15 Aug 2010 13:24:55 +0000 (15:24 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 15 Aug 2010 13:24:55 +0000 (15:24 +0200)
scripts/inkscape-render.pl

index 36be513..c79bd61 100755 (executable)
@@ -52,6 +52,8 @@ sub inkscape_export {
 
        my $shell = "$out.svg --export-area-page --export-id $part";
 
+       $part =~ s/print-//; # FIXME change svg files
+
        print $inkscape "$shell --export-pdf $out.$part.pdf\n";
        print $inkscape "$shell --export-png $out.$part.png --export-dpi 150\n";
 }