安装了工具盘上的latex和cjk,测试sample.失败
我安装了工具盘上的latex和cjk包,但是用latex编绎 sample.tex就出错了latex包是jackey做的,所以想请教jackey了,这是怎么回事呢?现在要用latex
处理中文呀:(
sample.tex文件内容
\documentclass{article}
\usepackage{CJK}
\usepackage{graphics}
\begin{document}
\begin{CJK*}{GBK}{song}
\begin{enumerate}
\item
\textsl{这是斜体中文。}
\item
\textbf {这是粗体中文}
\item
\textbf{\textit{这是粗斜体中文} }
\end{enumerate}
这是一个数学公式
\end{CJK*}
\end{document}
编绎出错信息:
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./sample.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size12.clo))
(/usr/share/texmf/tex/latex/CJK/CJK.sty
(/usr/share/texmf/tex/latex/CJK/mule/MULEenc.sty)
(/usr/share/texmf/tex/latex/CJK/CJK.enc))
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def)) (./sample.aux)
(/usr/share/texmf/tex/latex/CJK/standard.bdg)
(/usr/share/texmf/tex/latex/CJK/extended.enc)
(/usr/share/texmf/tex/latex/CJK/extended.chr)
(/usr/share/texmf/tex/latex/CJK/GB/c19song.fd)kpathsea: Running mktextfm gbk63
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk63
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk63
! I can't find file `gbk63'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk63
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk63
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk63' failed.
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running mktextfm gbk55
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk55
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk55
! I can't find file `gbk55'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk55
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk55
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk55' failed.
kpathsea: Running mktextfm gbk60
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk60
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk60
! I can't find file `gbk60'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk60
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk60
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk60' failed.
kpathsea: Running mktextfm gbk57
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk57
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk57
! I can't find file `gbk57'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk57
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk57
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk57' failed.
kpathsea: Running mktextfm gbk64
LaTeX Font Warning: Font shape `C19/song/m/sl' undefined
(Font) using `C19/song/m/n' instead on input line 9.
! Font C19/song/m/n/12/63=gbk63 at 12.0pt not loadable: Metric (TFM) file not f
ound.
<to be read again>
relax
l.9 ...c7^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4^^a1^^a3}
! Font C19/song/m/sl/12/55=gbk55 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.9 ...c7^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4^^a1^^a3}
! Font C19/song/m/sl/12/60=gbk60 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.9 ...c7^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4^^a1^^a3}
! Font C19/song/m/sl/12/57=gbk57 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.9 ...c7^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4^^a1^^a3}
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk64
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk64
! I can't find file `gbk64'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk64
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk64
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk64' failed.
kpathsea: Running mktextfm gbk58
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk58
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk58
! I can't find file `gbk58'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk58
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk58
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk58' failed.
kpathsea: Running mktextfm gbk25
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk25
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk25
! I can't find file `gbk25'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk25
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk25
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk25' failed.
kpathsea: Running mktextfm gbk63
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk63
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk63
! I can't find file `gbk63'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk63
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk63
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk63' failed.
kpathsea: Running mktextfm gbk55
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk55
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk55
! I can't find file `gbk55'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk55
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk55
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk55' failed.
kpathsea: Running mktextfm gbk39
! Font C19/song/m/sl/12/64=gbk64 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.9 ...c7^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4^^a1^^a3}
! Font C19/song/m/sl/12/58=gbk58 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.9 ...c7^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4^^a1^^a3}
! Font C19/song/m/sl/12/25=gbk25 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.9 ...c7^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4^^a1^^a3}
! Font C19/song/bx/n/12/63=gbk63 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.11 ...2^^ca^^c7^^b4^^d6^^cc^^e5^^d6^^d0^^ce^^c4}
! Font C19/song/bx/n/12/55=gbk55 at 12.0pt mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk39
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk39
! I can't find file `gbk39'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk39
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk39
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk39' failed.
kpathsea: Running mktextfm gbk57
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk57
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk57
! I can't find file `gbk57'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk57
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk57
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk57' failed.
kpathsea: Running mktextfm gbk64
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk64
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk64
! I can't find file `gbk64'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk64
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk64
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk64' failed.
kpathsea: Running mktextfm gbk58
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk58
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk58
! I can't find file `gbk58'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk58
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk58
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk58' failed.
kpathsea: Running mktextfm gbk55
not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.11 ...2^^ca^^c7^^b4^^d6^^cc^^e5^^d6^^d0^^ce^^c4}
! Font C19/song/bx/n/12/39=gbk39 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.11 ...2^^ca^^c7^^b4^^d6^^cc^^e5^^d6^^d0^^ce^^c4}
! Font C19/song/bx/n/12/57=gbk57 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.11 ...2^^ca^^c7^^b4^^d6^^cc^^e5^^d6^^d0^^ce^^c4}
! Font C19/song/bx/n/12/64=gbk64 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.11 ...2^^ca^^c7^^b4^^d6^^cc^^e5^^d6^^d0^^ce^^c4}
! Font C19/song/bx/n/12/58=gbk58 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
rmktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk55
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk55
! I can't find file `gbk55'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk55
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk55
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk55' failed.
kpathsea: Running mktextfm gbk39
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk39
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk39
! I can't find file `gbk39'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk39
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk39
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk39' failed.
kpathsea: Running mktextfm gbk60
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk60
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk60
! I can't find file `gbk60'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk60
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk60
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk60' failed.
kpathsea: Running mktextfm gbk57
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk57
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk57
! I can't find file `gbk57'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk57
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk57
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk57' failed.
kpathsea: Running mktextfm gbk64
elax
l.11 ...2^^ca^^c7^^b4^^d6^^cc^^e5^^d6^^d0^^ce^^c4}
LaTeX Font Warning: Font shape `C19/song/bx/it' undefined
(Font) using `C19/song/bx/n' instead on input line 13.
! Font C19/song/bx/it/12/55=gbk55 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.13 ...^b4^^d6^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4} }
! Font C19/song/bx/it/12/39=gbk39 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.13 ...^b4^^d6^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4} }
! Font C19/song/bx/it/12/60=gbk60 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.13 ...^b4^^d6^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4} }
! Font C19/song/bx/it/12/57=gbk57 at 12.0pt not loadable: Metric (TFM) file not
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk64
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk64
! I can't find file `gbk64'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk64
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk64
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk64' failed.
kpathsea: Running mktextfm gbk58
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk58
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk58
! I can't find file `gbk58'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk58
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk58
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk58' failed.
kpathsea: Running mktextfm gbk55
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk55
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk55
! I can't find file `gbk55'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk55
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk55
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk55' failed.
kpathsea: Running mktextfm gbk61
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk61
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk61
! I can't find file `gbk61'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk61
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk61
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk61' failed.
found.
<to be read again>
relax
l.13 ...^b4^^d6^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4} }
! Font C19/song/bx/it/12/64=gbk64 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.13 ...^b4^^d6^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4} }
! Font C19/song/bx/it/12/58=gbk58 at 12.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.13 ...^b4^^d6^^d0^^b1^^cc^^e5^^d6^^d0^^ce^^c4} }
! Font C19/song/m/n/12/55=gbk55 at 12.0pt not loadable: Metric (TFM) file not f
ound.
<to be read again>
relax
l.15 ^^d5^^e2^^ca^^c7
^^d2^^bb^^b8^^f6^^ca^^fd^^d1^^a7^^b9^^ab^^ca^^bd
! Font C19/song/m/n/12/61=gbk61 at 12.0pt not loadable: Metric (TFM) file not f
ound.
<to be read again>
relax
l.15 ^^d5^^e2^^ca^^c7^^d2^^bb
kpathsea: Running mktextfm gbk42
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk42
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk42
! I can't find file `gbk42'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk42
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk42
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk42' failed.
kpathsea: Running mktextfm gbk60
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk60
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf gbk60
! I can't find file `gbk60'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk60
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input gbk60
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gbk60' failed.
^^b8^^f6^^ca^^fd^^d1^^a7^^b9^^ab^^ca^^bd
! Font C19/song/m/n/12/42=gbk42 at 12.0pt not loadable: Metric (TFM) file not f
ound.
<to be read again>
relax
l.15 ^^d5^^e2^^ca^^c7^^d2^^bb^^b8^^f6
^^ca^^fd^^d1^^a7^^b9^^ab^^ca^^bd
! Font C19/song/m/n/12/60=gbk60 at 12.0pt not loadable: Metric (TFM) file not f
ound.
<to be read again>
relax
l.15 ...e2^^ca^^c7^^d2^^bb^^b8^^f6^^ca^^fd^^d1^^a7
^^b9^^ab^^ca^^bd
(./sample.aux)
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
)
(see the transcript file for additional information)
Output written on sample.dvi (1 page, 260 bytes).
Transcript written on sample.log. 成功了,按照jackey以前发的贴子,重做一遍,原来是因为在b3下,没有simhei.ttf,所以安装
CJK-GBKfonts-0.1-1mgc包的时候,跳过了那个长长的转化过程。当然会出现前面的那多的错误。
于是我把最后一个包force安装一遍,成功了
但是在kile里,还有一个小问题,即每次编绎 中文的tex文档。不能像英文的那样。直接用pdflatex,最后出现Process failed
用latex后的dvi文件,view dvi也是不行的。我只好再把dvi转成ps,就可以看了,ps转成pdf也是可以的。
页:
[1]