Comment 7 for bug 726875

Revision history for this message
Um What (jazing+inkscape) wrote :

Just in case anyone else runs into this situation, here's a hack to dbtexmf/core/imagedata.py that lets cygpath convert the path from unix to windows-style, the way inkscape likes it :)

        import commands
        ...
        (ret, inkinput) = commands.getstatusoutput("cygpath -w \"%s\"" % str(input))
        (ret, inkoutput) = commands.getstatusoutput("cygpath -w \"%s\"" % str(output))
        cmd = "inkscape -z -D --export-%s=\"%s\" \"%s\"" % (format, inkoutput, inkinput)

Thank you for the tips!