(1) Install tetex package
(2) Prepare localized directory tree
# mkdir -p /usr/share/texmf-local/tex/latex/
2
(3) Download latest CJK from the following link:
ftp://ftp.ffii.org/pub/cjk/
Uncompress the CJK package, then:
# mv cjk-version/texinput/ /usr/share/texmf-local/tex/latex/CJK
(4) Build tools:
gbkfonts, it requires header file from freetype 1.x
http://learn.tsinghua.edu.cn/homepage/015450/programs.html
ttf2pk, it is included in contrib/ of freetype 1.x, build it
statically since your system may have freetype2 installed!
(5) Build fonts from TTF fonts:
# cd /usr/share/texmf-local/
# gbkfonts /usr/X11R6/lib/X11/fonts/TTF/simsun.ttc song
# gbkfonts /usr/X11R6/lib/X11/fonts/TTF/simhei.ttc hei
# gbkfonts /usr/X11R6/lib/X11/fonts/TTF/simkai.ttc kai
# gbkfonts /usr/X11R6/lib/X11/fonts/TTF/simfang.ttc fs
# gbkfonts /usr/X11R6/lib/X11/fonts/TTF/fzwbjw.ttc fzweibeis
# gbkfonts /usr/X11R6/lib/X11/fonts/TTF/fzwbfw.ttc fzweibeit
Move generated file in the current directory (/usr/share/texmf-local) to correct location:
# mv cid-x.map dvipdfm/config/
# mv cjk.map dvips/config/
# cp ../texmf/dvips/config/config.ps dvips/config/
# echo "p +cjk.map" >> dvips/config/config.ps
# mv pdftex.cfg pdftex/config/
(6) Clean up:
# cd tex/latex/CJK/
# rm -rf JIS/ KS/ SJIS/ thai/ CEF/
# /usr/share/texmf/bin/mktexlsr
(7) Change permissions:
# chown -R root:root /usr/share/texmf-local/
(8) Change $PATH:
# vi /etc/profile.d/tetex.csh /etc/profile.d/tetex.sh查看 http://www.qqread.com/linux/2006/11/f266980.html进入讨论组讨论。
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- Linux与Windows Vista的桌面之争 (83次浏览)
- 对比评测Vista XP Linux启动时间 (59次浏览)
- Linux 基本概念及常用命令 (57次浏览)
- Linux系统如何判断CPU是双核还是单核 (53次浏览)
- VMware下Linux与真实主机共享上网 (31次浏览)
- Linux系统下如何更改终端显示分辨率 (30次浏览)
- 实用技巧:配置Linux操作系统环境变量 (30次浏览)
- Fedora 8 Linux下安装配置audacious过程 (27次浏览)
- Linux系统下设置环境变量Path的方法 (25次浏览)
- 最流行的发行版:Ubuntu 8.04 Alpha 2发布 (24次浏览)



