Download this file
19 lines (14 with data), 465 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 | #!/usr/bin/env python
import os, sys
def clean():
print 'cleaning...'
os.system('rm -f *.bbl *.blg *.dvi *.log *.toc *.aux *.tex *.out *~ #*')
os.system('rm -f examples/*~ examples/*.pyc')
def pdf():
print 'making pdf'
#os.system('lyx -e pdf main.lyx')
os.system('./lyxport2 --pdf main')
for arg in sys.argv[1:]:
if arg=='clean': clean()
elif arg=='pdf': pdf()
else: raise ValueError('Unrecognized command "%s"' % arg)
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.