碩士學位論文需要latex排版,提前折騰了下下載安裝。
1. 使用在線latex工具overleaf進行編譯預覽,編譯不通過少包。
原因使用gbk編碼,確實ccmap包。
試過解決方案加入utf-8以及Xelatex編譯無效。 放棄
2.使用最簡單的ctex+texstudio 進行編譯運行
下載ctex穩定版
http://www.ctex.org/CTeXDownload
選擇其中一項下載大小1.3G
下載texstudio
http://texstudio.sourceforge.net/
3.安裝 一路next安裝ctex與texstudio
4.配置
將options->configure texstudio->build->defaultCompiler改爲pdflatex
5.測試
\documentclass{article}
\begin{document}
Hello, LaTex.
\end{document}
-----------------------------------------以下非必須,石油大學計科院模板------------------------------------------------------
如果看你原始latex模板,編碼,由於我的是gbk編碼
所以設置options->configure texstudio->editor->default font encoding GBK
然後退出重啓即可