diff --git a/tools/install-recommended.sh b/tools/install-recommended.sh deleted file mode 100755 index 232122f02..000000000 --- a/tools/install-recommended.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -tlmgr install amscls amsfonts amsmath bibtex booktabs caption dvipdfmx ec etoolbox fancyvrb fontspec framed geometry graphics graphics-def gsftopk hyperref ifluatex ifxetex lm luaotfload makeindex mathspec natbib oberdiek titling tools upquote url xkeyval zapfding diff --git a/tools/install-unx.sh b/tools/install-unx.sh index 3aceff6e0..2c2fa57e5 100755 --- a/tools/install-unx.sh +++ b/tools/install-unx.sh @@ -21,9 +21,7 @@ mkdir -p $TEXDIR mv texlive/* $TEXDIR rm -r texlive -cd $TEXDIR/bin/* -PATH=.:$PATH -download https://github.com/yihui/tinytex/raw/master/tools/install-recommended.sh | sh +$TEXDIR/bin/*/tlmgr install $(download https://github.com/yihui/tinytex/raw/master/tools/pkgs-custom.txt | tr '\n' ' ') if [ "$1" = '--admin' ]; then sudo $TEXDIR/bin/*/tlmgr path add diff --git a/tools/pkgs-custom.txt b/tools/pkgs-custom.txt new file mode 100644 index 000000000..f749c6474 --- /dev/null +++ b/tools/pkgs-custom.txt @@ -0,0 +1,31 @@ +amscls +amsfonts +amsmath +bibtex +booktabs +caption +dvipdfmx +ec +etoolbox +fancyvrb +fontspec +framed +geometry +graphics +graphics-def +gsftopk +hyperref +ifluatex +ifxetex +lm +luaotfload +makeindex +mathspec +natbib +oberdiek +titling +tools +upquote +url +xkeyval +zapfding