summaryrefslogtreecommitdiff
path: root/systems/chitex/Unix/README
blob: 270d2579a842d1c2cb6b32b4cc65447a1ea1d5f7 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
Before install chitex:

You need to install some packges.
*(Install tetex or texlive.
  New package of linux contains texlive as default.)

(0) For Fedora:
    Fedora 9-13 include package texlive.
       If you are in Fedora 9-12, you should first install:
         軟體開發   (安裝 Fedora 時 安裝)
         (或安裝 Fedora 後安裝 gcc 及 dvipdfmx) 及
         texlive-2007-30.fc9(i386), texlive-2007-35.fc10(i386),
         texlive-2007-42.fc11(i386),or texlive-2007-43.fc12(i386))
         (texlive 的安裝:
           (1) Fedora9-10 可在安裝 Fedora 時或之後 安裝
               安裝 Fedora 時: 應用程式中選 "編寫與出版"
           (2) 若為 Fedora 11-12, 安裝 Fedora 之後安裝
               用新增/移除軟體, 用 Find 鍵入 "texlive" 然後全選
               各項 後 "套用")
           (3) 若為 Fedora 13-14, 安裝 Fedora 之後安裝
               用新增/移除軟體, 用 Find 鍵入 "texlive" 然後
              (a) 全選各項 後 "套用") 或
               (b) 選;(i) Binaries for the TeX formatting setting...
                       (ii) A Dvi to Postscript converter for ...
                       (iii) Texmf files needed for texlive-afm
                       (vi)  Texmf files needed for texliv-latex
                       (v)   Texmf files needed for texliv-xetex
                       (vi)  TexmfTypesetting engine using unicode with opentype ...
               及安裝:
                    cernlib-static 2006-34.fc13  (Fedora 13 要安裝)
         其他要安裝的:
            (a) gcc, xdvi (安裝 Fedora 之後安裝)
            (b) xdvipdfmx  (Fedora9-12,14 安裝 Fedora 之後安裝, Fedora 11,13 不須安裝)
            (c) 若為 Fedora 11, 要再安裝:
                   kpathsea-devel-2007-42.fc11

(1) Debian:
    Debian 4.0-5.0 include package texlive-full
    If you are in Debian 4.0, you should install:
       gcc, gawk, texlive-full, MATHLIB(libmathlib2-dev)  (一定要安裝)
       dvipdfmx, xdvi and freetype1-tools(for 4.0)
    If you are in Debian 5.0, you should install:
       gcc, gawk, texlive-full, MATHLIB(libmathlib2-dev)  (一定要安裝)
       make                                               (一定要安裝)

(2) Ubuntu:
    Ubuntu 8.04-10.10 include package texlive-full
    If you are in Ubuntu 8.04, you should install:
       gcc, gawk, texlive-full, MATHLIB(libmathlib2-dev)  (一定要安裝)
       dvipdfmx, xdvi and freetype1-tools
    If you are in Ubuntu 8.10, you should install:
       gawk, texlive, MATHLIB(libmathlib2-dev)  (一定要安裝)
    If you are in Ubuntu 9.04-9.10, you should install:
       gawk, texlive-full, MATHLIB(libmathlib2-dev)  (一定要安裝)
       freetype1-tools (For Ubuntu 9.04)
    If you are in Ubuntu 10.04:
       (a) you should install:
           texlive-full, texlive-omega, MATHLIB(libmathlib2-dev)  (一定要安裝)
       (b) 要安裝 chitex 要以 root 身份來安裝. Ubuntu 10.04 要下指令:
                 sudo passwd root
           來設定 root 的密碼. 之後再改變 user 為 root 登入後
           才能安裝 chitex (請再參見下面 How to Install)
    If you are in Ubuntu 10.10:
       (a) you should install:
           gawk, texlive-full, MATHLIB(libmathlib2-dev)  (一定要安裝)
       (b) 要安裝 chitex 要以 root 身份來安裝可如:
                 sudo su -

(3) FreeBSD:
    If you are in FreeBSD 7.1 you should install:
       Developer (安裝系統時選取, 或之後補選取安裝)
       cjklatex
    If you are in FreeBSD 7.2 you should install:
       Developer (安裝系統時選取, 或之後補選取安裝)
       gawk, cjklatex
    If you are in FreeBSD 8.0 you should install:
       Developer
       teTeX-base, teTeX-texmf, xdvi
       gawk, Freetype-tool (or cjklatex)
    If you are in FreeBSD 8.1 you should install:
       Developer (if it has not gcc )
       teTeX-base, teTeX-texmf, dvipdfmx
       gawk (if it has not gawk)
       Freetype-tool(or cjklatex) (if it has not ttf2tfm)

(4) 自行抓取 texlive 安裝 tex 者, 需重整 path :
    在  texlive/2010 (例如) 目錄中:
        Give command: ./install-tl 之後, 出現 "Enter command:" 後 鍵入 D 如下:
             Enter command: D
        之後出現:
         <1> TEXDIR:       /usr/local/texlive/2010
             support tree: /usr/local/texlive/2010/texmf
         <2> TEXMFLOCAL:     /usr/local/texlive/texmf-local
         <3> TEXMFSYSVAR:    /usr/local/texlive/2010/texmf-var
         <4> TEXMFSYSCONFIG: /usr/local/texlive/2010/texmf-config

       鍵入 1 修改 TEXDIR 如下:
          Enter command: 1
          New value for TEXDIR [/usr/local/texlive/2010]: /usr/share
       之後, 鍵入 2 修改 TEXMFLOCAL 如下:
          Enter command: 2
          New value for TEXMFLOCAL [/usr/share/texmf-local]: /usr/share/texmf
       之後, 鍵入 3 修改 TEXMFSYSVAR 如下:
          Enter command: 3
          New value for TEXMFSYSCONFIG [/usr/share/texmf-var]: /usr/share/texmf
       之後, 鍵入 3 修改 TEXMFSYSVAR 如下:
          Enter command: 4
          New value for TEXMFSYSCONFIG [/usr/share/texmf-config]: /usr/share/texmf
       之後, 鍵入 R 回 Main Menu  如下:
          Enter command: R

       再鍵入 O 修改 options 如下:
          Enter command: O
       之後, 鍵入 L 修改 binary directory 為 /usr/bin (重要一定要做) 如下:
          Enter command: L
          New value for binary directory [/usr/local/bin]: /usr/bin
       之後, 鍵入 R 回 Main Menu  如下:
          Enter command: R

       再鍵入 I 已安裝到 hard disk 如下:
          Enter command: I

    完成上面之後, 再依照 unix 的系統為 Fedora, Debian, Ububtu 或 FreeBSD
    參見上面 (0) Fedora (1) Debian (2) Ububtu (3) FreeBSD 之說明
    看是否需安裝必要的 package

Install chitex:
        In this page (directory), download file "chitexu_15a61.tgz".
        Give command:
             zcat chitexu_15a63.tgz|tar xvf -
        to have a directory "6.1.2p15a63". Then in this directory,
        give command
             chmod +x setup
        and run:
             ./setup 
        to install chitex.
 
 Other site which has package of chitex (unix):
   ftp://ftp.math.ncu.edu.tw/chitex/unix