-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1ST_README
86 lines (66 loc) · 2.58 KB
/
1ST_README
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
This is _Linear Algebra_ by Jim Hefferon. The release date is 2012.
You are free to use this material.
For more information, see 1st_readme.pdf, or the web site
http://joshua.smcvt.edu/linearalgebra
.
INSTALL
Put book.pdf and jhanswer.pdf in the same directory. Point your pdf reader
at it.
COMPILING
Why?
Sigh. OK. Here is what I just did on a fresh Linux Mint
box (2013-Nov-06, Linux Mint 12, equivalent to Ubuntu 12.04).
0) Install the Debian TeX Live (that is, the packages from the archive).
(I'd rather go with TeX LIve from tug.org but I had to get Sage also and
it required me to get the Debian packages and .. I didn't want to end
in dependency hell.)
Also install asymptote.
1) Clone the linear-algebra mercurial archive.
cd ~/Documents
hg clone https://jim.hefferon@code.google.com/p/linear-algebra/
2) Install the luximono font.
cd ~/Downloads
wget http://tug.org/fonts/getnonfreefonts/install-getnonfreefonts
sudo texlua install-getnonfreefonts
sudo getnonfreefonts-sys -a
sudo texhash
Now comes the sucky part. I could not get it to find Luximono (running
linear-algebra/make_book_for_web.sh says it can't find ul9r8r).
Following the directions on this page
http://people.debian.org/~preining/TeX/TeX-on-Debian/ch4.html
I did
sudo mkdir /etc/texmf/updmap.d
sudo emacs /etc/texmf/updmap.d/10local.cfg
To the bottom of the file I added the line
Map ul9.map
(see http://tug.org/pipermail/texhax/2012-July/019397.html) and ran
sudo update-updmap
sudo texhash
sudo updmap-sys
and it now worked. Dunno.
3) I had to get updated packages from ctan becuase the Debian stuff is old:
thmtools, geometry, mh
and install them in /usr/local/share/tex/latex/ . Then I had to generate
the .sty files
cd /usr/local/share/tex/latex/thmtools
sudo pdflatex thmtools.ins
cd /usr/local/share/tex/latex/geometry
sudo pdflatex geometry.ins
and, just for a change of pace,
cd /usr/local/share/tex/latex/mh
sudo tex mhsetup
sudo tex breqn.dtx
sudo tex empheq
sudo tex flexisym
sudo tex mathstyle
sudo tex mathtools
4) Now I can run the shell script that generates the book.
cd ~/Documents/linear-algebra
./make_book_for_web.sh
(if it fails with something about ul9r8r then see the note in instruction 2).
At the end, you'll have book.pdf and jhanswer.pdf. Put them
in the same directory. You could have skipped the compiling, you know.
If you want projector slides, cd slides and run make_slides.sh. This can take
some time, maybe twenty minutes.
Jim
jhefferon@smcvt.edu