推荐用xelatex代替pdflatex
以前是用pdflatex来生成pdf的,使用pdflatex的一个问题是选择的时候会出现乱码,而且没有书签。[1]里面介绍了xelatex可以解决这个问题。水木上[2]也推荐 xelatex。同时,统一使用utf8代替gbk。
从TUG安装texlive 2009
以前是从Ubuntu的源安装texlive的,安装目录糊里糊涂,配置起来不方便,而且版本很旧。这当是入门,后面要真正用,还是要自己从TUG安装。另外,对于中文支持,ctex这帮人做了很多努力。要在Linux下用上漂亮的中文文档,主要要安装ctex。
与时俱进一把:
安装TeXLive 2009[3] + CTeX宏包[4]
配置texlive 2009
测试安装是否成功。见[5]3.5。另外,配置evince使其能够显示adobe中文字体[5]。
工具和模板
iconv命令可以把Windows默认GBK编码的文件转成Linux下用的UTF-8编码。从[7]下载模板,用iconv把编码转化成UTF-8。Example: $ iconv -f GBK -t UTF-8 file_name -o file_name
关于引用。参考[8]。需要用xelatex编译一次,再用bibtex编译一次,再用xelatex编译两次。
( 在Ubuntu 9.04 下测试通过。)
p.s.
越是长大,越是对Gonald崇拜啊。
References:
1. 各种工具链下最简单的中文文档模板, http://code.google.com/p/ctex-kit/wiki/SimpleChineseTemplates2. 水木TeX和LaTeX版, 请先读我, http://www.newsmth.net/bbscon.php?bid=460&id=282515&ftype=11
3. 在 Ubuntu 9.10 (9.04)下网络安装配置 texlive 2009 十步, http://bbs.ctex.org/redirect.php?tid=53520&goto=lastpost#lastpost
4. CTeXPackage, http://code.google.com/p/ctex-kit/wiki/CTeXPackage
5. [已解决] adobe std系列字体在evince下无法显示, http://bbs.ctex.org/viewthread.php?tid=52941&highlight=evince
6. TEX Live 指南: TEX Live 2009, http://tug.org/texlive/doc/texlive-zh-cn/
7. http://www.ctex.org/PackageCASthesis
8. http://www.hep.manchester.ac.uk/u/jenny/jcwdocs/latex/bibtexbasics.html
1 条评论:
I turned on my iPhone today and the camera icon on the main page was gone. How do I get it back?
________________
[url=http://unlockiphone22.com]unlock iphone[/url]
发表评论