[問題] LaTeX error: "kernel/property-unknown"
各位先進好,小弟在使用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://www.ptt.cc/bbs/LaTeX/M.1437797977.A.C1C.html
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章