forked from latex3/latex2e
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtexlive.sh
128 lines (114 loc) · 2.7 KB
/
texlive.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#!/usr/bin/env sh
# This script is used for testing using Travis
# It is intended to work on their VM set up: Ubuntu 12.04 LTS
# A minimal current TL is installed adding only the packages that are
# required
# See if there is a cached version 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=../support/texlive.profile
cd ..
fi
# Backups only make the cache bigger
tlmgr option -- autobackup 0
# Update a cached version first (else later step might fail)
tlmgr update --self
# Needed for any use of texlua even if not testing LuaTeX
tlmgr install luatex
# The test framework itself
tlmgr install l3build
# Required to build plain and LaTeX formats:
# TeX90 plain for unpacking, pdfLaTeX, LuaLaTeX and XeTeX for tests
tlmgr install cm etex knuth-lib latex-bin luahbtex tex tex-ini-files \
unicode-data xetex
# Assuming a 'basic' font set up, metafont is required to avoid
# warnings with some packages and errors with others
tlmgr install metafont mfware texlive-scripts
# Contrib packages: done as a block to avoid multiple calls to tlmgr
tlmgr install \
amsfonts \
ec \
fontspec \
hyperref \
iftex \
kvoptions \
oberdiek \
pdftexcmds \
lh \
lualibs \
luaotfload \
tex-gyre \
stringenc \
url
# special testing
tlmgr install \
bidi \
bigfoot \
ncctools \
dinbrief \
pgfmorepages \
pgf \
filehook
# Additional support for typesetting
tlmgr install \
alphalph \
amscls \
atbegshi \
atveryend \
auxhook \
babel-german \
bigintcalc \
bitset \
bookmark \
booktabs \
cbfonts \
colortbl \
csquotes \
dvips \
enumitem \
epstopdf \
epstopdf-pkg \
etexcmds \
etoolbox \
fancyvrb \
fc \
geometry \
gettitlestring \
graphics-def \
helvetic \
hologo \
hycolor \
imakeidx \
infwarerr \
intcalc \
kvdefinekeys \
kvoptions \
kvsetkeys \
letltxmacro \
ltxcmds \
ly1 \
makeindex \
mflogo \
palatino \
pdfescape \
pl \
psnfss \
refcount \
rerunfilecheck \
sauter \
times \
titlesec \
underscore \
uniquecounter \
vntex \
wasy \
wsuipa \
xkeyval \
zref
# ensure we have the latest of the above packages
tlmgr update --all