等一会,你会遇到一个错误,大致如下:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "SimSun" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
下面就要解决这个问题,错误里说了,"font-not-found"!
先执行如下命令:
cd /etc/fonts/conf.d
sudo ln -s /usr/local/texlive/2013/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts 09-texlive.conf
上面的命令是为了让系统可以使用texlive的字体