print '''Usage: TeXFiles.py [-version | cls | sty | bst | bib ]
Default is without any Parameters,
so that all files will be created'''
- sye.exit(0)
+ sys.exit(0)
else:
types = sys.argv[1:]
for type in types:
# Create a variable that holds the right character to be used by the scripts.
path_sep = os.pathsep
if sys.platform == 'cygwin':
- # MikTeX's kpsewhich says "kpathsea emulation version x.x.x", whereas
- # teTeX's simply "kpathsea version x.x.x".
- if 'emulation' in cmdOutput('kpsewhich --version'):
+ if ';' in cmdOutput('kpsewhich --show-path=.tex'):
path_sep = ';'
else:
path_sep = ':'