-、照此步骤安装texlive
https://www.tug.org/texlive/
特别注意
After the installation finishes, you must add the directory of TeXLive binaries to your PATH—except on Windows, where the installertakes care of this. For example:
PATH=/usr/local/texlive/2014/bin/i386-linux:$PATH
source 一下
二、安装中文字体。
常用中文字体有三套:
- winfonts(微软的六种中易字体,包括宋体、黑体、楷书、仿宋、隶书、幼圆)
- adobefonts(Adobe 的四套字体,包括 Adobe Song Std、Adobe Heiti Std、Adobe Fangsong Std、Adobe Kaiti Std)
- Ubuntu 开源的文泉字体
CTex 宏库默认支持 winfonts 和 adboefonts。因此要在 linux 系统下使用 Ctex 宏库最
好是安装这些字库之一。
下载打包好的/public/fonts/windows.zip(该字体包括了常用的中英文字体),
将字体放置到默认搜索路径 ~/.fonts 中,运行 fc-cache -fv 命令更新字体缓存,然后执行 fc-list :lang=zh 查看新安装的字体。