----------------------------------------------------------------------
******               Installation of e-pTeX                     ******
----------------------------------------------------------------------

It is very tedious to deal with many TeX distribution, so in this
version, I decided to deal with following two TeX dist. only:
  1. ptexlive-20091009 (upTeX-0.29 is compiled simultaneously)
  2. ptetex3-20090610  (with/without upTeX-0.29)

** ptexlive-20091009
  
  Download ptl08-compile-xxxxxx.tar.lzma from e-pTeX wiki,
  and please refer compile.txt in that archive.

** ptetex3 (+ upTeX) 

@ Let $CMPDIR be the temporary directory using by ptetex3 for make.
  (Usually it is /var/tmp/ptetex3/)
@ Let $SRCDIR be the place of eptex-xxxxxx.tar.bz2.

0. Compile Japanese TeX system by ptetex3 ( -- make macro),
   or by upTeX-0.29 (executing ./0uptex.sh).
   Do not execute `make install' this time.

1. (file extraction)
   $ cd $CMPDIR/tetex-src-3.0/texk/web2c

   If there exists directories named eptex-* now, please delete them.
   (Otherwise, script/build won't work correctly.)

   $ tar jxf $SRCDIR/eptex-*.tar.bz2
   $ cd eptex-xxxxxx

2. Edit script/option according to comments in the file.
   It is not bad to copy $CFLAGS from Makefile of pTeX.
   (default specifications may work in most environment, I think)

3. (compile and install)
   $ script/build
   Compilation is succeeded when file size and version of binaries are
   displayed like this:

   > ------------------------
   > -rwxr-xr-x 1 h7k h7k 439072 2010-01-31 17:50 ../eptexdir/eptex
   > -rwxr-xr-x 1 h7k h7k 444992 2010-01-31 17:50 ../euptexdir/euptex
   > e-upTeX 3.141592-p3.1.11-100131-u0.29 (utf8.uptex) (Web2C 7.5.4)
   > e-pTeX 3.141592-p3.1.11-100131 (utf8.euc) (Web2C 7.5.4)

   May be file size and version of TeX and Web2c are different from above 
   examples.

   $ script/install

4. Continue compile/install of ptetex3 or upTeX-0.28.
   Maybe you only have to execute `make font'(fonty) or `make install'.

Remark 1:
  script/install does following operations:
    A. copy the binaries of e-pTeX (and e-upTeX) to $EPTEXDIR,
       and make symlinks named eplatex (and euplatex)
    B. rewrite $TEXMF/web2c/texmf.cnf and $TEXMF/web2c/fmtutil.cnf
    C. generate format files in $TEXMF-var/web2c
    D. mktexlsr :)

  The directories $EPTEXDIR and  $TEXMF are specified in script/option.

Remark 2: 
  If you execute script/trip after execution of script/build, you will
  get following log files of TRIP/e-TRIP test:
    ../triptrap/{n,p,e,ep,eup}-trip-{1,2}.log,
    ../triptrap/{e,ep,eup}-trip-e{1,2}.log, 
    ../etrip/{e,ep,eup}-etrip-{1,2}.log.

  The prefixes n, p, e, ep, eup means processed by (original) TeX, pTeX, 
  e-TeX, e-pTeX, e-upTeX, respectively. And *-trip-e{1,2}.log means 
  processed with extended mode of e-TeX.

