You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
247 B
13 lines
247 B
#!/usr/bin/env/python
|
|
|
|
import project2latex as p2l
|
|
import sys
|
|
|
|
# TODO: improve interface
|
|
|
|
if len(sys.argv) <= 1:
|
|
print("Please provide a file to convert as first argument.")
|
|
sys.exit(1)
|
|
|
|
path = sys.argv[1]
|
|
print(p2l.convert(path).dumps())
|
|
|