@@ -17,11 +17,11 @@ Java 文件夹下是Java版,内容一摸一样,代码是用Java写的
1717这个模板制作精良,很有taste,感谢陈硕 :)
1818
1919##在Windows下编译
20- 1 . 安装Tex Live 2012 < http://www.tug.org/texlive/ > 。把bin目录例如` D:\texlive\2012 \bin\win32 ` 加入PATH环境变量。
21- 2 . 安装TeXstudio < http://texstudio.sourceforge.net/ >
22- 3 . (可选)启动Tex Live Manager,更新所有已安装的软件包。
23- 4 . 安装字体。在Windows下,这个LaTex模板额外使用了5个字体,下载地址 < http://weibo.com/1663402687/zrSNhgTGK >
24- 5 . 配置TeXstudio。
20+ 1 . 安装Tex Live 2013 < http://www.tug.org/texlive/ > 。把bin目录例如` D:\texlive\2013 \bin\win32 ` 加入PATH环境变量。
21+ 1 . 安装字体。这个LaTex模板总共使用了9个字体,下载地址 < http://pan.baidu.com/s/1gdefYiJ > ,有的字体Windows自带了,有的字体Ubuntu自带了,但都不全,还是一次性安装完所有字体比较方便。
22+ 1 . 安装TeXstudio < http://texstudio.sourceforge.net/ >
23+ 1 . (可选)启动Tex Live Manager,更新所有已安装的软件包。
24+ 1 . 配置TeXstudio。
2525
2626 启动Texstudio,选择 ` Options-->Configure Texstudio-->Commands ` ,XeLaTex 设置为 ` xelatex -synctex=1 -interaction=nonstopmode %.tex ` ;
2727
@@ -33,13 +33,49 @@ Java 文件夹下是Java版,内容一摸一样,代码是用Java写的
3333
3434 PDF Viewer 改为 “Internal PDF Viewer(windowed)”,这样预览时会弹出一个独立的窗口,这样比较方便。
3535
36- 6 . 编译。用TeXstudio打开` ACM-cheat-sheet.tex ` ,点击界面上的绿色箭头就可以开始编译了。
36+ 1 . 编译。用TeXstudio打开` ACM-cheat-sheet.tex ` ,点击界面上的绿色箭头就可以开始编译了。
3737
3838 在下方的窗口可以看到TeXstudio正在使用的编译命令是` xelatex -synctex=1 -interaction=nonstopmode "ACM-cheat-sheet".tex `
3939
40+ ##在Ubuntu下编译
41+ 1 . 安装Tex Live 2013 < http://www.tug.org/texlive/ >
42+
43+ 1.1. 下载TexLive 2013 的ISO 光盘,地址 <http://www.tug.org/texlive/acquire-iso.html>
44+
45+ 1.2 mount 光盘,`sudo ./install-tl` 开始安装
46+
47+ 1.3 加入环境变量
48+
49+ sudo vi /etc/profile
50+ export PATH=$PATH:/usr/local/texlive/2013/bin/x86_64-linux
51+ export MANPATH=$MANPATH:/usr/local/texlive/2013/texmf-dist/doc/man
52+ export INFPATH=$INFPATH:/usr/local/texlive/2013/texmf-dist/doc/info
53+
54+ 1 . 安装字体。这个LaTex模板总共使用了9个字体,下载地址 < http://pan.baidu.com/s/1gdefYiJ > ,有的字体Windows自带了,有的字体Ubuntu自带了,但都不全,还是一次性安装完所有字体比较方便。
55+ 1 . 安装TeXstudio < http://texstudio.sourceforge.net/ >
56+ 1 . 配置TeXstudio。
57+
58+ 启动Texstudio,选择 ` Options-->Configure Texstudio-->Commands ` ,XeLaTex 设置为 ` xelatex -synctex=1 -interaction=nonstopmode %.tex ` ;
59+
60+ 选择 ` Options-->Configure Texstudio-->Build `
61+
62+ Build & View 由默认的 PDF Chain 改为 Compile & View;
63+
64+ Default Compiler 由默认的PdfLaTex 修改为 XeLaTex ;
65+
66+ PDF Viewer 改为 “Internal PDF Viewer(windowed)”,这样预览时会弹出一个独立的窗口,这样比较方便。
67+
68+ 1 . 编译。用TeXstudio打开` ACM-cheat-sheet.tex ` ,点击界面上的绿色箭头就可以开始编译了。
69+
70+ 在下方的窗口可以看到TeXstudio正在使用的编译命令是` xelatex -synctex=1 -interaction=nonstopmode "ACM-cheat-sheet".tex `
71+ 1 . 懒人版镜像。如果不想进行上面繁琐的安装过程,我做好了一个Ubuntu VMware虚拟机镜像,已经装好了TexLive 2013, TexStudio和字体(详细的安装日志见压缩包注释),开箱即用,下载地址 < http://pan.baidu.com/s/1eQEFLHw > 。
72+
4073##如何贡献代码
4174编译通过后,就具备了完整的LaTeX编译环境了。
4275
4376本书模板已经写好了,基本上不需要很多LaTeX知识就可以动手了。
4477
4578欢迎给本书添加内容或纠正错误,在自己本地编译成PDF,预览没问题后,就可以发pull request过来了。
79+
80+ ##北美求职微博群
81+ 我和我的小伙伴们在这里:< http://q.weibo.com/1312378 >
0 commit comments