Skip to content

Commit

Permalink
move package names to a txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Nov 28, 2017
1 parent 5557085 commit 19df5fc
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tools/install-recommended.sh

This file was deleted.

4 changes: 1 addition & 3 deletions tools/install-unx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
31 changes: 31 additions & 0 deletions tools/pkgs-custom.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 19df5fc

Please sign in to comment.