home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
wvhtm064.zip
/
wv
/
wvCleanLatex
< prev
next >
Wrap
Text File
|
2001-02-04
|
388b
|
20 lines
#!/bin/sh
prefix=/usr/local
exec_prefix=${prefix}
datadir=${prefix}/share
# argument checking
if [ ${#} -ne "2" ]; then
echo "Usage: ${0} <word document> <latex output file>"
exit 1
fi
which wvWare >/dev/null 2>&1
if [ ${?} -ne "0" ]; then
echo "Could not find required program 'wvWare'"
exit 1
fi
wvWare -x ${datadir}/wv/wvCleanLaTeX.xml "${1}" > "${2}"