mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix svgz output path
In the old script the output path given on the command line was ignored, because of teh way how dvisgm expects commandline options.
This commit is contained in:
parent
a847fef684
commit
2ba8705435
@ -158,7 +158,7 @@ def createimage(name, path, template, lyxexe, tempdir, math, replacements, toolb
|
||||
if usepng:
|
||||
cmd = "dvipng %s.dvi -bg Transparent -D 115 -o %s" % (lyxname, imgname)
|
||||
else:
|
||||
cmd = "dvisvgm -z --no-fonts --exact --output=%%f %s.dvi %s" % (lyxname, imgname)
|
||||
cmd = "dvisvgm -z --no-fonts --exact --output=%s%s%%f %s.dvi" % (path, os.path.sep, lyxname)
|
||||
proc = subprocess.Popen(cmd, shell=True)
|
||||
proc.wait()
|
||||
if proc.returncode != 0:
|
||||
|
Loading…
Reference in New Issue
Block a user