1
+ #! /usr/bin/env sh
2
+
3
+ # Originally from https://github.com/latex3/latex3
4
+
5
+ # This script is used for testing using Travis
6
+ # It is intended to work on their VM set up: Ubuntu 12.04 LTS
7
+ # A minimal current TL is installed adding only the packages that are
8
+ # required
9
+
10
+ # See if there is a cached version of TL available
11
+ export PATH=/tmp/texlive/bin/x86_64-linux:$PATH
12
+ if ! command -v texlua > /dev/null; then
13
+ # Obtain TeX Live
14
+ wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
15
+ tar -xzf install-tl-unx.tar.gz
16
+ cd install-tl-20*
17
+
18
+ # Install a minimal system
19
+ ./install-tl --profile=../texlive/texlive.profile
20
+
21
+ cd ..
22
+ fi
23
+
24
+ # Just including texlua so the cache check above works
25
+ # Needed for any use of texlua even if not testing LuaTeX
26
+ tlmgr install luatex
27
+
28
+ # Needed for TeX Live 2017
29
+ tlmgr install xkeyval
30
+
31
+ # A kind of minimum set of packages needed
32
+ tlmgr install collection-latex
33
+
34
+ # Install babel languages
35
+ tlmgr install collection-langeuropean
36
+
37
+ # Index of packages: http://ctan.mirrors.hoobly.com/systems/texlive/tlnet/archive/
38
+ # Other contrib packages: done as a block to avoid multiple calls to tlmgr
39
+ # pgf includes tikz
40
+ tlmgr install \
41
+ exam \
42
+ amsmath \
43
+ amsthm \
44
+ amssymb \
45
+ mathtools \
46
+ enumerate \
47
+ thmtools \
48
+ stmaryrd \
49
+ xcolor \
50
+ pdfpages \
51
+ centernot \
52
+ pgf \
53
+ cancel \
54
+ hyperref \
55
+ bookmark \
56
+ pgfplots \
57
+ bm \
58
+ listings \
59
+ graphicx \
60
+ scalerel \
61
+ stackengine \
62
+ etoolbox \
63
+ listofitems \
64
+ marvosym \
65
+ amsfonts \
66
+ opensans \
67
+ slantsc \
68
+ fancyhdr \
69
+ ulem \
70
+ algorithms \
71
+ algorithmicx \
72
+ float \
73
+ booktabs \
74
+ enumitem \
75
+ polynom \
76
+ fancyvrb \
77
+ makecmds \
78
+ multirow \
79
+ chngcntr \
80
+ fvextra \
81
+ upquote \
82
+ lineno \
83
+ ifplatform \
84
+ xstring \
85
+ framed \
86
+ caption \
87
+ collection-fontsrecommended \
88
+ minted \
89
+ pgfgantt \
90
+ pdflscape \
91
+ geometry \
92
+ longtable \
93
+ beamer \
94
+ translator \
95
+ environ \
96
+ trimspaces \
97
+ imakeidx
98
+
99
+ # Keep no backups (not required, simply makes cache bigger)
100
+ tlmgr option -- autobackup 0
101
+
102
+ # Update the TL install but add nothing new
103
+ tlmgr update --self --all --no-auto-install
0 commit comments