ArticleDirectory
- Installing a package yourself
Installing a package yourself
The following are the steps that you shoshould follow to install a new latex package into your own home directory.
-
- Download the package file (s) from wherever they are available. Most packages are available fromctan; enter appropriate keywords in the search fields to find the files.
- Packages may be distributed in different ways. Packages packages on ctan, for instance, come with. DtxFile and
. INSFile. If the package you are installing comes with these files, you will have to process them with latex to create the actual files that make up the package. That is, Type
Latex filename. dtx And/or Latex filename. INS
To unpackage the various. StyAnd other files in the package.
-
- Create a directoryTexmfIn your home directory, if there is not one there already.
- Install the various package files into subdirectoriesTexmfAs follows:
- All. BSTAnd. BibFilesTexmf/(Or subdirectories)
- All font-related filesTexmf/Fonts(Or subdirectories)
- All documentation filesTexmf/docs
- All other files (. Sty,. CLs,. Tex, Etc.) shocould goTexmf/tex.
From: http://hi.baidu.com/%C1%EE%BA%FC%D2%BB%B6%FE/blog/item/924e2732af35e3f51a4cffca.html