index 9e87757826210bd724de8e536b6a0d995c2479ba..69c2dda5dcf0ab1f4d8dd617f9c64bfce00741e3 100755 (executable)
self.OptionParser.add_option("--indent",
action="store", type="string", dest="indent_type", default="space",
help="indentation of the output: none, space, tab (default: %default)")
+ self.OptionParser.add_option("--enable-viewboxing", type="inkbool",
+ action="store", dest="enable_viewboxing", default=False,
+ help="changes document width/height to 100%/100% and creates viewbox coordinates")
def effect(self):
- input = file(sys.argv[11], "r")
+ input = file(self.args[0], "r")
sys.stdout.write(scourString(input.read(), self.options).encode("UTF-8"))
input.close()
sys.stdout.close()