作者qllvv (百事柠檬可乐儿)
看板LaTeX
标题[问题] LaTeX error: "kernel/property-unknown"
时间Sat Jul 25 12:19:32 2015
各位先进好,小弟在使用XeLaTeX+中文的时候遇到了下列的问题
(内容其实就是DavidGuo的 [心得] xeCJK中文环境 这篇文章)以下为使用的套件
\usepackage{xeCJK} %打中文必备
\setCJKmainfont{新细明体} %设定中文字型,而英文不去更动
\begin{document}
可以打中文了。好高兴。English Test. 插入中文,试试看。This is a simple
template for a XeLaTeX 1111111
document using the article class, $\displaystyle\sum_{i=1}^p L_i \leq n \leq \
sum_{i=1}^p U_i$,
with the fontspec package to easily select fonts.
\end{document}
结果出现了下列的error讯息...(不过pdf还是生出来了@@)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX error: "kernel/property-unknown"
!
! The key property '.choice_code:n' is unknown.
!
! See the LaTeX3 documentation for further information.
!
! For immediate help type H <return>.
!...............................................
经过初步测试我猜测是中文的问题
原因是我把XeCJK拿掉只改成英文的内容後不论是用LaTeX或是XeLaTeX编辑都没问题。
此外从log上有看到
l.4 \setCJKmainfont{新细明体}
%设定中文字型,而英文不去殓.
|'''''''''''''''''''''''''''''''''''''''''''''''
| The module 'fontspec' does not have a key called fontspec/Renderer'.
| Check that you have spelled the key name correctly.
|...............................................
log的部份已上传到google drive上,还请大家多多指导,谢谢!
https://drive.google.com/file/d/0B9vbKrN7x5_qcngxemxaZlEtN0U/view
--
夫兵者不祥之器物或恶之故有道者不处君子居则贵左用兵则贵右兵者不祥之器非君子
之器不得已而用之恬淡为上胜而不美而美之者是乐杀人夫乐杀人者则不可得志於天下
矣吉事尚左凶事尚右偏将军居左上将军居右言以丧礼处之杀人wretch.twbbs.org胜以
丧礼处之道常无名朴虽小天下莫能臣侯王若能守之万物将自宾天地相合以降甘露民莫
之令而自均始制有名名亦既有夫亦将知止知止可以不殆qllvv.Dorm12.NCTU.edu.tw海
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 60.245.65.132
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/LaTeX/M.1437797977.A.C1C.html