🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #9948

[FYI]如何在CJK LaTeX 中编译多国语言文件(内容是big5)

#9948
From: NewBlue
Date: Wed, 17 Sep 2003 04:51
79 lines
3752 bytes
--=-=-=
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 8bit


  ��n���H�ݨ줤�B���V�X�ɪ� LaTeX ��Z���sĶ�A�o�̵y�L����
  �@�U�C�ڬO�H Linux ���Ҩӻ���A��D�z�b��L�� OS ���O�۳q���C

  �W�@�� post �w�g�����ؤ覡�A�䤤 UTF-8 �s�X����󩹫�A��
  ����A�]���ڭ̨S�� free ����� Unicode TTF�C�o�̥u�����²
  �檺�覡�A�u�ݭn CJK/dvipdfmx �N�i�H�F���C

  �ڥH��嬰�ҡG

  ����n�w�ˤ�媺 TTF�A�o�b Mandrake/Red Hat ���ӳ��|���A�H MDK
  ���ҡA�N�O fonts-ttf-japanese-0.20020727-3mdk �o�ӮM�󤤡C
  * �o�Ǧr���O�i�H�ۥѨϥΪ��C

  1. �� ttf2tfm �s�@ tfm ��

     mkdir mincho
     cd mincho
     ttf2tfm kochi-mincho.ttf mincho@UJIS@
     mkdir -p /usr/share/texmf/fonts/tfm/CJK/mincho
     cp *.tfm /usr/share/texmf/fonts/tfm/CJK/mincho

  2. �r���s��

     cd /usr/share/texmf/fonts/truetype
     ln -sf ../../fonts/ttf/japanese/kochi-mincho.ttf kochi-mincho.ttf

  3. dvipdfmx map ��

     /usr/share/texmf/dvipdfm/config/cid-x.map �[�J

     mincho@SJIS@          90ms-RKSJ-H     :0:kochi-mincho.ttf

  4. CJK fd ��

     �إ�(�s��) /usr/share/texmf/tex/CJK/JIS/c40song.fd

     \DeclareFontFamily{C40}{song}{\hyphenchar \font\m@ne}
     \DeclareFontShape{C40}{song}{m}{n}{<-> CJK * mincho}{}
     \DeclareFontShape{C40}{song}{bx}{n}{<-> CJKb * mincho}{\CJKbold}

  5. ���� texhash

     �ܩ�s����A�i�H�ϥ� mlterm�A��J�k�i�H�ϥ� kinput2�C�]�N�O��
     big5 ����ɬO�b big5 �����ҥ� xcin ��J�A��媺�����O�b��媺��
     �ҿ�J�C��媺�r���W�٨ϥ� song�C

  6. �sĶ(�ϥ� bg5latex)

     bg5latex your.tex(��λݭn�⦸)
     dvipdfmx your.dvi

  �����I

  ��ڨҤl�G

  http://project.ktug.or.kr/dvipdfmx/sample/cjk-latex/cjkmix2.tar.gz
  http://project.ktug.or.kr/dvipdfmx/sample/cjk-latex/cjkmix2-embed.pdf
  http://project.ktug.or.kr/dvipdfmx/sample/cjk-latex/cjkmix2-noembed.pdf

  UTF-8 ���Ҥl�G

  http://project.ktug.or.kr/dvipdfmx/sample/cjk-latex/unicode.pdf

--=-=-=
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit


-- 
NewBlue
�Դ����뿪���Ժ���һֱ�ȴ��������
B3 B1 C9 C7 B9 A6 B7 F2 B2 E8

--=-=-=--
Technical Details
Message-ID: <uy8wom2zo.fsf@yaako.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.cn99.com!news.yaako.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ChineseT,BIG5
X-Google-Thread: 10b277,6c745be4873f1f0,start
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2003-09-16 22:21:19 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.cn99.com!news.yaako.com!not-for-mail
From: NewBlue <NewBlue@yaako.com>
Newsgroups: cn.comp.os.linux
Subject: [FYI]如何在CJK LaTeX
 中编译多国语言文件(内容是big5)
Date: Wed, 17 Sep 2003 12:51:39 +0800
Organization: 功夫茶
Lines: 79
Message-ID: <uy8wom2zo.fsf@yaako.com>
NNTP-Posting-Host: 61.146.252.68
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Trace: news.yaako.com 1063775981 17377 61.146.252.68 (17 Sep 2003 05:19:41 GMT)
X-Complaints-To: usenet@news.yaako.com
NNTP-Posting-Date: Wed, 17 Sep 2003 05:19:41 +0000 (UTC)
User-Agent: Emacs+gnus
Cancel-Lock: sha1:bQgEklE2CKpo5ndXSLuAI0DZ3is=