Simple getlatex Shell Script

cd /usr/share/texmf/tex/latex
# On some systems, may have to first install filecontents (see below):
sudo mkdir -p $1
cd $1
sudo wget -nd -r -np$1/
sudo rm -f index.* robots.txt
sudo latex $1.ins
sudo chmod a+r *
sudo mktexlsr

Optional filecontents script (put in ~/bin)

pushd /usr/share/texmf/tex/latex
sudo mkdir -p filecontents
cd filecontents
sudo wget -nd -r
sudo wget -nd -r
sudo latex filecontents.ins
sudo mktexlsr
Topic revision: r3 - 19 May 2011, FrankHarrell

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback