The editing of the document under Ubuntu is LibreOffice, but the layout of the Chinese and the formula is not as good as MS Office, so to write high-quality documents can only rely on latex, now with the development of XECJK, the Chinese document in Ubuntu layout is very great, is enough to support and mature, the combination is: texlive2014+texmaker+lyx+ Chinese font, so under Ubuntu can develop the perfect Chinese document.
To the point, the following method is successfully installed on 3 computers (installed on 64-bit systems):
1. First install texlive2014, do not recommend the official source sudo apt-get installation, with the official source of Chinese support the total feeling is not so good, especially in the LyX use when the Chinese support is not good enough, so highly recommended http:// mirrors.hustunique.com/ctan/systems/texlive/images/Download the latest Texlive2014dvd (2.4G), of course, can also be used online installation (refer to the official website installation introduction)
To install the texlive2014 process:
Step0: Install PERL-TK (required for installation texlive)
[Plain] View plaincopy
- sudo apt-get install PERL-TK
Step1: Right-Texlive2014***.iso, then directly select Use Disk image mount to open (with the Mount method can also, refer to http://kayzhang.com/install-texlive-under-ubuntu/), Then cd/media/usr/texlive (specifically looking at the path of your own computer) after entering, run./install-tl-gui (plus GUI is the meaning of graphical installation, highly recommended)
Step2:
Into the graphical installation interface, you can choose some of the modules you do not need, if not clear, all installed can be
STEP3: Configuring Environment variables
Gedit ~/.BASHRC joins the following environment variables:
[Plain] View plaincopy
- Path=/usr/local/texlive/2014/bin/x86_64-linux: $PATH; Export PATH
- Manpath=/usr/local/texlive/2014/texmf-dist/doc/man: $MANPATH; Export MANPATH
- Infopath=/usr/local/texlive/2014/texmf-dist/doc/info: $INFOPATH; Export INFOPATH
Save, and then run the command at the command line
Source. BASHRC (update environment variable, or restart terminal directly)
STEP4:
Test if installation is successful, run at terminal
Tex-version
Successful words see Tex version and Daniel de Knuth copyright information and so on. If it appears congratulations to you, the installation succeeds,
2. Download Texmaker4.3,texmaker is the best Latex editor under Linux, also do not use the official source sudo apt-get installation, so will install dependencies, the texlive2013 also installed in, remember
Http://www.xm1math.net/texmaker/download.html#linuxg here to download ubuntu14.04 version (recommended with QT5 64-bit Deb version), and then left mouse button double-click on the Software Center can be installed, quite simple
3. Download lyx2.1, this software is Texmaker supplement, is the WYSIWYG software, even if do not understand latex grammar, can also be used very well, like words, install this need to download the source code, and then compile with the source code, directly with the official Ubuntu installation of the same install a lot of redundant dependencies, so it is not recommended for Http://www.lyx.org/Download
Installation reference for http://blog.sina.com.cn/s/blog_840dd2830100x787.html
The following is the compilation process for LyX:
Step1: First install the dependency package required for compilation: sudo apt-get install Zlib1g-dev Qt4-designer
Step2: After extracting the file, go to the root directory of the file and execute the following command
Configuring the compilation:./configure&&make;
Installation: sudo make install;
Step3: If there is no error in the middle, you can enter LyX directly on the command line to start the
4. If you want to get better results, you'll need to install Windows fonts (6 common) and Adobe fonts (4 sets)
Ubuntu under the installation of fonts is very simple, just need to right-click on the font, and then point to install it, and then use XECJK can be directly called, how to use, pay attention to the following tutorial
ubuntu14.04 Configuration Chinese latex perfect environment (Texlive+texmaker+lyx)