Thursday, July 14, 2011

Use Latex in Japanese

In recently, I have to write some paper in Japanese. I'd like to try to use latex, but there are some problem to use the fonts belongs to China, Japan, and Korea.

There are some way to fix this problem, just like

http://mail2.nara-edu.ac.jp/~asait/latex/tex.htm

As my OS is Windows, I'd prefer to use

http://www.math.sci.hokudai.ac.jp/~abenori/soft/

http://www.math.sci.hokudai.ac.jp/~abenori/soft/bin/abtexinst_0_81r7.zip

You can just click OK and then you will build your own latex environment.

You can use TeXworks as your editor, which is in the installed folder

w32tex\share\texworks\TeXworks.exe

But there still have some problem that the pdf reader combine with TeXworks is not works well for Japanese character, so find out

w32tex\share\texmf-local\fonts\map\dvipdfmx\base\cid-x.map

open it with notepad, and changes

%
% Ryumin and GothicBBB found in PostScript printers:
%
rml   H Ryumin-Light
gbm   H GothicBBB-Medium
rmlv  V Ryumin-Light
gbmv  V GothicBBB-Medium

to  

%
% Ryumin and GothicBBB found in PostScript printers:
%
%rml   H Ryumin-Light
%gbm   H GothicBBB-Medium
%rmlv  V Ryumin-Light
%gbmv  V GothicBBB-Medium
rml   H :0:msmincho.ttc
gbm   H :0:msgothic.ttc
rmlv  V :0:msmincho.ttc
gbmv  V :0:msgothic.ttc 
 
Then you can enjoy your writing in Japanese. For more solutions, you can read 

http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?TeXworks#s5bfc44e
 
Good Luck!