2010/03/28

[latex] Chinese

-- 2010 --
Now I love to just download fonts from here cwTeX Unicode Type 1 and
copy the fonts to the directory described in section 4.1.2 of the 1st link below. 
It easy! Under CJK package it works. I usually embed cwmu and cwku. They are 
enough for my purpose. 
 
-- 2005/02/02 bbs backup -- 
如果是抓果正兄做的王漢宗type1字型的話
http://info.sayya.org/~edt1023/tex/mycjk/n中文中文ode5.html
參考這個    把資料夾弄到指定目錄即可
在參考這個
http://neural.ee.ncku.edu.tw/~ccy0927/blog/archives/000179.html
路徑要改

如果要內嵌自行
miktex要改這個
http://project.ktug.or.kr/dvipdfmx/
不內嵌字型可避免字型授權問題



####

type1測試可以 抓人家做好的就可以了
###



windows的MikTeX

ttf2tfm <字型名稱> -P 3 -E 4 <- 數字不對會有提示 fontalias@UBig5@   ...enter

把產生出來的tfm檔拷到 texmf/fonts 裡面

把最後一行
fontalias@UBig5@      Pid = 3 Eid = 4
複製到  texmf/ttf2tfm/base/ttfonts.map 裡面

找到 texmf/tex/latex/CJK/Bg5
隨便把一個c00xxxxxxx.fd檔打開
把檔名及fontalias改成剛剛做的fontalias 另存為 c00fontalias.fd

執行 texhash

文件內要這樣寫
\begin{CJK}{Bg5}{fontalias}
...
\end{CJK}

測試王漢宗細明體成功
這樣就不用裝cwTeX了

沒有留言:

張貼留言