forked from latex3/tagpdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
texlive.sh
111 lines (87 loc) · 2.31 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
#!/bin/she -e
# 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=../texlive.profile
cd ..
fi
tlmgr update --self
# Needed for any use of texlua even if not testing LuaTeX
# kernel
tlmgr install l3kernel l3packages l3build latex latex-bin ctablestack l3experimental l3backend
tlmgr install collection-langgerman
# luatex
tlmgr install luacode luatex luatexbase luaotfload iftex
# language
tlmgr install babel babel-english babel-german hyph-utf8
# class / content
tlmgr install koma-script fancyhdr enumitem lipsum biblatex tcolorbox pgf tabularx marginnote
tlmgr install enumitem listings
# other tools
tlmgr install oberdiek etoolbox unicode-data xpatch amsmath filehook
# oberdiek split
tlmgr install \
accsupp \
askinclude \
atbegshi \
atenddvi \
attachfile2 \
atveryend \
auxhook \
bigintcalc \
bitset \
bookmark \
catchfile \
embedfile \
etexcmds \
gettitlestring \
grfext \
hobsub \
hologo \
hycolor \
iftex \
infwarerr \
inputenx \
intcalc \
kvdefinekeys \
kvoptions \
kvsetkeys \
letltxmacro \
ltxcmds \
luacolor \
magicnum \
mleftright \
pdfescape \
pdfcolmk \
pdflscape \
pdftexcmds \
refcount \
rerunfilecheck \
epstopdf-pkg \
stringenc \
transparent \
uniquecounter \
zref \
# fonts
tlmgr install fontspec microtype amsfonts gnu-freefont ec cm-super heuristica
# graphics
tlmgr install graphics graphics-def duckuments
# 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 tex tex-ini-files unicode-data
# Assuming a 'basic' font set up, metafont is required to avoid
# warnings with some packages and errors with others
tlmgr install metafont mfware
# Keep no backups (not required, simply makes cache bigger)
tlmgr option -- autobackup 0
# Update the TL install but add nothing new
tlmgr update --self --all --no-auto-install