升级到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.styFont 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吗,请教各位有什么解决方法,多谢啦!
kile如何于texlive配合呀
-
- 帖子: 67
- 注册时间: 2007-03-09 14:23
-
- 帖子: 702
- 注册时间: 2005-09-27 10:32
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
楼上的看看 XeTeX 就知道 xelatex 是什么了。具体的 google 吧..
kile 中默认的编译项如果没有改的话,显然不是 xelatex, 自己设置下吧.
kile 中默认的编译项如果没有改的话,显然不是 xelatex, 自己设置下吧.
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn