xetex的字体是系统字体,fc-list看到的 编译是用xetex 长时间不用,记不太清楚了
在 2010年5月15日 下午12:12,刘宇辉 <lyh19901...@gmail.com>写道: > 还是那样,呵呵, 错误信息 > > 2010/5/15 刘宇辉 <lyh19901...@gmail.com> > > >> >> 2010/5/15 马耀辉 <stesench...@gmail.com> >> >>> 貌似要设置下、安装装字体才能用中文的吧,要不就texlive-xetex >>> >> >> >> latex-cjk-chinese-arphic-gkai00mp >> latex-cjk-chinese-arphic-bsmi00lp >> latex-cjk-chinese-arphic-bkai00mp >> latex-cjk-chinese-arphic-gbsn00lp >> 这几个应该包含了字体了吧, >> >> 我试一下texlive-xetex >> >> >> >>> 在 2010年5月15日 上午11:01,刘宇辉 <lyh19901...@gmail.com>写道: >>> >>> 刚刚接触到Latex, 今天早晨刚刚装了, >>>> 为了减少出错的几率,用debian软件中心安装的(squeeze), >>>> 安装了这几个软件包: >>>> cjk-latex >>>> >>>> latex-cjk-chinese-arphic-gkai00mp >>>> latex-cjk-chinese-arphic-bsmi00lp >>>> latex-cjk-chinese-arphic-bkai00mp >>>> latex-cjk-chinese-arphic-gbsn00lp >>>> >>>> latex-cjk-common >>>> >>>> ttf-arphic-gkai00mp >>>> ttf-arphic-bsmi00lp >>>> ttf-arphic-bkai00mp >>>> ttf-arphic-gbsn00lp >>>> 还有一些包是依赖关系安装上去的。 >>>> >>>> 测试了一下: >>>> >>>> \documentclass[12pt]{article} >>>> >>>> >>>> >>>> >>>> \usepackage{CJK} >>>> \begin{document} >>>> \begin{CJK*}{GB}{song} >>>> \CJKtilde >>>> \title{\bf 中文\LaTeX~(CJK+LaTeX)的使用实例} >>>> \date{\today} >>>> \maketitle >>>> \end{CJK*} >>>> \end{document} >>>> >>>> >>>> >>>> >>>> (这个是网上的例子) >>>> >>>> 然后pdf hello1.tex : >>>> 输出: >>>> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) >>>> restricted \write18 enabled. >>>> entering extended mode >>>> (./hello1.tex >>>> LaTeX2e <2009/09/24> >>>> >>>> >>>> >>>> >>>> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, >>>> dumylang, noh >>>> yphenation, pinyin, loaded. >>>> (/usr/share/texmf-texlive/tex/latex/base/article.cls >>>> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class >>>> >>>> >>>> >>>> >>>> (/usr/share/texmf-texlive/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)) (./hello1.aux) >>>> (/usr/share/texmf/tex/latex/CJK/standard.bdg) >>>> >>>> >>>> >>>> >>>> (/usr/share/texmf/tex/latex/CJK/standard.enc) >>>> (/usr/share/texmf/tex/latex/CJK/standard.chr) >>>> >>>> LaTeX Font Warning: Font shape `C10/song/bx/n' undefined >>>> >>>> >>>> >>>> (Font) using `C10/song/m/n' instead on input line 8. >>>> >>>> ! Undefined control sequence. >>>> t...@size@range ...extr...@rangefontinfo f...@info >>>> >>>> >>>> >>>> >>>> <-*>@nil <@nnil >>>> l.8 \maketitle >>>> >>>> ? >>>> >>>> >>>> 查看了一下log >>>> 并没有报错或者warning 。开始怀疑是编码的格式的原因(代码里的红色的GB),把他改为UTF8,问题依旧, >>>> >>>> >>>> >>>> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) >>>> restricted \write18 enabled. >>>> entering extended mode >>>> (./hello1.tex >>>> LaTeX2e <2009/09/24> >>>> >>>> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, >>>> dumylang, noh >>>> yphenation, pinyin, loaded. >>>> (/usr/share/texmf-texlive/tex/latex/base/article.cls >>>> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class >>>> >>>> >>>> >>>> >>>> (/usr/share/texmf-texlive/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)) (./hello1.aux) >>>> (/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.bdg) >>>> >>>> >>>> >>>> >>>> (/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.enc) >>>> (/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.chr) >>>> >>>> LaTeX Font Warning: Font shape `C70/song/bx/n' undefined >>>> >>>> >>>> >>>> (Font) using `C70/song/m/n' instead on input line 8. >>>> >>>> ! Undefined control sequence. >>>> t...@size@range ...extr...@rangefontinfo f...@info >>>> <-*>@nil <@nnil >>>> >>>> >>>> >>>> >>>> l.8 \maketitle >>>> >>>> ? >>>> >>>> >>>> 由于是刚刚接触tex,希望各位指教,不胜感激!谢谢! >>>> >>>> >>>> -- >>>> ________________________ >>>> wolf python london(WPL) >>>> Do as you soul should do ! >>>> ________________________ >>>> >>> >>> >> >> >> -- >> ________________________ >> wolf python london(WPL) >> Do as you soul should do ! >> ________________________ >> > > > > -- > ________________________ > wolf python london(WPL) > Do as you soul should do ! > ________________________ >