# the real PDF file would be overwritten by a TeX file named outputfile.pdf.
#
+from __future__ import print_function
+
import os, sys, re, subprocess
def runCommand(cmd):
'''
res = subprocess.check_call(cmd)
if res != 0:
- print "Command '%s' fails (exit code: %i)." % (res.cmd, res.returncode)
+ print("Command '%s' fails (exit code: %i)." % (res.cmd, res.returncode))
sys.exit(1)
InkscapeCmd = "inkscape"