After a day of trying to use Korean fonts in my LaTeX file, I ask this forum for some helpful insight.
I'm using MiKTeX 2.9 (just upgraded a few days ago from 2.7). So far, I have been able to use English latex with no problems. I used the MiKTeX Package Manager (Admin) and installed cjk
, cjk-fonts
, cjkpunct
and miktex-cjkutils-bin-2.9
I used the Options (Admin) to Refresh FNDB and to Update Formats. I have read the CJK documentation file at http://www.inf.ed.ac.uk/systems/tex/CJK/CJK.txt and have searched the web for helpful examples. As far as I can tell, I have the correct installation and use. However, I can not obtain output.
I have done two things.
1) The following error is obtained from the miminmal latex source file: the Korean was entered via keyboard via the vim editor (I also used notepad).
Running miktex-makemf.exe...miktex-makemf: The kmj source file could not be foundRunning hbf2gf.exeCouldn't find 'kmg.cfg'miktex-maketfm: No creation rule for font kmj15! Font C61/mj/m/n/10/15=kmg15 at 10.0pt not loadable: Metric (TFM) file not found
\documentclass{article}\usepackage{CJK}\begin{document}The following should be in Korean\begin{CJK}{KS}{}안녕하세요\end{CJK}The previous should be in Korean\end{document}
2) I changed the following \begin{CJK}{UTF8}{}
and changed vim's encoding to utf-8 via the :set encoding=utf-8
command. I received a different error. I have a clean compile to dvi. However, dvips complains about missing fonts (also yap tries to build these missing fonts).
Trying to make PK font cyberbc5 at 600 DPI...Running miktex-makemf.exe...miktex-makemf: The cyberbc source file could not be found