Skip to content

Commit ba27637

Browse files
committed
Upgraded TexLive to 2015
1 parent d8d4aa6 commit ba27637

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Java 文件夹下是Java版,目前正在编写中,由于拖延症,不知
1111
本书使用的是陈硕开源的[模板](https://github.com/chenshuo/typeset)。这个模板制作精良,很有taste,感谢陈硕 :)
1212

1313
##在Windows下编译
14-
1. 安装Tex Live 2013 <http://www.tug.org/texlive/>。把bin目录例如`D:\texlive\2013\bin\win32`加入PATH环境变量。
15-
1. 安装字体。这个LaTex模板总共使用了9个字体,下载地址 <http://pan.baidu.com/s/1gdefYiJ> ,有的字体Windows自带了,有的字体Ubuntu自带了,但都不全,还是一次性安装完所有字体比较方便。
14+
1. 安装Tex Live 2015 <http://www.tug.org/texlive/>。把bin目录例如`D:\texlive\2015\bin\win32`加入PATH环境变量。
15+
1. 安装字体。这个LaTex模板总共使用了10个字体,下载地址 <http://pan.baidu.com/s/1jIgyuRc> ,有的字体Windows自带了,有的字体Ubuntu自带了,但都不全,还是一次性安装完所有字体比较方便。
1616
1. 安装TeXstudio <http://texstudio.sourceforge.net/>
1717
1. (可选)启动Tex Live Manager,更新所有已安装的软件包。
1818
1. 配置TeXstudio。
@@ -27,25 +27,25 @@ Java 文件夹下是Java版,目前正在编写中,由于拖延症,不知
2727

2828
PDF Viewer 改为 “Internal PDF Viewer(windowed)”,这样预览时会弹出一个独立的窗口,这样比较方便。
2929

30-
1. 编译。用TeXstudio打开`leetcode-cpp.tex`,点击界面上的绿色箭头就可以开始编译了。
30+
1. 编译。用TeXstudio打开`typeset.tex`,点击界面上的绿色箭头就可以开始编译了。
3131

32-
在下方的窗口可以看到TeXstudio正在使用的编译命令是`xelatex -synctex=1 -interaction=nonstopmode "leetcode-cpp".tex`
32+
在下方的窗口可以看到TeXstudio正在使用的编译命令是`xelatex -synctex=1 -interaction=nonstopmode "typeset".tex`
3333

3434
##在Ubuntu下编译
35-
1. 安装Tex Live 2013 <http://www.tug.org/texlive/>
35+
1. 安装Tex Live 2015 <http://www.tug.org/texlive/>
3636

37-
1.1. 下载TexLive 2013 的ISO 光盘,地址 <http://www.tug.org/texlive/acquire-iso.html>
37+
1.1. 下载TexLive 2015 的ISO 光盘,地址 <http://www.tug.org/texlive/acquire-iso.html>
3838

3939
1.2 mount 光盘,`sudo ./install-tl` 开始安装
4040

4141
1.3 加入环境变量
4242

4343
sudo vi /etc/profile
44-
export PATH=$PATH:/usr/local/texlive/2013/bin/x86_64-linux
45-
export MANPATH=$MANPATH:/usr/local/texlive/2013/texmf-dist/doc/man
46-
export INFPATH=$INFPATH:/usr/local/texlive/2013/texmf-dist/doc/info
44+
export PATH=$PATH:/usr/local/texlive/2015/bin/x86_64-linux
45+
export MANPATH=$MANPATH:/usr/local/texlive/2015/texmf-dist/doc/man
46+
export INFPATH=$INFPATH:/usr/local/texlive/2015/texmf-dist/doc/info
4747

48-
1. 安装字体。这个LaTex模板总共使用了9个字体,下载地址 <http://pan.baidu.com/s/1gdefYiJ> ,有的字体Windows自带了,有的字体Ubuntu自带了,但都不全,还是一次性安装完所有字体比较方便。
48+
1. 安装字体。这个LaTex模板总共使用了10个字体,下载地址 <http://pan.baidu.com/s/1jIgyuRc> ,有的字体Windows自带了,有的字体Ubuntu自带了,但都不全,还是一次性安装完所有字体比较方便。
4949
1. 安装TeXstudio <http://texstudio.sourceforge.net/>
5050
1. 配置TeXstudio。
5151

@@ -59,10 +59,10 @@ Java 文件夹下是Java版,目前正在编写中,由于拖延症,不知
5959

6060
PDF Viewer 改为 “Internal PDF Viewer(windowed)”,这样预览时会弹出一个独立的窗口,这样比较方便。
6161

62-
1. 编译。用TeXstudio打开`leetcode-cpp.tex`,点击界面上的绿色箭头就可以开始编译了。
62+
1. 编译。用TeXstudio打开`typeset.tex`,点击界面上的绿色箭头就可以开始编译了。
6363

64-
在下方的窗口可以看到TeXstudio正在使用的编译命令是`xelatex -synctex=1 -interaction=nonstopmode "leetcode-cpp".tex`
65-
1. 懒人版镜像。如果不想进行上面繁琐的安装过程,我做好了一个Ubuntu VMware虚拟机镜像,已经装好了TexLive 2013, TexStudio和字体(详细的安装日志见压缩包注释),开箱即用,下载地址 <http://pan.baidu.com/s/1jGj5uQi>
64+
在下方的窗口可以看到TeXstudio正在使用的编译命令是`xelatex -synctex=1 -interaction=nonstopmode "typeset".tex`
65+
1. 懒人版镜像。如果不想进行上面繁琐的安装过程,我做好了一个Ubuntu VMware虚拟机镜像,已经装好了 TexLive 2015, TexStudio和字体(详细的安装日志见压缩包注释),开箱即用,下载地址 <http://pan.baidu.com/s/1cLWkgA>
6666

6767
##如何贡献代码
6868
编译通过后,就具备了完整的LaTeX编译环境了。

0 commit comments

Comments
 (0)