FedoraTexLive installation and Chinese environment Configuration

Source: Internet
Author: User
OS: Fedora16TexLiveVersion: TexLive20111) Add the rpm source sudorpm-ihttp: // others (for other versions, go to http://jnovy.fedorapeople.org/to find the corresponding source

OS: Fedora 16
TexLive Version: TexLive 2011

1) Add an rpm Source

Sudo rpm-I http://jnovy.fedorapeople.org/texlive/2011/packages.fc16/texlive-release.noarch.rpm
(For other versions, go to http://jnovy.fedorapeople.org/to find the corresponding source)

2) install texlive2011
Sudo yum clean all
Sudo yum install texlive

3) download the library package
Url: http://bj.soulinfo.com /~ Hugang/tex/tex2007/YueWang-zhfonts-final_1.01.tar.bz2
Extract texmf-var and copy the content to/usr/share/texlive/texmf-local and/usr/share/texlive/texmf-var respectively.
Then execute sudo texhash and re-establish the database.

4) test
\ Documentclass {article}
\ Usepackage {CJKutf8}
\ Begin {document}
\ Begin {CJK} {UTF8} {hei}
Hello, Latex!
Hi, Latex
\ End {CJK}
\ End {document}

Save test. tex and exit. Then, run
Latex test. tex
Dvipdfm test. dvi

PS: If CJKutf8.sty cannot be found during running, run sudo yum install 'tex (CJKutf8.sty )'

For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5

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.