还有一本何勃亮老师写的CJK的安装教程,很不错的,基本上就是靠他来搞定的.
在Linux中,最常用的[tex]\TeX[/tex]套装就是TeXLive了,而且Fedora官方源中也有它,不过只是个2007版,而且也没有中文配置……
好吧,在Fedora维基中我找到了TeXLive2010套装,可以参考这里。
我这里使用的安装命令是
pkcon install texlive texlive-latex texlive-xetex texlive-ctex #因为是fedorapeople,所以速度超慢
这样就安装到带有ctex-kit包的TeXLive!
如果你需要ctex要用的中文字体,可以下在这里的奥多比中文字体集并安装。以下就是一个测试!
\documentclass[adobefonts]{ctexart} \begin{document} 世界你好! \LaTeX{}你好!\TeX{}你好! C\TeX 你好! \end{document}
可以正常在Linux下使用带有中文支持的[tex]\TeX[/tex]咯!
推荐的LaTeX工作环境是Emacs + AucTeX,安装也很简单——pkcon install emacs emacs-auctex。
顺便,其实,我发现这个源里面有所有CTAN里面有的,所以比如你需要beamer这个包,只要安装 texlive-beamer 即可。
微型提示,看看最底下的版权声明,不了解的话请点击那个链接获得更多信息。
小提示,署名方式即添上出处(URL)。
error: kpathsea library not found
错误的处理,下载地址:http://mirror.bjtu.edu.cn/CTAN/systems/win32/w32tex/
然后参考http://dvi2bitmap.sourceforge.net/ssn71.htx/N-a5b1c1.html
kpathsea
libraryNot all TeX distributions install the kpathsea
library, even though they install applications built with it, and the texmf.cnf
configuration file which controls it.
If the library does not appear to be in your distribution, then you can obtain and build it yourself. The library is distributed as part of the web2c
(Unix TeX source) distribution, which you can find at<ftp://ftp.tug.org/tex/web2c.tar.gz>
, or mirrored on CTAN sites (for example at <http://www.tex.ac.uk>
in directory systems/web2c
).
Take a copy of the library (this is a big distribution), and unpack it. Go into the kpathsea
directory and do the usual `./configure; make; make install
' routine. With (some?) older distributions of the library this appeared not to work, and you had to go to the parent of the kpathsea
directory, delete the web2c directory (which is the bulk of the distribution), then configure and build it as usual, ignoring the warnings about the missing main texmf
tree.
http://cygwin.cybermirror.org/release/tetex/tetex-devel/
http://blog.csdn.net/defeattroy/article/details/7581846