Anybody has Chinese words working in LaTeX on FreeBSD?

Yuri yuri at rawbw.com
Sat Mar 29 13:07:12 PDT 2008


I am trying to print Chinese words into LaTeX document but am having 
some font issues.

I have these relevant packages installed:
teTeX-3.0_2
latex-cjk-4.7.0_1

My sample document is below.

When I run 'latex' on it I get the error log below.

Thank you,
Yuri


----- document -----
        \documentclass[12pt]{article}
        \usepackage{CJK}
        \begin{document}
        \begin{CJK*}{UTF8}{song}
        \CJKtilde
             è~W~M
        \end{CJK*}
        \end{document}

----- errors -----
(/usr/local/share/texmf/tex/latex/CJK/UTF8/UTF8.chr)

LaTeX Font Warning: Font shape `C70/sung/m/n' undefined
(Font)              using `C70/song/m/n' instead on input line 6.

(/usr/local/share/texmf/tex/latex/CJK/UTF8/c70song.fd)kpathsea: Running 
mktextfm cyberb85
/usr/local/share/texmf/web2c/mktexnam: Could not map typeface 
abbreviation yb for cyberb85.
/usr/local/share/texmf/web2c/mktexnam: Need to update 
/usr/local/share/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; 
nonstopmode; input cyberb85
This is METAFONT, Version 2.71828 (Web2C 7.5.4)
kpathsea: Running mktexmf cyberb85

! I can't find file `cyberb85'.
<*> ...ljfour; mag:=1; nonstopmode; input cyberb85

Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input cyberb85

Transcript written on mfput.log.
grep: cyberb85.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input cyberb85' failed to make cyberb85.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font C70/song/m/n/12/85=cyberb85 at 12.0pt not loadable: Metric (TFM) 
file no
t found.
<to be read again>
                   relax
l.6              è





More information about the freebsd-questions mailing list