Installation Summary of latex + cct in ubuntu

Source: Internet
Author: User
The first step is to install the basic latex system. There are many tutorials on the Internet. Step 2 to begin. If gcc is used for compilation, the main steps are as follows: 1. Compile the CCT source code in Linux in addition to the gcc compiler, you also need the header file and library of KPATHSEA (in the RedHat/FC system, the first step is to install the basic latex system. There are many tutorials on the Internet.
Step 2 to begin. For gcc compilation, the main steps are as follows:
1. in Linux, in addition to the gcc compiler, compiling the CCT Source Code also requires the header file and library of KPATHSEA (RedHat/FC systems contain the files in the tetex-fonts package, in the Debian system, they are included in the libkpathsea-dev package) and the fontforge package.
2. Compile
Cd cct-dist
Make all
If gcc4 is used, compile it with the following command:
Cd cct-dist
Make EXTRA_CFLAGS =-Wno-pointer-sign all
3. Installation
Sudo make prefix =/usr install
Or make prefix =/usr/local install
4. Execute sudo cctgentbl to automatically generate the \ verb |. tbl | file for all installed cjk gbk/GB fonts. Each time a new CJK font is added (GBK or GB), the script should be run once (repeated operations will not play a negative role ).
5. Execute sudo mktexlsr to update latex.
Problems encountered during installation: the error Cannot locate tex/cct, abort is reported when you run cctgentbl. you can modify the cctgentbl script to comment out the complex program segments that check the cct directory, directly specify cct =/usr/share/texmf/tex/cct or cct =/usr/local/shar/texmf/tex/cct, depending on what prefix is installed.
Now, let's get started with latex.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.