-
Notifications
You must be signed in to change notification settings - Fork 2
/
.texlive.sh
78 lines (66 loc) · 1.72 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
#!/usr/bin/env sh
# This script is used for testing using Travis CI
# It is intended to work with dist: trusty
# 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
# 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-*
# Install a minimal system
./install-tl --profile=../.texlive.profile
cd ..
# Default to letter-size paper
tlmgr paper letter
# Required to build plain TeX
tlmgr install cm etex knuth-lib tex tex-ini-files unicode-data xetex pdftex
# Setup LaTeX extensions
tlmgr install latex latex-bin latexconfig latex-fonts tools
# Assuming a 'basic' font set up, metafont is required to avoid
# warnings with some packages and errors with others
tlmgr install metafont mfware
# Setup graphics
tlmgr install graphics graphics-cfg graphics-def oberdiek
# Contrib packages for testing
tlmgr install --no-depends fontspec
# Add contrib packages for building commonheader.sty
tlmgr install \
exam \
algorithms \
algorithmicx \
amsfonts \
amsmath \
cm-super \
comment \
ec \
enumitem \
environ \
etoolbox \
fancybox \
float \
hyperref \
ifxetex \
import \
listings \
lm \
lm-math \
paralist \
parskip \
pgf \
preprint \
tikz-qtree \
trimspaces \
upquote \
url \
wasy \
wasy2-ps \
wasysym \
wrapfig \
xcolor \
xkeyval \
inconsolata
# 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