linux 下的iconv命令可以把Windows默认GBK编码的文件转成Linux下用的UTF-8编码。
Example: $ iconv -f GBK -t UTF-8 file_name -o file_name
1. 安装命令行版的texlive: sudo apt-get install texlive-full
2. 安装一个比较有帮助性的编辑器: sudo apt-get install texmaker
3. 安装中文环境: sudo apt-get install latex-cjk-all
A useful webiste http://chixi.an.blog.163.com/blog/static/29359272201262952120729/
To install/upgrade to TeX Live 2012:
- Open a terminal with Ctrl+Alt+T
-
Add the texlive-backports PPA by typing the below (enter your password when prompted):
sudo apt-add-repository ppa:texlive-backports/ppa
-
Then type:
sudo apt-get update
-
Installation:
-
If you are installing TeX Live for the first time, type:
sudo apt-get install texlive
-
If you already have TeX Live installed and are upgrading, type:
sudo apt-get upgrade
Warning: this will also upgrade all other packages on your Ubuntu system for which upgrades are available. If you do not wish to do this, please use the previous
sudo apt-get install texlive
instead.
-