This is an old revision of the document!
SISSA Computing FAQ: about LATEX
It sometimes happens that you need a new version of some macro package or font; the correct approach is to create a private installation of (La)TeX which includes the new stuff you need.
Create in your home directory a subdirectory named texmf
, using the following command:
mkdir ~/texmf
Install your new package (or whatever) in a directory structure like this:
File extension | Directory |
---|---|
.sty, .cls or .fd | ~/texmf/tex/latex/<package_name>/ |
.mf | ~/texmf/fonts/source/public/<font_name>/ |
.tfm | ~/texmf/fonts/tfm/public/<font_name>/ |
.vf | ~/texmf/fonts/vf/public/<font_name>/ |
.afm | ~/texmf/fonts/afm/public/<font_name>/ |
.pfb | ~/texmf/fonts/type1/public/<font_name>/ |
.ttf | ~/texmf/fonts/truetype/public/<font_name>/ |
.otf | ~/texmf/fonts/opentype/public/<font_name>/ |
where:
- <package_name> refers to the name of macro package you are installing. (p.e. beamer)
- <font_name> refers to the name of font you are installing (p.e gothic)
and generate an index of that tree
texhash ~/texmf
You can use this approach for updates to packages installed in the SISSA workstations, as well as for installing new versions of things.