summaryrefslogtreecommitdiff
path: root/language/japanese/ptex/INSTALL
blob: 77116b109d536c3ec8b4f3cb74aa14a77f44ee3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
===========================================================================
 Japanese TeX version 3.141592, p3.1.9
 (for tetex-src-3.0 and later)
===========================================================================
  If necessary, backup the TeX system of the old version before starting
  installation.

$B"((BpTeX supports file names with spaces. However, it doesn't support more
  than two subsequent spaces in the file name.
      platex "a b c d e.tex" will be accepted, however
      platex "a  b.tex"      will not.

---------------------------------------------------------------------------
  Source files
---------------------------------------------------------------------------
  To install pTeX, the following files are required:

  - ptex-src-3.1.9.tar.gz    (pTeX source file)
  - ptex-texmf-2.3.tar.gz    (pTeX library file)
  - teTeX-src-3.0.tar.gz     (teTeX source file)
  - teTeX-texmf-3.0.tar.gz   (teTeX library file)

  These can be obrained from the following sites:

  - pTeX
    ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/
    ftp://ftp.ring.gr.jp/pub/text/TeX/ascii-ptex/
    ftp://ftp.media.kyoto-u.ac.jp/TeX/ASCII-pTeX/
    ftp://bash.cc.keio.ac.jp/pub/TeX/ascii-ptex/
    ftp://ftp.cs.titech.ac.jp/pub/text/TeX/ASCII-pTeX/
    ftp://ftp.tut.ac.jp/TeX/ASCII-pTeX/
    ftp://ftp.u-aizu.ac.jp/pub/tex/ASCII-pTeX/
    ftp://ftp.foretune.co.jp/pub/TeX/ascii-ptex/

  - teTeX
    ftp://ftp.ring.gr.jp/pub/text/CTAN/systems/unix/teTeX/current/distrib/ (JPN)
    ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/     (UK)
    ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/   (GER)
    ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/     (US)

---------------------------------------------------------------------------
  Installation
---------------------------------------------------------------------------
1. Expand the teTeX library file.

     mkdir -p /usr/local/teTeX3/share/texmf-dist
     tar zxf tetex-texmf-3.0.tar.gz \
		-C /usr/local/teTeX3/share/texmf-dist

2. Expand the ptex library file.

     mkdir -p /usr/local/teTeX3/share/texmf
     tar zxf ptex-texmf-2.3.tar.gz -C /usr/local/teTeX3/share/texmf

3. Expand the teTeX source file.

     tar zxf tetex-src-3.0.tar.gz -C /usr/local/src

4. Expand the ptex source file.

     tar zxvf ptex-src-3.1.9.tar.gz \
		-C /usr/local/src/tetex-src-3.0/texk/web2c

5. After moving to the directory where the teTeX source file is expanded,
   execute the configure command. In the prefix option, specify the
   directory where teTeX libraries are installed as a prefix option:

     cd /usr/local/src/tetex-src-3.0
     ./configure --prefix=/usr/local/teTeX3
     make
     make install

6. After moving to the ptex source directory, execute the configure command.
   In doing so, specify the default Kanji code:

     cd /usr/local/src/tetex-src-3.0/texk/web2c/ptex-src-3.1.9
     ./configure euc     (EUC code case)
     ./configure jis     (JIS code case)
     ./configure sjis    (Shift JIS code case)
     make
     make install

=============================================================== EOT =====

                              (Translated from INSTALL.txt in Japanese)