Pdflatex Chinese Solution In Debian

Source: Internet
Author: User
Debian's pdflatex Chinese solution-Linux Release Technology-Debian information. For more information, see below. 1. First install these things: apt-get install tetex-bin tetex-base tetex-extra cjk-latex

Dvipdfm-cjk-cmap dvipdfm-cjk dvipdfm texmf-zh gbkfonts gs-cjk-resource. It is best to have the texlive part. I installed it anyway.

2. Then there are several sim fonts. It is best to install them in your Debian (My Debian has several beautiful fonts, of course, including these basic sim fonts ).

Next, go to Wang yinna to download gbkfonts, mainly the static link file, and directly put it in/usr/bin. Then you can generate the font:

$ Mkdir texmf-local
$ Cd texmf-local
$ Gbkfonts/usr/share/fonts/truetype/microsoft/simsun. ttf song
$ Gbkfonts/usr/share/fonts/truetype/microsoft/simhei. ttf hei
...

The several sim fonts are all processed in this way. This process should be performed with the permissions of common users.

3. Set the font for dvips below
$ Mkdir dvips/config
$ Mv cjk. map dvips/
$ Cp/usr/share/texmf/dvips/config. * dvips/config/

Add a file config. cjk with the content of p + cjk. map

Iv. Set the font of vertex Tex
At this time, my Computex font is ready. If not, follow the steps below:

$ Cp/usr/share/texmf/Computex/config/Computex. cfg Computex/config/
$ Cat vertex Tex. cfg> vertex Tex/config/vertex Tex. cfg

5. Update the font database
For root:
# Cp-r texmf-local/usr/local/share/texmf
# Mkdir/usr/local/share/texmf/fonts/truetype
# Cd/usr/local/share/texmf/fonts/truetype
# Cp/usr/share/fonts/truetype/microsoft/sim *./

Of course, you can also use soft links for the last step here, ln-s.

At this time, my font has been resolved. If you have not solved the problem, continue:

Move the generated font directory to the font directory specified in the configuration file (/etc/texmf. cnf). If you want to place the directory in another path, you can modify the configuration file. Another default path is $ HOME/texmf.

Finally, this step is required. Use root to execute mktexlsr and update the font database.

6. start testing.

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.