home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega Top 1
/
os2_top1.zip
/
os2_top1
/
APPS
/
TEKST
/
TEXDISK
/
DVIDRV1.ZIP
/
EMTEX
/
FLI_LJ.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1990-09-24
|
2KB
|
77 lines
@echo off
rem fli_lj.cmd
rem This should be done before running this batch file:
rem mfjob all m=lj
rem mfjob latex m=lj
rem mfjob emsy m=lj
rem mfjob gftodvi
set fli_opt=
:next_arg
if "%1"=="/v" goto set_v
if "%1"=="/V" goto set_v
if "%1"=="-v" goto set_v
if "%1"=="-V" goto set_v
if "%1"=="test" goto test
if "%1"=="TEST" goto test
if "%1"=="Test" goto test
if "%1"=="" goto usage
if "%2"=="" goto start
:usage
echo Usage: fli_lj [/v] source_directory\
echo Usage: fli_lj test
goto end
:set_v
set fli_opt=/v
shift
goto next_arg
:start
set fli_opt=%fli_opt% /b300 /f%EMTEX%\emtex\fontlist
fontlib /c %fli_opt% lj_0 =%1%%rdpi :0 +*.pk 240 +*.pk 270 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% lj_h =%1%%rdpi :h +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% lj_1 =%1%%rdpi :1 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% lj_2 =%1%%rdpi :2 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% lj_3 =%1%%rdpi :3 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% lj_4 =%1%%rdpi :4 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% lj_5a =%1%%rdpi :5 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% lj_5b =%1%%rdpi :5 +cmf*.pk
if errorlevel 1 goto error
fontlib %fli_opt% lj_5a :5 -cmf*
if errorlevel 1 goto error
del lj_5a.bak
fontlib /c %fli_opt% lj_sli =%1%%rdpi :6 +*.pk :7 +*.pk :8 +*.pk :9 +*.pk
if errorlevel 1 goto error
:test
fontlib /t %fli_opt% lj_0
if errorlevel 1 goto error
fontlib /t %fli_opt% lj_h
if errorlevel 1 goto error
fontlib /t %fli_opt% lj_1
if errorlevel 1 goto error
fontlib /t %fli_opt% lj_2
if errorlevel 1 goto error
fontlib /t %fli_opt% lj_3
if errorlevel 1 goto error
fontlib /t %fli_opt% lj_4
if errorlevel 1 goto error
fontlib /t %fli_opt% lj_5a
if errorlevel 1 goto error
fontlib /t %fli_opt% lj_5b
if errorlevel 1 goto error
fontlib /t %fli_opt% lj_sli
if errorlevel 1 goto error
goto end
:error
echo *** Error!
:end
set fli_opt=