forked from josephwright/siunitx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
91 lines (80 loc) · 1.96 KB
/
install.sh
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
87
88
89
90
91
#!/usr/bin/env sh
# This script is used for testing using Travis-CI
# It is intended to work on their VM set up: Ubuntu 14.04 LTS
# As such, the nature of the system is hard-coded
# A minimal current TL is installed adding only the packages that are
# required
# See if there is a cached verson of TL available
export PATH=/tmp/texlive/bin/x86_64-linux:$PATH
if ! command -v texlua > /dev/null; then
# Obtain TeX Live
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar -xzf install-tl-unx.tar.gz
cd install-tl-20*
# Install a minimal system
./install-tl --profile=../texlive.profile
cd ..
fi
# Update tlmgr itself then all installed packages
tlmgr update --self --all --no-auto-install
# l3build itself
tlmgr install l3build
# Required to build plain and LaTeX formats:
# TeX90 plain for unpacking
tlmgr install latex-bin tex xetex
# Metafont
tlmgr install metafont mfware
# Dependencies of siunitx (have to be present in all cases)
tlmgr install amsmath graphics l3packages tools
# Dependencies
tlmgr install \
alphalph \
amsfonts \
atveryend \
babel-english \
babel-french \
babel-german \
babel-spanish \
bidi \
booktabs \
cancel \
caption \
carlisle \
collcell \
colortbl \
csquotes \
datatool \
dvips \
ec \
enumitem \
epstopdf-pkg \
fancyvrb \
hologo \
hycolor \
hyperref \
kvoptions \
koma-script \
libertine \
listings \
lualatex-math \
makeindex \
mathpazo \
mptopdf \
multirow \
pdftexcmds \
pgfplots \
psnfss \
opensans \
sansmath \
soulpos \
soulutf8 \
stringenc \
translations \
underscore \
unicode-math \
was \
xcolor \
xtab \
zref
# Keep no backups (not required, simply makes cache bigger)
tlmgr option -- autobackup 0