LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1086|回复: 5

latex编写中文时出现这个问题。cjk什么的都是装好了的。

[复制链接]
发表于 2005-10-31 15:39:02 | 显示全部楼层 |阅读模式
httpbash-3.00# latex cjk.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./cjk.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/size11.clo))
(/usr/share/texmf-local/tex/latex/CJK/CJK.sty
(/usr/share/texmf-local/tex/latex/CJK/mule/MULEenc.sty)
(/usr/share/texmf-local/tex/latex/CJK/CJK.enc)) (./cjk.aux)
(/usr/share/texmf-local/tex/latex/CJK/standard.bdg)
(/usr/share/texmf-local/tex/latex/CJK/standard.enc)
(/usr/share/texmf-local/tex/latex/CJK/standard.chr) (./cjk.toc)
(/usr/share/texmf-local/tex/latex/CJK/GB/c10song.fd)
(/usr/share/texmf-local/tex/latex/CJK/GB/c10fs.fd)

LaTeX Font Warning: Font shape `C10/song/m/n'
(Font)              in size <10.95> not available.
(Font)              Font shape `C10/fs/m/n'
(Font)              tried instead on input line 12.

kpathsea: Running mktextfm gsfs1420
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gsfs1420
This is METAFONT, Version 2.7182 (Web2C 7.4.5)

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

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

Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input gsfs1420' failed.
kpathsea: Appending font creation commands to missfont.log.
! Font C10/fs/m/n/10.95/20=gsfs1420 at 10.95pt not loadable: Metric (TFM) file
not found.
<to be read again>
                   relax
l.12 Well, and here begins my lovely ^^d6^^d0
                                             ^^b9^^fa article.
发表于 2005-10-31 22:44:00 | 显示全部楼层
保存tex文件时选择文件编码为gbk再试试.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-3 12:17:25 | 显示全部楼层
这个要怎么改呀?谢谢
回复 支持 反对

使用道具 举报

发表于 2005-11-3 16:28:14 | 显示全部楼层
cjk.tex内容是怎么写的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-3 16:55:59 | 显示全部楼层
\documentclass[a4paper,11pt]{article}
%define the title
\author{Jin}
\title{jjjj}
\usepackage{CJK}
\begin{document}
\begin{CJK}{GB}{song}

\maketitle
\tableofcontents
\section{Some Interesting Words}
Well, and khere begins my lovely article.
中国
\section{Good Bye world}
\ldots{} and here it ends.
\end{CJK}
\end{document
如果将“中国“两个字去掉编译是没问题的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-3 17:09:02 | 显示全部楼层
解决了。谢谢大家了。
\begin{CJK}{GBK}{simsun}
就可以了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表