Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2013-05-31 09:02:18
Size: 610
Editor: bonaccos
Comment:
Revision 5 as of 2014-11-05 12:05:39
Size: 680
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 general download the package from CTAN. Assuming you have downloaded {{{$package_$version.tds.zip}}} extract it in the following way to your {{{~/texmf}}}:
You can install the missing LaTeX package to your home directory. Here is a small howto:
Line 9: Line 6:
mkdir -p ~/texmf/tex/generic/$package-$version
unzip $package_$version.tds.zip -d ~/texmf/tex/generic/$package-$version
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
Line 13: Line 14:
After you have unziped all packages, recreated the ls-R Index via If you just installed a font, you will also have to update the font map file. First you have to find the name of the font map file of the just installed font (the file ends in {{{.map}}}). Then run:
Line 16: Line 17:
mktexlsr ~/texmf updmap --enable Map=FONTNAME.map
Line 18: Line 19:

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

You can install the missing 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

If you just installed a font, you will also have to update the font map file. First you have to find the name of the font map file of the just installed font (the file ends in .map). Then run:

updmap --enable Map=FONTNAME.map


CategoryLXSW

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