This article is from the Hangul & Internet in Korea FAQ, by Jungshik Shin jshin@minerva.cis.yale.edu with numerous contributions by others.
In case of old version of HLaTeX(preprocessing or two-pass version), you can
set environment variables so that your tex compiler will be able to find the
hlatex files in your library path.
Add following to .cshrc/.tcshrc or .login in csh/tcsh,
setenv PATH "your htex bin dir":$PATH setenv TEXFONTS "your htex pk dir":"your latex tfmdir":$TEXFONTS setenv TEXINPUTS "your htex input dir":$TEXINPUTS setenv TEXFORMATS "your htex format dir":$TEXFORMATS setenv XDVIFONTS "your htex/pk dir":$XDVIFONTS # for XDVI setenv TEXPKS $XDVIFONTS # for DVIPS
PATH="your htex bin dir":$PATH TEXFONTS="your htex pk dir":"your latex tfmdir":$TEXFONTS TEXINPUTS="your htex input dir":$TEXINPUTS TEXFORMATS="your htex format dir":$TEXFORMATS TEXDVIFONT="your htex/pk dir":$XDVIFONTS # for XDVI TEXPKS=$XDVIFONTS # for DVIPS export PATH TEXFONTS TEXINPUTS TEXFORMATS TEXDVIFONT TEXPKS
 
Continue to: