summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d61c32e)
raw | patch | inline | side by side (parent: d61c32e)
| author | johanengelen <johanengelen@users.sourceforge.net> | |
| Fri, 8 Dec 2006 14:33:08 +0000 (14:33 +0000) | ||
| committer | johanengelen <johanengelen@users.sourceforge.net> | |
| Fri, 8 Dec 2006 14:33:08 +0000 (14:33 +0000) |
fixed pstoedit commandline that did not work on Win32.
| share/extensions/eqtexsvg.py | patch | blob | history |
index 71242afae97ef30453e0a8832c979c422d2d13c9..6d2a40645b9fb143645ee1fd37a043e2a7a135d6 100644 (file)
os.rmdir(base_dir)
create_equation_tex(latex_file, self.options.formula)
- os.system('cd ' + base_dir + '; latex -halt-on-error ' + latex_file + ' > ' + out_file)
+ #os.system('cd ' + base_dir)
+ os.system('latex -output-directory=' + base_dir + ' -halt-on-error ' + latex_file + ' > ' + out_file)
try:
os.stat(dvi_file)
except OSError:
sys.exit(1)
os.system('dvips -q -f -E -D 600 -y 5000 -o ' + ps_file + ' ' + dvi_file)
- os.system('cd ' + base_dir + '; pstoedit -f plot-svg -dt -ssp ' + ps_file + ' ' + svg_file + '&> ' + out_file)
-
+ #os.system('cd ' + base_dir)
+ os.system('pstoedit -f plot-svg -dt -ssp ' + ps_file + ' ' + svg_file + '> ' + out_file)
svg_open(self, svg_file)
clean()