@echo off
if .%1.==.. goto err
if .%chi2tex%.==.. goto err
dir
Echo I'm installing the Chi2Tex System into the current directory.
echo Type Control-C if You are against
pause
md util
cd util
%1pkunzip %1util
cd ..
echo I'm installing the examples. Type Control-C if You are against
pause
md example
cd example
%1pkunzip %1example
cd ..
echo I'm installing the additional ChiWriter files. Type Control-C if You are against
pause
md addi_cw
cd addi_cw
%1pkunzip -d %1addi_cw
cd ..
echo I'm installing the additional TeX files. Type Control-C if You are against
pause
md addi_tex
cd addi_tex
%1pkunzip -d %1addi_tex
copy %1badfonts.zip
cd ..
goto end
:err
echo I'm expecting that the string CHI2TEX is defined. Read READ_ME.1ST first!
echo.
echo Example of usage (installation from disk a:):
echo.
echo install a:
echo ........ Or:
echo install c:\tmp\
echo.
echo will install from a: into the current directory.
echo (I expect pkunzip.exe be in the install directory - a: and c:\tmp\ in examples)
echo.
echo But: be sure to put the name of the current directory into the variable CHI2TEX
:end
rem