kile如何于texlive配合呀

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
qianghr
帖子: 67
注册时间: 2007-03-09 14:23

kile如何于texlive配合呀

#1

帖子 qianghr » 2007-09-22 14:06

升级到7.10,装了texlive和kile(都是源里),编辑如下tex文件:
\documentclass[12pt,a4paper]{article}
\usepackage{fontspec}
\setromanfont{AR PL ShanHeiSun Uni}
\begin{document}
\section{枫桥夜泊}
月落乌啼霜满天

江枫渔火对愁眠

姑苏城外寒山寺

夜半钟声到客船
\end{document}
在终端下调用xelatex没问题,除了第一行缩进不对,而在kile下编译,出现如下错误
/usr/share/texmf-texlive/tex/latex/base/fontenc.sty:100:Font EU1/lmr/m/n/10=[lmroman10-regular] at 10.0pt not loadable: Metric (TFM)file not found. \fontencoding\encodingdefault\selectfont
./test.tex:3:Font \zf@basefont="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)file not found. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Undefined control sequence. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Missing number, treated as zero. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Undefined control sequence. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Font \zf@basefont="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)file not found. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Font \@tempfontb="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)file not found. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Font \@tempfonta="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)file not found. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Font \@tempfontb="AR PL ShanHeiSun Uni/B" at 10.0pt not loadable: Metric (TFM) file not found. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Font \@tempfonta="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)file not found. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Font \@tempfontb="AR PL ShanHeiSun Uni/I" at 10.0pt not loadable: Metric (TFM) file not found. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Font \@tempfonta="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)file not found. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Font \@tempfontb="AR PL ShanHeiSun Uni/BI" at 10.0pt not loadable: Metric (TFM) file not found. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:3:Font EU1/ARPLShanHeiSunUni(0)/m/n/10="AR PL ShanHeiSun Uni:" at 10.0pt not loadable: Metric (TFM) file not found. \setromanfont{AR PL ShanHeiSun Uni}
./test.tex:0:No file test.aux.
./test.tex:4:Font EU1/ARPLShanHeiSunUni(0)/m/n/12="AR PL ShanHeiSun Uni:" at 12.0pt not loadable: Metric (TFM) file not found. \begin{document}
test.tex:6:Font EU1/ARPLShanHeiSunUni(0)/m/n/17.28="AR PL ShanHeiSun Uni:" at 17.28pt not loadable: Metric (TFM) file not found. � ��落乌啼霜满天
[LaTeX] 16 处错误, 1 处警告, 0 badboxes

难道kile调用的不是xelatex吗,请教各位有什么解决方法,多谢啦!
tomguy
帖子: 702
注册时间: 2005-09-27 10:32

#2

帖子 tomguy » 2007-09-23 0:45

kile 只是一个前端,和你用什么 tex 系统是没关系的。

你在 kile 的设置选项中看看,你的编译命令是什么。也设置成你那个 xelatex 就应该没问题了。


顺便问一句:xelatex 是什么?
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#3

帖子 zhan » 2007-09-23 12:28

楼上的看看 XeTeX 就知道 xelatex 是什么了。具体的 google 吧..

kile 中默认的编译项如果没有改的话,显然不是 xelatex, 自己设置下吧.
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
ltkun
帖子: 1340
注册时间: 2006-01-10 19:09

#4

帖子 ltkun » 2007-09-23 12:46

xelatex 编译就一条命令出pdf 犯不着用kile的
qianghr
帖子: 67
注册时间: 2007-03-09 14:23

#5

帖子 qianghr » 2007-09-23 15:19

但是英文的latex文件调用kile的latex就没有任何问题,可能是用dvi习惯了,不出dvi,还是感觉不爽,不知道XeTex怎么出DVI
回复