/*----------------------------------------------------------------------*\ ceflatex.cmd This file is part of the CJK macro package for LaTeX2e ver. 4.5.1 Wonkoo Kim (wkim+@pitt.edu), September 2, 1996 \*----------------------------------------------------------------------*/ Call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs' Call SysLoadFuncs parse arg file drive = filespec('drive', file) path = filespec('path', file) fname = filespec('name', file) m = lastpos('.', fname) if (m = 0) then m = length(fname) + 1 cjkfile = drive||path||delstr(fname, m)||'.cjk' 'cefconv <' file '>' cjkfile ucjkfile = translate(cjkfile,'/','\') if stream(cjkfile, 'C', 'QUERY EXISTS') \= '' then 'call latex.cmd' ucjkfile /* End of ceflatex.cmd */