Re: [問題] MiKTeX 2.9 + xeCJK 轉pdf失敗
必須要在前面加一行
\xeCJKsetup{CJKglue=\hspace{0pt plus .08 \baselineskip }}
要不然一行只能有一個中文字
兩個字以上就會跳出錯誤
MikTeX的xeCJK似乎不是最新版
所以這個問題沒有修正
來源:http://tex.stackexchange.com/q/84010/22842
※ 引述《yongtw123 (六円)》之銘言:
: 作業環境是Win7 64-bit
: 我現在使用Texmaker開UTF-8編輯
: MikTeX是最新版的2.9
: 已經用Package Manager安裝XeCJK和fontspec
: 以下是測試tex文件
: =============================
: \documentclass{article}
: \usepackage{fontspec}
: \usepackage{xeCJK}
: \setmainfont{Times New Roman}
: \setCJKmainfont{kaiu.ttf}
: \begin{document}
: 測試
: \end{document}
: =============================
: 利用XeLatex build會跳出錯誤
: ! Missing number, treated as zero.<to be read again>\scan_stop: 測試
: ! Illegal unit of measure (pt inserted).<to be read again>\scan_stop: 測試
: 該段詳細錯誤訊息如下
: =============================
: ! Missing number, treated as zero.
: <to be read again>
: \scan_stop:
: l.16 測試
: A number should have been here; I inserted `0'.
: (If you can't figure out why I needed to see a number,
: look up `weird error' in the index to The TeXbook.)
: ! Illegal unit of measure (pt inserted).
: <to be read again>
: \scan_stop:
: l.16 測試
: Dimensions can be in units of em, ex, in, pt, pc,
: cm, mm, dd, cc, bp, or sp; but yours is a new one!
: I'll assume that you meant to say pt, for printer's points.
: To recover gracefully from this error, it's best to
: delete the erroneous units; e.g., type `2' to delete
: two letters. (See Chapter 27 of The TeXbook.)
: =============================
: 我實在不懂它要一個數字是什麼意思
: 懇請高見!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.248.2.110
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 3 篇):
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章