I recently have tried to compile the following tex file in xetex (texlive-2015) in ubuntu 14.04.
Code: Select all
\documentclass{article}
\usepackage{fontspec}
\usepackage{amsmath,amssymb}
%\setmainfont[Ligatures=TeX]{TeX Gyre Pagella}
\usepackage[CJKnumber,CJKaddspaces,CJKchecksingle,BoldFont]{xeCJK}
\usepackage{mathrsfs} % 一种常用于定义泛函算子的花体字母,只有大写。
\usepackage{bm} % 处理数学公式中的黑斜体的宏包
\setmainfont[Ligatures=TeX]{LMRoman10}
\setsansfont[Ligatures=TeX]{LMSans10}
\setmonofont[Ligatures=TeX]{LMMono10}
\begin{document}
Hello, World!
\end{document}
...
Code: Select all
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! xeCJK error: "key-unknown"
!
! Sorry, but xeCJK/options does not have a key called `CJKaddspaces'.
!
! The key `CJKaddspaces' is being ignored.
!
! See the xeCJK documentation for further information.
!
! Type <return> to continue.
!...............................................
l.3538 \ProcessKeysOptions { xeCJK / options }
Code: Select all
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "LMRoman10" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.8 \setmainfont[Ligatures=TeX]{LMRoman10}
Code: Select all
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "LMSans10" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.9 \setsansfont[Ligatures=TeX]{LMSans10}
Code: Select all
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "LMMono10" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.10 \setmonofont[Ligatures=TeX]{LMMono10}
Yours Sincerely,
Anil Kunwar