Differences between revisions 3 and 4
Revision 3 as of 2013-05-31 09:02:18
Size: 610
Editor: bonaccos
Comment:
Revision 4 as of 2014-11-05 12:01:29
Size: 864
Editor: alders
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
In this case you can install locally the needed LaTeX package to your home directory. In this case you can install locally the needed LaTeX package to your home directory. Here is a small howto:
Line 5: Line 5:
In general download the package from CTAN. Assuming you have downloaded {{{$package_$version.tds.zip}}} extract it in the following way to your {{{~/texmf}}}: {{{
cd ~/texmf # Or create this directory if it does not exist yet
wget 'http://mirror.switch.ch/ftp/mirror/tex/install/.../PACKAGE.tds.zip'
unzip PACKAGE.tds.zip
rm PACKAGE.tds.zip
cd ~
texhash ~/texmf
}}}

In general download the package from CTAN. If possible download a package that follows the {{{TeX Directory Structure}}}. These packages most commonly end in {{{.tds.zip}}}.
Line 9: Line 18:
mkdir -p ~/texmf/tex/generic/$package-$version mkdir -p ~/texmf/tex/latex/$package-$version

How can I use a (updated) LaTeX package not provided by the local installation of texlive?

In this case you can install locally the needed LaTeX package to your home directory. Here is a small howto:

cd ~/texmf  # Or create this directory if it does not exist yet
wget 'http://mirror.switch.ch/ftp/mirror/tex/install/.../PACKAGE.tds.zip'
unzip PACKAGE.tds.zip
rm PACKAGE.tds.zip
cd ~
texhash ~/texmf

In general download the package from CTAN. If possible download a package that follows the TeX Directory Structure. These packages most commonly end in .tds.zip.

mkdir -p ~/texmf/tex/latex/$package-$version
unzip $package_$version.tds.zip -d ~/texmf/tex/generic/$package-$version

After you have unziped all packages, recreated the ls-R Index via

mktexlsr ~/texmf


CategoryLXSW

FAQ/InstallLaTeXPackages (last edited 2020-08-31 12:50:20 by alders)