Shell: tlmgr commands improved.

save: removed default packages from listing.
TeX Live clean install.
master
Ambrevar 2013-01-08 19:57:12 +01:00
parent f41ffffca4
commit 1b31b704c7
3 changed files with 9 additions and 24 deletions

View File

@ -1,15 +1,9 @@
amscls
amsmath
babel
beamer
bigfoot
carlisle
collection-basic
colortbl
ec
eplain
etoolbox
eukdate
eurosym
fancyhdr
geometry
@ -27,29 +21,14 @@ marvosym
microtype
moderncv
ms
multirow
needspace
ntheorem
numprint
oberdiek
paralist
parskip
pdftex-def
pgf
preview
scheme-minimal
supertabular
tabulary
texinfo
texlive-common
texlive-docindex
texlive-en
tools
ulem
url
was
wrapfig
xargs
xcolor
xfor
xindy
xkeyval

3
.save
View File

@ -138,7 +138,8 @@ if type tlmgr >/dev/null 2>&1; then
TEXLIVE_BASIC="$(tlmgr info collection-basic --list | sed -n '/^ /{s/ //g;p;}' | sort)"
TEXLIVE_ALL="$(tlmgr info --only-installed | grep -v 'x86_64\|amd64' | cut -d' ' -f2 | cut -f1 -d':' | sort)"
comm -3 <(echo "$TEXLIVE_BASIC") <(echo "$TEXLIVE_ALL") | sed 's/ //g' >"$HOME/.pkg-texlive-$(uname)-${HOST}"
comm -3 <(echo "$TEXLIVE_BASIC") <(echo "$TEXLIVE_ALL") | sed 's/ //g' | \
grep -vi 'collection-basic\|scheme-minimal\|texlive-common\|texlive-docindex\|texlive-en' >"$HOME/.pkg-texlive-$(uname)-${HOST}"
fi
##==============================================================================

View File

@ -147,6 +147,11 @@ fi
if [ -d "/usr/local/texlive" ]; then
alias tlu="sudo sh -c 'umask 022 && tlmgr update --self'"
alias tls="tlmgr search --global"
alias tll="tlmgr info --only-installed"
# alias tll="tlmgr info --only-installed"
alias tll="comm -3 <(tlmgr info --only-installed | grep -v 'x86_64\|amd64' | cut -d' ' -f2 | cut -f1 -d':' | sort) \
<(tlmgr info collection-basic --list | sed -n '/^ /{s/ //g;p;}' | sort) \
| sed 's/ //g' | grep -vi 'collection-basic\|scheme-minimal\|texlive-common\|texlive-docindex\|texlive-en'"
alias tlf="tlmgr info --list"
fi