The following four steps permit manual installation of packages on Debian/Ubuntu (and presumably other Linux) systems.
- Download the package from CTAN (e.g., footmisc.zip).
- Extract the files and place them in an appropriate directory (e.g.,
/usr/local/share/texmf/tex/latex/footmisc/). This location is preferable to the main installation tree (/usr/share/texmf-texlive/tex/latex/) as the files are more likely to be preserved during upgrades. - Generate the
.styfile by runninglatexon the appropriate source files (e.g.,latex footmisc.insandlatex footmisc.dtx). - Update the
ls-Rfile in this source tree (e.g.,cd /usr/local/share/texmf/ ; sudo mktexlsr). Because/usr/local/share/texmf/tex/is not searched recursively by kpathsea (cf.kpsepath tex), thels-Rfile at the root directory of this search path must be updated to make the system aware of the new package.
No comments:
Post a Comment