forked from json-schema-org/understanding-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-texlive.sh
executable file
·22 lines (18 loc) · 936 Bytes
/
install-texlive.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
set -e
# Put the current working directory into the profile file
sed 's@PWD@'"$PWD"'@' < texlive.profile > texlive.localized.profile
# Get the TexLive installer
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar zvxf install-tl-unx.tar.gz
cd `ls -d install-tl-[0-9]*`
./install-tl --profile ../texlive.localized.profile
cd ..
# Now install the required packages into our fresh installation
export PATH=$PWD/texlive/bin/x86_64-linux:$PATH
tlmgr install cmap ec fancybox titlesec framed fancyvrb threeparttable mdwtools \
wrapfig parskip url multirow inconsolata cabin bbding microtype \
changepage xcolor mdframed l3kernel l3packages etoolbox needspace \
pgf times upquote helvetic fontaxes mweights ms float fncychap \
tabulary capt-of eqparbox environ trimspaces latexmk ucs varwidth \
overlock xkeyval niceframe-type1 zref