-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtexlive.sh
51 lines (34 loc) · 1.73 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
#!/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
# Needed for any use of texlua even if not testing LuaTeX
tlmgr install fontspec graphics l3build latex latex-bin luaotfload luatex microtype opensans fira
# 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
tlmgr install sourcecodepro Asana-Math ebgaramond tex-gyre amsfonts gnu-freefont marvosym
tlmgr install tex-gyre-math geometry graphics-def ifluatex
tlmgr install ifxetex ucharcat filehook xcolor unicode-math etoolbox amsmath
tlmgr install lm lm-math xits babel babel-english oberdiek junicode lualatex-math amiri arabluatex
tlmgr install xkeyval xstring unicode-data luacode environ adjustbox collectbox ms pgf ifoddpage varwidth
tlmgr install luatexbase ctablestack trimspaces
# 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