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