summaryrefslogtreecommitdiff
path: root/texopen.py
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-10-24 17:33:49 +0200
committerAleks Kissinger <aleks0@gmail.com>2018-10-24 17:33:49 +0200
commit19a3a0f4fe47cc983259ef3df5827b739d59d82c (patch)
tree9a8b3bc1f6737c26477ceafa8cf13511ffd206d5 /texopen.py
parentac06e0f5676c70687156201b943b892c28687b44 (diff)
...
Diffstat (limited to 'texopen.py')
-rwxr-xr-xtexopen.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/texopen.py b/texopen.py
deleted file mode 100755
index 26baaf8..0000000
--- a/texopen.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/python
-
-import sys
-import subprocess
-
-if len(sys.argv) >= 3:
- file = sys.argv[1]
- line = sys.argv[2]
-
- print(file)
- print(line)
-
- if file.endswith('.tikz'):
- subprocess.call(['tikzit', file])
- else:
- subprocess.call(['subl', file + ':' + line])