配置中文XeLaTex環(huán)境方法
開始自行配置TexLive+WinEdt+SumatraPDF的環(huán)境。TeXworks個人覺得真的不太好用 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
其中使用TexLive時遇到的一些問題及解決方案如下: 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
fontspec.cfg: Erroneous variable \c__fontspec_shape_n_n_tl used! 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
解決方案: 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
-在開始菜單欄中找到MiKTex-Maintenance(Admin)-MikTex Package
Manager(Admin),打開搜索fontspec進行uninstall.
文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
-在tex文件中添加\usepackage{fontspec}進行重新安裝 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
在打開MikTex Package Manager(Admin)時可能遇到問題:Update Error "Windows API error 87":
The parameter is incorrect.
文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
解決方案: 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
-刪除以下文件夾中的所有內容 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
C:\Users\%USER%\AppData\Local\MiKTeX\2.9\miktex\data\le 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
C:\ProgramData\MiKTeX\2.9\miktex\data\le 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
不安裝SumatraPDF時編譯好的pdf需要手動,并且雙向查找也不方便。所以,為了能夠讓tex編譯后自動彈出pdf并且實現(xiàn)快速地雙向查找,我們可以安裝SumatraPDF,安裝好后可以進行設置: 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
-WinEdt中Options-Execution Modes-PDFViewer,將PDF Viewer
Executable設置為SumatraPDF.對應內容為安裝路徑
文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
-WinEdt中Options-Execution Modes-Console
Applications-Accessories中,找到自己需要使用的編譯方式,例如我使用XeLaTex,選中后將Process Flow中,Start
Viewer和Forward Search進行勾選。
文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
font not found 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
解決方案: 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
在tex文件中第一行\(zhòng)documentclass后面添加winfonts變成 \documentclass[winfonts]文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html 文章源自網(wǎng)吧系統(tǒng)維護-http://www.strong-digital.cn/4032.html
評論