我装的是2009,安装的是xeCJK,纯英文文档倒是没问题,但是编译中文的时候报错
his is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009)
entering extended mode
(/home/user/桌面/test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, basque, pinyin, french,
german, ngerman, loaded.
(/usr/local/texlive/2009/../texmf-local/tex/xelatex/xecjk/ctex4xetex.cfg
(/usr/local/texlive/2009/texmf-dist/tex/latex/cjk/texinput/CJKnumb.sty))
(/usr/local/texlive/2009/texmf-dist/tex/latex/ctex/ctexbook.cls
Document Class: ctexbook 2009/10/20 v0.95 ctexbook document class
(/usr/local/texlive/2009/texmf-dist/tex/latex/ctex/opt/ctex-common-opts.def)
(/usr/local/texlive/2009/texmf-dist/tex/latex/ctex/opt/ctex-caption-opts.def)
(/usr/local/texlive/2009/texmf-dist/tex/latex/ctex/opt/ctex-class-opts.def)
(/usr/local/texlive/2009/texmf-dist/tex/latex/ctex/def/ctex-loadclass.def
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/book.cls
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/bk10.clo)))
(/usr/local/texlive/2009/texmf-dist/tex/latex/ctex/def/ctex-common.def
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2009/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/tools/indentfirst.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/fix-cm.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/local/texlive/2009/texmf-dist/tex/latex/ctex/engine/ctex-xecjk-engine.def
(/usr/local/texlive/2009/../texmf-local/tex/xelatex/xecjk/xeCJK.sty
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/xkeyval/xkeyval.tex))
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/euenc/eu1enc.def)
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/euenc/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/texlive/2009/../texmf-local/tex/xelatex/xecjk/xeCJKpunct.spa))
(/usr/local/texlive/2009/texmf-dist/tex/latex/ctex/engine/ctex-cjk-common.def)
(/usr/local/texlive/2009/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.
def
kpathsea: Running mktextfm SimSun
/usr/local/texlive/2009/texmf/web2c/mktexnam: Could not map source abbreviation S for SimSun.
/usr/local/texlive/2009/texmf/web2c/mktexnam: Need to update /usr/local/texlive/2009/texmf-dist/fonts/map/dvips/skak/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input SimSun
This is METAFONT, Version 2.718281 (TeX Live 2009)
kpathsea: Running mktexmf SimSun
! I can't find file `SimSun'.
<*> ...:=ljfour; mag:=1; nonstopmode; input SimSun
Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input SimSun
Transcript written on mfput.log.
grep: SimSun.log: 没有该文件或目录
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input SimSun' failed to make SimSun.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \zf@basefont=SimSun at 10.0pt not loadable: Metric (TFM) file or install
ed font not found.
\zf@fontspec ...ntname \zf@suffix " at \f@size pt
\unless \ifzf@icu \zf@set@...
l.5 {SimSun}
?
下面是代码:
\input{ctex4xetex.cfg}
\documentclass{ctexbook}
\usepackage[boldfont,slantfont,CJKnumber]{xeCJK}
\setCJKmainfont[BoldFont={Adobe Heiti Std}, ItalicFont={Adobe Kaiti Std}]{Adobe Song Std}
\setCJKsansfont{YouYuan}
\setCJKmonofont{Adobe Fangsong Std}
\begin{document}
你好!
\end{document}
我觉得是不是字体设置有问题啊?
还有,adobe那几种字体怎么安装?
把我的fc-list贴出来,感觉我的中文字体好少阿
Umpush:style=Oblique
Nimbus Sans L:style=Regular Italic
WenQuanYi Bitmap Song:style=Bold
LMRoman10:style=DunhillOblique
LMSans10:style=DemiCondensedOblique
LMSans9:style=Regular
LMSans8:style=Regular
URW Palladio L:style=Roman
Century Schoolbook L:style=Bold Italic
Lohit Punjabi:style=Regular
mry_KacstQurn:style=Regular
Norasi:style=Oblique
TlwgTypewriter:style=Oblique
FreeSans:style=obyčejné,Mittel,µεσαία,Medium,Normal,Medio,Gemiddeld,odmiana zwykła,Обычный,navadno,Vừa
LMRoman5:style=Bold
LMRoman7:style=Bold
LMRoman6:style=Bold
LMRoman9:style=Bold
LMRoman8:style=Bold
TlwgMono:style=Medium
Tlwg Typo:style=Medium
LMSans10:style=Bold
LMMathExtension10:style=Regular
Nimbus Sans L:style=Bold
OpenSymbol:style=Regular
Norasi:style=BoldOblique
UnDotum,은 돋움:style=Regular
文鼎PL中楷,AR PL KaitiM Big5:style=Regular
Tlwg Typo:style=BoldOblique
Purisa:style=BoldOblique
URW Chancery L:style=Medium Italic
Bitstream Charter:style=Bold Italic
wasy10:style=Normal
Mukti Narrow,মà§à¦•à§à¦¤à¦¿:style=Regular
文泉驿等宽正黑,文泉驛等寬正黑,WenQuanYi Zen Hei Mono:style=中等,Medium
Nimbus Roman No9 L:style=Regular
AR PL UMing TW:style=Light
LMRoman10:style=CapsRegular
Loma:style=Oblique
cmex10:style=Medium
Century Schoolbook L:style=Bold
Century Schoolbook L:style=Italic
LMRoman10:style=CapsOblique
Mukti Narrow,মুক্তি পাতনা,Mukti Narrow Bold:style=Regular,Bold
AR PL UMing HK:style=Light
LMTypewriterVarWd10:style=Dark
LMMathSymbols5:style=BoldItalic
LMMathSymbols7:style=BoldItalic
FreeSerif:style=FettKursiv,BoldItalic,NegritaCursiva,GrasItalique,VetCursief,ОбычныйКурсив,polkrepko ležeče
KacstDecorative:style=Medium
AR PL UMing CN:style=Light
Norasi:style=BoldItalic
Nimbus Sans L:style=Regular
LMTypewriter10:style=CapsOblique
LMTypewriterVarWd10:style=Oblique
KacstBook:style=Medium
URW Palladio L:style=Italic
LMRoman10:style=DemiOblique
Garuda:style=Oblique
Mallige:style=Bold
Nimbus Sans L:style=Bold Condensed
TlwgTypewriter:style=Medium
LMSans8:style=Oblique
LMSans9:style=Oblique
UnBatang,은 바탕:style=Bold
URW Gothic L:style=Demi
LMRoman12:style=Regular
LMRoman10:style=Regular
LMRoman17:style=Regular
LMMathItalic5:style=BoldItalic
LMMathItalic7:style=BoldItalic
Nimbus Roman No9 L:style=Medium Italic
Bitstream Charter:style=Regular
Purisa:style=Bold
LMSansQuotation8:style=Regular
Garuda:style=BoldOblique
Nimbus Mono L:style=Bold Oblique
LMMathSymbols10:style=Italic
LMTypewriterVarWd10:style=LightOblique
Kinnari:style=Medium
LMRoman10:style=BoldOblique
Norasi:style=Italic
Dingbats:style=Regular
TlwgMono:style=Bold
LMTypewriter10:style=DarkOblique
Loma:style=BoldOblique
Waree:style=Oblique
LMRoman10:style=Demi
Nimbus Roman No9 L:style=Medium
LMTypewriter10:style=Italic
FreeSerif:style=Mittel,µεσαία,Medium,Normal,Gemiddeld,navadno
Nimbus Sans L:style=Bold Italic
LMTypewriter10:style=LightCondensed
Courier 10 Pitch:style=Bold Italic
AR PL UKai TW MBE:style=Book
文鼎PL简报宋,AR PL SungtiL GB:style=Regular
KacstOffice:style=Medium
文泉驿正黑,文泉驛正黑,WenQuanYi Zen Hei:style=中等,Medium
FreeSerif:style=Fett,Bold,Negrita,Gras,Vet,Обычный,polkrepko
Nimbus Mono L:style=Regular
FreeSans:style=Oblique,ležeče
Umpush:style=Book
Umpush:style=Bold
Norasi:style=Regular
cmsy10:style=Medium
Bitstream Charter:style=Italic
URW Gothic L:style=Book
LMRoman10:style=Italic
LMRoman12:style=Italic
Kinnari:style=Oblique
KacstLetter:style=Medium
KacstFarsi:style=Medium
LMSans10:style=DemiCondensed
LMTypewriterVarWd10:style=Light
Sawasdee:style=Bold
TlwgTypewriter:style=Bold
KacstNaskh:style=Medium
FreeMono:style=Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,BoldOblique,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,polkrepko ležeče,Lodi etzana
Rachana:style=Regular
KacstOne:style=Medium
LMRoman9:style=Italic
LMRoman8:style=Italic
LMRoman7:style=Italic
msam10:style=Medium
Waree:style=BoldOblique
Tlwg Typist:style=BoldOblique
LMSansQuotation8:style=Oblique
Courier 10 Pitch:style=Italic
AR PL UKai CN:style=Book
AR PL UKai HK:style=Book
TlwgTypewriter:style=BoldOblique
Purisa:style=Medium
KacstScreen:style=Medium,KacstScreen
LMTypewriter10:style=Dark
AR PL UKai TW:style=Book
KacstTitle:style=Medium
Tlwg Typist:style=Bold
VL PGothic,VL Pゴシック:style=regular
LMTypewriter10:style=CapsRegular
Tlwg Typo:style=Oblique
Kinnari:style=BoldItalic
Kinnari:style=BoldOblique
Nimbus Sans L:style=Regular Condensed Italic
LMRoman17:style=Oblique
LMRoman12:style=Oblique
LMRoman10:style=Oblique
LMRoman10:style=Unslanted
FreeSans:style=Bold,polkrepko
Norasi:style=Bold
URW Bookman L:style=Demi Bold
URW Bookman L:style=Light
FreeMono:style=Negreta,tučné,fed,Fett,Έντονα,Bold,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,polkrepko,đậm,Lodia
URW Gothic L:style=Demi Oblique
Standard Symbols L:style=Regular
Mallige:style=Normal
FreeMono:style=Normal,obyčejné,Standard,Κανονικά,Medium,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,navadno,thường,Arrunta
ori1Uni,utkal:style=Medium
Sawasdee:style=Regular
LMRoman8:style=Oblique
LMRoman9:style=Oblique
LMTypewriter10:style=Oblique
KacstTitleL:style=Medium,Regular
Courier 10 Pitch:style=Regular
LMMathItalic12:style=Italic
LMMathItalic10:style=Italic
LMMathSymbols10:style=BoldItalic
Vemana2000,Pothana2000:style=Pothana2000,Regular
KacstArt:style=Medium
Lohit Hindi:style=Regular
URW Palladio L:style=Bold
LMMathItalic9:style=Italic
LMMathItalic8:style=Italic
LMMathItalic5:style=Italic
LMMathItalic7:style=Italic
LMMathItalic6:style=Italic
cmr10:style=Medium
FreeSerif:style=Kursiv,Λειψίας,Italic,Cursiva,Italique,Cursief,Курсив,ležeče
Nimbus Sans L:style=Regular Condensed
KacstDigital:style=Medium
LMMathSymbols8:style=Italic
LMMathSymbols9:style=Italic
Sawasdee:style=BoldOblique
LMMathSymbols5:style=Italic
LMMathSymbols6:style=Italic
LMMathSymbols7:style=Italic
文鼎PL細上海宋,AR PL Mingti2L Big5:style=Regular,Reguler
KacstPoster:style=Medium
Loma:style=Bold
LMSans17:style=Oblique
LMSans12:style=Oblique
LMSans10:style=Oblique
Loma:style=Book
URW Bookman L:style=Light Italic
Umpush:style=Light
LMRoman10:style=Dunhill
Phetsarath OT:style=Regular
LMTypewriter10:style=LightOblique
WenQuanYi Bitmap Song:style=Regular
Century Schoolbook L:style=Roman
TlwgMono:style=Oblique
Nimbus Roman No9 L:style=Regular Italic
TlwgMono:style=BoldOblique
Courier 10 Pitch:style=Bold
Garuda:style=Book
Garuda:style=Bold
Lohit Tamil:style=Regular
DejaVu Sans:style=Bold
DejaVu Sans:style=Book
Kinnari:style=Italic
URW Gothic L:style=Book Oblique
URW Palladio L:style=Bold Italic
LMTypewriterVarWd10:style=DarkOblique
LMTypewriter12:style=Regular
LMTypewriter10:style=Regular
Kinnari:style=Bold
KacstQurn:style=Medium,Regular
Sawasdee:style=Oblique
UnDotum,은 돋움:style=Bold
LMTypewriter9:style=Regular
LMTypewriter8:style=Regular
Nimbus Mono L:style=Regular Oblique
文鼎PL简中楷,AR PL KaitiM GB:style=Regular
LMSans10:style=BoldOblique
Symbol:style=Regular
Lohit Gujarati:style=Regular
UnBatang,은 바탕:style=Regular
LMRoman9:style=Regular
LMRoman8:style=Regular
LMRoman7:style=Regular
LMRoman6:style=Regular
LMRoman5:style=Regular
LMTypewriterVarWd10:style=Regular
msbm10:style=Medium
DejaVu Sans Mono:style=Book
DejaVu Sans Mono:style=Bold
LMTypewriter10:style=LightCondensedOblique
Umpush:style=BoldOblique
cmmi10:style=Medium
Umpush:style=LightOblique
Nimbus Mono L:style=Bold
FreeSans:style=BoldOblique,polkrepko ležeče
LMSans12:style=Regular
LMSans10:style=Regular
LMSans17:style=Regular
AR PL UMing TW MBE:style=Light
LMSansQuotation8:style=Bold
Tlwg Typist:style=Medium
LMMathItalic10:style=BoldItalic
Bitstream Charter:style=Bold
FreeMono:style=Cursiva,kurzíva,kursiv,Πλάγια,Oblique,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,ležeče,nghiêng,Etzana
LMSansQuotation8:style=BoldOblique
Waree:style=Book
Waree:style=Bold
LMRoman10:style=Bold
LMRoman12:style=Bold
Nimbus Sans L:style=Bold Condensed Italic
LMTypewriter10:style=Light
URW Bookman L:style=Demi Bold Italic
LMRoman10:style=BoldItalic
Tlwg Typist:style=Oblique
Tlwg Typo:style=Bold
kacstPen:style=Medium
VL Gothic,VL ゴシック:style=regular
Purisa:style=Oblique
DejaVu Serif:style=Book
DejaVu Serif:style=Bold