[tex-live] MacOS X + CJK

John Tang Boyland boyland at cs.uwm.edu
Fri Jul 28 04:15:46 CEST 2006


I signed up for TUG to receive the TexLive CD so that I could have a
version of latex that worked with CJK already installed.
Unfortunately, this didn't work:

(1) I have a Mac (i386, 10.4.7) and so I installed MacTex from the
    TexLive 2005 disk.  But after trying it, I discover that MacTex
    doesn't have CJK installed.  Oh well.

(2) Next I tried to use the main TeXLive distribution.
    I installed it (with sudo install-tl.sh) with all
    default options.  Then I sudo'd texconfig (rehash)
    just in case it still needed configuration.

    But then when I run latex or pdflatex on a chinese CJK file,
    I get the output:
....
(/usr/local/texlive/2005/texmf-dist/tex/latex/CJK/Bg5/Bg5.enc)
(/usr/local/texlive/2005/texmf-dist/tex/latex/CJK/Bg5/Bg5.chr)
(/usr/local/texlive/2005/texmf-dist/tex/latex/CJK/Bg5/c00song.fd)
(/usr/local/texlive/2005/texmf-dist/tex/latex/CJK/Bg5/c00kai.fd)

LaTeX Font Warning: Font shape `C00/song/m/n'
(Font)              in size <17.28> not available.
(Font)              Font shape `C00/kai/m/n'
(Font)              tried instead on input line 9.

kpathsea: Running mktextfm b5ka1207
/usr/local/texlive/2005/texmf/web2c/mktexnam: Could not map typeface abbreviation 5k for b5ka1207.
/usr/local/texlive/2005/texmf/web2c/mktexnam: Need to update /usr/local/texlive/2005/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running hbf2gf -g b5ka1207 600

hbf2gf (CJK ver. 4.6.0)

Couldn't find `ntukai48.hbf'
grep: b5ka1207.log: No such file or directory
mktextfm: `hbf2gf -g b5ka1207 600' failed to make b5ka1207.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font C00/kai/m/n/17.28/07=b5ka1207 at 17.28pt not loadable: Metric (TFM) file
 not found.

After some looking around in ls-R files, I see that my installation
comes with GBK kai *.htf files and NTU sm *.htf files but no .hbf
files (apart from some CNS-40 files) and definitely no NTU kai files.

Why does mktexnam say special.map is out of date?
Did I miss some part of the installation I was supposed to do? 
Do I need to get the NTU kai files from somewhere else?
Can anyone recommend an easy way to get CJK to work on latex on Mac OS X ?

John


More information about the tex-live mailing list