diff options
author | Karl Berry <karl@freefriends.org> | 2014-04-21 23:02:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-04-21 23:02:35 +0000 |
commit | fab654a7fafba60c3d1e32040ad16d19b5dfd550 (patch) | |
tree | 699549d43c84af6b176173d794f17c7cc7164bc6 /Master/texmf-dist/asymptote/GUI | |
parent | ea58320b10f549a61236be100fc97925aea6b489 (diff) |
asymptote 2.25 for TL14
git-svn-id: svn://tug.org/texlive/trunk@33606 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/GUI')
-rwxr-xr-x | Master/texmf-dist/asymptote/GUI/xasyCodeEditor.py | 8 | ||||
-rwxr-xr-x | Master/texmf-dist/asymptote/GUI/xasyVersion.py | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/asymptote/GUI/xasyCodeEditor.py b/Master/texmf-dist/asymptote/GUI/xasyCodeEditor.py index 93e06e447ee..1f7ad60328f 100755 --- a/Master/texmf-dist/asymptote/GUI/xasyCodeEditor.py +++ b/Master/texmf-dist/asymptote/GUI/xasyCodeEditor.py @@ -14,6 +14,7 @@ from subprocess import call from tempfile import mkstemp from os import remove from os import fdopen +from os import path from string import split import xasyOptions @@ -24,7 +25,12 @@ def getText(text=""): tempf.write(text) tempf.flush() try: - call(split(xasyOptions.options['externalEditor'])+[temp[1]]) + cmdpath,cmd = path.split(xasyOptions.options['externalEditor']) + split_cmd = split(cmd) + cmdpart = [path.join(cmdpath,split_cmd[0])] + argpart = split_cmd[1:]+[temp[1]] + arglist = cmdpart+argpart + call(arglist) except: raise Exception('Error launching external editor.') tempf.seek(0) diff --git a/Master/texmf-dist/asymptote/GUI/xasyVersion.py b/Master/texmf-dist/asymptote/GUI/xasyVersion.py index c98d9df7c59..aefd00148e1 100755 --- a/Master/texmf-dist/asymptote/GUI/xasyVersion.py +++ b/Master/texmf-dist/asymptote/GUI/xasyVersion.py @@ -1,2 +1,2 @@ #!/usr/bin/env python -xasyVersion = "2.23" +xasyVersion = "2.25" |