Linux 下TeXLive 2016的中文字型
檢視系統的中文字型庫
$ sudo fc-list :lang-zh
安裝中文字型
第一步 建立一個字型目錄:
$ sudo mkdir /usr/share/fonts/WinFonts
第二步 把中文字型複製到上述目錄中,然後進行如下操作:
$ sudo chmod 644 # 賦予執行許可權
$ sudo mkfontscale # 重新整理字型快取
$ sudo mkfontdir # 重新整理字型快取
$ sudo fc-cache -fsv # 重新整理字型快取
第三步 配置環境變數,在 ~/.bashrc 和 ~/.profile 檔案結尾新增如下程式碼:
#自己為texlive配置的環境變數
PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH;
export PATH
MANPATH=/usr/local/texlive/2016/texmf-dist/doc/man:
$MANPATH; export MANPATH
INFOPATH=/usr/local/texlive/2016/texmf-dist/doc/info:
$INFOPATH; export INFOPATH
配置全域性的環境變數,可在 /etc/manpath.config 檔案的 # set up PATH to MANPATH mapping. 下新增:
MANPATH_MAP
/usr/local/texlive/2016/bin/x86_64-linux
/usr/local/texlive/2016/texmf-dist/doc/man
第四步 測試安裝是否成功
askuyue@malegbasy:~$ tex --version
TeX 3.14159265 (TeX Live 2016)
kpathsea version 6.2.2
Copyright 2016 D.E. Knuth.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
第五步 XeTEX 和 LuaTEX 的系統字型配置
- texlive-fontconfig.conf 檔案複製到 /etc/fonts/conf.d/09-texlive.conf:
$ sudo cp
/usr/local/texlive/2016/texmf-var/fonts/conf/texlive-fontconfig.conf
/etc/fonts/conf.d/09-texlive.conf
- 重新整理字型快取
$ sudo fc-cache -fv
相關文章
- 關於Linux下Texlive無法找到已安裝字型的問題與解決Linux
- linux安裝中文字型Linux
- linux系統配置中文字型,playwright中文亂碼Linux
- Linux 下設定回落字型來避免Konsole裡中文以宋體顯示Linux
- centos7下安裝中文字型CentOS
- linux系統下window字型安裝方法Linux
- FreeBSD系統下如何使GraphicsMagick支援中文字型?
- linux 安裝字型解決JAVA圖形中文亂碼問題LinuxJava
- Windows Server 2016 中文版、英文版下載 (updated Aug 2024)WindowsServer
- Windows Server 2016 中文版、英文版下載 (updated Oct 2024)WindowsServer
- 幾種中文字型的比較
- html中中文字型的程式碼HTML
- Centos 安裝中文字型CentOS
- Unity TMPro 中文字型集Unity
- xmind 沒有中文字型
- LINUX下掛載U盤,中文亂碼的問題Linux
- win10系統下Word中文字型全部顯示英文的解決方法Win10
- alpinelinux映象安裝中文字型Linux
- linux系統下解除yozooffice2016提示升級正式版操作Linux
- linux 下 android studio 不能輸入中文記錄LinuxAndroid
- Microsoft Office 2016 簡體中文版下載以及安裝教程(附帶啟用方法)ROS
- 修改Debian GNU/Linux的預設等寬字型Linux
- Windows 和 Linux 上安裝 TTF 字型的方法WindowsLinux
- 在linux下顯示中文目錄和檔名Linux
- linux伺服器安裝字型Linux伺服器
- 嵌入式Linux—FreeType向量字型Linux
- PHP歷理 配置SublimeText的基本介面及中文字型PHP
- css中文字型亂碼解決方案CSS
- 公文相關字型下載
- linux安裝中文字型(Java使用aspose-words轉PDF亂碼,顯示空方塊)LinuxJava
- debian下wine裡sourceinsight正常顯示的字型
- linux終端彩色字型輸出教程Linux
- linux fedora core 5上安裝字型Linux
- 回顧我的 2016 — my2016()
- Web開發中常用中文字型名稱的英文對應Web
- 效能優化魔法師:中文字型實踐篇優化
- Ae怎麼製作下劃線字型輸入效果?After Effects製作下劃線字型輸入效果的方法
- Linux Mint下Qt Creator無法輸入中文解決辦法LinuxQT
- Linux下的程式Linux