This is a minimum set of the CCT programs for Unix. ============ INSTALLATION ============ 1) Unpack the distribution files "cct-.tar.gz" and "fonts.tar.gz": gzip -d -c cct-.tar.gz | tar xvf - gzip -d -c fonts.tar.gz | tar xvf - cd cct-unix where "" should correspond to the architecture of your computer (e.g., "irix5.3", "linux"). 2) Edit the file "doinst.sh", "dvipsc.in", and "xdvic.in". 3) Execute "doinst.sh" (you must have write permission on the target directories): sh doinst.sh 4) You may need to set the following environment variables for CCT to work properly: B shell: TEXFONTS=${TFMDIR}: TEXINPUTS=${TEXDIR}: PATH=${PATH}:${BINDIR} export TEXFONTS export TEXINPUTS export PATH C shell: setenv TEXFONTS ${TFMDIR}: setenv TEXINPUTS ${TEXDIR}: setenv PATH ${PATH}:${BINDIR} (repplace '${TFMDIR}', '${TEXDIR} and '${BINDIR}' with corresponding values used in 'doinst.sh'). 5) You may need to run 'texhash' or 'MakeTeXls-R' once to rebuild the ls-lR database of your TeX system after installation. ========== HOW TO USE ========== The following programs and shell scripts are provided: cctinit - used to generate "ccfnt*.tfm" and "cchead.sty" files. It should be run once each time the file "cct.dat" is modified. cct - used to transform a Chinese TeX document (generally with file extension ".ctx") to a standard TeX document (with the file extension ".tex"). xdvic - shell script to preview a Chinese dvi file. dvipsc - shell script to print a Chinese dvi file. patchdvi - called by "xdvic" and "dvipsc" to generate PK files for Chinese characters. bmf2??? - transform bitmap image files generated by MSDOS version of CCT into PCX or TIFF formats. For a detailed description of the CCT system, please refer to the CCT manual (for MSDOS) included in the file cctman.zip. Please send bug reports and suggestions to zlb@lsec.cc.ac.cn. Lin-bo Zhang, 30 March 1997.