forked from wangyif2/RE-for-beginners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
55 lines (38 loc) · 1.55 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
* Compiling on Ubuntu
1) Get TeXlive 2013
These Ubuntu packages should be installed for English version (or both):
texlive
latexmk
texlive-fonts-extra
texlive-latex-extra
texlive-bibtex-extra
texlive-science (for bytefield package)
biblatex
biber
These Ubuntu packages should be also installed for Russian version:
texlive-lang-cyrillic
For other languages, other textlive-lang-* packages must also be installed.
If unsure, install everything: texlive-full and biber.
2) You may need to install PT Sans font.
Download it here: http://www.fontsquirrel.com/fonts/PT-Sans
How to install it in Ubuntu: http://www.wikihow.com/Install-TrueType-Fonts-on-Ubuntu
3) For all versions (Russian, English, and A5 version for both languages):
make all
For English-only version:
make EN
For Russian-only version:
make RU
A5 versions for e-book readers has "-A5" suffix (see Makefile)
Lite versions has "-lite" suffix (see Makefile)
It's also possible to build your own version of book, see the HACKING.md file.
* Compiling on Mac OS X 10.8
1) Get MacTeX: https://www.tug.org/mactex/
2) You may need Droid Sans Mono font.
Get it here: http://www.fontsaddict.com/font/droid-sans-mono.html
Install it in Mac OS X as it's described here:
http://macs.about.com/od/usingyourmac/qt/How-To-Install-Fonts-In-Os-X.htm
3) Run make as it has been described before.
* Windows
Install TeXlive and use Cygwin.
Please run "make" from Cygwin shell, because Makefile depends on *NIX "find" utility rather
than Windows one.